YY 2 年之前
父節點
當前提交
7bd1c0ba83
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      src/views/user/expert/detail.vue

+ 1 - 6
src/views/user/expert/detail.vue

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