feat: 允许现有表格调整列宽,不允许现有新增/修改类表单对话框按 Esc 关闭
This commit is contained in:
parent
bb6f47cfd2
commit
1b06a96cfb
@ -37,6 +37,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
row-key="id"
|
row-key="id"
|
||||||
|
:data="loginLogList"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="{
|
:pagination="{
|
||||||
showTotal: true,
|
showTotal: true,
|
||||||
@ -44,9 +45,9 @@
|
|||||||
total: total,
|
total: total,
|
||||||
current: queryParams.page,
|
current: queryParams.page,
|
||||||
}"
|
}"
|
||||||
:data="loginLogList"
|
|
||||||
:bordered="false"
|
:bordered="false"
|
||||||
:stripe="true"
|
column-resizable
|
||||||
|
stripe
|
||||||
size="large"
|
size="large"
|
||||||
@page-change="handlePageChange"
|
@page-change="handlePageChange"
|
||||||
@page-size-change="handlePageSizeChange"
|
@page-size-change="handlePageSizeChange"
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
row-key="id"
|
row-key="id"
|
||||||
|
:data="operationLogList"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="{
|
:pagination="{
|
||||||
showTotal: true,
|
showTotal: true,
|
||||||
@ -53,9 +54,9 @@
|
|||||||
total: total,
|
total: total,
|
||||||
current: queryParams.page,
|
current: queryParams.page,
|
||||||
}"
|
}"
|
||||||
:data="operationLogList"
|
|
||||||
:bordered="false"
|
:bordered="false"
|
||||||
:stripe="true"
|
column-resizable
|
||||||
|
stripe
|
||||||
size="large"
|
size="large"
|
||||||
@page-change="handlePageChange"
|
@page-change="handlePageChange"
|
||||||
@page-size-change="handlePageSizeChange"
|
@page-size-change="handlePageSizeChange"
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
row-key="id"
|
row-key="id"
|
||||||
|
:data="systemLogList"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="{
|
:pagination="{
|
||||||
showTotal: true,
|
showTotal: true,
|
||||||
@ -35,9 +36,9 @@
|
|||||||
total: total,
|
total: total,
|
||||||
current: queryParams.page,
|
current: queryParams.page,
|
||||||
}"
|
}"
|
||||||
:data="systemLogList"
|
|
||||||
:bordered="false"
|
:bordered="false"
|
||||||
:stripe="true"
|
column-resizable
|
||||||
|
stripe
|
||||||
size="large"
|
size="large"
|
||||||
@page-change="handlePageChange"
|
@page-change="handlePageChange"
|
||||||
@page-size-change="handlePageSizeChange"
|
@page-size-change="handlePageSizeChange"
|
||||||
@ -262,7 +263,6 @@
|
|||||||
:visible="exceptionDetailVisible"
|
:visible="exceptionDetailVisible"
|
||||||
width="83%"
|
width="83%"
|
||||||
:footer="false"
|
:footer="false"
|
||||||
:mask-closable="false"
|
|
||||||
top="30px"
|
top="30px"
|
||||||
unmount-on-close
|
unmount-on-close
|
||||||
render-to-body
|
render-to-body
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
row-key="token"
|
row-key="token"
|
||||||
|
:data="onlineUserList"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="{
|
:pagination="{
|
||||||
showTotal: true,
|
showTotal: true,
|
||||||
@ -44,9 +45,9 @@
|
|||||||
total: total,
|
total: total,
|
||||||
current: queryParams.page,
|
current: queryParams.page,
|
||||||
}"
|
}"
|
||||||
:data="onlineUserList"
|
|
||||||
:bordered="false"
|
:bordered="false"
|
||||||
:stripe="true"
|
column-resizable
|
||||||
|
stripe
|
||||||
size="large"
|
size="large"
|
||||||
@page-change="handlePageChange"
|
@page-change="handlePageChange"
|
||||||
@page-size-change="handlePageSizeChange"
|
@page-size-change="handlePageSizeChange"
|
||||||
|
@ -93,19 +93,20 @@
|
|||||||
<!-- 列表区域 -->
|
<!-- 列表区域 -->
|
||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
|
row-key="id"
|
||||||
:data="deptList"
|
:data="deptList"
|
||||||
|
:loading="loading"
|
||||||
:row-selection="{
|
:row-selection="{
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
showCheckedAll: true,
|
showCheckedAll: true,
|
||||||
onlyCurrent: false,
|
onlyCurrent: false,
|
||||||
}"
|
}"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
|
:bordered="false"
|
||||||
:default-expand-all-rows="true"
|
:default-expand-all-rows="true"
|
||||||
:hide-expand-button-on-empty="true"
|
:hide-expand-button-on-empty="true"
|
||||||
row-key="id"
|
column-resizable
|
||||||
:bordered="false"
|
stripe
|
||||||
:stripe="true"
|
|
||||||
:loading="loading"
|
|
||||||
size="large"
|
size="large"
|
||||||
@select="handleSelect"
|
@select="handleSelect"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
@ -178,6 +179,7 @@
|
|||||||
:title="title"
|
:title="title"
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
|
:esc-to-close="false"
|
||||||
unmount-on-close
|
unmount-on-close
|
||||||
render-to-body
|
render-to-body
|
||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
|
@ -96,19 +96,20 @@
|
|||||||
<!-- 列表区域 -->
|
<!-- 列表区域 -->
|
||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
|
row-key="id"
|
||||||
:data="menuList"
|
:data="menuList"
|
||||||
|
:loading="loading"
|
||||||
:row-selection="{
|
:row-selection="{
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
showCheckedAll: true,
|
showCheckedAll: true,
|
||||||
onlyCurrent: false,
|
onlyCurrent: false,
|
||||||
}"
|
}"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
|
:bordered="false"
|
||||||
:default-expand-all-rows="true"
|
:default-expand-all-rows="true"
|
||||||
:hide-expand-button-on-empty="true"
|
:hide-expand-button-on-empty="true"
|
||||||
row-key="id"
|
column-resizable
|
||||||
:bordered="false"
|
stripe
|
||||||
:stripe="true"
|
|
||||||
:loading="loading"
|
|
||||||
size="large"
|
size="large"
|
||||||
@select="handleSelect"
|
@select="handleSelect"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
@ -193,6 +194,7 @@
|
|||||||
:visible="visible"
|
:visible="visible"
|
||||||
:width="625"
|
:width="625"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
|
:esc-to-close="false"
|
||||||
unmount-on-close
|
unmount-on-close
|
||||||
render-to-body
|
render-to-body
|
||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
|
@ -93,7 +93,9 @@
|
|||||||
<!-- 列表区域 -->
|
<!-- 列表区域 -->
|
||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
|
row-key="id"
|
||||||
:data="roleList"
|
:data="roleList"
|
||||||
|
:loading="loading"
|
||||||
:row-selection="{
|
:row-selection="{
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
showCheckedAll: true,
|
showCheckedAll: true,
|
||||||
@ -105,10 +107,9 @@
|
|||||||
total: total,
|
total: total,
|
||||||
current: queryParams.page,
|
current: queryParams.page,
|
||||||
}"
|
}"
|
||||||
row-key="id"
|
|
||||||
:bordered="false"
|
:bordered="false"
|
||||||
:stripe="true"
|
column-resizable
|
||||||
:loading="loading"
|
stripe
|
||||||
size="large"
|
size="large"
|
||||||
@page-change="handlePageChange"
|
@page-change="handlePageChange"
|
||||||
@page-size-change="handlePageSizeChange"
|
@page-size-change="handlePageSizeChange"
|
||||||
@ -196,6 +197,7 @@
|
|||||||
:visible="visible"
|
:visible="visible"
|
||||||
:width="580"
|
:width="580"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
|
:esc-to-close="false"
|
||||||
unmount-on-close
|
unmount-on-close
|
||||||
render-to-body
|
render-to-body
|
||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
row-key="id"
|
row-key="id"
|
||||||
|
:data="operationLogList"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="{
|
:pagination="{
|
||||||
showTotal: true,
|
showTotal: true,
|
||||||
@ -11,9 +12,9 @@
|
|||||||
total: total,
|
total: total,
|
||||||
current: queryParams.page,
|
current: queryParams.page,
|
||||||
}"
|
}"
|
||||||
:data="operationLogList"
|
|
||||||
:bordered="false"
|
:bordered="false"
|
||||||
:stripe="true"
|
column-resizable
|
||||||
|
stripe
|
||||||
size="large"
|
size="large"
|
||||||
@page-change="handlePageChange"
|
@page-change="handlePageChange"
|
||||||
@page-size-change="handlePageSizeChange"
|
@page-size-change="handlePageSizeChange"
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
:title="$t('userCenter.securitySettings.updateEmail.modal.title')"
|
:title="$t('userCenter.securitySettings.updateEmail.modal.title')"
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
|
:esc-to-close="false"
|
||||||
@ok="handleUpdate"
|
@ok="handleUpdate"
|
||||||
@cancel="handleCancel"
|
@cancel="handleCancel"
|
||||||
>
|
>
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
:title="$t('userCenter.securitySettings.updatePwd.modal.title')"
|
:title="$t('userCenter.securitySettings.updatePwd.modal.title')"
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
|
:esc-to-close="false"
|
||||||
@ok="handleUpdate"
|
@ok="handleUpdate"
|
||||||
@cancel="handleCancel"
|
@cancel="handleCancel"
|
||||||
>
|
>
|
||||||
|
@ -120,7 +120,9 @@
|
|||||||
<!-- 列表区域 -->
|
<!-- 列表区域 -->
|
||||||
<a-table
|
<a-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
|
row-key="id"
|
||||||
:data="userList"
|
:data="userList"
|
||||||
|
:loading="loading"
|
||||||
:row-selection="{
|
:row-selection="{
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
showCheckedAll: true,
|
showCheckedAll: true,
|
||||||
@ -132,10 +134,9 @@
|
|||||||
total: total,
|
total: total,
|
||||||
current: queryParams.page,
|
current: queryParams.page,
|
||||||
}"
|
}"
|
||||||
row-key="id"
|
|
||||||
:bordered="false"
|
:bordered="false"
|
||||||
:stripe="true"
|
column-resizable
|
||||||
:loading="loading"
|
stripe
|
||||||
size="large"
|
size="large"
|
||||||
:scroll="{
|
:scroll="{
|
||||||
x: '120%',
|
x: '120%',
|
||||||
@ -283,6 +284,7 @@
|
|||||||
:visible="visible"
|
:visible="visible"
|
||||||
:width="580"
|
:width="580"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
|
:esc-to-close="false"
|
||||||
unmount-on-close
|
unmount-on-close
|
||||||
render-to-body
|
render-to-body
|
||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
@ -378,6 +380,7 @@
|
|||||||
title="分配角色"
|
title="分配角色"
|
||||||
:visible="userRoleVisible"
|
:visible="userRoleVisible"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
|
:esc-to-close="false"
|
||||||
unmount-on-close
|
unmount-on-close
|
||||||
render-to-body
|
render-to-body
|
||||||
@ok="handleUpdateRole"
|
@ok="handleUpdateRole"
|
||||||
|
Loading…
Reference in New Issue
Block a user