This commit is contained in:
2024-04-19 11:30:09 +08:00
parent 9f09f19b52
commit 7c50cad446

View File

@ -474,6 +474,7 @@ export default {
this.updata.specialDiseaseNodeList.push(el) this.updata.specialDiseaseNodeList.push(el)
}) : "" }) : ""
}) })
this.updata.specialDiseaseNodeList = this.updata.specialDiseaseNodeList.filter(e => e.routeNodeDay && e.routeNodeName && e.taskType && e.taskSubdivision && e.taskStatus)
specialDiseaseNode(this.updata).then(res => { specialDiseaseNode(this.updata).then(res => {
this.info(); this.info();
loading.close(); loading.close();
@ -614,6 +615,26 @@ export default {
spinner: 'el-icon-loading', spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)' background: 'rgba(0, 0, 0, 0.7)'
}); });
if (!this.routeform.routeNodeDay) {
this.$message.error('请输入节点时间段天数');
return
}
if (!this.routeform.routeNodeName) {
this.$message.error('请选择节点时间段');
return
}
if (!this.routeform.taskType) {
this.$message.error('请选择任务类型');
return
}
if (!this.routeform.taskSubdivision) {
this.$message.error('请选择任务细分');
return
}
if (!this.routeform.taskStatus) {
this.$message.error('请选择任务状态');
return
}
updateRouteCheckStatus({ updateRouteCheckStatus({
routeCheckStatus: this.routeform.routeCheckStatus, routeCheckStatus: this.routeform.routeCheckStatus,
id: this.form.specialDiseaseNodeId, id: this.form.specialDiseaseNodeId,