修改
This commit is contained in:
parent
941e570313
commit
1822c8e60f
@ -716,40 +716,45 @@ export default {
|
||||
}
|
||||
},
|
||||
upload() {
|
||||
this.updata.routeNodeList = this.list;
|
||||
// this.updata.routeNodeList.forEach((el) => {
|
||||
// if (el.phoneDialMethod == "COMMON" && el.questionInfoId) {
|
||||
// el.templateType = "QUESTIONNAIRE";
|
||||
// } else if (el.phoneDialMethod == "COMMON" && el.phoneId) {
|
||||
// el.templateType = "SCRIPT";
|
||||
// } else if (el.phoneDialMethod == "AI" && el.phoneId) {
|
||||
// el.templateType = "SCRIPT";
|
||||
// }
|
||||
// });
|
||||
this.updata.triggerConditionList.forEach((e) => {
|
||||
e.routeId = this.$route.query.id;
|
||||
e.routeName = this.$route.query.routeName;
|
||||
delete e.optionstriggerConditionOperator
|
||||
});
|
||||
delete this.updata.triggerConditionList.optionstriggerConditionOperator
|
||||
// return
|
||||
signrouteadd(this.updata).then((res) => {
|
||||
this.$notify({
|
||||
type: "success",
|
||||
title: "提示",
|
||||
message: "保存成功,即将返回签约患者列表",
|
||||
duration: 3000,
|
||||
this.$confirm('保存此任务, 是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
}).then(() => {
|
||||
this.updata.routeNodeList = this.list;
|
||||
// this.updata.routeNodeList.forEach((el) => {
|
||||
// if (el.phoneDialMethod == "COMMON" && el.questionInfoId) {
|
||||
// el.templateType = "QUESTIONNAIRE";
|
||||
// } else if (el.phoneDialMethod == "COMMON" && el.phoneId) {
|
||||
// el.templateType = "SCRIPT";
|
||||
// } else if (el.phoneDialMethod == "AI" && el.phoneId) {
|
||||
// el.templateType = "SCRIPT";
|
||||
// }
|
||||
// });
|
||||
this.updata.triggerConditionList.forEach((e) => {
|
||||
e.routeId = this.$route.query.id;
|
||||
e.routeName = this.$route.query.routeName;
|
||||
delete e.optionstriggerConditionOperator
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$store
|
||||
.dispatch("tagsView/delView", this.$route)
|
||||
.then(({ visitedViews }) => {
|
||||
this.$router.push({
|
||||
path: "/patient/signRecord",
|
||||
delete this.updata.triggerConditionList.optionstriggerConditionOperator
|
||||
// return
|
||||
signrouteadd(this.updata).then((res) => {
|
||||
this.$notify({
|
||||
type: "success",
|
||||
title: "提示",
|
||||
message: "保存成功,即将返回签约患者列表",
|
||||
duration: 3000,
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$store
|
||||
.dispatch("tagsView/delView", this.$route)
|
||||
.then(({ visitedViews }) => {
|
||||
this.$router.push({
|
||||
path: "/patient/signRecord",
|
||||
});
|
||||
});
|
||||
});
|
||||
}, 3000);
|
||||
});
|
||||
}, 3000);
|
||||
});
|
||||
})
|
||||
},
|
||||
// 获取表格最高高度
|
||||
getMaxTableHeight() {
|
||||
|
||||
@ -188,11 +188,11 @@ export default {
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
this.queryParams.departmentId = null;
|
||||
this.itemname = null;
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
// this.handleQuery();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@ -193,10 +193,10 @@ export default {
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
this.queryParams.departmentId = null;
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
// this.handleQuery();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@ -172,10 +172,10 @@ export default {
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
this.queryParams.departmentId = null;
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
// this.handleQuery();
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
@ -280,9 +280,9 @@ export default {
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
// this.handleQuery();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@ -197,9 +197,9 @@ export default {
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
// this.handleQuery();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@ -234,9 +234,9 @@ export default {
|
||||
scriptSort: null,
|
||||
scriptRemark: null,
|
||||
};
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
this.resetForm("queryForm");
|
||||
this.getList();
|
||||
this.$refs.DepartmentList.resetQuery()
|
||||
// this.getList();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user