修改弹窗关闭逻辑位置finally

This commit is contained in:
zzyuan 2024-04-20 15:30:40 +08:00
parent 09c5e715cb
commit 6a179963c4
28 changed files with 94 additions and 49 deletions

View File

@ -239,8 +239,9 @@ export default {
duration: 2000
})
this.getList()
}).finally(() => {
this.dialogFormVisible = false
}).finally(() => {
})
}
})

View File

@ -175,8 +175,9 @@ export default {
get3dFileList(this.listQuery).then((response) => {
this.list = response.rows
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

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

View File

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

View File

@ -155,8 +155,9 @@ export default {
get3dFileList(this.listQuery).then((response) => {
this.list = response.rows
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -308,8 +308,9 @@ export default {
duration: 2000
})
this.getList()
}).finally(() => {
this.dialogFormVisible = false
}).finally(() => {
})
}
})

View File

@ -133,8 +133,9 @@
getEarlyWarningRecordLists(this.listQuery).then((response) => {
this.list = response.rows
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

@ -119,8 +119,9 @@ export default {
getQualityRecordLists(this.listQuery).then((response) => {
this.list = response.rows
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

@ -254,8 +254,9 @@ export default {
duration: 2000
})
this.getList()
}).finally(() => {
this.dialogFormVisible = false
}).finally(() => {
})
}
})

View File

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

View File

@ -192,8 +192,9 @@ export default {
getSidebandDetailList(this.listQuery).then((response) => {
this.list = response.rows
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

@ -207,8 +207,9 @@ export default {
getSidebandChildList(this.listQuery).then((response) => {
this.list = response.rows
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

@ -227,8 +227,9 @@ export default {
duration: 2000
})
this.getList()
}).finally(() => {
this.dialogFormVisible = false
}).finally(() => {
})
}
})

View File

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

View File

@ -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(() => {
})
},
//

View File

@ -198,8 +198,9 @@ export default {
return item
})
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

@ -144,8 +144,9 @@ export default {
return item
})
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

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

View File

@ -231,8 +231,9 @@ export default {
duration: 2000
})
this.getList()
}).finally(() => {
this.dialogFormVisible = false
}).finally(() => {
})
}
})

View File

@ -182,8 +182,9 @@ export default {
duration: 2000
})
this.getList()
}).finally(() => {
this.dialogFormVisible = false
}).finally(() => {
})
}
})

View File

@ -232,8 +232,9 @@ export default {
duration: 2000
})
this.getList()
}).finally(() => {
this.dialogFormVisible = false
}).finally(() => {
})
}
})

View File

@ -96,8 +96,9 @@
getEarlyWarningRecordLists(this.listQuery).then((response) => {
this.list = response.rows
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//

View File

@ -118,8 +118,9 @@ export default {
getTowerRecordLists(this.listQuery).then((response) => {
this.list = response.rows
this.total = response.total
}).finally(() => {
this.listLoading = false
}).finally(() => {
})
},
//