dedsudiyu před 2 týdny
rodič
revize
f8efa6edef

+ 18 - 18
src/utils/request.js

@@ -124,24 +124,24 @@ serviceAxios.interceptors.response.use(res => {
     }
   },
   (error) => {
-    if (error.response.data.code == 5002) {
-      removeToken()
-      MessageBox.confirm('登录状态已过期,请重新登录', '系统提示', {
-          confirmButtonText: '确定',
-          showCancelButton: false,
-          closeOnClickModal: false,
-          cancelButtonText: '取消',
-          type: 'warning'
-        }
-      ).then(() => {
-        if (localStorage.getItem('entranceJumpType') == 'PC') {
-          window.location.href = process.env.VUE_APP_OUT_URL
-        } else {
-          window.location.href = '#/'
-        }
-      }).catch(() => {
-      })
-    }
+    // if (error.response.data.code == 5002) {
+    //   removeToken()
+    //   MessageBox.confirm('登录状态已过期,请重新登录', '系统提示', {
+    //       confirmButtonText: '确定',
+    //       showCancelButton: false,
+    //       closeOnClickModal: false,
+    //       cancelButtonText: '取消',
+    //       type: 'warning'
+    //     }
+    //   ).then(() => {
+    //     if (localStorage.getItem('entranceJumpType') == 'PC') {
+    //       window.location.href = process.env.VUE_APP_OUT_URL
+    //     } else {
+    //       window.location.href = '#/'
+    //     }
+    //   }).catch(() => {
+    //   })
+    // }
     // 弹层相关
     loadingCount--
     if (loadingCount === 0) {

+ 1 - 1
src/views/courtyardManage/eventList.vue

@@ -148,7 +148,7 @@
                         path: './workInfoDetail',
                         query: {
                             item: item,
-                            type: 4
+                            type: 2
                         },
                     })
             },

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 814 - 749
src/views/courtyardManage/workInfoDetail.vue