|
@@ -88,12 +88,12 @@ const toEditPolicy = (policyId) => () => {
|
88
|
88
|
render: (x,row) => (
|
89
|
89
|
<>
|
90
|
90
|
<AuthButton name="admin.taPolicy.id.put" noRight={null}>
|
91
|
|
- <span style={{ color: '#1990FF' }} onClick={publicOrNoPublic(row)}>{ row.publishStatus === 0 ? '发布' : '取消发布' }<Icon type="close-circle" className={styles.edit} /></span>
|
92
|
|
- <span style={{ color: '#1990FF', marginRight: '20px' }} onClick={topPolicy(row)}>{ row.weight === 1 ? '取消置顶' : '置顶' }<Icon type="vertical-align-top" className={styles.edit} /></span>
|
93
|
|
- <span style={{ color: '#FF925C' }} onClick={toEditPolicy(row.policyId)}>编辑<Icon type="form" className={styles.edit} /></span>
|
|
91
|
+ <span style={{ color: '#1990FF',cursor: 'pointer' }} onClick={publicOrNoPublic(row)}>{ row.publishStatus === 0 ? '发布' : '取消发布' }<Icon type="close-circle" className={styles.edit} /></span>
|
|
92
|
+ <span style={{ color: '#1990FF', marginRight: '20px',cursor: 'pointer' }} onClick={topPolicy(row)}>{ row.weight === 1 ? '取消置顶' : '置顶' }<Icon type="vertical-align-top" className={styles.edit} /></span>
|
|
93
|
+ <span style={{ color: '#FF925C',cursor: 'pointer' }} onClick={toEditPolicy(row.policyId)}>编辑<Icon type="form" className={styles.edit} /></span>
|
94
|
94
|
</AuthButton>
|
95
|
95
|
<AuthButton name="admin.taPolicy.id.delete" noRight={null}>
|
96
|
|
- <span style={{ color: '#FF925C' }} onClick={deletePolicy(row.policyId)}>删除<Icon type="form" className={styles.edit} /></span>
|
|
96
|
+ <span style={{ color: '#FF925C',cursor: 'pointer' }} onClick={deletePolicy(row.policyId)}>删除<Icon type="form" className={styles.edit} /></span>
|
97
|
97
|
</AuthButton>
|
98
|
98
|
</>
|
99
|
99
|
)
|