浏览代码

fix: 欠费提醒记录异常提示

lyc 1 周之前
父节点
当前提交
c0eda0c614
共有 1 个文件被更改,包括 11 次插入5 次删除
  1. 11 5
      src/views/report/arrearsReminder.vue

+ 11 - 5
src/views/report/arrearsReminder.vue

@@ -249,6 +249,10 @@ export default {
         CreateTime:that.param.CreateTime,
         customerId:qm.CustomerId,
         LastOperUserId:qm.LastOperUserId
+      }).catch(r=>{
+        this.$alert(r, '异常提示', {
+          confirmButtonText: '确定',
+        });
       }).then(r=>{
         debugger
         this.dialogDetails = r;
@@ -306,11 +310,13 @@ export default {
         (resp) => {
           this.tableList = resp
           that.loading = false
-        },
-        () => {
-          that.loading = false
-        }
-      )
+        }).catch(r=>{
+        this.$alert(r, '异常提示', {
+          confirmButtonText: '确定',
+        });
+      }).finally(() => {
+        that.loading = false
+      })
     },
     // 重置
     reset() {