颜色搭配

This commit is contained in:
zhang zhuo 2025-10-23 14:21:27 +08:00
parent 408a320001
commit 85cdaec1eb
5 changed files with 9 additions and 9 deletions

View File

@ -18,7 +18,7 @@
<el-button-group>
<el-popconfirm title="确定强制退出吗?" @confirm="quit(scope.row, scope.$index)">
<template #reference>
<el-button v-auth="'online:quit'" text type="primary" size="small">强退</el-button>
<el-button v-auth="'online:quit'" text type="danger" size="small">强退</el-button>
</template>
</el-popconfirm>
</el-button-group>

View File

@ -37,10 +37,10 @@
<template #default="scope">
<el-button-group>
<el-button text type="primary" size="small" @click="table_show(scope.row, scope.$index)">查看</el-button>
<el-button v-auth="'account:edit'" text type="primary" size="small" @click="table_edit(scope.row, scope.$index)">编辑</el-button>
<el-button v-auth="'account:edit'" text type="warning" size="small" @click="table_edit(scope.row, scope.$index)">编辑</el-button>
<el-popconfirm title="确定删除吗?" @confirm="table_del(scope.row, scope.$index)">
<template #reference>
<el-button v-auth="'account:del'" text type="primary" size="small">删除</el-button>
<el-button v-auth="'account:del'" text type="danger" size="small">删除</el-button>
</template>
</el-popconfirm>
</el-button-group>

View File

@ -26,12 +26,12 @@
<el-button-group>
<el-button text type="primary" size="small" @click="table_show(scope.row, scope.$index)">查看
</el-button>
<el-button v-auth="'dept:edit'" text type="primary" size="small"
<el-button v-auth="'dept:edit'" text type="success" size="small"
@click="table_edit(scope.row, scope.$index)">编辑
</el-button>
<el-popconfirm title="确定删除吗?" @confirm="table_del(scope.row, scope.$index)">
<template #reference>
<el-button v-auth="'dept:del'" text type="primary" size="small">删除</el-button>
<el-button v-auth="'dept:del'" text type="danger" size="small">删除</el-button>
</template>
</el-popconfirm>
</el-button-group>

View File

@ -25,12 +25,12 @@
<el-button-group>
<el-button text type="primary" size="small" @click="table_show(scope.row, scope.$index)">查看
</el-button>
<el-button v-auth="'post:edit'" text type="primary" size="small"
<el-button v-auth="'post:edit'" text type="success" size="small"
@click="table_edit(scope.row, scope.$index)">编辑
</el-button>
<el-popconfirm title="确定删除吗?" @confirm="table_del(scope.row, scope.$index)">
<template #reference>
<el-button v-auth="'post:del'" text type="primary" size="small">删除</el-button>
<el-button v-auth="'post:del'" text type="danger" size="small">删除</el-button>
</template>
</el-popconfirm>
</el-button-group>

View File

@ -23,10 +23,10 @@
<template #default="scope">
<el-button-group>
<el-button text type="primary" size="small" @click="table_show(scope.row, scope.$index)">查看</el-button>
<el-button v-auth="'role:edit'" text type="primary" size="small" @click="table_edit(scope.row, scope.$index)">编辑</el-button>
<el-button v-auth="'role:edit'" text type="success" size="small" @click="table_edit(scope.row, scope.$index)">编辑</el-button>
<el-popconfirm title="确定删除吗?" @confirm="table_del(scope.row, scope.$index)">
<template #reference>
<el-button v-auth="'role:del'" text type="primary" size="small">删除</el-button>
<el-button v-auth="'role:del'" text type="danger" size="small">删除</el-button>
</template>
</el-popconfirm>
</el-button-group>