From 1df478bfab1a1e27d9c5e88f7c8c0fc71f904e8e Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期二, 17 十月 2023 17:42:34 +0800 Subject: [PATCH] 1、设置allcode状态时,设置为业务数据的状态。 --- Source/UBCS-WEB/src/views/system/user.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/views/system/user.vue b/Source/UBCS-WEB/src/views/system/user.vue index 80d027e..c2adc42 100644 --- a/Source/UBCS-WEB/src/views/system/user.vue +++ b/Source/UBCS-WEB/src/views/system/user.vue @@ -177,7 +177,7 @@ resetPassword, unlock } from "@/api/system/user"; import {exportBlob} from "@/api/common"; -import {getDeptTree, getDeptLazyTree} from "@/api/system/dept"; +import {getDeptTree, getDeptLazyTree, updateUserStatus} from "@/api/system/dept"; import {getRoleTree} from "@/api/system/role"; import {getPostList} from "@/api/system/post"; import {mapGetters} from "vuex"; @@ -346,7 +346,7 @@ required: true, message: "璇烽�夋嫨鐢ㄦ埛骞冲彴", trigger: "blur" - }] + }], }, ], group: [ @@ -393,6 +393,7 @@ label: "dictValue", value: "dictKey" }, + value:'1', dataType: "number", slot: true, prop: "userType", @@ -549,7 +550,12 @@ props: { label: "postName", value: "id" - } + }, + rules: [{ + required: false, + message: "璇烽�夋嫨鎵�灞炲矖浣�", + trigger: "click" + }], }, ] }, @@ -736,6 +742,9 @@ } }, created() { + updateUserStatus({userid:'1702600796324032513',status:'true'}).then(res=>{ + console.log(res) + }) this.selecload() const arr=JSON.parse(localStorage.getItem("updataid")) if(arr.user_id != '0' && arr.tenant_id !== '000000'){ -- Gitblit v1.9.3