guhongwei 2 년 전
부모
커밋
3d7ba19b9b
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/admin/admins/detail.vue
  2. 1 1
      src/views/admin/business/detail.vue
  3. 1 1
      src/views/admin/mechanism/detail.vue

+ 1 - 1
src/views/admin/admins/detail.vue

@@ -108,7 +108,7 @@ const searchOther = async () => {
     codeList.value = data.filter((i) => i.value != 'CJGLY');
   }
   // 角色
-  res = await role.query();
+  res = await role.query({ account_type: '1', is_use: '0' });
   if (res.errcode == 0) roleList.value = res.data;
   // 管理员
   res = await admin.query({ type: '0' });

+ 1 - 1
src/views/admin/business/detail.vue

@@ -110,7 +110,7 @@ const searchOther = async () => {
     codeList.value = data.filter((i) => i.value != 'CJGLY');
   }
   // 角色
-  res = await role.query();
+  res = await role.query({ account_type: '3', is_use: '0' });
   if (res.errcode == 0) roleList.value = res.data;
   // 管理员
   res = await admin.query({ type: '2' });

+ 1 - 1
src/views/admin/mechanism/detail.vue

@@ -108,7 +108,7 @@ const searchOther = async () => {
     codeList.value = data.filter((i) => i.value != 'CJGLY');
   }
   // 角色
-  res = await role.query();
+  res = await role.query({ account_type: '2', is_use: '0' });
   if (res.errcode == 0) roleList.value = res.data;
   // 管理员
   res = await admin.query({ type: '1' });