Jelajahi Sumber

用户管理触发修改;企业提示

sqg 4 tahun lalu
induk
melakukan
4c4284b31e

+ 4 - 2
front-vue/src/views/service/company/coreCompanyManage.vue

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

+ 3 - 0
front-vue/src/views/system/user/index.vue

@@ -1188,6 +1188,9 @@ export default {
       if(userName){
       this.$set(this.form, "userName", userName);
       }
+      if(userId){
+      this.$set(this.form, "userId", userId);
+      }
       getUser(userId, scyId).then((response) => {
         this.uinParams.ssId = response.data.staffCode;
         this.getRodept(scyId);