From cca94d715645c9794b985a8cbfb3e3cd0ff11977 Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 10 Dec 2024 14:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=8B=E5=8A=A8=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/patientInfoImport/index.vue | 2 +- .../system/ManuallyCreatingTasks/index.vue | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/views/manage/patientInfoImport/index.vue b/src/views/manage/patientInfoImport/index.vue index 65540f0..493522a 100644 --- a/src/views/manage/patientInfoImport/index.vue +++ b/src/views/manage/patientInfoImport/index.vue @@ -172,7 +172,7 @@ export default { query: { path: "/patient/patientinfoimport", // signPatientRecordId: row.id, - importMainId: row.id ?row.id : '', + sn: row.sn ?row.sn : '', patientName: row.patientName ? row.patientName : '', departmentId: row.departmentId ? row.departmentId : '', departmentName: row.departmentName ? row.departmentName : '', diff --git a/src/views/system/ManuallyCreatingTasks/index.vue b/src/views/system/ManuallyCreatingTasks/index.vue index 47874a7..1e6eeb8 100644 --- a/src/views/system/ManuallyCreatingTasks/index.vue +++ b/src/views/system/ManuallyCreatingTasks/index.vue @@ -559,7 +559,7 @@ export default { optionslisttime: [], parentDictCodelist: [], updata: { - importMainId: "", + sn: "", signPatientRecordId: "", patientId: "", patientName: "", @@ -640,7 +640,7 @@ export default { this.optiononditionOperator(); this.updata.signPatientRecordId = this.$route.query.signPatientRecordId; this.updata.patientId = this.$route.query.patientId; - this.updata.importMainId = this.$route.query.importMainId; + this.updata.sn = this.$route.query.sn; this.updata.patientName = this.$route.query.patientName; this.updata.departmentId = this.$route.query.departmentId; this.updata.departmentName = this.$route.query.departmentName; @@ -711,7 +711,7 @@ export default { item.checked1="" item.checked2=2 item.checked3="" - item.routeNodeName = "" + // item.routeNodeName = "" item.routeNodeDay = "" item.plantype = "APPOINT" item.timedata = "" @@ -745,7 +745,7 @@ export default { item.checked1 = "" item.checked3 = "" console.log(this.list, 'list') - item.routeNodeName = "" + // item.routeNodeName = "" item.routeNodeDay = "" item.plantype = "APPOINT" item.timedata = "" @@ -754,7 +754,7 @@ export default { handleCheckAllChange3(e, item) { item.checked1 = "" item.checked2 = "" - item.routeNodeName = "" + // item.routeNodeName = "" item.routeNodeDay = "" console.log(e, item, 'value3') let yy = new Date().getFullYear(); @@ -776,6 +776,7 @@ export default { }).then(() => { this.updata.routeNodeList = this.list; var newObj = JSON.parse(JSON.stringify(this.updata)); + newObj.routeNodeList.forEach(e => { if (e.timedata) { e.nodePlanTime = e.timedata @@ -784,8 +785,13 @@ export default { delete e.checked1; delete e.checked2; delete e.checked3; - }) + // var nulllength= newObj.routeNodeList.filter(item => item.routeNodeName=="" || item.routeNodeName==null || item.routeNodeName==undefined); + // console.log(nulllength,'nulllength') + // if(nulllength.length>0){ + // this.$message.error('节点名称不能为空!'); + // return + // } console.log(newObj, 'this.newObj') console.log(this.updata, 'this.updata') // return