Explorar o código

用户平台改为多选框

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
1c40c825cc
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  1. 5 3
      src/views/system/user.vue

+ 5 - 3
src/views/system/user.vue

@@ -582,7 +582,7 @@ export default {
           },
           {
             label: "用户平台",
-            type: "select",
+            type: "checkbox",
             dicUrl: "/api/blade-system/dict/dictionary?code=user_type",
             props: {
               label: "dictValue",
@@ -653,7 +653,7 @@ export default {
               },
               {
                 label: "用户平台",
-                type: "select",
+                type: "checkbox",
                 dicUrl: "/api/blade-system/dict/dictionary?code=user_type",
                 props: {
                   label: "dictValue",
@@ -837,7 +837,7 @@ export default {
           },
           {
             label: "用户平台",
-            type: "select",
+            type: "checkbox",
             dicUrl: "/api/blade-system/dict/dictionary?code=user_type",
             props: {
               label: "dictValue",
@@ -1342,7 +1342,9 @@ export default {
       let ks = {...row}
       delete ks.projectAndUserList
       delete ks.roleId
+      console.log(ks,'ks');
       update({...ks}).then(() => {
+        
         this.initFlag = false;
         this.onLoad(this.page);
         this.$message({