From ba9feade5bf2759e64815e72e2b247d9a8b9c27e Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期三, 02 四月 2025 14:40:37 +0800 Subject: [PATCH] 1 --- src/views/doctor/check/index.vue | 84 +++++++++++++++++++++--------------------- 1 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 655e49e..66b18d9 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -1095,7 +1095,7 @@ // 灏嗗綋鍓嶈娣诲姞鍒� rows 涓� this.rows.push(row); console.log(this.rows, row); - + } }, @@ -1343,7 +1343,7 @@ }, handleClose() { - this.$tab.refreshPage(); + this.drawer = false; // 鍙叧闂娊灞夛紝涓嶅埛鏂伴〉闈㈡垨閲嶇疆鏁版嵁 }, handleClose1() { @@ -1356,7 +1356,7 @@ changDesc(item) { console.log(item); - + item.conclusion = item.exceptionDesc ? "寮傚父" : "姝e父"; }, @@ -1839,47 +1839,47 @@ }, determine() { - let tjNumber = this.tableAll.tjNumber; - this.userList.forEach((item) => { - if (this.doctorName == item.nickName) this.doctorName = item.userId; - }); - this.proParentList.sons.forEach((item) => { - if (this.rows) { - this.rows.forEach((item1) => { - if (item1 === item) item = item1; + let tjNumber = this.tableAll.tjNumber; + this.userList.forEach((item) => { + if (this.doctorName == item.nickName) this.doctorName = item.userId; }); - } - this.tjOrderDetail.push({ - proAdvice: item.proAdvice, - proName: item.project.proName, - proId: item.project.proId, - orderDetailId: item.orderDetailId, - flowingWaterId: item.flowingWaterId, - proResult: item.proResult, - tjStatus: 1, - isReturn: item.isReturn === true ? 1 : 0, - exceptionDesc: item.exceptionDesc === true ? 1 : 0, - conclusion: item.conclusion, - rulesList: item.rulesList, - }); - }); + this.proParentList.sons.forEach((item) => { + if (this.rows) { + this.rows.forEach((item1) => { + if (item1 === item) item = item1; + }); + } + this.tjOrderDetail.push({ + proAdvice: item.proAdvice, + proName: item.project.proName, + proId: item.project.proId, + orderDetailId: item.orderDetailId, + flowingWaterId: item.flowingWaterId, + proResult: item.proResult, + tjStatus: 1, + isReturn: item.isReturn === true ? 1 : 0, + exceptionDesc: item.exceptionDesc === true ? 1 : 0, + conclusion: item.conclusion, + rulesList: item.rulesList, + }); + }); - let data = [{ - tjNumber, - proId: this.proId, - remark: this.proParentList.remark, - proName: this.proName, - summaryList: this.vaids1, - doctorName: this.doctorName, - tjOrderDetailList: this.tjOrderDetail, - }]; - getaddRemark(data).then((res) => { - this.$modal.msgSuccess("鎻愪氦鎴愬姛"); - this.rows = []; // 鎻愪氦鎴愬姛鍚庢竻绌� this.rows - this.drawer = false; - }); - this.handleClose(); -}, + let data = [{ + tjNumber, + proId: this.proId, + remark: this.proParentList.remark, + proName: this.proName, + summaryList: this.vaids1, + doctorName: this.doctorName, + tjOrderDetailList: this.tjOrderDetail, + }]; + getaddRemark(data).then((res) => { + this.$modal.msgSuccess("鎻愪氦鎴愬姛"); + this.rows = []; // 鎻愪氦鎴愬姛鍚庢竻绌� this.rows + this.drawer = false; + }); + this.handleClose(); + }, }, }; </script> -- Gitblit v1.8.0