|
@@ -106,11 +106,11 @@ 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
|
|
- <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={finishDynamic.bind(this,row)}>结束活动<Icon type="poweroff" className={styles.edit} /></span>
|
|
109
|
+ {row.isEnlist != 2 && <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>
|
113
|
|
- <span style={{ color: '#FF925C', cursor: 'pointer' }} onClick={toEditGoods(row.dynamicId)}>编辑<Icon type="form" className={styles.edit} /></span>
|
|
113
|
+ {row.isEnlist != 2 && <span style={{ color: '#FF925C', cursor: 'pointer' }} onClick={toEditGoods(row.dynamicId)}>编辑<Icon type="form" className={styles.edit} /></span>}
|
114
|
114
|
</AuthButton>
|
115
|
115
|
</>
|
116
|
116
|
)
|