修改测试问题

This commit is contained in:
guanj
2026-06-11 20:27:37 +08:00
parent bda7373133
commit 1a09c31669
61 changed files with 3393 additions and 2406 deletions

View File

@@ -21,7 +21,7 @@
<Icon class="ba-icon-dark" :name="row.icon || ''" />
</template>
</vxe-column>
<vxe-column field="startTime" title="是否激活">
<vxe-column field="startTime" title="是否激活" width="90">
<template #default="{ row }">
<el-switch
v-model="row.state"
@@ -35,7 +35,7 @@
/>
</template>
</vxe-column>
<vxe-column field="startTime" title="是否全局" v-if="hasAdmin">
<vxe-column field="startTime" title="是否全局" v-if="hasAdmin" width="90">
<template #default="{ row }">
<el-switch
v-model="row.scope"
@@ -49,18 +49,21 @@
/>
</template>
</vxe-column>
<vxe-column field="sort" title="排序">
<vxe-column field="sort" width="80" title="排序">
</vxe-column>
<vxe-column field="startTime" title="操作">
<vxe-column field="startTime" title="操作" width="150">
<template #default="{ row }">
<el-button type="primary" link @click="edit(row)" v-if="!(!hasAdmin && row.scope)">
<el-button type="primary" link size="small" @click="edit(row)" v-if="!(!hasAdmin && row.scope)">
编辑
</el-button>
<el-button type="danger" link @click="deletes(row)" v-if="!(!hasAdmin && row.scope)">
<el-button type="danger" link size="small" @click="deletes(row)" v-if="!(!hasAdmin && row.scope)">
删除
</el-button>
<el-button type="info" link size="small" v-if="(!hasAdmin && row.scope)">
管理员分配页面
</el-button>
</template>
</vxe-column>
</vxe-table>