From bf3d44dfce0f7adda23e2dd6023c96d7fac7519c Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Sat, 22 Nov 2025 14:04:15 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E7=BC=96=E5=88=B6=E6=83=85=E5=86=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/admin/system/user/form.vue | 11 +++++++++--
src/views/admin/system/user/index.vue | 23 +++++++++++++++++------
2 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/src/views/admin/system/user/form.vue b/src/views/admin/system/user/form.vue
index c579883..17c0dda 100644
--- a/src/views/admin/system/user/form.vue
+++ b/src/views/admin/system/user/form.vue
@@ -70,11 +70,17 @@
+
+
+
+
+
- {{
- item.label }}
+
+ {{ item.label }}
@@ -145,6 +151,7 @@ const dataForm = reactive({
nickname: "",
name: "",
email: "",
+ staffingType: "2",
post: [] as string[],
role: [] as string[],
})
diff --git a/src/views/admin/system/user/index.vue b/src/views/admin/system/user/index.vue
index 69324e5..9d3b6e0 100644
--- a/src/views/admin/system/user/index.vue
+++ b/src/views/admin/system/user/index.vue
@@ -22,6 +22,9 @@
+
+
+
查询
重置
@@ -64,12 +67,6 @@
-
-
- {{ item.roleName
- }}
-
-
+
+
+
+
+
+
+
+
+ {{ item.roleName }}
+
+
@@ -158,6 +166,7 @@ import { useI18n } from "vue-i18n"
import { auth } from "/@/utils/authFunction"
import { getDicts } from "/@/api/admin/dict"
import ProcessDrawer from "/@/components/processDrawer/index.vue"
+import { useDict } from "/@/hooks/dict"
const UserForm = defineAsyncComponent(() => import("./form.vue"))
const FaceManage = defineAsyncComponent(() => import("./face-manage.vue"))
@@ -197,6 +206,8 @@ const state: BasicTableProps = reactive({
})
const { getDataList, currentChangeHandle, sizeChangeHandle, postDownBlobFile, tableStyle } = useTable(state)
+const { user_staffing_type } = useDict("user_staffing_type")
+
// 清空搜索条件
const resetQuery = () => {
queryRef.value?.resetFields()