🎨 修改前端代码样式.

This commit is contained in:
lijiahang
2024-03-04 12:28:55 +08:00
parent 0f9c3db9cc
commit 0f8eebf53c
16 changed files with 70 additions and 77 deletions

View File

@@ -2,10 +2,10 @@
<!-- 搜索 -->
<a-card class="general-card table-search-card">
<query-header :model="formModel"
label-align="left"
@submit="fetchTableData"
@reset="fetchTableData"
@keyup.enter="() => fetchTableData()">
label-align="left"
@submit="fetchTableData"
@reset="fetchTableData"
@keyup.enter="() => fetchTableData()">
<!-- 配置项 -->
<a-form-item field="keyName" label="配置项" label-col-flex="50px">
<a-input v-model="formModel.keyName" placeholder="请输入配置项" allow-clear />
@@ -43,8 +43,9 @@
position="left"
type="warning"
@ok="doRefreshCache">
<a-button type="primary" status="warning"
v-permission="['infra:dict-key:management:refresh-cache']">
<a-button v-permission="['infra:dict-key:management:refresh-cache']"
type="primary"
status="warning">
刷新缓存
<template #icon>
<icon-sync />
@@ -58,7 +59,6 @@
<a-table row-key="id"
class="table-wrapper-8"
ref="tableRef"
label-align="left"
:loading="loading"
:columns="columns"
:data="tableRenderData"

View File

@@ -2,10 +2,10 @@
<!-- 搜索 -->
<a-card class="general-card table-search-card">
<query-header :model="formModel"
label-align="left"
@submit="fetchTableData"
@reset="resetForm"
@keyup.enter="() => fetchTableData()">
label-align="left"
@submit="fetchTableData"
@reset="resetForm"
@keyup.enter="() => fetchTableData()">
<!-- 配置项 -->
<a-form-item field="keyId" label="配置项" label-col-flex="50px">
<dict-key-selector v-model="formModel.keyId"
@@ -46,9 +46,9 @@
</template>
</a-button>
<!-- 删除 -->
<a-popconfirm position="br"
<a-popconfirm :content="`确认删除选中的${selectedKeys.length}条记录吗?`"
position="br"
type="warning"
:content="`确认删除选中的${selectedKeys.length}条记录吗?`"
@ok="deleteSelectRows">
<a-button v-permission="['infra:dict-value:delete']"
type="secondary"
@@ -67,7 +67,6 @@
<a-table row-key="id"
class="table-wrapper-8"
ref="tableRef"
label-align="left"
:loading="loading"
:columns="columns"
v-model:selected-keys="selectedKeys"

View File

@@ -66,8 +66,9 @@
position="left"
type="warning"
@ok="doRefreshCache">
<a-button type="primary" status="warning"
v-permission="['infra:system-menu:management:refresh-cache']">
<a-button v-permission="['infra:system-menu:management:refresh-cache']"
type="primary"
status="warning">
刷新缓存
<template #icon>
<icon-sync />
@@ -83,7 +84,6 @@
<a-table row-key="id"
class="table-wrapper-16"
ref="tableRef"
label-align="left"
:loading="fetchLoading"
:pagination="false"
:columns="columns"
@@ -162,9 +162,10 @@
position="left"
type="warning"
@ok="doDeleteMenu(record)">
<a-button type="text" size="mini"
status="danger"
v-permission="['infra:system-menu:delete']">
<a-button v-permission="['infra:system-menu:delete']"
type="text"
size="mini"
status="danger">
删除
</a-button>
</a-popconfirm>