Handy_Cao преди 7 месеца
родител
ревизия
c261024a19
променени са 2 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 7 0
      src/packages/pc/views/member/institution/self/index.vue
  2. 1 0
      src/types/model/member.d.ts

+ 7 - 0
src/packages/pc/views/member/institution/self/index.vue

@@ -33,6 +33,7 @@ import { useOperation } from '@/hooks/operation'
 import { queryRole } from '@/services/api/member'
 import { i18n } from '@/stores'
 import { formatDate } from '@/filters'
+import { useMarket } from '@/hooks/market'
 import { useEnum } from '@/hooks/enum'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
@@ -42,6 +43,7 @@ import AppFilter from '@pc/components/base/table-filter-v2/index.vue'
 const { global: { t } } = i18n
 // 状态
 const areastatusEnum = useEnum('areastatus')
+const { getMarketOptions } = useMarket()
 
 const { componentMap, componentId, record, openComponent, closeComponent, getActionButtons } = useOperation<Member.OrganRoleRsp>({
     onClose: () => onSearch()
@@ -75,6 +77,11 @@ const { filterOption, getQueryParams, resetFilters } = useDataFilter<Member.Orga
             field: 'accountname',
             label: t('member.institution.self.accountname'),
             required: true,
+        },
+        {
+            field: 'markets',
+            label: t('member.institution.user.markets'),
+            options: () => getMarketOptions()
         }
     ],
     buttons: [

+ 1 - 0
src/types/model/member.d.ts

@@ -810,6 +810,7 @@ declare namespace Member {
         orgztypes?: string; // 管理员所属机构角色类型
         parentuserid?: number; // parentuserid
         roleid?: number; // roleid
+        markets?: number; // 市场
     }
 
     /** 会员机构管理-->机构管理-->会员机构查询-->获取列表(营销中心查看经纪会员) 请求 */