|
@@ -38,13 +38,11 @@ import type { FormRules } from 'element-plus';
|
|
|
|
|
|
// 接口
|
|
|
import { DictDataStore } from '@common/src/stores/system/dictData'; // 字典表
|
|
|
-import { RoleStore } from '@common/src/stores/system/role'; // 个人
|
|
|
import { ExpertStore } from '@common/src/stores/admins/expert'; // 专家
|
|
|
import { PersonalStore } from '@common/src/stores/admins/personal';
|
|
|
import type { IQueryResult } from '@/util/types.util';
|
|
|
const expert = ExpertStore();
|
|
|
const dictData = DictDataStore();
|
|
|
-const role = RoleStore();
|
|
|
const personal = PersonalStore();
|
|
|
|
|
|
// 路由
|
|
@@ -88,7 +86,7 @@ let formFields: Ref<any[]> = ref([
|
|
|
const rules = reactive<FormRules>({});
|
|
|
|
|
|
// 字典表
|
|
|
-let roleList: Ref<any> = ref([]);
|
|
|
+
|
|
|
let statusList: Ref<any> = ref([]);
|
|
|
let codeList: Ref<any> = ref([]);
|
|
|
let areaList: Ref<any> = ref([]);
|
|
@@ -135,9 +133,6 @@ const searchOther = async () => {
|
|
|
let data: any = res.data;
|
|
|
codeList.value = data.filter((i) => i.value != 'CJGLY');
|
|
|
}
|
|
|
- // 角色
|
|
|
- res = await role.query();
|
|
|
- if (res.errcode == 0) roleList.value = res.data;
|
|
|
// 所属辖区
|
|
|
res = await dictData.query({ type: 'jl_area' });
|
|
|
if (res.errcode == 0) areaList.value = res.data;
|