generated from Leo_Ding/web-template
首页轮播图查询
This commit is contained in:
parent
2d2d435b06
commit
472128ab26
@ -11,7 +11,8 @@
|
|||||||
|
|
||||||
<a-col v-bind="colSpan">
|
<a-col v-bind="colSpan">
|
||||||
<a-form-item label="状态" name="status">
|
<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="enabled">启用</a-select-option>
|
||||||
<a-select-option value="disabled">停用</a-select-option>
|
<a-select-option value="disabled">停用</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
@ -49,8 +50,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-if="'status' === column.dataIndex">
|
<template v-if="'status' === column.dataIndex">
|
||||||
<a-tag :color="record.sequence === 'enabled' ? 'green' : 'red'">{{
|
<a-tag v-if="record.status === 'enabled'" :color="'green'">启用</a-tag>
|
||||||
record.sequence==='enabled'?'启用':'停用' }}</a-tag>
|
<a-tag v-if="record.status === 'disabled'" :color="'red'">停用</a-tag>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="'action' === column.key">
|
<template v-if="'action' === column.key">
|
||||||
<x-action-button @click="$refs.editDialogRef.handleEdit(record)">
|
<x-action-button @click="$refs.editDialogRef.handleEdit(record)">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user