From 6a179963c4e6e95866287e6cf5fca92fb60cbcf3 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Sat, 20 Apr 2024 15:30:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=B9=E7=AA=97=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E9=80=BB=E8=BE=91=E4=BD=8D=E7=BD=AEfinally?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ah-jjzhgd-web/src/views/basic/area/index.vue | 3 ++- ah-jjzhgd-web/src/views/basic/model/index.vue | 3 ++- .../views/basic/progress/components/ProcessTable2.vue | 3 ++- ah-jjzhgd-web/src/views/basic/progress/index.vue | 9 ++++++--- .../views/basic/project/components/3dFileTable.vue | 3 ++- .../src/views/basic/project/components/CostTable.vue | 9 ++++++--- .../src/views/basic/project/components/GtTable.vue | 9 ++++++--- .../views/basic/project/components/ProcessTable.vue | 9 ++++++--- ah-jjzhgd-web/src/views/basic/project/index.vue | 11 ++++++----- ah-jjzhgd-web/src/views/basic/quality/index.vue | 9 ++++++--- ah-jjzhgd-web/src/views/basic/single/index.vue | 3 ++- .../constructionQuality/earlyWarningsRecord/index.vue | 3 ++- .../views/constructionQuality/qualityRecord/index.vue | 3 ++- ah-jjzhgd-web/src/views/device/deviceMange/index.vue | 3 ++- .../device/sideband/components/SidebandChildTable.vue | 9 ++++++--- .../sidebandDevice/components/SidebandDetailTable.vue | 3 ++- .../src/views/device/sidebandDevice/index.vue | 3 ++- ah-jjzhgd-web/src/views/man-car/car/index.vue | 3 ++- ah-jjzhgd-web/src/views/man-car/staff/index.vue | 9 ++++++--- .../src/views/man-car/team/components/StaffTable.vue | 6 ++++-- ah-jjzhgd-web/src/views/man-car/team/index.vue | 3 ++- ah-jjzhgd-web/src/views/risk/dailyTask/index.vue | 3 ++- ah-jjzhgd-web/src/views/risk/dutyPlan/index.vue | 9 ++++++--- .../views/risk/emergency/components/EmergencyCase.vue | 3 ++- .../risk/emergency/components/EmergencyPhone.vue | 3 ++- .../risk/emergency/components/EmergencyProcess.vue | 3 ++- .../views/towerDetection/earlyWarningRecord/index.vue | 3 ++- .../src/views/towerDetection/towerRecord/index.vue | 3 ++- 28 files changed, 94 insertions(+), 49 deletions(-) diff --git a/ah-jjzhgd-web/src/views/basic/area/index.vue b/ah-jjzhgd-web/src/views/basic/area/index.vue index c153d4e..7c5029c 100644 --- a/ah-jjzhgd-web/src/views/basic/area/index.vue +++ b/ah-jjzhgd-web/src/views/basic/area/index.vue @@ -239,8 +239,9 @@ export default { duration: 2000 }) this.getList() - }).finally(() => { this.dialogFormVisible = false + }).finally(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/basic/model/index.vue b/ah-jjzhgd-web/src/views/basic/model/index.vue index b579696..4914b5a 100644 --- a/ah-jjzhgd-web/src/views/basic/model/index.vue +++ b/ah-jjzhgd-web/src/views/basic/model/index.vue @@ -175,8 +175,9 @@ export default { get3dFileList(this.listQuery).then((response) => { this.list = response.rows this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/basic/progress/components/ProcessTable2.vue b/ah-jjzhgd-web/src/views/basic/progress/components/ProcessTable2.vue index 3ce490e..8b77cb3 100644 --- a/ah-jjzhgd-web/src/views/basic/progress/components/ProcessTable2.vue +++ b/ah-jjzhgd-web/src/views/basic/progress/components/ProcessTable2.vue @@ -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() { diff --git a/ah-jjzhgd-web/src/views/basic/progress/index.vue b/ah-jjzhgd-web/src/views/basic/progress/index.vue index 232eb20..a692cbe 100644 --- a/ah-jjzhgd-web/src/views/basic/progress/index.vue +++ b/ah-jjzhgd-web/src/views/basic/progress/index.vue @@ -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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/basic/project/components/3dFileTable.vue b/ah-jjzhgd-web/src/views/basic/project/components/3dFileTable.vue index bffa237..26cfcf0 100644 --- a/ah-jjzhgd-web/src/views/basic/project/components/3dFileTable.vue +++ b/ah-jjzhgd-web/src/views/basic/project/components/3dFileTable.vue @@ -155,8 +155,9 @@ export default { get3dFileList(this.listQuery).then((response) => { this.list = response.rows this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/basic/project/components/CostTable.vue b/ah-jjzhgd-web/src/views/basic/project/components/CostTable.vue index d05b0ee..3b5c4b9 100644 --- a/ah-jjzhgd-web/src/views/basic/project/components/CostTable.vue +++ b/ah-jjzhgd-web/src/views/basic/project/components/CostTable.vue @@ -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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/basic/project/components/GtTable.vue b/ah-jjzhgd-web/src/views/basic/project/components/GtTable.vue index c04ec78..a7a1d35 100644 --- a/ah-jjzhgd-web/src/views/basic/project/components/GtTable.vue +++ b/ah-jjzhgd-web/src/views/basic/project/components/GtTable.vue @@ -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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/basic/project/components/ProcessTable.vue b/ah-jjzhgd-web/src/views/basic/project/components/ProcessTable.vue index 40ca2fb..a4c77da 100644 --- a/ah-jjzhgd-web/src/views/basic/project/components/ProcessTable.vue +++ b/ah-jjzhgd-web/src/views/basic/project/components/ProcessTable.vue @@ -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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/basic/project/index.vue b/ah-jjzhgd-web/src/views/basic/project/index.vue index 3a47e0f..af2da54 100644 --- a/ah-jjzhgd-web/src/views/basic/project/index.vue +++ b/ah-jjzhgd-web/src/views/basic/project/index.vue @@ -21,8 +21,7 @@ 新增 - -
+
{ 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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/basic/quality/index.vue b/ah-jjzhgd-web/src/views/basic/quality/index.vue index 6f99a0e..aa4316c 100644 --- a/ah-jjzhgd-web/src/views/basic/quality/index.vue +++ b/ah-jjzhgd-web/src/views/basic/quality/index.vue @@ -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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/basic/single/index.vue b/ah-jjzhgd-web/src/views/basic/single/index.vue index e0e9594..a086ca1 100644 --- a/ah-jjzhgd-web/src/views/basic/single/index.vue +++ b/ah-jjzhgd-web/src/views/basic/single/index.vue @@ -308,8 +308,9 @@ export default { duration: 2000 }) this.getList() - }).finally(() => { this.dialogFormVisible = false + }).finally(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/constructionQuality/earlyWarningsRecord/index.vue b/ah-jjzhgd-web/src/views/constructionQuality/earlyWarningsRecord/index.vue index adb1ca6..ef76fbe 100644 --- a/ah-jjzhgd-web/src/views/constructionQuality/earlyWarningsRecord/index.vue +++ b/ah-jjzhgd-web/src/views/constructionQuality/earlyWarningsRecord/index.vue @@ -133,8 +133,9 @@ getEarlyWarningRecordLists(this.listQuery).then((response) => { this.list = response.rows this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/constructionQuality/qualityRecord/index.vue b/ah-jjzhgd-web/src/views/constructionQuality/qualityRecord/index.vue index 766068e..e4f1684 100644 --- a/ah-jjzhgd-web/src/views/constructionQuality/qualityRecord/index.vue +++ b/ah-jjzhgd-web/src/views/constructionQuality/qualityRecord/index.vue @@ -119,8 +119,9 @@ export default { getQualityRecordLists(this.listQuery).then((response) => { this.list = response.rows this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/device/deviceMange/index.vue b/ah-jjzhgd-web/src/views/device/deviceMange/index.vue index d42a17b..e75ddab 100644 --- a/ah-jjzhgd-web/src/views/device/deviceMange/index.vue +++ b/ah-jjzhgd-web/src/views/device/deviceMange/index.vue @@ -254,8 +254,9 @@ export default { duration: 2000 }) this.getList() - }).finally(() => { this.dialogFormVisible = false + }).finally(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/device/sideband/components/SidebandChildTable.vue b/ah-jjzhgd-web/src/views/device/sideband/components/SidebandChildTable.vue index 253bab6..2495325 100644 --- a/ah-jjzhgd-web/src/views/device/sideband/components/SidebandChildTable.vue +++ b/ah-jjzhgd-web/src/views/device/sideband/components/SidebandChildTable.vue @@ -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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/device/sidebandDevice/components/SidebandDetailTable.vue b/ah-jjzhgd-web/src/views/device/sidebandDevice/components/SidebandDetailTable.vue index a957f28..babb6cd 100644 --- a/ah-jjzhgd-web/src/views/device/sidebandDevice/components/SidebandDetailTable.vue +++ b/ah-jjzhgd-web/src/views/device/sidebandDevice/components/SidebandDetailTable.vue @@ -192,8 +192,9 @@ export default { getSidebandDetailList(this.listQuery).then((response) => { this.list = response.rows this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/device/sidebandDevice/index.vue b/ah-jjzhgd-web/src/views/device/sidebandDevice/index.vue index db57a05..e839109 100644 --- a/ah-jjzhgd-web/src/views/device/sidebandDevice/index.vue +++ b/ah-jjzhgd-web/src/views/device/sidebandDevice/index.vue @@ -207,8 +207,9 @@ export default { getSidebandChildList(this.listQuery).then((response) => { this.list = response.rows this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/man-car/car/index.vue b/ah-jjzhgd-web/src/views/man-car/car/index.vue index 57e6c29..a15ee11 100644 --- a/ah-jjzhgd-web/src/views/man-car/car/index.vue +++ b/ah-jjzhgd-web/src/views/man-car/car/index.vue @@ -227,8 +227,9 @@ export default { duration: 2000 }) this.getList() - }).finally(() => { this.dialogFormVisible = false + }).finally(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/man-car/staff/index.vue b/ah-jjzhgd-web/src/views/man-car/staff/index.vue index 6cd0b91..5670cc4 100644 --- a/ah-jjzhgd-web/src/views/man-car/staff/index.vue +++ b/ah-jjzhgd-web/src/views/man-car/staff/index.vue @@ -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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/man-car/team/components/StaffTable.vue b/ah-jjzhgd-web/src/views/man-car/team/components/StaffTable.vue index 28d0d44..884ddf7 100644 --- a/ah-jjzhgd-web/src/views/man-car/team/components/StaffTable.vue +++ b/ah-jjzhgd-web/src/views/man-car/team/components/StaffTable.vue @@ -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(() => { + }) }, // 删除数据 diff --git a/ah-jjzhgd-web/src/views/man-car/team/index.vue b/ah-jjzhgd-web/src/views/man-car/team/index.vue index a9bebf8..ca77080 100644 --- a/ah-jjzhgd-web/src/views/man-car/team/index.vue +++ b/ah-jjzhgd-web/src/views/man-car/team/index.vue @@ -198,8 +198,9 @@ export default { return item }) this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/risk/dailyTask/index.vue b/ah-jjzhgd-web/src/views/risk/dailyTask/index.vue index de69f37..facb1eb 100644 --- a/ah-jjzhgd-web/src/views/risk/dailyTask/index.vue +++ b/ah-jjzhgd-web/src/views/risk/dailyTask/index.vue @@ -144,8 +144,9 @@ export default { return item }) this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/risk/dutyPlan/index.vue b/ah-jjzhgd-web/src/views/risk/dutyPlan/index.vue index a330eb7..829506d 100644 --- a/ah-jjzhgd-web/src/views/risk/dutyPlan/index.vue +++ b/ah-jjzhgd-web/src/views/risk/dutyPlan/index.vue @@ -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(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyCase.vue b/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyCase.vue index e7448d6..40d01f4 100644 --- a/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyCase.vue +++ b/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyCase.vue @@ -231,8 +231,9 @@ export default { duration: 2000 }) this.getList() - }).finally(() => { this.dialogFormVisible = false + }).finally(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyPhone.vue b/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyPhone.vue index c7225f1..edc6230 100644 --- a/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyPhone.vue +++ b/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyPhone.vue @@ -182,8 +182,9 @@ export default { duration: 2000 }) this.getList() - }).finally(() => { this.dialogFormVisible = false + }).finally(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyProcess.vue b/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyProcess.vue index 7e7f2fb..3016f9c 100644 --- a/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyProcess.vue +++ b/ah-jjzhgd-web/src/views/risk/emergency/components/EmergencyProcess.vue @@ -232,8 +232,9 @@ export default { duration: 2000 }) this.getList() - }).finally(() => { this.dialogFormVisible = false + }).finally(() => { + }) } }) diff --git a/ah-jjzhgd-web/src/views/towerDetection/earlyWarningRecord/index.vue b/ah-jjzhgd-web/src/views/towerDetection/earlyWarningRecord/index.vue index c6c42e5..0cdf7b2 100644 --- a/ah-jjzhgd-web/src/views/towerDetection/earlyWarningRecord/index.vue +++ b/ah-jjzhgd-web/src/views/towerDetection/earlyWarningRecord/index.vue @@ -96,8 +96,9 @@ getEarlyWarningRecordLists(this.listQuery).then((response) => { this.list = response.rows this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询 diff --git a/ah-jjzhgd-web/src/views/towerDetection/towerRecord/index.vue b/ah-jjzhgd-web/src/views/towerDetection/towerRecord/index.vue index b22c6ce..946e41b 100644 --- a/ah-jjzhgd-web/src/views/towerDetection/towerRecord/index.vue +++ b/ah-jjzhgd-web/src/views/towerDetection/towerRecord/index.vue @@ -118,8 +118,9 @@ export default { getTowerRecordLists(this.listQuery).then((response) => { this.list = response.rows this.total = response.total - }).finally(() => { this.listLoading = false + }).finally(() => { + }) }, // 查询