diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index ceb054e..6d7a029 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -266,19 +266,19 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- 提示:
- 法警归属部门必须选法警部,辅警归属部门必须选辅警部,法警负责人角色必须选法警(辅警)负责人,分管领导角色必须选单位领导
-
@@ -547,20 +542,20 @@ watch(deptName, val => {
// 获取个s人信息
const getUserInfo = async () => {
await getUserProfile().then(res => {
- form.value.unitId = res.data.unitId
- handleUnitChange(form.value.unitId)
+ handleUnitChange()
})
}
function handleUnitChange(data) {
form.value.deptId = ''
listDept().then(res => {
- deptOptionsEdit.value = res.data.filter(
- item => item.parentId === data
- );
- deptOptionsEdit.value = deptOptionsEdit.value.filter(
- item => item.isUnit === false
- );
+ deptOptionsEdit.value = res.data
+ // .filter(
+ // item => item.parentId === data
+ // );
+ // deptOptionsEdit.value = deptOptionsEdit.value.filter(
+ // item => item.isUnit === false
+ // );
})
}