修改
This commit is contained in:
parent
7c50cad446
commit
0be026b392
@ -460,25 +460,30 @@ export default {
|
||||
//暂存
|
||||
TemporaryStorage() {
|
||||
this.$refs.wangeditor.emit()
|
||||
const loading = this.$loading({
|
||||
lock: true,
|
||||
text: '暂存中',
|
||||
spinner: 'el-icon-loading',
|
||||
background: 'rgba(0, 0, 0, 0.7)'
|
||||
});
|
||||
this.updata.specialDiseaseNodeList = []
|
||||
this.lists.forEach(e => {
|
||||
e.list.length > 0 ? e.list.forEach(el => {
|
||||
el.routeNodeDay = e.routeNodeDay
|
||||
el.routeNodeName = e.routeNodeName
|
||||
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 => {
|
||||
this.info();
|
||||
loading.close();
|
||||
this.$modal.msgSuccess("暂存成功!");
|
||||
this.$confirm('确认暂存时将过滤掉部分内容未填写完成的子节点,是否确认暂存?', '提示', {
|
||||
confirmButtonText: '确认',
|
||||
cancelButtonText: '取消',
|
||||
}).then(() => {
|
||||
const loading = this.$loading({
|
||||
lock: true,
|
||||
text: '暂存中',
|
||||
spinner: 'el-icon-loading',
|
||||
background: 'rgba(0, 0, 0, 0.7)'
|
||||
});
|
||||
this.updata.specialDiseaseNodeList = []
|
||||
this.lists.forEach(e => {
|
||||
e.list.length > 0 ? e.list.forEach(el => {
|
||||
el.routeNodeDay = e.routeNodeDay
|
||||
el.routeNodeName = e.routeNodeName
|
||||
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 => {
|
||||
this.info();
|
||||
loading.close();
|
||||
this.$modal.msgSuccess("暂存成功!");
|
||||
})
|
||||
})
|
||||
},
|
||||
//问卷传值
|
||||
|
||||
Loading…
Reference in New Issue
Block a user