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()