pengjun 2 years ago
parent
commit
de2fc20866
  1. 8
      src/components/doctorCheck/ButtonList.vue
  2. 8
      src/components/doctorCheck/CheckItemList.vue
  3. 2
      src/components/doctorCheck/CheckPictureUpload.vue
  4. 27
      src/components/doctorCheck/PatientRegisterBase.vue
  5. 1
      src/components/doctorCheck/RegisterCheckList.vue
  6. 1
      src/components/patientRegister/PatientRegisterList.vue
  7. 4
      src/components/sumDoctorCheck/SumPREdit.vue

8
src/components/doctorCheck/ButtonList.vue

@ -567,14 +567,6 @@ export default {
],
};
// postapi(`/api/app/printreport/getpeisreport?PatientRegisterId=${this.doctorCheck.prBase.id}`)
// .then((res) => {
// if (res.code > -1) {
// toOutShell.ReportTable = res.data;
// console.log('JSON.stringify(toOutShell)', JSON.stringify(toOutShell));
// return this.$peisAPI.printPre(JSON.stringify(toOutShell));
// }
// })
toOutShell.BusinessCode = this.doctorCheck.prBase.id
this.$peisAPI.printPre(JSON.stringify(toOutShell))
.then(res => {

8
src/components/doctorCheck/CheckItemList.vue

@ -108,7 +108,7 @@ export default {
start: 0, end: 0
},
symbols: [], //
userId:'',
};
},
@ -119,6 +119,8 @@ export default {
//
mounted() {
this.checkItemList(this.dataTransOpts.tableS.register_check.id);
this.userId = window.sessionStorage.getItem("userId")
},
computed: {
@ -427,6 +429,10 @@ export default {
.then(res => {
if (res.code > -1) {
this.doctorCheck.RegisterCheckEdit = res.data
if(this.doctorCheck.RegisterCheckEdit.completeFlag == '0'){
this.doctorCheck.RegisterCheckEdit.checkDoctorId = this.userId
this.doctorCheck.RegisterCheckEdit.checkDate = new Date()
}
return getapi(`/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}&PatientRegisterId=${this.dataTransOpts.tableS.patient_register.id}`)
}
})

2
src/components/doctorCheck/CheckPictureUpload.vue

@ -101,7 +101,7 @@ export default {
});
if (checkSize.length > 0) {
this.$message.error({ showClose: true, message: `所选文件 ${JSON.stringify(checkSize)} 大于 20MB ,文件过大无法上传` })
this.$message.error({ showClose: true, message: `所选文件大于 20MB ,文件过大无法上传` })
return;
}

27
src/components/doctorCheck/PatientRegisterBase.vue

@ -141,6 +141,7 @@ export default {
},
prBaseInit: {},
PatientRegisterList: [], //
userId: '',
};
},
@ -153,6 +154,8 @@ export default {
//
this.enterToQuery()
this.userId = window.sessionStorage.getItem("userId")
//
this.getPatientRegister(this.dataTransOpts.tableS.patient_register.patientRegisterNo)
},
@ -186,7 +189,7 @@ export default {
// pacs
onQueryByPacsNo(checkRequestNo) {
postapi('/api/app/PatientRegister/GetPatientRegisterNoByCheckRequestNo', {checkRequestNo}).then(res => {
postapi('/api/app/PatientRegister/GetPatientRegisterNoByCheckRequestNo', { checkRequestNo }).then(res => {
if (res.code > 0) {
this.prBase.patientRegisterNo = res.data.patientRegisterNo
this.onQueryByPatientRegisterNo()
@ -196,7 +199,7 @@ export default {
// lis
onQueryByLisNo(lisRequestNo) {
postapi('/api/app/PatientRegister/GetPatientRegisterNoByLisRequestNo', {lisRequestNo}).then(res => {
postapi('/api/app/PatientRegister/GetPatientRegisterNoByLisRequestNo', { lisRequestNo }).then(res => {
if (res.code > 0) {
this.prBase.patientRegisterNo = res.data.patientRegisterNo
this.onQueryByPatientRegisterNo()
@ -207,7 +210,7 @@ export default {
//
onQueryByPatientRegisterNo() {
let patientRegisterNo = this.prBase.patientRegisterNo
if(!patientRegisterNo) return
if (!patientRegisterNo) return
let body = {
// sType: 1,
patientRegisterNo,
@ -219,6 +222,10 @@ export default {
.then((res) => {
if (res.code > -1) {
this.dataTransOpts.tableS.patient_register = res.data
if (this.dataTransOpts.tableS.patient_register.completeFlag != '3') this.dataTransOpts.tableS.patient_register.summaryDoctorId = this.userId
if (this.dataTransOpts.tableS.patient_register.completeFlag == '3' && this.dataTransOpts.tableS.patient_register.isAudit == 'N') {
this.dataTransOpts.tableS.patient_register.auditDoctorId = this.userId
}
// console.log('res.data',res.data)
// console.log('this.dataTransOpts.tableS.patient_register',this.dataTransOpts.tableS.patient_register)
}
@ -241,6 +248,10 @@ export default {
.then((res) => {
if (res.code > -1) {
this.dataTransOpts.tableS.patient_register = res.data
if (this.dataTransOpts.tableS.patient_register.completeFlag != '3') this.dataTransOpts.tableS.patient_register.summaryDoctorId = this.userId
if (this.dataTransOpts.tableS.patient_register.completeFlag == '3' && this.dataTransOpts.tableS.patient_register.isAudit == 'N') {
this.dataTransOpts.tableS.patient_register.auditDoctorId = this.userId
}
}
})
.finally(() => {
@ -262,8 +273,10 @@ export default {
if (res.code > -1) {
if (res.data.items.length == 1) {
this.dataTransOpts.tableS.patient_register = res.data.items[0]
// this.dataTransOpts.tableS.patient_register.id = res.data.items[0].id
// this.dataTransOpts.tableS.patient_register.patientRegisterNo = res.data.items[0].patientRegisterNo
if (this.dataTransOpts.tableS.patient_register.completeFlag != '3') this.dataTransOpts.tableS.patient_register.summaryDoctorId = this.userId
if (this.dataTransOpts.tableS.patient_register.completeFlag == '3' && this.dataTransOpts.tableS.patient_register.isAudit == 'N') {
this.dataTransOpts.tableS.patient_register.auditDoctorId = this.userId
}
this.dataTransOpts.refresh.patient_register.S++
// this.getPatientRegister(res.data.items[0].id)
@ -296,6 +309,10 @@ export default {
.then((res) => {
if (res.code > -1) {
this.dataTransOpts.tableS.patient_register = res.data
if (this.dataTransOpts.tableS.patient_register.completeFlag != '3') this.dataTransOpts.tableS.patient_register.summaryDoctorId = this.userId
if(this.dataTransOpts.tableS.patient_register.completeFlag == '3' && this.dataTransOpts.tableS.patient_register.isAudit == 'N'){
this.dataTransOpts.tableS.patient_register.auditDoctorId = this.userId
}
}
})
.finally(() => {

1
src/components/doctorCheck/RegisterCheckList.vue

@ -147,6 +147,7 @@ export default {
if (res.data.length > 0) {
this.doctorCheck.RegisterCheckId = res.data[0].id
this.dataTransOpts.tableS.register_check.id = res.data[0].id
// this.doctorCheck.RegisterCheckEdit = res.data[0]
// this.$refs['doctorCheck_RegisterCheckList'].setCurrentRow(res.data[0])

1
src/components/patientRegister/PatientRegisterList.vue

@ -1236,6 +1236,7 @@ export default {
let toOutShell = {
ReportCode,
token,
IsMoreLabel: 'Y',
isBuildImage: 'N',
IsUploadPdf: 'N',
preViewCanPrint: "N",

4
src/components/sumDoctorCheck/SumPREdit.vue

@ -32,9 +32,9 @@
</div>
<div>
<span class="query">审核医生</span>
<el-select v-model="dataTransOpts.tableS.patient_register.auditDoctor" disabled placeholder="请选择"
<el-select v-model="dataTransOpts.tableS.patient_register.auditDoctorId" disabled placeholder="请选择"
style="width: 80px" size="small">
<el-option v-for="item in users" :key="item.id" :label="item.userName" :value="item.id" />
<el-option v-for="item in users" :key="item.id" :label="item.surname" :value="item.id" />
</el-select>
</div>
<div>

Loading…
Cancel
Save