周立森 5 vuotta sitten
vanhempi
commit
86c6bbb58b

+ 4
- 4
src/pages/activity/helpActivity/list.jsx Näytä tiedosto

@@ -93,18 +93,18 @@ const toEditGoods = (helpActivityId) => () => {
93 93
         <>
94 94
           {row.activityStatus === 0 &&
95 95
           <AuthButton name="admin.helpRecord.get">
96
-             <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={ getSignList.bind(this, row.helpActivityId)}>助力记录<Icon type="snippets" className={styles.shoppingCart} /></span>
96
+             <span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={ getSignList.bind(this, row.helpActivityId)}>助力记录<Icon type="snippets" className={styles.shoppingCart} /></span>
97 97
           </AuthButton>}
98 98
           {row.activityStatus === 0 &&
99 99
           <AuthButton name="admin.top.update.post" noRight={null}>
100
-            <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={topDynamic(row, 2)}>结束活动<Icon type="poweroff" className={styles.edit} /></span>
100
+            <span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={topDynamic(row, 2)}>结束活动<Icon type="poweroff" className={styles.edit} /></span>
101 101
             <span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={topDynamic(row, 0)}>{ row.weight === 1 ? '取消置顶' : '置顶' }<Icon type="vertical-align-top" className={styles.edit} /></span>
102 102
             <span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={topDynamic(row, 1)}>{ row.isMain === true ? '取消推首页' : '推首页' }<Icon type="vertical-align-top" className={styles.edit} /></span>
103 103
           </AuthButton> }
104 104
 
105 105
           {row.activityStatus === 1 &&
106 106
           <AuthButton name="admin.helpActivity.update.put" noRight={null}>
107
-            <span style={{ color: '#FF925C', cursor: 'pointer' }} onClick={toEditGoods(row.helpActivityId)}>编辑<Icon type="form" className={styles.edit} /></span>
107
+            <span style={{ color: '#FF925C', marginRight: '20px', cursor: 'pointer' }} onClick={toEditGoods(row.helpActivityId)}>编辑<Icon type="form" className={styles.edit} /></span>
108 108
           </AuthButton>
109 109
           }
110 110
           {row.activityStatus === 1 &&
@@ -116,7 +116,7 @@ const toEditGoods = (helpActivityId) => () => {
116 116
 
117 117
           {row.activityStatus === 2 &&
118 118
           <AuthButton name="admin.helpRecord.get" noRight={null}>
119
-            <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={ getSignList.bind(this, row.helpActivityId)}>助力记录<Icon type="snippets" className={styles.shoppingCart} /></span>
119
+            <span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={ getSignList.bind(this, row.helpActivityId)}>助力记录<Icon type="snippets" className={styles.shoppingCart} /></span>
120 120
           </AuthButton>
121 121
           }
122 122
            {row.activityStatus === 2 &&

+ 4
- 2
src/pages/system/document/audit.jsx Näytä tiedosto

@@ -19,7 +19,7 @@ function body (props) {
19 19
     // 网路请求
20 20
     console.log(props, '1111')
21 21
     request({ ...apis.system.documentVerifyDetail, urlData: { id: documentVerifyId } }).then(data => {
22
-      console.log('data:', data.imgList)
22
+      console.log('data:', data)
23 23
       setData(data.imgList)
24 24
     }).catch(err => {
25 25
       // eslint-disable-next-line no-unused-expressions
@@ -29,7 +29,7 @@ function body (props) {
29 29
 
30 30
   function onVerify (params) {
31 31
 
32
-    alert(params)
32
+    // alert(params)
33 33
     // 网路请求
34 34
     request({ ...apis.system.updateTaPolicy, urlData: { id: documentVerifyId }, data: { verifyStatus: params } }).then(data => {
35 35
 
@@ -42,6 +42,8 @@ function body (props) {
42 42
 
43 43
 
44 44
   const handleOk = () => {
45
+
46
+
45 47
     Modal.confirm({
46 48
       title: '审核通过后,将给当前用户发放积分 确认审核通过?',
47 49
       okText: '确认',