style: button icon style

This commit is contained in:
xingyu 2022-07-20 10:50:55 +08:00
parent 1335a7aef7
commit 58cbb2127f
32 changed files with 96 additions and 92 deletions

View File

@ -297,6 +297,10 @@ export default defineComponent({
<style lang="less" scoped> <style lang="less" scoped>
:deep(.el-button.is-text) { :deep(.el-button.is-text) {
margin-left: 0; margin-left: 0;
padding: 8px 10px; padding: 8px 4px;
}
:deep(.el-button.is-link) {
margin-left: 0;
padding: 8px 4px;
} }
</style> </style>

View File

@ -69,7 +69,7 @@ getList()
v-hasPermi="['infra:api-access-log:query']" v-hasPermi="['infra:api-access-log:query']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -96,7 +96,7 @@ getList()
v-hasPermi="['infra:api-error-log:export']" v-hasPermi="['infra:api-error-log:export']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -105,7 +105,7 @@ getList()
v-hasPermi="['infra:api-error-log:update-status']" v-hasPermi="['infra:api-error-log:update-status']"
@click="handleProcessClick(row, InfraApiErrorLogProcessStatusEnum.DONE, '已处理')" @click="handleProcessClick(row, InfraApiErrorLogProcessStatusEnum.DONE, '已处理')"
> >
<Icon icon="ep:cpu" class="mr-5px" /> 已处理 <Icon icon="ep:cpu" class="mr-1px" /> 已处理
</el-button> </el-button>
<el-button <el-button
link link
@ -114,7 +114,7 @@ getList()
v-hasPermi="['infra:api-error-log:update-status']" v-hasPermi="['infra:api-error-log:update-status']"
@click="handleProcessClick(row, InfraApiErrorLogProcessStatusEnum.IGNORE, '已忽略')" @click="handleProcessClick(row, InfraApiErrorLogProcessStatusEnum.IGNORE, '已忽略')"
> >
<Icon icon="ep:mute-notification" class="mr-5px" /> 已忽略 <Icon icon="ep:mute-notification" class="mr-1px" /> 已忽略
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -100,7 +100,7 @@ getList()
v-hasPermi="['infra:codegen:preview']" v-hasPermi="['infra:codegen:preview']"
@click="handlePreview(row)" @click="handlePreview(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.preview') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.preview') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -108,7 +108,7 @@ getList()
v-hasPermi="['infra:codegen:update']" v-hasPermi="['infra:codegen:update']"
@click="handleEditTable(row)" @click="handleEditTable(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -116,7 +116,7 @@ getList()
v-hasPermi="['infra:codegen:delete']" v-hasPermi="['infra:codegen:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -124,7 +124,7 @@ getList()
v-hasPermi="['infra:codegen:update']" v-hasPermi="['infra:codegen:update']"
@click="handleSynchDb(row)" @click="handleSynchDb(row)"
> >
<Icon icon="ep:refresh" class="mr-5px" /> {{ t('action.sync') }} <Icon icon="ep:refresh" class="mr-1px" /> {{ t('action.sync') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -132,7 +132,7 @@ getList()
v-hasPermi="['infra:codegen:download']" v-hasPermi="['infra:codegen:download']"
@click="handleGenTable(row)" @click="handleGenTable(row)"
> >
<Icon icon="ep:download" class="mr-5px" /> {{ t('action.generate') }} <Icon icon="ep:download" class="mr-1px" /> {{ t('action.generate') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -142,7 +142,7 @@ getList()
v-hasPermi="['infra:config:update']" v-hasPermi="['infra:config:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -150,7 +150,7 @@ getList()
v-hasPermi="['infra:config:update']" v-hasPermi="['infra:config:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -158,7 +158,7 @@ getList()
v-hasPermi="['infra:config:delete']" v-hasPermi="['infra:config:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -106,7 +106,7 @@ onMounted(async () => {
v-hasPermi="['infra:data-source-config:update']" v-hasPermi="['infra:data-source-config:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -114,7 +114,7 @@ onMounted(async () => {
v-hasPermi="['infra:data-source-config:update']" v-hasPermi="['infra:data-source-config:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -122,7 +122,7 @@ onMounted(async () => {
v-hasPermi="['infra:data-source-config:delete']" v-hasPermi="['infra:data-source-config:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -122,7 +122,7 @@ getList()
</template> </template>
<template #action="{ row }"> <template #action="{ row }">
<el-button link type="primary" @click="handleDetail(row)"> <el-button link type="primary" @click="handleDetail(row)">
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -130,7 +130,7 @@ getList()
v-hasPermi="['infra:file:delete']" v-hasPermi="['infra:file:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -142,7 +142,7 @@ getList()
v-hasPermi="['infra:file-config:update']" v-hasPermi="['infra:file-config:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -150,7 +150,7 @@ getList()
v-hasPermi="['infra:file-config:update']" v-hasPermi="['infra:file-config:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -158,7 +158,7 @@ getList()
v-hasPermi="['infra:file-config:update']" v-hasPermi="['infra:file-config:update']"
@click="handleMaster(row)" @click="handleMaster(row)"
> >
<Icon icon="ep:flag" class="mr-5px" /> 主配置 <Icon icon="ep:flag" class="mr-1px" /> 主配置
</el-button> </el-button>
<el-button <el-button
link link
@ -166,7 +166,7 @@ getList()
v-hasPermi="['infra:file-config:update']" v-hasPermi="['infra:file-config:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:share" class="mr-5px" /> {{ t('action.test') }} <Icon icon="ep:share" class="mr-1px" /> {{ t('action.test') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -174,7 +174,7 @@ getList()
v-hasPermi="['infra:file-config:delete']" v-hasPermi="['infra:file-config:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -96,7 +96,7 @@ onMounted(() => {
</template> </template>
<template #action="{ row }"> <template #action="{ row }">
<el-button link type="primary" v-hasPermi="['infra:job:query']" @click="handleDetail(row)"> <el-button link type="primary" v-hasPermi="['infra:job:query']" @click="handleDetail(row)">
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -158,19 +158,19 @@ getList()
</template> </template>
<template #action="{ row }"> <template #action="{ row }">
<el-button link type="primary" v-hasPermi="['infra:job:update']" @click="handleUpdate(row)"> <el-button link type="primary" v-hasPermi="['infra:job:update']" @click="handleUpdate(row)">
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button link type="primary" v-hasPermi="['infra:job:query']" @click="handleDetail(row)"> <el-button link type="primary" v-hasPermi="['infra:job:query']" @click="handleDetail(row)">
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button link type="primary" v-hasPermi="['infra:job:delete']" @click="handleDelete(row)"> <el-button link type="primary" v-hasPermi="['infra:job:delete']" @click="handleDelete(row)">
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
<el-button link type="primary" v-hasPermi="['infra:job:trigger']" @click="handleRun(row)"> <el-button link type="primary" v-hasPermi="['infra:job:trigger']" @click="handleRun(row)">
<Icon icon="ep:view" class="mr-5px" /> 执行一次 <Icon icon="ep:view" class="mr-1px" /> 执行一次
</el-button> </el-button>
<el-button link type="primary" v-hasPermi="['infra:job:query']" @click="handleJobLog(row)"> <el-button link type="primary" v-hasPermi="['infra:job:query']" @click="handleJobLog(row)">
<Icon icon="ep:view" class="mr-5px" /> 调度日志 <Icon icon="ep:view" class="mr-1px" /> 调度日志
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -139,7 +139,7 @@ getList()
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -147,7 +147,7 @@ getList()
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -155,7 +155,7 @@ getList()
v-hasPermi="['system:post:delete']" v-hasPermi="['system:post:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -139,7 +139,7 @@ getList()
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -147,7 +147,7 @@ getList()
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -155,7 +155,7 @@ getList()
v-hasPermi="['system:post:delete']" v-hasPermi="['system:post:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -128,13 +128,13 @@ getList()
</template> </template>
<template #action="{ row }"> <template #action="{ row }">
<el-button link type="primary" v-hasPermi="['pay:order:update']" @click="handleUpdate(row)"> <el-button link type="primary" v-hasPermi="['pay:order:update']" @click="handleUpdate(row)">
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button link type="primary" v-hasPermi="['pay:order:update']" @click="handleDetail(row)"> <el-button link type="primary" v-hasPermi="['pay:order:update']" @click="handleDetail(row)">
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button link type="primary" v-hasPermi="['pay:order:delete']" @click="handleDelete(row)"> <el-button link type="primary" v-hasPermi="['pay:order:delete']" @click="handleDelete(row)">
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -89,7 +89,7 @@ getList()
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -97,7 +97,7 @@ getList()
v-hasPermi="['system:post:delete']" v-hasPermi="['system:post:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -124,13 +124,13 @@ onMounted(async () => {
<span>{{ node.label }}</span> <span>{{ node.label }}</span>
<span> <span>
<el-button link v-hasPermi="['system:dept:create']" @click="handleAdd(data)"> <el-button link v-hasPermi="['system:dept:create']" @click="handleAdd(data)">
<Icon icon="ep:plus" class="mr-5px" /> <Icon icon="ep:plus" class="mr-1px" />
</el-button> </el-button>
<el-button link v-hasPermi="['system:dept:update']" @click="handleUpdate(data)"> <el-button link v-hasPermi="['system:dept:update']" @click="handleUpdate(data)">
<Icon icon="ep:edit" class="mr-5px" /> <Icon icon="ep:edit" class="mr-1px" />
</el-button> </el-button>
<el-button link v-hasPermi="['system:dept:delete']" @click="handleDelete(data)"> <el-button link v-hasPermi="['system:dept:delete']" @click="handleDelete(data)">
<Icon icon="ep:delete" class="mr-5px" /> <Icon icon="ep:delete" class="mr-1px" />
</el-button> </el-button>
</span> </span>
</span> </span>

View File

@ -189,7 +189,7 @@ onMounted(async () => {
v-hasPermi="['system:dict:update']" v-hasPermi="['system:dict:update']"
@click="handleTypeUpdate(row)" @click="handleTypeUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -197,7 +197,7 @@ onMounted(async () => {
v-hasPermi="['system:dict:delete']" v-hasPermi="['system:dict:delete']"
@click="handleTypeDelete(row)" @click="handleTypeDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>
@ -221,7 +221,7 @@ onMounted(async () => {
<!-- 操作工具栏 --> <!-- 操作工具栏 -->
<div class="mb-10px"> <div class="mb-10px">
<el-button type="primary" v-hasPermi="['system:dict:create']" @click="handleDataCreate"> <el-button type="primary" v-hasPermi="['system:dict:create']" @click="handleDataCreate">
<Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }} <Icon icon="ep:zoom-in" class="mr-1px" /> {{ t('action.add') }}
</el-button> </el-button>
</div> </div>
<Table <Table
@ -246,7 +246,7 @@ onMounted(async () => {
v-hasPermi="['system:dict:update']" v-hasPermi="['system:dict:update']"
@click="handleDataUpdate(row)" @click="handleDataUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -254,7 +254,7 @@ onMounted(async () => {
v-hasPermi="['system:dict:delete']" v-hasPermi="['system:dict:delete']"
@click="handleDataDelete(row)" @click="handleDataDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -125,7 +125,7 @@ getList()
v-hasPermi="['system:error-code:update']" v-hasPermi="['system:error-code:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -133,7 +133,7 @@ getList()
v-hasPermi="['system:error-code:update']" v-hasPermi="['system:error-code:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -141,7 +141,7 @@ getList()
v-hasPermi="['system:error-code:delete']" v-hasPermi="['system:error-code:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -54,7 +54,7 @@ getList()
</template> </template>
<template #action="{ row }"> <template #action="{ row }">
<el-button link type="primary" @click="handleDetail(row)"> <el-button link type="primary" @click="handleDetail(row)">
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -195,7 +195,7 @@ onMounted(async () => {
<ContentWrap> <ContentWrap>
<div class="mb-10px"> <div class="mb-10px">
<el-button type="primary" v-hasPermi="['system:notice:create']" @click="handleCreate"> <el-button type="primary" v-hasPermi="['system:notice:create']" @click="handleCreate">
<Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }} <Icon icon="ep:zoom-in" class="mr-1px" /> {{ t('action.add') }}
</el-button> </el-button>
</div> </div>
<el-table <el-table
@ -238,7 +238,7 @@ onMounted(async () => {
v-hasPermi="['system:menu:update']" v-hasPermi="['system:menu:update']"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -246,7 +246,7 @@ onMounted(async () => {
v-hasPermi="['system:menu:delete']" v-hasPermi="['system:menu:delete']"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -127,7 +127,7 @@ getList()
v-hasPermi="['system:notice:update']" v-hasPermi="['system:notice:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -135,7 +135,7 @@ getList()
v-hasPermi="['system:notice:update']" v-hasPermi="['system:notice:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -143,7 +143,7 @@ getList()
v-hasPermi="['system:notice:delete']" v-hasPermi="['system:notice:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -128,7 +128,7 @@ getList()
v-hasPermi="['system:oauth2-client:update']" v-hasPermi="['system:oauth2-client:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -136,7 +136,7 @@ getList()
v-hasPermi="['system:oauth2-client:update']" v-hasPermi="['system:oauth2-client:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -144,7 +144,7 @@ getList()
v-hasPermi="['system:oauth2-client:delete']" v-hasPermi="['system:oauth2-client:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -58,7 +58,7 @@ getList()
</template> </template>
<template #action="{ row }"> <template #action="{ row }">
<el-button link type="primary" @click="handleDetail(row)"> <el-button link type="primary" @click="handleDetail(row)">
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -66,7 +66,7 @@ getList()
v-hasPermi="['system:oauth2-token:delete']" v-hasPermi="['system:oauth2-token:delete']"
@click="handleForceLogout(row)" @click="handleForceLogout(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.logout') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.logout') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -72,7 +72,7 @@ getList()
</template> </template>
<template #action="{ row }"> <template #action="{ row }">
<el-button link type="primary" @click="handleDetail(row)"> <el-button link type="primary" @click="handleDetail(row)">
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -139,7 +139,7 @@ getList()
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -147,7 +147,7 @@ getList()
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -155,7 +155,7 @@ getList()
v-hasPermi="['system:post:delete']" v-hasPermi="['system:post:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -191,7 +191,7 @@ getList()
v-hasPermi="['system:role:update']" v-hasPermi="['system:role:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -199,7 +199,7 @@ getList()
v-hasPermi="['system:role:update']" v-hasPermi="['system:role:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -207,7 +207,7 @@ getList()
v-hasPermi="['system:permission:assign-role-menu']" v-hasPermi="['system:permission:assign-role-menu']"
@click="handleScope('menu', row)" @click="handleScope('menu', row)"
> >
<Icon icon="ep:basketball" class="mr-5px" /> 菜单权限 <Icon icon="ep:basketball" class="mr-1px" /> 菜单权限
</el-button> </el-button>
<el-button <el-button
link link
@ -215,7 +215,7 @@ getList()
v-hasPermi="['system:permission:assign-role-data-scope']" v-hasPermi="['system:permission:assign-role-data-scope']"
@click="handleScope('data', row)" @click="handleScope('data', row)"
> >
<Icon icon="ep:coin" class="mr-5px" /> 数据权限 <Icon icon="ep:coin" class="mr-1px" /> 数据权限
</el-button> </el-button>
<el-button <el-button
link link
@ -223,7 +223,7 @@ getList()
v-hasPermi="['system:role:delete']" v-hasPermi="['system:role:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -157,7 +157,7 @@ onMounted(async () => {
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -165,7 +165,7 @@ onMounted(async () => {
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -173,7 +173,7 @@ onMounted(async () => {
v-hasPermi="['system:post:delete']" v-hasPermi="['system:post:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -128,7 +128,7 @@ getList()
v-hasPermi="['system:sms-channel:update']" v-hasPermi="['system:sms-channel:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -136,7 +136,7 @@ getList()
v-hasPermi="['system:sms-channel:update']" v-hasPermi="['system:sms-channel:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -144,7 +144,7 @@ getList()
v-hasPermi="['system:sms-channel:delete']" v-hasPermi="['system:sms-channel:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -68,7 +68,7 @@ getList()
v-hasPermi="['system:sms-channel:update']" v-hasPermi="['system:sms-channel:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -146,7 +146,7 @@ getList()
v-hasPermi="['system:sms-template:send-sms']" v-hasPermi="['system:sms-template:send-sms']"
@click="handleSendSms(row)" @click="handleSendSms(row)"
> >
<Icon icon="ep:cpu" class="mr-5px" /> {{ t('action.test') }} <Icon icon="ep:cpu" class="mr-1px" /> {{ t('action.test') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -154,7 +154,7 @@ getList()
v-hasPermi="['system:sms-template:update']" v-hasPermi="['system:sms-template:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -162,7 +162,7 @@ getList()
v-hasPermi="['system:sms-template:update']" v-hasPermi="['system:sms-template:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -170,7 +170,7 @@ getList()
v-hasPermi="['system:sms-template:delete']" v-hasPermi="['system:sms-template:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -177,7 +177,7 @@ onMounted(async () => {
v-hasPermi="['system:tenant:update']" v-hasPermi="['system:tenant:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -185,7 +185,7 @@ onMounted(async () => {
v-hasPermi="['system:tenant:update']" v-hasPermi="['system:tenant:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -193,7 +193,7 @@ onMounted(async () => {
v-hasPermi="['system:tenant:delete']" v-hasPermi="['system:tenant:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -147,10 +147,10 @@ onMounted(async () => {
</template> </template>
<template #action="{ row }"> <template #action="{ row }">
<el-button link type="primary" @click="handleUpdate(row)"> <el-button link type="primary" @click="handleUpdate(row)">
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button link type="primary" @click="handleDelete(row)"> <el-button link type="primary" @click="handleDelete(row)">
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>

View File

@ -345,7 +345,7 @@ getList()
v-hasPermi="['system:user:update']" v-hasPermi="['system:user:update']"
@click="handleUpdate(row)" @click="handleUpdate(row)"
> >
<Icon icon="ep:edit" class="mr-5px" /> {{ t('action.edit') }} <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -353,7 +353,7 @@ getList()
v-hasPermi="['system:user:update']" v-hasPermi="['system:user:update']"
@click="handleDetail(row)" @click="handleDetail(row)"
> >
<Icon icon="ep:view" class="mr-5px" /> {{ t('action.detail') }} <Icon icon="ep:view" class="mr-1px" /> {{ t('action.detail') }}
</el-button> </el-button>
<el-button <el-button
link link
@ -361,7 +361,7 @@ getList()
v-hasPermi="['system:user:update-password']" v-hasPermi="['system:user:update-password']"
@click="handleResetPwd(row)" @click="handleResetPwd(row)"
> >
<Icon icon="ep:key" class="mr-5px" /> 重置密码 <Icon icon="ep:key" class="mr-1px" /> 重置密码
</el-button> </el-button>
<el-button <el-button
link link
@ -369,7 +369,7 @@ getList()
v-hasPermi="['system:user:delete']" v-hasPermi="['system:user:delete']"
@click="handleDelete(row)" @click="handleDelete(row)"
> >
<Icon icon="ep:delete" class="mr-5px" /> {{ t('action.del') }} <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</template> </template>
</Table> </Table>