|
|
@@ -6,7 +6,7 @@
|
|
|
<template #starttime="{ item }">
|
|
|
<el-form-item :label="item.label" prop="date">
|
|
|
<el-date-picker type="daterange" v-model="dateValue" value-format="YYYYMMDD"
|
|
|
- start-placeholder="开始时间" end-placeholder="结束时间" />
|
|
|
+ :start-placeholder="t('member.institution.user.startdate')" :end-placeholder="t('member.institution.user.enddate')" />
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
</app-filter>
|
|
|
@@ -66,12 +66,12 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryO
|
|
|
})
|
|
|
|
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
- { field: 'userid', label: '机构代码' },
|
|
|
- { field: 'accountname', label: '机构名称' },
|
|
|
- { field: 'accountstatus', label: '机构状态', formatValue: (val) => areastatusEnum.getEnumTypeName(val) },
|
|
|
+ { field: 'userid', label: 'member.institution.user.userid' },
|
|
|
+ { field: 'accountname', label: 'member.institution.user.accountname' },
|
|
|
+ { field: 'accountstatus', label: 'member.institution.user.accountstatus', formatValue: (val) => areastatusEnum.getEnumTypeName(val) },
|
|
|
{
|
|
|
field: 'roleIds',
|
|
|
- label: '机构角色',
|
|
|
+ label: 'member.institution.user.roleIds',
|
|
|
formatValue: (val: string) => {
|
|
|
if (val) {
|
|
|
const arr = val.split(',').map((id) => roleTypeEnum.getEnumTypeName(Number(id)))
|
|
|
@@ -80,35 +80,35 @@ const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
return val
|
|
|
}
|
|
|
},
|
|
|
- { field: 'userName', label: '操作员' },
|
|
|
- { field: 'createtime', label: '创建时间', formatValue: (val) => formatDate(val) },
|
|
|
- { field: 'modifytime', label: '最后更新时间', formatValue: (val) => formatDate(val) },
|
|
|
- { field: 'operate', label: '操作', width: 200, fixed: 'right' }
|
|
|
+ { field: 'userName', label: 'member.institution.user.userName' },
|
|
|
+ { field: 'createtime', label: 'member.institution.user.createtime', formatValue: (val) => formatDate(val) },
|
|
|
+ { field: 'modifytime', label: 'member.institution.user.modifytime', formatValue: (val) => formatDate(val) },
|
|
|
+ { field: 'operate', label: 'common.operate', width: 200, fixed: 'right' }
|
|
|
])
|
|
|
|
|
|
const { filterOption, getQueryParams, resetFilters } = useDataFilter<Model.OrganDetailListReq>({
|
|
|
filters: [
|
|
|
{
|
|
|
field: 'accountName',
|
|
|
- label: '机构'
|
|
|
+ label: t('member.institution.user.accountname')
|
|
|
},
|
|
|
{
|
|
|
field: 'accountStatus',
|
|
|
- label: '机构状态',
|
|
|
+ label: t('member.institution.user.accountstatus'),
|
|
|
options: () => areastatusEnum.getEnumOptions()
|
|
|
},
|
|
|
{
|
|
|
field: 'markets',
|
|
|
- label: '市场权限',
|
|
|
+ label: t('member.institution.user.markets'),
|
|
|
options: () => getMarketOptions()
|
|
|
},
|
|
|
{
|
|
|
field: 'starttime',
|
|
|
- label: '创建时间',
|
|
|
+ label: t('member.institution.user.starttime'),
|
|
|
},
|
|
|
{
|
|
|
field: 'roles',
|
|
|
- label: '角色',
|
|
|
+ label: t('member.institution.user.roles'),
|
|
|
multiple: true,
|
|
|
options: () => roleTypeEnum.getEnumOptions()
|
|
|
},
|