From 7099bd7349dbe11ed00d6f52b7f536be1d5d1411 Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Fri, 28 Feb 2025 19:47:55 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7?=
=?UTF-8?q?=E8=A1=A8=E5=8D=95=E4=B8=AD=E7=9A=84=E8=A7=92=E8=89=B2=E5=92=8C?=
=?UTF-8?q?=E9=83=A8=E9=97=A8ID=E9=80=BB=E8=BE=91=EF=BC=8C=E5=B9=B6?=
=?UTF-8?q?=E8=B0=83=E6=95=B4=E8=A1=A8=E5=8D=95=E9=A1=B9=E7=9A=84=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E6=9D=A1=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/user/index.vue | 141 +++++++++++++++++---------------
1 file changed, 75 insertions(+), 66 deletions(-)
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index c8153e5b..f19d3b8a 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -385,8 +385,8 @@ function fnModalVisibleByEdit(userId?: string | number) {
modalState.options.posts = posts;
const { user, roleIds, postIds } = res.data;
modalState.from = Object.assign(modalState.from, user);
- modalState.from.roleIds = roleIds;
- modalState.from.postIds = postIds;
+ modalState.from.roleIds = [2]; //roleIds;
+ modalState.from.postIds = [2]; // postIds;
modalState.from.deptId = deptTreeData.value[0].id;
modalState.title =
t('common.addText') + t('views.system.user.userInfo');
@@ -753,7 +753,7 @@ function fnGetList(pageNum?: number) {
queryParams.beginTime = queryRangePicker.value[0];
queryParams.endTime = queryRangePicker.value[1];
listUser(toRaw(queryParams)).then(res => {
- if (res.code === RESULT_CODE_SUCCESS) {
+ if (res.code === RESULT_CODE_SUCCESS) {
// 取消勾选
if (tableState.selectedRowKeys.length > 0) {
tableState.selectedRowKeys = [];
@@ -809,7 +809,62 @@ onMounted(() => {
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -932,6 +932,7 @@ onMounted(() => {
type="dashed"
@click.prevent="fnModalUploadImportOpen()"
v-perms:has="['system:user:import']"
+ v-if="false"
>
{{ t('common.import') }}
@@ -940,6 +941,7 @@ onMounted(() => {
type="dashed"
@click.prevent="fnExportList()"
v-perms:has="['system:user:export']"
+ v-if="false"
>
{{ t('common.export') }}
@@ -1170,7 +1172,10 @@ onMounted(() => {
-
+
{
-
+
{{ modalState.from.phone }}
@@ -1200,6 +1202,7 @@ onMounted(() => {
name="deptId"
:label-col="{ span: 3 }"
:label-wrap="true"
+ v-if="false"
>
{
-
+
{
:md="12"
:xs="24"
v-perms:has="['system:user:editPost']"
+ v-if="false"
>
{
modalState.from.userId !== userStore.userId
"
>
-
+
{
name="roleIds"
:label-col="{ span: 3 }"
v-perms:has="['system:user:editRole']"
+ v-if="false"
>
{
:label="t('views.system.user.fromClass')"
name="deptId"
:label-col="{ span: 3 }"
+ v-if="false"
>