mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 01:36:47 +08:00
style:增加项目列表筛选已结束状态
This commit is contained in:
@@ -901,6 +901,7 @@ export default {
|
||||
{value: 2, label: "审核通过"},
|
||||
{value: 3, label: "已发布"},
|
||||
{value: -2, label: "未通过"},
|
||||
{value: -1, label: "已结束"}
|
||||
]);
|
||||
const searchReset = () => {
|
||||
state.searchParam = {pageNo: 1, pageSize: 10};
|
||||
@@ -1307,8 +1308,8 @@ export default {
|
||||
'1': () => '草稿',
|
||||
'2': () => '草稿',
|
||||
'3': () => dayjs().isBefore(value.record.beginTime) ? '未开始' : '进行中',
|
||||
'4': () => dayjs().isBefore(value.record.end) ? '进行中' : '-',
|
||||
'-1': () => '-',
|
||||
'4': () => dayjs().isBefore(value.record.end) ? '进行中' : '已结束',
|
||||
'-1': () => '已结束',
|
||||
'-5': () => '草稿'
|
||||
}[value.record.status + '']() || '' : '-'}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user