From 3d828ba07224d1935f47cb0c20dcb959281361d6 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 07 十二月 2023 14:06:23 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/UBCS-WEB/src/views/system/user.vue | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/system/user.vue b/Source/UBCS-WEB/src/views/system/user.vue
index 8503d84..02d3363 100644
--- a/Source/UBCS-WEB/src/views/system/user.vue
+++ b/Source/UBCS-WEB/src/views/system/user.vue
@@ -186,7 +186,7 @@
import {exportBlob} from "@/api/common";
import {getDeptTree, getDeptLazyTree} from "@/api/system/dept";
import {getRoleTree} from "@/api/system/role";
-import {getPostList} from "@/api/system/post";
+//import {getPostList} from "@/api/system/post";
import {mapGetters} from "vuex";
import website from '@/config/website';
import {getToken} from '@/util/auth';
@@ -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"
},
@@ -894,10 +896,10 @@
const column = this.findObject(this.option.group, "deptId");
column.dicData = res.data.data;
});
- getPostList(tenantId).then(res => {
- const column = this.findObject(this.option.group, "postId");
- column.dicData = res.data.data;
- });
+ // getPostList(tenantId).then(res => {
+ // const column = this.findObject(this.option.group, "postId");
+ // column.dicData = res.data.data;
+ // });
},
submitRole() {
const roleList = this.$refs.treeRole.getCheckedKeys().join(",");
@@ -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)
--
Gitblit v1.9.3