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