首页轮播图查询

This commit is contained in:
Leo_Ding 2025-06-17 15:05:35 +08:00
parent 2d2d435b06
commit 472128ab26

View File

@ -11,7 +11,8 @@
<a-col v-bind="colSpan">
<a-form-item label="状态" name="status">
<a-select v-model:value="searchFormData.status">
<a-select v-model:value="searchFormData.status" allowClear>
<a-select-option value="">全部</a-select-option>
<a-select-option value="enabled">启用</a-select-option>
<a-select-option value="disabled">停用</a-select-option>
</a-select>
@ -49,8 +50,8 @@
</template>
<template v-if="'status' === column.dataIndex">
<a-tag :color="record.sequence === 'enabled' ? 'green' : 'red'">{{
record.sequence==='enabled'?'启用':'停用' }}</a-tag>
<a-tag v-if="record.status === 'enabled'" :color="'green'">启用</a-tag>
<a-tag v-if="record.status === 'disabled'" :color="'red'">停用</a-tag>
</template>
<template v-if="'action' === column.key">
<x-action-button @click="$refs.editDialogRef.handleEdit(record)">