修改保存
This commit is contained in:
parent
b3e0dde665
commit
68c4a30858
@ -277,7 +277,7 @@
|
|||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: "/patient/ManuallyCreatingTasks",
|
path: "/patient/ManuallyCreatingTasks",
|
||||||
query: {
|
query: {
|
||||||
path: "/task/Patientmanagement",
|
path: "/patient/ImportDetails",
|
||||||
signPatientRecordId: row.signPatientRecordId ? row.signPatientRecordId : '',
|
signPatientRecordId: row.signPatientRecordId ? row.signPatientRecordId : '',
|
||||||
patientId: row.id ?row.id : '',
|
patientId: row.id ?row.id : '',
|
||||||
patientName: row.patientName ? row.patientName : '',
|
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].checked2=2
|
||||||
this.list[0].routeNodeName=''
|
this.list[0].routeNodeName=''
|
||||||
this.list[0].plantype='APPOINT'
|
this.list[0].plantype='APPOINT'
|
||||||
@ -765,7 +768,7 @@ export default {
|
|||||||
item.plantype = "CURRENT"
|
item.plantype = "CURRENT"
|
||||||
item.nodePlanTime = ""
|
item.nodePlanTime = ""
|
||||||
},
|
},
|
||||||
|
// 保存
|
||||||
upload() {
|
upload() {
|
||||||
this.$confirm('保存此任务, 是否继续?', '提示', {
|
this.$confirm('保存此任务, 是否继续?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
@ -787,10 +790,22 @@ export default {
|
|||||||
console.log(this.updata, 'this.updata')
|
console.log(this.updata, 'this.updata')
|
||||||
// return
|
// return
|
||||||
signrouteadd(newObj).then((res) => {
|
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",
|
type: "success",
|
||||||
title: "提示",
|
title: "提示",
|
||||||
message: "保存成功,即将返回签约患者列表",
|
message: message,
|
||||||
duration: 3000,
|
duration: 3000,
|
||||||
});
|
});
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@ -798,7 +813,7 @@ export default {
|
|||||||
.dispatch("tagsView/delView", this.$route)
|
.dispatch("tagsView/delView", this.$route)
|
||||||
.then(({ visitedViews }) => {
|
.then(({ visitedViews }) => {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: "/patient/signRecord",
|
path: this.$route.query.path
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}, 3000);
|
}, 3000);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user