zhoulisen 5 lat temu
rodzic
commit
7920d60d64

+ 1
- 1
src/pages/activity/drainage/DrainageList.jsx Wyświetl plik

@@ -339,7 +339,7 @@ const header = props => {
339 339
             { required: true, message: '请选择是否投放小程序' },
340 340
           ],
341 341
         })(
342
-          <Radio.Group onChange={changeMiniapp}>
342
+          <Radio.Group onChange={changeMiniapp} disabled={!!formsDate.activityId}>
343 343
             <Radio value={1}>是</Radio>
344 344
             <Radio value={0}>否</Radio>
345 345
           </Radio.Group>

+ 14
- 9
src/pages/activity/drainage/components/Basic.jsx Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 import React, { useState, useEffect } from 'react';
2
-import { Form, Slider, Row, Col, Checkbox, Input, Button, InputNumber } from 'antd';
2
+import { Form, Slider, Row, Col, Checkbox, Input, Button, InputNumber, message } from 'antd';
3 3
 import router from 'umi/router';
4 4
 import apis from '../../../../services/apis';
5 5
 import request from '../../../../utils/request';
@@ -46,8 +46,13 @@ function Basic(props) {
46 46
     }
47 47
 
48 48
     const updateRedPacket = data => {
49
+        console.log('123123')
49 50
         request({ ...apis.redPacket.update, data: { ...data } }).then(data => {
50 51
             // setData(data)
52
+            console.log('123123')
53
+            message.success('操作成功')
54
+        }).catch((e) => {
55
+            message.error('操作失败')
51 56
         })
52 57
     }
53 58
 
@@ -96,16 +101,16 @@ function Basic(props) {
96 101
 
97 102
     };
98 103
 
99
-    const handleInputConfirm = () => {
100
-        setregistrationFormOption([
101
-            { label: '姓名', value: 'name' },
102
-            { label: '电话', value: 'tel' },
103
-            { label: registrationInputValue, value: 'abc' },
104
-        ])
104
+    // const handleInputConfirm = () => {
105
+    //     setregistrationFormOption([
106
+    //         { label: '姓名', value: 'name' },
107
+    //         { label: '电话', value: 'tel' },
108
+    //         { label: registrationInputValue, value: 'abc' },
109
+    //     ])
105 110
 
106 111
 
107
-        setInputVisible(!inputVisible)
108
-    }
112
+    //     setInputVisible(!inputVisible)
113
+    // }
109 114
 
110 115
     const { getFieldDecorator } = props.form
111 116
 

+ 4
- 2
src/pages/activity/drainage/components/Help.jsx Wyświetl plik

@@ -7,7 +7,7 @@ import request from '../../../../utils/request';
7 7
 
8 8
 const { RangePicker } = DatePicker;
9 9
 
10
-function validatorNum (rule, value, callback) {
10
+function validatorNum(rule, value, callback) {
11 11
     callback(value < 1 || value > 1000 ? '人数必须大于0 小于 1000' : undefined);
12 12
 }
13 13
 
@@ -37,7 +37,9 @@ function Help(props) {
37 37
         values.endDate = `${moment(endDate).format('YYYY-MM-DDT00:00:00.000')}Z`
38 38
         values.activityId = id
39 39
         request({ ...apis.redPacket.updateHelp, urlData: { id }, data: { ...values } }).then(data => {
40
-
40
+            message.info('操作成功')
41
+        }).catch(() => {
42
+            message.error('操作失败')
41 43
         })
42 44
     }
43 45
 

+ 4
- 3
src/pages/activity/drainage/components/Ranking.jsx Wyświetl plik

@@ -28,6 +28,7 @@ function Ranking(props) {
28 28
             if (!err) {
29 29
                 // eslint-disable-next-line no-console
30 30
                 console.log('提交数据: ', values)
31
+                getList({ pageNum: 1, pageSize: 10, ...values })
31 32
             }
32 33
         });
33 34
     }
@@ -52,7 +53,7 @@ function Ranking(props) {
52 53
             dataIndex: 'avatarurl',
53 54
             key: 'avatarurl',
54 55
             align: 'center',
55
-            render: (x, row) => <img src={row.qrCodeUrl} alt="" width="100px"></img >,
56
+            render: (x, row) => <img src={row.avatarurl} alt="" width="50px"></img >,
56 57
         },
57 58
         {
58 59
             title: '昵称',
@@ -74,8 +75,8 @@ function Ranking(props) {
74 75
         },
75 76
         {
76 77
             title: '发起时间',
77
-            dataIndex: 'targetName',
78
-            key: 'targetName',
78
+            dataIndex: 'createDate',
79
+            key: 'createDate',
79 80
             align: 'center',
80 81
             render: (x, row) => <><span>{`${moment(row.createDate).format('YYYY-MM-DD HH:mm:ss')}`}</span></>,
81 82
         },

+ 2
- 1
src/pages/activity/drainage/components/RedPacket.jsx Wyświetl plik

@@ -31,6 +31,7 @@ function RedPacket(props) {
31 31
     const updateRedPacket = data => {
32 32
         request({ ...apis.redPacket.updateMoney, urlData: { id }, data: { ...data } }).then(data => {
33 33
             // setData(data)
34
+            message.info('操作成功')
34 35
         })
35 36
     }
36 37
 
@@ -73,7 +74,7 @@ function RedPacket(props) {
73 74
                 <Col span={8} style={{ padding: '0 10px' }}>
74 75
                     <div className={Styles.redHeader}>
75 76
                         {/* packetSendedNum */}
76
-                        <div className={Styles.redHeaderTop}><span className={Styles.redHeaderTopText}>已发送红包总数量/个</span><span className={Styles.redHeaderTopNum}>{data.sendNum / 100 || 0}</span></div>
77
+                        <div className={Styles.redHeaderTop}><span className={Styles.redHeaderTopText}>已发送红包总数量/个</span><span className={Styles.redHeaderTopNum}>{data.sendNum || 0}</span></div>
77 78
                         <div className={Styles.redHeaderBottom}><Navigate onClick={() => props.toDetail()}>查看详情</Navigate></div>
78 79
                     </div>
79 80
                 </Col>

+ 6
- 5
src/pages/activity/drainage/components/RedPacketRecord.jsx Wyświetl plik

@@ -6,7 +6,7 @@ import apis from '../../../../services/apis';
6 6
 import request from '../../../../utils/request';
7 7
 
8 8
 const TradingStatus = {
9
-    processing: '进行中',
9
+    // processing: '进行中',
10 10
     success: '成功',
11 11
     fail: '失败',
12 12
 }
@@ -77,7 +77,7 @@ function RedPacketRecord(props) {
77 77
             dataIndex: 'avatarurl',
78 78
             key: 'avatarurl',
79 79
             align: 'center',
80
-            render: (x, row) => <img src={row.qrCodeUrl} alt="" width="100px"></img >,
80
+            render: (x, row) => <img src={row.avatarurl} alt="" width="50px"></img >,
81 81
         },
82 82
         {
83 83
             title: '手机号',
@@ -93,16 +93,17 @@ function RedPacketRecord(props) {
93 93
         },
94 94
         {
95 95
             title: '金额(元)',
96
-            dataIndex: 'packetAmount',
97
-            key: 'packetAmount',
96
+            dataIndex: 'amount',
97
+            key: 'amount',
98 98
             align: 'center',
99
+            render: x => <span>{x / 100}</span >,
99 100
         },
100 101
         {
101 102
             title: '发送状态',
102 103
             dataIndex: 'tradingStatus',
103 104
             key: 'tradingStatus',
104 105
             align: 'center',
105
-            render: x => <span>{ TradingStatus[x] || ''}</span>,
106
+            render: x => <span>{TradingStatus[x] || ''}</span>,
106 107
         },
107 108
     ]
108 109
 

+ 10
- 8
src/pages/activity/groupActivity/editGroupActivity.jsx Wyświetl plik

@@ -35,7 +35,7 @@ const Basic = props => {
35 35
     {
36 36
       label: '选择项目',
37 37
       name: 'buildingId',
38
-      render: <BuildSelect disabled={disable}/>,
38
+      render: <BuildSelect disabled={disable} />,
39 39
       value: dynamicData.buildingId,
40 40
       rules: [
41 41
         { required: true, message: '请选择项目' },
@@ -126,7 +126,7 @@ const Basic = props => {
126 126
       label: '权重',
127 127
       name: 'heavy',
128 128
       type: FieldTypes.Number,
129
-      render: <Input type="number" style={{ width: 80}} />,
129
+      render: <Input type="number" style={{ width: 80 }} />,
130 130
       value: dynamicData.heavy,
131 131
       rules: [
132 132
         { required: true, message: '请输入权重' },
@@ -268,7 +268,7 @@ const Poster = props => {
268 268
             WebkitBoxOrient: 'vertical',
269 269
             overflow: 'hidden',
270 270
             textOverflow: 'ellipsis',
271
-          }}>{ textAreaValue || '海报描述'}</p>
271
+          }}>{textAreaValue || '海报描述'}</p>
272 272
           <div style={{ backgroundColor: '#f1f1f1', padding: '22px 30px', boxShadow: '0px 6px 12px -4px #dcdcdc', position: 'relative' }}>
273 273
             <p style={{ margin: '0', fontSize: '18px', color: '#888' }}>长按识别小程序码</p>
274 274
             <p style={{ margin: '0', fontSize: '18px', color: '#888' }}>进入活动查看详情</p>
@@ -283,7 +283,7 @@ const Poster = props => {
283 283
           <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>拼团海报图</p>
284 284
           <ImageUploader value={imgValue} onChange={e => changeImg(e)} />
285 285
         </div>
286
-        <p style={{ fontSize: '0.5vw', color: '#A9A9A9', marginLeft: '230px', marginBottom: '30px'}}>建议图片尺寸:750*600,比例5:4,格式:jpg,用于拼团活动海报</p>
286
+        <p style={{ fontSize: '0.5vw', color: '#A9A9A9', marginLeft: '230px', marginBottom: '30px' }}>建议图片尺寸:750*600,比例5:4,格式:jpg,用于拼团活动海报</p>
287 287
         <div style={{ display: 'flex', alignItems: 'center', width: '100%', marginBottom: '60px' }}>
288 288
           <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>海报标题</p>
289 289
           <Input style={{ width: '20vw' }} value={inputValue} placeholder="请输入海报标题" onChange={e => changeInput(e.target.value)} />
@@ -302,13 +302,14 @@ const Poster = props => {
302 302
 
303 303
 
304 304
 const Share = props => {
305
+  console.log(props, 'props')
305 306
   const { groupActivityId } = props
306 307
   const [inputValue, changeInput] = useState('')
307 308
   const [imgValue, changeImg] = useState('')
308 309
   const [shareContentId, setShareContentId] = useState('')
309 310
 
310 311
   useEffect(() => {
311
-      if (groupActivityId) {
312
+    if (groupActivityId) {
312 313
       request({ ...apis.activity.shareContent, params: { targetId: groupActivityId, targetType: 'groupActivity' } }).then(data => {
313 314
         if (data.length > 0) {
314 315
           setShareContentId(data[0].shareContentId)
@@ -322,6 +323,7 @@ const Share = props => {
322 323
   }, [])
323 324
 
324 325
   const submitShare = () => {
326
+    console.log(groupActivityId)
325 327
     if (groupActivityId) {
326 328
       if (shareContentId) {
327 329
         request({ ...apis.activity.updateShareContent, urlData: { id: shareContentId }, data: { targetId: groupActivityId, shareContentType: 'groupActivity', shareContentImg: imgValue, shareContentTitle: inputValue } }).then(data => {
@@ -359,7 +361,7 @@ const Share = props => {
359 361
       <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>拼团分享图</p>
360 362
       <ImageUploader value={imgValue} onChange={e => changeImg(e)} />
361 363
     </div>
362
-    <p style={{ fontSize: '0.5vw', color: '#A9A9A9', marginLeft: '230px', marginBottom: '30px'}}>建议图片尺寸:750*600px,比例5:4,格式:jpg,用于拼团活动分享好友</p>
364
+    <p style={{ fontSize: '0.5vw', color: '#A9A9A9', marginLeft: '230px', marginBottom: '30px' }}>建议图片尺寸:750*600px,比例5:4,格式:jpg,用于拼团活动分享好友</p>
363 365
     <Button type="primary" htmlType="submit" onClick={submitShare} style={{ margin: '40px 40px 40px 220px' }}> 确定</Button>
364 366
     <Button onClick={() => cancelPage()}>取消</Button>
365 367
   </div>
@@ -417,8 +419,8 @@ const Edit = props => {
417 419
       </div>
418 420
       <div>
419 421
         {tab === 'basic' && <Basic dynamicData={dynamicData} disable={disable} activityStatus={activityStatus} scoreData={scoreData} groupActivityId={groupActivityId} />}
420
-        {tab === 'poster' && <Poster groupActivityId={groupActivityId}/>}
421
-        {tab === 'share' && <Share />}
422
+        {tab === 'poster' && <Poster groupActivityId={groupActivityId} />}
423
+        {tab === 'share' && <Share groupActivityId={groupActivityId} />}
422 424
       </div>
423 425
       <Prompt message={location =>
424 426
         (location.pathname.startsWith('/activity/groupActivity')

+ 1
- 0
src/pages/funds/accountfunds/components/ConsumerOrder.jsx Wyświetl plik

@@ -78,6 +78,7 @@ function RechargeOrder(props) {
78 78
             dataIndex: 'amount',
79 79
             key: 'amount',
80 80
             align: 'center',
81
+            render: x => <><span>{x / 100 || ''}</span></>,
81 82
         },
82 83
         {
83 84
             title: '消费方式',

+ 10
- 17
src/pages/funds/accountfunds/components/Contact.jsx Wyświetl plik

@@ -1,19 +1,12 @@
1
-import React, { useState } from 'react';
2
-import { Button, Input, Row, Col } from 'antd';
3
-import Styles from './styles.less';
4
-import Navigate from '@/components/Navigate';
1
+import React from 'react';
2
+import ContactText from './contactText'
5 3
 
6
-const Recharge = props => {
7
-
8
-    const [value, setValue] = useState()
9
-
10
-    return (
11
-        <>
12
-            <span style={{ fontSize: '22px', color: '#979797', lineHeight: '30px' }}>重要说明:</span>
13
-            <div style={{ fontSize: '18px', color: '#333', lineHeight: '34px', marginTop: '20px' }}>
14
-                您已充值成功,微信充值到账为T+7,因此,充值金额7日后才能到账,为不影响客户使用,实际活动金额由橙蕉预先充值垫付,需要在使用预算前和运营人员确认橙蕉余额是否充足, <Navigate>请联系我们</Navigate>
15
-            </div>
16
-        </>
17
-    )
18
-}
4
+const Recharge = () => (
5
+    <>
6
+        <span style={{ fontSize: '22px', color: '#979797', lineHeight: '30px' }}>重要说明:</span>
7
+        <div style={{ fontSize: '18px', color: '#333', lineHeight: '34px', marginTop: '20px' }}>
8
+            您已充值成功,微信充值到账为T+7,因此,充值金额7日后才能到账,为不影响客户使用,实际活动金额由橙蕉预先充值垫付,需要在使用预算前和运营人员确认橙蕉余额是否充足,<ContactText />
9
+        </div>
10
+    </>
11
+)
19 12
 export default Recharge

+ 10
- 44
src/pages/funds/accountfunds/components/Pay.jsx Wyświetl plik

@@ -11,6 +11,12 @@ const Recharge = props => {
11 11
     console.log(amount, 'amount')
12 12
     const { orderInfo } = amount
13 13
     console.log(orderInfo, 'orderInfo')
14
+    useEffect(() => {
15
+        console.log(props.visible, 'props.visible')
16
+
17
+        return () => clearInterval(getByInfo);
18
+        // setTimeout(() => { getByInfo() }, 1000)
19
+    }, [props.visible])
14 20
     const getByInfo = setInterval(() => {
15 21
 
16 22
 
@@ -22,15 +28,13 @@ const Recharge = props => {
22 28
                 // props.value()
23 29
                 // if (!visible) { clearInterval(getByInfo) }
24 30
             } else if (data.tradingStatus === 'success') {
25
-                mmessage.info('充值成功')
26
-
27
-                props.value('success')
31
+                message.info('充值成功')
28 32
                 clearInterval(getByInfo)
33
+                props.value('success')
29 34
             } else {
30
-                mmessage.info('充值失败')
31
-
32
-                props.value('fail')
35
+                message.info('充值失败')
33 36
                 clearInterval(getByInfo)
37
+                props.value('fail')
34 38
             }
35 39
             // tradingStatus
36 40
             // setTimeout(() => { getByInfo() }, 1000)
@@ -40,44 +44,6 @@ const Recharge = props => {
40 44
         })
41 45
     }, 1000)
42 46
 
43
-
44
-    useEffect(() => {
45
-        console.log(props.visible, 'props.visible')
46
-
47
-        return () => clearInterval(getByInfo);
48
-        // setTimeout(() => { getByInfo() }, 1000)
49
-    }, [props.visible])
50
-
51
-
52
-
53
-    // {
54
-    //     request({ ...apis.funds.getByInfo, params: { orderId: orderInfo.orderId } }).then(data => {
55
-    //         if (data.tradingStatus === 'processing') {
56
-    //             setTimeout(() => { getByInfo() }, 1000)
57
-    //         } else if (data.tradingStatus === 'success') {
58
-    //             mmessage.info('充值成功')
59
-    //         } else {
60
-    //             mmessage.info('充值失败')
61
-    //         }
62
-
63
-    //         // tradingStatus
64
-    //         // setTimeout(() => { getByInfo() }, 1000)
65
-    //     }).catch(err => {
66
-    //         console.log(err)
67
-    //     })
68
-    // }
69
-    // getByInfo
70
-
71
-
72
-    // const [value, setValue] = useState()
73
-
74
-    // function onChange(e) {
75
-    //     if (e.target.value <= 0) return
76
-    //     if (e.target.value > 99999.99) { setValue(99999.99); return }
77
-    //     console.log('changed', e.target.value);
78
-    //     setValue(e.target.value)
79
-
80
-    // }
81 47
     return (
82 48
         <>
83 49
             <div style={{ fontSize: '18px', fontWeight: '400', color: '#333333' }}>

+ 1
- 1
src/pages/funds/accountfunds/components/Recharge.jsx Wyświetl plik

@@ -25,7 +25,7 @@ const Recharge = props => {
25 25
                     <p style={{ fontSize: '18px', color: '#333', marginBottom: '8px', marginTop: '20px' }}>1.充值流程:输入充值金额-点击确定-扫码支付-支付成功。</p>
26 26
                     <p style={{ fontSize: '18px', color: '#333', marginBottom: '8px' }}>2.因微信限制,微信充值有手续费,因此充值金额中应包含手续费,费率1%。</p>
27 27
                     <p style={{ fontSize: '18px', color: '#333', marginBottom: '8px' }}>3.微信充值到账为T+7,因此,充值金额7日后才能到账,为不影响客户使用,实际活动金额由橙蕉预先充值垫付,需要在使用预算前和运营人员确认橙蕉余额是否充足。充值后请联系我们。</p>
28
-                    <p style={{ fontSize: '18px', color: '#333', marginBottom: '8px' }}>4.您也可使用银行卡转账/支付宝支付/对公账户打款/现金支付等方式充值,具体方式<ContactText /></p>
28
+                    <p style={{ fontSize: '18px', color: '#333', marginBottom: '8px' }}>4.您也可使用银行卡转账/支付宝支付/对公账户打款/现金支付等方式充值,具体方式<ContactText /></p>
29 29
                 </Col>
30 30
             </Row>
31 31
             <div style={{ textAlign: 'center', marginTop: '40px' }}>

+ 3
- 2
src/pages/funds/accountfunds/components/RechargeOrder.jsx Wyświetl plik

@@ -89,6 +89,7 @@ function RechargeOrder(props) {
89 89
             dataIndex: 'amount',
90 90
             key: 'amount',
91 91
             align: 'center',
92
+            render: x => <><span>{x / 100 || ''}</span></>,
92 93
         },
93 94
         {
94 95
             title: '充值方式',
@@ -116,7 +117,7 @@ function RechargeOrder(props) {
116 117
             dataIndex: 'tradingStatus',
117 118
             key: 'tradingStatus',
118 119
             align: 'center',
119
-            render: (x, row) => <><span>{row.tradingStatus == 'processing' ? '待支付' : (row.tradingStatus == 'success' ? '已支付' : '已超时')}</span></>,
120
+            render: (x, row) => <><span>{row.tradingStatus == 'processing' ? '待支付' : (row.tradingStatus == 'success' ? '已支付' : '失败')}</span></>,
120 121
         },
121 122
         {
122 123
             title: '支付时间',
@@ -192,7 +193,7 @@ function RechargeOrder(props) {
192 193
                             <Option value="">全部</Option>
193 194
                             <Option value="processing">待支付</Option>
194 195
                             <Option value="success">已支付</Option>
195
-                            <Option value="fail">已超时</Option>
196
+                            <Option value="fail">失败</Option>
196 197
                         </Select>,
197 198
                     )}
198 199
                 </Form.Item>

+ 2
- 1
src/pages/funds/financialContact/index.jsx Wyświetl plik

@@ -50,13 +50,14 @@ function financialContact(props) {
50 50
             dataIndex: 'sex',
51 51
             key: 'sex',
52 52
             align: 'center',
53
+            render: x => <span>{x == 1 ? '男' : x === 2 ? '女' : '未知'}</span >,
53 54
         },
54 55
         {
55 56
             title: '头像',
56 57
             dataIndex: 'avatar',
57 58
             key: 'avatar',
58 59
             align: 'center',
59
-            render: (x, row) => <img src={row.qrCodeUrl} alt="" width="100px"></img >,
60
+            render: (x, row) => <img src={row.avatar} alt="" width="50px"></img >,
60 61
         },
61 62
         {
62 63
             title: '固话',

+ 35
- 3
src/pages/h5SampleManager/h5Sample/addH5.jsx Wyświetl plik

@@ -7,10 +7,13 @@ import apis from '../../../services/apis';
7 7
 import request from '../../../utils/request';
8 8
 import AuthButton from '@/components/AuthButton';
9 9
 import ImageUploader from '../../../components/XForm/ImageUpload';
10
+import BuildSelect from '../../../components/SelectButton/BuildSelect2'
10 11
 
11 12
 const header = props => {
12 13
     const sampleId = props.location.query.id;
13 14
 
15
+    const [data, setData] = useState({})
16
+
14 17
     const [visible, setVisible] = useState(false)
15 18
     // const sampleName = props.location.query.sampleName;
16 19
     // const [sampleData, setSampleData] = useState({})
@@ -50,8 +53,8 @@ const header = props => {
50 53
                 values.fromH5Sample = true
51 54
                 request({ ...apis.activity.addtaDrainage, data: { ...values } }).then(data => {
52 55
                     message.info('操作成功')
53
-
54
-
56
+                    setData(data)
57
+                    setVisible(true)
55 58
 
56 59
                 }).catch(err => {
57 60
                     message.error(err.msg || err.message)
@@ -117,6 +120,26 @@ const header = props => {
117 120
         }
118 121
     };
119 122
 
123
+    const toH5Edit = () => {
124
+        router.push({
125
+            pathname: '/activity/drainage/h5edit',
126
+            query: {
127
+                id: data.activityId,
128
+                name: data.name,
129
+                drainageId: data.drainageId,
130
+            },
131
+        });
132
+    }
133
+
134
+    const toDrainageDetail = () => {
135
+        router.push({
136
+            pathname: '/activity/drainage/DetailDrainage',
137
+            query: {
138
+                drainageId: data.drainageId,
139
+            },
140
+        });
141
+    }
142
+
120 143
     const { getFieldDecorator } = props.form;
121 144
 
122 145
     return (
@@ -132,6 +155,11 @@ const header = props => {
132 155
                         ],
133 156
                     })(<Input placeholder="H5活动名称" />)}
134 157
                 </Form.Item>
158
+                <Form.Item label="选择项目">
159
+                    {getFieldDecorator('buildingId')(
160
+                        <BuildSelect />,
161
+                    )}
162
+                </Form.Item>
135 163
                 <Form.Item label="下架时间">
136 164
                     {getFieldDecorator('endDate', {
137 165
                         // initialValue: formsdate.endDate ? moment(formsdate.endDate, 'YYYY-MM-DD HH:mm:ss') : null,
@@ -181,7 +209,6 @@ const header = props => {
181 209
             <Button onClick={() => router.go(-1)}>取消</Button>
182 210
                 </Form.Item>
183 211
             </Form>
184
-            {/* <Button onClick={() => setVisible(true)}>234</Button> */}
185 212
             <Modal
186 213
                 title="新增成功"
187 214
                 visible={visible}
@@ -193,6 +220,11 @@ const header = props => {
193 220
             // maskClosable={false}
194 221
             >
195 222
                 建议修改内容以适合您的项目,若有红包等需要消费的内容,请到资金管理中查看余额是否充足
223
+                <div style={{ width: '300px', margin: '30px auto', display: 'flex', justifyContent: 'space-between' }}>
224
+                    <Button type="primary" style={{ width: '140px' }} onClick={toH5Edit}>修改配置</Button>
225
+
226
+                    <Button style={{ width: '140px' }} onClick={toDrainageDetail}>查看H5活动详情</Button>
227
+                </div>
196 228
             </Modal>
197 229
         </>
198 230
     )