This commit is contained in:
2024-07-12 09:19:31 +08:00
parent 941e570313
commit 1822c8e60f
7 changed files with 49 additions and 44 deletions

View File

@ -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() {

View File

@ -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();
},
},
};

View File

@ -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();
},
},
};

View File

@ -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();
},
}
};

View File

@ -280,9 +280,9 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.$refs.DepartmentList.resetQuery()
this.resetForm("queryForm");
this.handleQuery();
this.$refs.DepartmentList.resetQuery()
// this.handleQuery();
},
},
};

View File

@ -197,9 +197,9 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.$refs.DepartmentList.resetQuery()
this.resetForm("queryForm");
this.handleQuery();
this.$refs.DepartmentList.resetQuery()
// this.handleQuery();
},
},
};

View File

@ -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();
},
},
};