修改弹窗关闭逻辑位置finally
This commit is contained in:
parent
09c5e715cb
commit
6a179963c4
|
|
@ -239,8 +239,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -175,8 +175,9 @@ export default {
|
|||
get3dFileList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -260,8 +260,9 @@ export default {
|
|||
getProgressProcessList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
getList2() {
|
||||
|
|
|
|||
|
|
@ -146,8 +146,9 @@ export default {
|
|||
getProgressList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -172,8 +173,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -197,8 +199,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -155,8 +155,9 @@ export default {
|
|||
get3dFileList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -171,8 +171,9 @@ export default {
|
|||
getProjectCostList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -197,8 +198,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -221,8 +223,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -173,8 +173,9 @@ export default {
|
|||
getGtList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -199,8 +200,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -224,8 +226,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -205,8 +205,9 @@ export default {
|
|||
getProcessList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -231,8 +232,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -256,8 +258,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -21,8 +21,7 @@
|
|||
<el-button v-waves class="filter-item" style="margin-left: 10px" type="primary" @click="handleCreate">
|
||||
新增
|
||||
</el-button>
|
||||
|
||||
<div class="fr">
|
||||
<!-- <div class="fr">
|
||||
<el-button v-waves v-throttle-click="handleTmpDownload" class="filter-item" type="primary">
|
||||
模板下载
|
||||
</el-button>
|
||||
|
|
@ -40,7 +39,7 @@
|
|||
<el-button v-waves v-throttle-click="handleExport" class="filter-item" style="margin-left: 10px" type="primary">
|
||||
导出
|
||||
</el-button>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<el-table
|
||||
|
|
@ -493,8 +492,9 @@ export default {
|
|||
getProjectList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -644,8 +644,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.completeModalVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -202,8 +202,9 @@ export default {
|
|||
return item
|
||||
})
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -227,8 +228,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -256,8 +258,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -308,8 +308,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -133,8 +133,9 @@
|
|||
getEarlyWarningRecordLists(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -119,8 +119,9 @@ export default {
|
|||
getQualityRecordLists(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -254,8 +254,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -209,8 +209,9 @@ export default {
|
|||
getSidebandChildList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -236,8 +237,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -261,8 +263,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -192,8 +192,9 @@ export default {
|
|||
getSidebandDetailList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -207,8 +207,9 @@ export default {
|
|||
getSidebandChildList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -227,8 +227,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -438,8 +438,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -522,8 +523,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.bindVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -540,8 +542,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.bindVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -160,8 +160,9 @@ export default {
|
|||
getTeamStaffList(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -201,8 +202,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 删除数据
|
||||
|
|
|
|||
|
|
@ -198,8 +198,9 @@ export default {
|
|||
return item
|
||||
})
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -144,8 +144,9 @@ export default {
|
|||
return item
|
||||
})
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -195,8 +195,9 @@ export default {
|
|||
this.getDutyPlan()
|
||||
}
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 获取值班计划
|
||||
|
|
@ -226,8 +227,9 @@ export default {
|
|||
}
|
||||
})
|
||||
this.temp = Object.assign({}, tmp)
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
@ -251,8 +253,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getDutyPlan()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -231,8 +231,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -182,8 +182,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -232,8 +232,9 @@ export default {
|
|||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -96,8 +96,9 @@
|
|||
getEarlyWarningRecordLists(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
|
|
@ -118,8 +118,9 @@ export default {
|
|||
getTowerRecordLists(this.listQuery).then((response) => {
|
||||
this.list = response.rows
|
||||
this.total = response.total
|
||||
}).finally(() => {
|
||||
this.listLoading = false
|
||||
}).finally(() => {
|
||||
|
||||
})
|
||||
},
|
||||
// 查询
|
||||
|
|
|
|||
Loading…
Reference in New Issue