diff --git a/src/views/logManage/mml/index.vue b/src/views/logManage/mml/index.vue index 0600c9fa..7c74057c 100644 --- a/src/views/logManage/mml/index.vue +++ b/src/views/logManage/mml/index.vue @@ -66,49 +66,49 @@ let tableColumns: ColumnsType = [ { title: t('common.rowId'), dataIndex: 'id', - align: 'center', - width: 2, + align: 'left', + width: 100, }, { title: t('views.logManage.mml.account'), dataIndex: 'user', - align: 'center', - width: 3, + align: 'left', + width: 100, }, { title: t('views.logManage.mml.ip'), dataIndex: 'ip', - align: 'center', - width: 3, + align: 'left', + width: 100, }, { title: t('views.logManage.mml.type'), dataIndex: 'neType', - align: 'center', - width: 3, + align: 'left', + width: 100, }, { title: t('views.logManage.mml.neId'), dataIndex: 'neId', - align: 'center', - width: 3, + align: 'left', + width: 100, + }, + { + title: t('views.logManage.mml.logTime'), + dataIndex: 'logTime', + align: 'left', + width: 150, + customRender(opt) { + if (!opt.value) return ''; + return parseDateToStr(opt.value); + }, }, { title: t('views.logManage.mml.MML'), dataIndex: 'mml', key: 'mml', align: 'left', - width: 5, - }, - { - title: t('views.logManage.mml.logTime'), - dataIndex: 'logTime', - align: 'center', - customRender(opt) { - if (!opt.value) return ''; - return parseDateToStr(opt.value); - }, - width: 3, + width: 200, }, ]; @@ -149,7 +149,7 @@ function fnTableSize({ key }: MenuInfo) { function fnGetList(pageNum?: number) { if (tableState.loading) return; tableState.loading = true; - if(pageNum){ + if (pageNum) { queryParams.pageNum = pageNum; } if (!queryRangePicker.value) { @@ -183,7 +183,10 @@ onMounted(() => { - + { - + { :data-source="tableState.data" :size="tableState.size" :pagination="tablePagination" - :scroll="{ x: 1000, y: 400 }" + :scroll="{ x: tableColumns.length * 100 }" >