feat: 优化前端样式

This commit is contained in:
lbw 2023-03-07 14:14:13 +08:00
parent 71b5086840
commit 4cadfd2029
5 changed files with 8 additions and 6 deletions

View File

@ -21,15 +21,15 @@
<el-button @click="formDialogRef.openDialog()" class="ml10" icon="folder-add" type="primary"> <el-button @click="formDialogRef.openDialog()" class="ml10" icon="folder-add" type="primary">
{{ $t('common.addBtn') }} {{ $t('common.addBtn') }}
</el-button> </el-button>
<el-button @click="exportExcel" class="ml10" icon="Download" type="primary">
{{ $t('common.exportBtn') }}
</el-button>
<el-button :disabled="multiple" @click="handleDelete(selectObjs)" class="ml10" icon="Delete" type="primary"> <el-button :disabled="multiple" @click="handleDelete(selectObjs)" class="ml10" icon="Delete" type="primary">
{{ $t('common.delBtn') }} {{ $t('common.delBtn') }}
</el-button> </el-button>
<el-button @click="handleRefreshCache()" class="ml10" icon="refresh-left" type="primary"> <el-button @click="handleRefreshCache()" class="ml10" icon="refresh-left" type="primary">
{{ $t('common.refreshCacheBtn') }} {{ $t('common.refreshCacheBtn') }}
</el-button> </el-button>
<el-button @click="exportExcel" class="ml10" icon="Download" type="primary">
{{ $t('common.exportBtn') }}
</el-button>
<right-toolbar <right-toolbar
@queryTable="getDataList" @queryTable="getDataList"
class="ml10" class="ml10"

View File

@ -7,5 +7,6 @@ export default {
accessToken: 'accessToken', accessToken: 'accessToken',
expiresAt: 'expiresAt', expiresAt: 'expiresAt',
inputUsernameTip: 'input Username', inputUsernameTip: 'input Username',
offlineBtn: 'offline',
}, },
}; };

View File

@ -7,5 +7,6 @@ export default {
accessToken: '令牌', accessToken: '令牌',
expiresAt: '过期时间', expiresAt: '过期时间',
inputUsernameTip: '请输入用户名', inputUsernameTip: '请输入用户名',
offlineBtn: '下线',
}, },
}; };

View File

@ -15,7 +15,7 @@
<el-row> <el-row>
<div class="mb8" style="width: 100%"> <div class="mb8" style="width: 100%">
<el-button :disabled="multiple" @click="handleDelete(selectObjs)" class="ml10" icon="Delete" type="primary" v-auth="'sys_user_del'"> <el-button :disabled="multiple" @click="handleDelete(selectObjs)" class="ml10" icon="Delete" type="primary" v-auth="'sys_user_del'">
{{ $t('common.delBtn') }} {{ $t('systoken.offlineBtn') }}
</el-button> </el-button>
<right-toolbar <right-toolbar
@queryTable="getDataList" @queryTable="getDataList"
@ -47,7 +47,7 @@
<el-table-column :label="$t('common.action')" width="100"> <el-table-column :label="$t('common.action')" width="100">
<template #default="scope"> <template #default="scope">
<el-button @click="handleDelete([scope.row.accessToken])" size="small" text type="primary" v-auth="'sys_user_del'"> <el-button @click="handleDelete([scope.row.accessToken])" size="small" text type="primary" v-auth="'sys_user_del'">
{{ $t('common.delBtn') }} {{ $t('systoken.offlineBtn') }}
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -2,7 +2,7 @@
<div class="layout-padding"> <div class="layout-padding">
<div class="layout-padding-auto layout-padding-view"> <div class="layout-padding-auto layout-padding-view">
<div @keyup.enter="getDataList" class="mb15"> <div @keyup.enter="getDataList" class="mb15">
<el-input :placeholder="$t('appmenu.inputNameTip')" style="max-width: 180px" v-model="state.queryForm.menuName"></el-input> <el-input :placeholder="$t('appmenu.inputMenuNameTip')" style="max-width: 180px" v-model="state.queryForm.menuName"></el-input>
<el-button @click="getDataList" class="ml10" icon="search" type="primary"> <el-button @click="getDataList" class="ml10" icon="search" type="primary">
{{ $t('common.queryBtn') }} {{ $t('common.queryBtn') }}
</el-button> </el-button>