dingxin 5 年前
父节点
当前提交
ecf759f03e
共有 4 个文件被更改,包括 20 次插入25 次删除
  1. 1
    1
      config/routes.js
  2. 1
    1
      src/pages/activity/drainage/Detail.jsx
  3. 2
    2
      src/pages/activity/helpActivity/edithelpActivity.jsx
  4. 16
    21
      src/services/apis.js

+ 1
- 1
config/routes.js 查看文件

292
               },
292
               },
293
               {
293
               {
294
                 path: '/activity/helpActivity/edithelpActivity',
294
                 path: '/activity/helpActivity/edithelpActivity',
295
-                name: '新增',
295
+                name: '编辑',
296
                 hideInMenu: true,
296
                 hideInMenu: true,
297
                 component: './activity/helpActivity/edithelpActivity',
297
                 component: './activity/helpActivity/edithelpActivity',
298
               },
298
               },

+ 1
- 1
src/pages/activity/drainage/Detail.jsx 查看文件

146
     
146
     
147
       <div>
147
       <div>
148
         {/* H5项目名称 */}
148
         {/* H5项目名称 */}
149
-        {}  <Button type="primary" style={{ marginLeft: '30px', float: 'right', marginTop: '30px',marginBottom: '30px' }} onClick={excelPort}>导出数据</Button>
149
+        {}  <Button type="primary" style={{ marginLeft: '30px', float: 'right', marginTop: '30px', marginBottom: '30px' ,zIndex: 1}} onClick={excelPort}>导出数据</Button>
150
         <Table columns={columns} dataSource={datas}  pagination={false} />
150
         <Table columns={columns} dataSource={datas}  pagination={false} />
151
         <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
151
         <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
152
        <Pagination showQuickJumper defaultCurrent={1} total={total.total} onChange={(e) => changePageNum(e)} />
152
        <Pagination showQuickJumper defaultCurrent={1} total={total.total} onChange={(e) => changePageNum(e)} />

+ 2
- 2
src/pages/activity/helpActivity/edithelpActivity.jsx 查看文件

81
         }
81
         }
82
 
82
 
83
         // 判断助力人数不得超过200
83
         // 判断助力人数不得超过200
84
-        if (values.helpNum > 200) {
85
-          message.error('限制助力人数不能超过200')
84
+        if (values.personNum > 200) {
85
+          message.error('助力邀请人数不能超过200')
86
           return
86
           return
87
         }
87
         }
88
 
88
 

+ 16
- 21
src/services/apis.js 查看文件

461
         method: 'PUT',
461
         method: 'PUT',
462
         action: 'admin.taDrainage.id.put',
462
         action: 'admin.taDrainage.id.put',
463
       },
463
       },
464
-      taDrainageRecord:{
464
+      taDrainageRecord: {
465
         url: `${prefix}/taDrainageRecord`,
465
         url: `${prefix}/taDrainageRecord`,
466
         method: 'GET',
466
         method: 'GET',
467
         action: 'admin.taDrainageRecord.get',
467
         action: 'admin.taDrainageRecord.get',
468
       },
468
       },
469
-      exporttaDrainageRecord:{
469
+      exporttaDrainageRecord: {
470
         url: `${prefix}/taDrainageRecord/export`,
470
         url: `${prefix}/taDrainageRecord/export`,
471
         method: 'GET',
471
         method: 'GET',
472
-        action: 'admin.taDrainageRecord/export.get',
473
-      }
472
+        action: 'admin.taDrainageRecord.export.get',
473
+      },
474
   },
474
   },
475
   integralMall: {
475
   integralMall: {
476
     tdPointsRules: {
476
     tdPointsRules: {
612
       method: 'POST',
612
       method: 'POST',
613
       action: 'admin.taBuildingReport.add.post',
613
       action: 'admin.taBuildingReport.add.post',
614
     },
614
     },
615
-    documentVerifylist:{
615
+    documentVerifylist: {
616
       url: `${prefix}/documentVerify`,
616
       url: `${prefix}/documentVerify`,
617
       method: 'GET',
617
       method: 'GET',
618
       action: 'admin.documentVerify.get',
618
       action: 'admin.documentVerify.get',
619
     },
619
     },
620
-    documentVerifyDetail:{
620
+    documentVerifyDetail: {
621
       url: `${prefix}/documentVerify/:id`,
621
       url: `${prefix}/documentVerify/:id`,
622
       method: 'GET',
622
       method: 'GET',
623
       action: 'admin.documentVerify.id.get',
623
       action: 'admin.documentVerify.id.get',
733
   list: {
733
   list: {
734
     url: `${prefix}/helpActivity/list`,
734
     url: `${prefix}/helpActivity/list`,
735
     method: 'GET',
735
     method: 'GET',
736
-    action: 'admin.taRole.get',
737
-  },
738
-  effectiveList: {
739
-    url: `${prefix}/helpActivityEffective/list`,
740
-    method: 'GET',
741
-    action: 'admin.helpActivityEffective.get',
736
+    action: 'admin.helpActivity.get',
742
   },
737
   },
743
   add: {
738
   add: {
744
     url: `${prefix}/helpActivity/add`,
739
     url: `${prefix}/helpActivity/add`,
745
     method: 'post',
740
     method: 'post',
746
-    action: 'admin.taRole.get',
741
+    action: 'admin.helpActivity.add.post',
747
   },
742
   },
748
   details: {
743
   details: {
749
     url: `${prefix}/helpActivity/details`,
744
     url: `${prefix}/helpActivity/details`,
750
     method: 'get',
745
     method: 'get',
751
-    action: 'admin.taRole.get',
746
+    action: 'admin.helpActivity.details.get',
752
   },
747
   },
753
   update: {
748
   update: {
754
     url: `${prefix}/helpActivity/update`,
749
     url: `${prefix}/helpActivity/update`,
755
     method: 'put',
750
     method: 'put',
756
-    action: 'admin.taRole.get',
751
+    action: 'admin.helpActivity.update.put',
757
   },
752
   },
758
   top: {
753
   top: {
759
     url: `${prefix}/top/update`,
754
     url: `${prefix}/top/update`,
760
     method: 'post',
755
     method: 'post',
761
-    action: 'admin.taRole.get',
756
+    action: 'admin.top.update.post',
762
   },
757
   },
763
   record: {
758
   record: {
764
     url: `${prefix}/helpRecord`,
759
     url: `${prefix}/helpRecord`,
765
     method: 'get',
760
     method: 'get',
766
-    action: 'admin.taRole.get',
761
+    action: 'admin.helpRecord.get',
767
   },
762
   },
768
   helpPeopleDetails: {
763
   helpPeopleDetails: {
769
     url: `${prefix}/taHelpRecord/details`,
764
     url: `${prefix}/taHelpRecord/details`,
770
     method: 'get',
765
     method: 'get',
771
-    action: 'admin.taRole.get',
766
+    action: 'admin.taHelpRecord.details.get',
772
   },
767
   },
773
   verification: {
768
   verification: {
774
     url: `${prefix}/helpInitiateRecordVerify`,
769
     url: `${prefix}/helpInitiateRecordVerify`,
775
     method: 'post',
770
     method: 'post',
776
-    action: 'admin.taRole.get',
771
+    action: 'admin.helpInitiateRecordVerify.get',
777
   },
772
   },
778
   HelpInitiateRecordSucceed: {
773
   HelpInitiateRecordSucceed: {
779
     url: `${prefix}/HelpInitiateRecordSucceed/export`,
774
     url: `${prefix}/HelpInitiateRecordSucceed/export`,
780
     method: 'get',
775
     method: 'get',
781
-    action: 'admin.taRole.get',
776
+    action: 'admin.HelpInitiateRecordSucceed.export.get',
782
   },
777
   },
783
   gethelpRecordExport: {
778
   gethelpRecordExport: {
784
     url: `${prefix}/helpRecord/export`,
779
     url: `${prefix}/helpRecord/export`,
785
     method: 'get',
780
     method: 'get',
786
-    action: 'admin.taRole.get',
781
+    action: 'admin.helpRecord.export.get',
787
   },
782
   },
788
  },
783
  },
789
  groupActivity: {
784
  groupActivity: {