diff --git a/src/views/manage/ImportDetails/index.vue b/src/views/manage/ImportDetails/index.vue index 9c9066a..ace191e 100644 --- a/src/views/manage/ImportDetails/index.vue +++ b/src/views/manage/ImportDetails/index.vue @@ -277,7 +277,7 @@ this.$router.push({ path: "/patient/ManuallyCreatingTasks", query: { - path: "/task/Patientmanagement", + path: "/patient/ImportDetails", signPatientRecordId: row.signPatientRecordId ? row.signPatientRecordId : '', patientId: row.id ?row.id : '', patientName: row.patientName ? row.patientName : '', diff --git a/src/views/system/ManuallyCreatingTasks/index.vue b/src/views/system/ManuallyCreatingTasks/index.vue index 3489fa2..47874a7 100644 --- a/src/views/system/ManuallyCreatingTasks/index.vue +++ b/src/views/system/ManuallyCreatingTasks/index.vue @@ -652,7 +652,10 @@ export default { } - if(this.$route.query.path=="/patient/patientinfoimport" || this.$route.query.path=="/task/Patientmanagement"){ + if(this.$route.query.path=="/patient/patientinfoimport" || this.$route.query.path=="/task/Patientmanagement" + || this.$route.query.path=="/patient/ImportDetails" + + ){ this.list[0].checked2=2 this.list[0].routeNodeName='' this.list[0].plantype='APPOINT' @@ -765,7 +768,7 @@ export default { item.plantype = "CURRENT" item.nodePlanTime = "" }, - + // 保存 upload() { this.$confirm('保存此任务, 是否继续?', '提示', { confirmButtonText: '确定', @@ -787,10 +790,22 @@ export default { console.log(this.updata, 'this.updata') // return signrouteadd(newObj).then((res) => { - this.$notify({ + var message='' + if(this.$route.query.path=="/patient/signRecord"){ + message ='保存成功,即将返回签约列表' + }else if(this.$route.query.path=="/patient/patientinfoimport"){ + message ='保存成功,即将返回签约患者列表' + + }else if(this.$route.query.path=="/patient/ImportDetails"){ + message ='保存成功,即将返回导入明细列表' + } + else if(this.$route.query.path=="/task/Patientmanagement"){ + message ='保存成功,即将返回创建任务列表' + } + this.$notify({ type: "success", title: "提示", - message: "保存成功,即将返回签约患者列表", + message: message, duration: 3000, }); setTimeout(() => { @@ -798,7 +813,7 @@ export default { .dispatch("tagsView/delView", this.$route) .then(({ visitedViews }) => { this.$router.push({ - path: "/patient/signRecord", + path: this.$route.query.path }); }); }, 3000);