|
@@ -55,8 +55,6 @@ let fields: Ref<any[]> = ref([
|
|
|
{ label: '姓名', model: 'name', isSearch: true },
|
|
|
{ label: '性别', model: 'gender', format: (i: any) => getDict(i, genderList.value, 'dict') },
|
|
|
{ label: '角色', model: 'role', format: (i: any) => getDict(i, roleList.value, 'role') },
|
|
|
- { label: '所属街道', model: 'street', format: (i: any) => getDict(i, belongList.value) },
|
|
|
- { label: '所属社区', model: 'community', format: (i: any) => getDict(i, belongList.value) },
|
|
|
{ label: '状态', model: 'status', format: (i: any) => getDict(i, statusList.value, 'dict') }
|
|
|
]);
|
|
|
// 操作
|
|
@@ -70,7 +68,6 @@ let searchForm: Ref<any> = ref({});
|
|
|
// 字典表
|
|
|
const genderList: Ref<any> = ref([]);
|
|
|
const roleList: Ref<any> = ref([]);
|
|
|
-const belongList: Ref<any> = ref([]);
|
|
|
const statusList: Ref<any> = ref([]);
|
|
|
// 弹框
|
|
|
const dialog: Ref<any> = ref({ title: '审核管理', show: false, type: '1' });
|
|
@@ -157,9 +154,6 @@ const searchOther = async () => {
|
|
|
// 角色
|
|
|
res = await roleAxios.query({ type: 'role', is_use: '0' });
|
|
|
if (res.errcode == '0') roleList.value = res.data;
|
|
|
- // 所属
|
|
|
- res = await officeAxios.query({ is_use: '0' });
|
|
|
- if (res.errcode == '0') belongList.value = res.data;
|
|
|
// 状态
|
|
|
res = await dictAxios.query({ type: 'status', is_use: '0' });
|
|
|
if (res.errcode == '0') statusList.value = res.data;
|