修改状态

This commit is contained in:
weinan2087
2023-02-13 18:10:37 +08:00
parent c5e63ef779
commit 6c0b8e96b8

View File

@@ -34,8 +34,9 @@
<el-table-column prop="status" label="状态" width="80px" align="center">
<template slot-scope="scope">
<span v-if="scope.row.status == 0">未发布</span>
<span v-if="scope.row.status == 1" style="color: #da0000;">已发布</span>
<span v-if="scope.row.status == 2">停用</span>
<span v-if="scope.row.status == 1">已发布</span>
<!-- <span v-if="scope.row.status == 1" style="color: #da0000;">发布</span> -->
<span v-if="scope.row.status == 2" style="color: #da0000;">已停用</span>
</template>
</el-table-column>
<el-table-column prop="type" label="类型" width="80px" align="center">