dingxin před 5 roky
rodič
revize
ecf759f03e

+ 1
- 1
config/routes.js Zobrazit soubor

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

+ 1
- 1
src/pages/activity/drainage/Detail.jsx Zobrazit soubor

@@ -146,7 +146,7 @@ const header = (props) => {
146 146
     
147 147
       <div>
148 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 150
         <Table columns={columns} dataSource={datas}  pagination={false} />
151 151
         <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
152 152
        <Pagination showQuickJumper defaultCurrent={1} total={total.total} onChange={(e) => changePageNum(e)} />

+ 2
- 2
src/pages/activity/helpActivity/edithelpActivity.jsx Zobrazit soubor

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

+ 16
- 21
src/services/apis.js Zobrazit soubor

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