@@ -33,7 +33,7 @@
- 生成小结
@@ -139,11 +139,7 @@
-
-
-
-
-1){
+ defaultResult = this.doctorCheck.RegisterCheckList[lfind].defaultResult || defaultResult
+ }
+
+ getapi(`/api/app/registerchecksummary/getregisterchecksummarylist?RegisterCheckId=${registerCheckId}`)
.then((res) => {
console.log("checkSummaryList", res.data);
- if (res.code != -1) {
+ if (res.code > -1) {
this.doctorCheck.checkSummaryList = res.data;
+ if(this.doctorCheck.checkSummaryList.length == 0){
+ this.doctorCheck.checkSummaryList.push({
+ id: Math.random(),
+ registerCheckId,
+ summary: defaultResult,
+ summaryFlag: 'N'
+ })
+ }
}
})
.catch((err) => {
@@ -388,6 +401,14 @@ export default {
});
},
+ // 双击生成小结
+ blClick(){
+ //this.$message.warning({showClose:true,message:'双击'})
+ if(this.doctorBtnDisabled('btnMakeDiagnosis')){
+ return
+ }
+ this.btnMakeDiagnosis()
+ },
},
//监听事件
diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue
index ba11ae2..5375446 100644
--- a/src/components/patientRegister/PatientRegisterList.vue
+++ b/src/components/patientRegister/PatientRegisterList.vue
@@ -7,7 +7,7 @@
@@ -679,8 +679,11 @@ export default {
},
// 体检表回收
- dialogRecover:false,
- patientRegisterNo:''
+ dialogRecover: false,
+ patientRegisterNo: '',
+
+ clickTime1: 0,
+ clickTime2: 0,
};
},
@@ -1185,10 +1188,30 @@ export default {
// if (lfind > -1) {
// 弹出编辑框,只有在编辑框显示时,才去触发获取数据
+ this.clickTime1 = new Date().getTime()
+
+ setTimeout(() => {
+ if (this.clickTime1 > this.clickTime2) {
+ this.dataTransOpts.tableS.patient_register = deepCopy(row);
+ this.tableDataCurrentRow = deepCopy(row);
+ this.dataTransOpts.refresh.register_check_asbitem.M++; //触发所选组合项目刷新
+ }
+ }, 400);
+
+ // }
+ },
+
+ // 双击 调出编辑
+ dblClick(row) {
+ this.clickTime2 = new Date().getTime()
+ this.dataTransOpts.tableS.patient_register.id = row.id
+ this.btnEdit()
+
+ //触发单击事件
this.dataTransOpts.tableS.patient_register = deepCopy(row);
this.tableDataCurrentRow = deepCopy(row);
this.dataTransOpts.refresh.register_check_asbitem.M++; //触发所选组合项目刷新
- // }
+
},
// 导入企业(青藏公司)数据
@@ -2497,7 +2520,7 @@ export default {
postapi(`/api/app/patientregister/updaterecoverguidemany`, body)
.then((res) => {
if (res.code > -1) {
- this.$message.success({ showClose: true, message: "操作成功!"});
+ this.$message.success({ showClose: true, message: "操作成功!" });
}
})
},
diff --git a/src/components/patientRegister/customerOrgTreeAll.vue b/src/components/patientRegister/customerOrgTreeAll.vue
index f97e6b6..ad81b9a 100644
--- a/src/components/patientRegister/customerOrgTreeAll.vue
+++ b/src/components/patientRegister/customerOrgTreeAll.vue
@@ -97,13 +97,13 @@ export default {
// console.log('this.customerOrgTreeAll', this.customerOrgTreeAll)
})
} else {
- console.log('new Date()1', now())
+ //console.log('new Date()1', now())
this.getCustomerOrgChild(null)
.then(res => {
this.customerOrgTreeAll = res //.slice(0,3)
this.patientRegister.customerOrgTreeAll = res
// console.log('this.customerOrgTreeAll', this.customerOrgTreeAll)
- console.log('new Date()2', now())
+ //console.log('new Date()2', now())
})
}