소스 검색

冻结提示

sqg 4 년 전
부모
커밋
28ac7a1723
2개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 1
      front-vue/src/views/service/company/coreCompanyManage.vue
  2. 3 1
      front-vue/src/views/service/company/supCompanyManage.vue

+ 8 - 1
front-vue/src/views/service/company/coreCompanyManage.vue

@@ -520,7 +520,14 @@ export default {
           this.getList();
           this.msgSuccess("冻结成功");
         })
-        .catch(() => {
+        .catch((c) => {
+          if(c == "cancel"){
+          this.$message({
+            type: "warning",
+            message: "已取消冻结",
+           
+          });
+          }
         }); 
     },
 

+ 3 - 1
front-vue/src/views/service/company/supCompanyManage.vue

@@ -442,12 +442,14 @@ export default {
           this.getList();
           this.msgSuccess("冻结成功");
         })
-        .catch(() => {
+        .catch((c) => {
+          if(c == "cancel"){
           this.$message({
             type: "warning",
             message: "已取消冻结",
            
           });
+          }
         }); 
     },