|
@@ -63,15 +63,15 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryl
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const tableColumns = ref<Model.TableColumn[]>([
|
|
const tableColumns = ref<Model.TableColumn[]>([
|
|
|
- { field: 'logincode', label: '登录账号' },
|
|
|
|
|
- { field: 'accountname', label: '客户名称 ' },
|
|
|
|
|
- { field: 'areaname', label: '所属机构' },
|
|
|
|
|
- { field: 'membername', label: '所属会员' },
|
|
|
|
|
- { field: 'loginip', label: '登录IP' },
|
|
|
|
|
- { field: 'logintype', label: '登录/登出', formatValue: (val) => logintypeEnum.getEnumTypeName(val) },
|
|
|
|
|
- { field: 'operatetime', label: '时间', formatValue: (val) => formatDate(val) },
|
|
|
|
|
- { field: 'loginretcode', label: '结果', formatValue: (val) => loginretcodeEnum.getEnumTypeName(val) },
|
|
|
|
|
- { field: 'operatetype', label: '操作类型', formatValue: (val) => operatetypeEnum.getEnumTypeName(val) },
|
|
|
|
|
|
|
+ { field: 'logincode', label: 'system.client_log.logincode' },
|
|
|
|
|
+ { field: 'accountname', label: 'system.client_log.accountname' },
|
|
|
|
|
+ { field: 'areaname', label: 'system.client_log.areaname' },
|
|
|
|
|
+ { field: 'membername', label: 'system.client_log.membername' },
|
|
|
|
|
+ { field: 'loginip', label: 'system.client_log.loginip' },
|
|
|
|
|
+ { field: 'logintype', label: 'system.client_log.logintype', formatValue: (val) => logintypeEnum.getEnumTypeName(val) },
|
|
|
|
|
+ { field: 'operatetime', label: 'system.client_log.operatetime', formatValue: (val) => formatDate(val) },
|
|
|
|
|
+ { field: 'loginretcode', label: 'system.client_log.loginretcode', formatValue: (val) => loginretcodeEnum.getEnumTypeName(val) },
|
|
|
|
|
+ { field: 'operatetype', label: 'system.client_log.operatetype', formatValue: (val) => operatetypeEnum.getEnumTypeName(val) },
|
|
|
{ field: 'operate', label: 'common.operate', fixed: 'right' }
|
|
{ field: 'operate', label: 'common.operate', fixed: 'right' }
|
|
|
])
|
|
])
|
|
|
|
|
|
|
@@ -79,17 +79,17 @@ const { filterOption, getQueryParams, resetFilters } = useDataFilter<Model.Login
|
|
|
filters: [
|
|
filters: [
|
|
|
{
|
|
{
|
|
|
field: 'logincode',
|
|
field: 'logincode',
|
|
|
- label: '登录账号',
|
|
|
|
|
- placeholder: '模糊匹配',
|
|
|
|
|
|
|
+ label: t('system.client_log.logincode'),
|
|
|
|
|
+ placeholder: t('common.placeholder'),
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
field: 'accountname',
|
|
field: 'accountname',
|
|
|
- label: '客户名称',
|
|
|
|
|
- placeholder: '模糊匹配',
|
|
|
|
|
|
|
+ label: t('system.client_log.accountname'),
|
|
|
|
|
+ placeholder: t('common.placeholder'),
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
field: 'ishis',
|
|
field: 'ishis',
|
|
|
- label: '历史查询',
|
|
|
|
|
|
|
+ label: t('system.client_log.ishis'),
|
|
|
value: 0
|
|
value: 0
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|