ludc
2023-12-05 4eb538236362fd940f74d8b3e7bcb0bd63ce80f6
Source/UBCS-WEB/src/views/system/user.vue
@@ -396,6 +396,7 @@
      userflag:true,
      usernumber:0,
      userStatus:false,
      isUpdateShowInput:false,
    };
  },
  watch: {
@@ -558,6 +559,7 @@
                    message: "请输入登录账号",
                    trigger: "blur"
                  }],
                  disabled: this.isUpdateShowInput,
                },
                {
                  label: "用户平台",
@@ -711,7 +713,7 @@
                  multiple: true,
                  type: "tree",
                  dicData: [],
                  disabled:this.userStatus,
                  disabled: this.isUpdateShowInput,
                  props: {
                    label: "title"
                  },
@@ -1100,9 +1102,9 @@
    beforeOpen(done, type) {
      // console.log(type)
      if(type === "edit"){
        this.userStatus = true;
        this.isUpdateShowInput = true;
      }else {
        this.userStatus = false;
        this.isUpdateShowInput = false;
      }
      //console.log(type)
      // console.log('this.tenantId',this.tenantId)