Browse Source

doctor

master
pengjun 2 years ago
parent
commit
e2b7136e98
  1. 2
      public/sysConfig.json
  2. 27
      src/components/doctorCheck/CheckPicture.vue
  3. 3
      src/components/doctorCheck/RegisterCheckList.vue
  4. 2
      src/components/report/BtnReport.vue
  5. 16
      src/views/workload/directordoctor.vue

2
public/sysConfig.json

@ -1,4 +1,4 @@
{
"apiurl": "http://140.143.162.39:9529",
"apiurl": "http://192.168.2.67:9529",
"softName": "神豚体检管理系统"
}

27
src/components/doctorCheck/CheckPicture.vue

@ -40,7 +40,8 @@
</div>
<div style="display: flex">
<div style="margin: -6px 0 0 1px">
<el-checkbox v-model="item.isPrintTrans" @change="btnSavePic" :disabled="doctorBtnDisabled('btnSavePic')"></el-checkbox>
<el-checkbox v-model="item.isPrintTrans" @change="btnSavePic"
:disabled="doctorBtnDisabled('btnSavePic')"></el-checkbox>
</div>
<div style="font-size: 12px; margin: -2px 0 0 1px">打印</div>
<div style="font-size: 15px; margin: -5px 0 0 2px">
@ -195,7 +196,29 @@ export default {
this.$message.warning({ showClose: true, message: "未选中组合项目!" });
return;
}
console.log("采图,开发中……");
if (!this.$peisAPI) {
this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" })
return
}
let toOutShell = {
barCode: this.doctorCheck.checkRequestNo,
patientName: this.dataTransOpts.tableS.patient_register.patientName,
sexName: this.dataTransOpts.tableS.patient_register.sexName,
age: (this.dataTransOpts.tableS.patient_register.age||'') + '',
asbitemName: this.doctorCheck.asbitemName
}
console.log('this.$peisAPI.imageAcquisition',JSON.stringify(toOutShell))
this.$peisAPI.imageAcquisition(JSON.stringify(toOutShell)).then(res => {
let lres = JSON.parse(res)
if (lres.code > -1) {
console.log(lres.data)
}
console.log('lres', lres)
}).catch(err => {
this.$message.error(err)
})
},
//

3
src/components/doctorCheck/RegisterCheckList.vue

@ -118,6 +118,9 @@ export default {
rowClick(row) {
console.log('rowClick')
this.doctorCheck.RegisterCheckId = row.id
this.doctorCheck.asbitemName = row.asbitemName
this.doctorCheck.checkRequestNo = row.checkRequestNo
this.dataTransOpts.tableS.register_check.id = row.id
this.dataTransOpts.refresh.register_check.S++

2
src/components/report/BtnReport.vue

@ -338,7 +338,7 @@ export default {
try {
if (e.completeFlag == '3') {
toOutShell.BusinessCode = e.patientRegisterId
toOutShell.ExportDirectory = `${path}\\${e.patientRegisterNo}_${patientName}.pdf`
toOutShell.ExportDirectory = `${path}\\${e.patientRegisterNo}_${e.patientName}.pdf`
let jsonToOutShell = JSON.stringify(toOutShell)
console.log('toOutShell', jsonToOutShell)
let res = await this.$peisAPI.exportToPdfPre(jsonToOutShell)

16
src/views/workload/directordoctor.vue

@ -363,13 +363,21 @@ export default {
}
});
},
getList() {
getapi("/api/identity/users/getlist",this.pages).then((res) => {
if (res.code != -1) {
this.registrardata = [...res.data.items];
// getapi("/api/identity/users/getlist",this.pages).then((res) => {
// if (res.code != -1) {
// this.registrardata = [...res.data.items];
// }
// });
postapi('/api/identity/users/GetListByOperatorType', { operatorTypes: ["2", "3"] })
.then(res => {
if (res.code > -1) {
this.registrardata = res.data
}
});
})
},
getNowTime() {
var now = new Date();
var year = now.getFullYear(); //

Loading…
Cancel
Save