修改保存
This commit is contained in:
parent
b3e0dde665
commit
68c4a30858
@ -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 : '',
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user