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