From b4f16dfdf1d5741172b8723520050c78d12c0815 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 10 十月 2023 14:46:31 +0800 Subject: [PATCH] 接口基本信息管理-添加集成系统基础信息 --- Source/UBCS-WEB/src/views/system/user.vue | 48 +++++++++++++++++++++++++----------------------- 1 files changed, 25 insertions(+), 23 deletions(-) diff --git a/Source/UBCS-WEB/src/views/system/user.vue b/Source/UBCS-WEB/src/views/system/user.vue index c03acfa..0f92d14 100644 --- a/Source/UBCS-WEB/src/views/system/user.vue +++ b/Source/UBCS-WEB/src/views/system/user.vue @@ -373,7 +373,7 @@ trigger: "click" }], span: 24, - value:"211833" + value:"" }, { label: "鐧诲綍璐﹀彿", @@ -404,6 +404,7 @@ { label: '瀵嗙爜', prop: 'password', + type: "password", hide: true, editDisplay: false, viewDisplay: false, @@ -413,6 +414,7 @@ label: '纭瀵嗙爜', prop: 'password2', hide: true, + type: "password", editDisplay: false, viewDisplay: false, rules: [{required: true, validator: validatePass2, trigger: 'blur'}] @@ -1032,33 +1034,33 @@ }) }, beforeOpen(done, type) { - // console.log(type) + //console.log(type) // console.log('this.tenantId',this.tenantId) // const column = this.findObject(this.option.group,'tenantId'); // column.value=this.tenantId; // console.log('column',column) - if(this.treeDeptId){ - if (["edit", "view"].includes(type)) { - getUser(this.form.id).then(res => { - this.form = res.data.data; - if (this.form.hasOwnProperty("deptId")) { - this.form.deptId = this.form.deptId.split(","); - } - if (this.form.hasOwnProperty("roleId")) { - this.form.roleId = this.form.roleId.split(","); - } - if (this.form.hasOwnProperty("postId")) { - this.form.postId = this.form.postId.split(","); - } - }); - } - const prop = this.findObject(this.option.group, 'tenantId'); - console.log('1',prop) - this.initFlag = true; - done(); - }else { - this.$message.warning('璇烽�夋嫨涓�鏉℃墍灞炵鎴�') + // if(this.treeDeptId){ + if (["edit", "view"].includes(type)) { + getUser(this.form.id).then(res => { + this.form = res.data.data; + if (this.form.hasOwnProperty("deptId")) { + this.form.deptId = this.form.deptId.split(","); + } + if (this.form.hasOwnProperty("roleId")) { + this.form.roleId = this.form.roleId.split(","); + } + if (this.form.hasOwnProperty("postId")) { + this.form.postId = this.form.postId.split(","); + } + }); } + const prop = this.findObject(this.option.group, 'tenantId'); + //console.log('1',prop) + this.initFlag = true; + done(); + // }else { + // this.$message.warning('璇烽�夋嫨涓�鏉℃墍灞炵鎴�') + // } }, currentChange(currentPage) { this.page.currentPage = currentPage; -- Gitblit v1.9.3