|
|
@@ -26,6 +26,7 @@ import { useRequest } from '@/hooks/request'
|
|
|
import { useDataFilter } from '@/hooks/datatable'
|
|
|
import { queryError } from '@/services/api/system'
|
|
|
import { useOperation } from '@/hooks/operation'
|
|
|
+import { formatDate } from '@/filters'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppFilter from '@pc/components/base/table-filter/index.vue'
|
|
|
import AppPagination from '@pc/components/base/pagination/index.vue'
|
|
|
@@ -49,11 +50,11 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryE
|
|
|
})
|
|
|
|
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
- { field: 'userName', label: '登录账号' },
|
|
|
- { field: 'memberUserName', label: '登录时间' },
|
|
|
- { field: 'areaName', label: '客户端类型' },
|
|
|
- { field: 'openMode', label: '登录ip' },
|
|
|
- { field: 'userState', label: '失败原因' }
|
|
|
+ { field: 'loginaccount', label: '登录账号' },
|
|
|
+ { field: 'operatetime', label: '登录时间', formatValue: (val) => formatDate(val) },
|
|
|
+ { field: 'lienttype', label: '客户端类型' },
|
|
|
+ { field: 'loginip', label: '登录ip' },
|
|
|
+ { field: 'description', label: '失败原因' }
|
|
|
])
|
|
|
|
|
|
filterOptons.inputList = [
|