feat: 允许现有表格调整列宽,不允许现有新增/修改类表单对话框按 Esc 关闭

This commit is contained in:
2023-08-06 22:37:54 +08:00
parent bb6f47cfd2
commit 1b06a96cfb
11 changed files with 40 additions and 25 deletions

View File

@@ -37,6 +37,7 @@
<a-table
ref="tableRef"
row-key="id"
:data="loginLogList"
:loading="loading"
:pagination="{
showTotal: true,
@@ -44,9 +45,9 @@
total: total,
current: queryParams.page,
}"
:data="loginLogList"
:bordered="false"
:stripe="true"
column-resizable
stripe
size="large"
@page-change="handlePageChange"
@page-size-change="handlePageSizeChange"

View File

@@ -46,6 +46,7 @@
<a-table
ref="tableRef"
row-key="id"
:data="operationLogList"
:loading="loading"
:pagination="{
showTotal: true,
@@ -53,9 +54,9 @@
total: total,
current: queryParams.page,
}"
:data="operationLogList"
:bordered="false"
:stripe="true"
column-resizable
stripe
size="large"
@page-change="handlePageChange"
@page-size-change="handlePageSizeChange"

View File

@@ -28,6 +28,7 @@
<a-table
ref="tableRef"
row-key="id"
:data="systemLogList"
:loading="loading"
:pagination="{
showTotal: true,
@@ -35,9 +36,9 @@
total: total,
current: queryParams.page,
}"
:data="systemLogList"
:bordered="false"
:stripe="true"
column-resizable
stripe
size="large"
@page-change="handlePageChange"
@page-size-change="handlePageSizeChange"
@@ -262,7 +263,6 @@
:visible="exceptionDetailVisible"
width="83%"
:footer="false"
:mask-closable="false"
top="30px"
unmount-on-close
render-to-body

View File

@@ -37,6 +37,7 @@
<a-table
ref="tableRef"
row-key="token"
:data="onlineUserList"
:loading="loading"
:pagination="{
showTotal: true,
@@ -44,9 +45,9 @@
total: total,
current: queryParams.page,
}"
:data="onlineUserList"
:bordered="false"
:stripe="true"
column-resizable
stripe
size="large"
@page-change="handlePageChange"
@page-size-change="handlePageSizeChange"