bug修复

main
zhaoyu 2023-12-21 18:04:38 +08:00
parent 6ecc055647
commit b0db6e3e4d
1 changed files with 7 additions and 1 deletions

View File

@ -148,8 +148,11 @@
<el-table-column prop="VIDEO_COUNT" label="视频个数" /> <el-table-column prop="VIDEO_COUNT" label="视频个数" />
<el-table-column prop="STATE" label="状态"> <el-table-column prop="STATE" label="状态">
<template slot-scope="{row}"> <template slot-scope="{row}">
<span v-if="row.STATE == 1"></span> <span v-if="row.STATE == -1"></span>
<span v-if="row.STATE == -2"></span>
<span v-if="row.STATE == 0"></span>
<span v-if="row.STATE == 2"></span> <span v-if="row.STATE == 2"></span>
<span v-if="row.STATE == 1"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="100"> <el-table-column label="操作" align="center" width="100">
@ -189,6 +192,9 @@ export default {
STATE: '', STATE: '',
CONTRACTTIME: ['', ''], // CONTRACTTIME: ['', ''], //
stateList: [ stateList: [
{ ID: '-1', NAME: '开工申请中' },
{ ID: '-2', NAME: '结束申请中' },
{ ID: '0', NAME: '未开工' },
{ ID: '1', NAME: '进行中' }, { ID: '1', NAME: '进行中' },
{ ID: '2', NAME: '已结束' } { ID: '2', NAME: '已结束' }
], ],