|
|
@@ -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: [
|