|
@@ -87,10 +87,10 @@ const toEditGoods = dynamicId => () => {
|
87
|
87
|
},
|
88
|
88
|
{
|
89
|
89
|
title: '状态',
|
90
|
|
- dataIndex: 'isEnlist',
|
91
|
|
- key: 'isEnlist',
|
|
90
|
+ dataIndex: 'activityStatus',
|
|
91
|
+ key: 'activityStatus',
|
92
|
92
|
align: 'center',
|
93
|
|
- render: isEnlist => <><span>{isEnlist == 0 ? "未开始" : isEnlist == 1 ? '进行中' : '已结束'}</span></>,
|
|
93
|
+ render: activityStatus => <><span>{activityStatus == 0 ? "进行中" : activityStatus == 1 ? '未开始' : '已结束'}</span></>,
|
94
|
94
|
},
|
95
|
95
|
{
|
96
|
96
|
title: '操作',
|
|
@@ -106,7 +106,7 @@ const toEditGoods = dynamicId => () => {
|
106
|
106
|
<span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={sendOrPublicDynamic.bind(this,row)}>{ row.status === 1 ? '取消发布' : '发布' }<Icon type="close-circle" className={styles.edit} /></span>
|
107
|
107
|
</AuthButton>
|
108
|
108
|
<AuthButton name="admin.buildingDynamic.finish.put" noRight={null}>
|
109
|
|
- {row.isEnlist != 2 && <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={finishDynamic.bind(this,row)}>结束活动<Icon type="poweroff" className={styles.edit} /></span>}
|
|
109
|
+ {row.isEnlist == 1 && <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={finishDynamic.bind(this,row)}>结束活动<Icon type="poweroff" className={styles.edit} /></span>}
|
110
|
110
|
</AuthButton>
|
111
|
111
|
<AuthButton name="admin.buildingDynamic.update.put" noRight={null}>
|
112
|
112
|
<span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={topDynamic(row)}>{ row.weight === 1 ? '取消置顶' : '置顶' }<Icon type="vertical-align-top" className={styles.edit} /></span>
|