无人机管理后台前端(已迁走)
shuishen
2025-05-10 90f95e6c0b2e11f959727bf0dd454f28381e9bed
feat:点击复核按钮提示框直接关闭处理
1 files modified
25 ■■■■■ changed files
src/views/tickets/ticket.vue 25 ●●●●● patch | view | raw | blame | history
src/views/tickets/ticket.vue
@@ -2406,11 +2406,11 @@
    reCheckConfirm (key) {
      const that = this
      if (key == 1) {
        getReviewById(this.reCheckData.id).then(res => {
          this.reCheckDialog = false
          this.page.currentPage = 1
          this.fetchTableData()
          this.fetchTabCounts()
        getReviewById(that.reCheckData.id).then(res => {
          that.reCheckDialog = false
          that.page.currentPage = 1
          that.fetchTableData()
          that.fetchTabCounts()
        })
      } else {
        const loading = ElLoading.service({
@@ -2419,6 +2419,11 @@
          background: 'rgba(0, 0, 0, 0.7)',
        })
        function closeConfirm () {
          that.reCheckDialog = false
          loading.close()
        }
        // 获取时间的接口
        getCreateEventJob(that.reCheckData.id).then(res => {
          ElMessageBox.confirm(`预计复核执行时间为${res.data.data}`, '提示', {
@@ -2426,14 +2431,12 @@
            showCancelButton: false, // 关键配置
            type: 'warning',
          }).then(() => {
            this.reCheckDialog = false
            this.page.currentPage = 1
            this.fetchTableData()
            this.fetchTabCounts()
            closeConfirm()
          }).catch(() => {
            closeConfirm()
          })
        }).catch(() => {
          this.reCheckDialog = false
          loading.close()
          closeConfirm()
        })
      }
    },