mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 13:43:51 +08:00
♻️ Refactoring code. 优化代码展示
This commit is contained in:
parent
24f4177d8c
commit
fdb2526351
@ -55,30 +55,11 @@
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('common.action')" width="200">
|
||||
<template #default="scope">
|
||||
|
||||
<el-button v-auth="'mp_wxaccount_edit'" text type="primary"
|
||||
@click="formDialogRef.openDialog(scope.row.id)">{{ $t('common.editBtn') }}
|
||||
</el-button>
|
||||
<el-button v-auth="'mp_wxaccount_del'" text type="primary" @click="handleDelete([scope.row.id])">{{
|
||||
$t('common.delBtn')
|
||||
}}
|
||||
</el-button>
|
||||
<el-button
|
||||
type="text"
|
||||
@click="access(scope.row,scope.index)">
|
||||
接入
|
||||
</el-button>
|
||||
|
||||
<el-button
|
||||
type="text"
|
||||
@click="generate(scope.row,scope.index)">二维码
|
||||
</el-button>
|
||||
|
||||
<el-button
|
||||
type="text"
|
||||
@click="quota(scope.row,scope.index)">
|
||||
quota
|
||||
</el-button>
|
||||
<el-button v-auth="'mp_wxaccount_edit'" text type="primary" @click="formDialogRef.openDialog(scope.row.id)">{{ $t('common.editBtn') }}</el-button>
|
||||
<el-button v-auth="'mp_wxaccount_del'" text type="primary" @click="handleDelete([scope.row.id])">{{$t('common.delBtn') }}</el-button>
|
||||
<el-button text type="primary" @click="access(scope.row,scope.index)">接入</el-button>
|
||||
<el-button text type="primary" @click="generate(scope.row,scope.index)">二维码</el-button>
|
||||
<el-button text type="primary" @click="quota(scope.row,scope.index)">quota</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -29,13 +29,13 @@
|
||||
<el-table-column label="操作" prop="action" show-overflow-tooltip>
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
icon="el-icon-edit"
|
||||
plain
|
||||
@click="handleEdit(scope.row)">编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
icon="el-icon-delete"
|
||||
plain
|
||||
@click="handleDel(scope.row)">删除
|
||||
</el-button>
|
||||
</template>
|
||||
@ -68,12 +68,12 @@
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
icon="el-icon-edit"
|
||||
plain
|
||||
link
|
||||
@click="handleEdit(scope.row)">编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
icon="el-icon-delete"
|
||||
plain
|
||||
link
|
||||
@click="handleDel(scope.row)">删除
|
||||
</el-button>
|
||||
</template>
|
||||
@ -108,12 +108,12 @@
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
icon="el-icon-edit"
|
||||
plain
|
||||
link
|
||||
@click="handleEdit(scope.row)">编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
icon="el-icon-delete"
|
||||
plain
|
||||
link
|
||||
@click="handleDel(scope.row)">删除
|
||||
</el-button>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user