周立森 5 years ago
parent
commit
b950738fac

+ 1
- 1
config/routes.js View File

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
               },

+ 2
- 2
src/pages/activity/helpActivity/edithelpActivity.jsx View File

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
 

+ 3
- 2
src/pages/building/list/index.jsx View File

274
         <Form.Item>
274
         <Form.Item>
275
           {getFieldDecorator('marketStatus')(
275
           {getFieldDecorator('marketStatus')(
276
             <Select style={{ width: '180px' }} placeholder="销售状态" onChange={handleSelectChange}>
276
             <Select style={{ width: '180px' }} placeholder="销售状态" onChange={handleSelectChange}>
277
-              <Option value="1">已销售</Option>
278
-              <Option value="0">未销售</Option>
277
+                <Option value="待定">待定</Option>
278
+                <Option value="在售">在售</Option>
279
+                <Option value="售完">售完</Option>
279
             </Select>,
280
             </Select>,
280
           )}
281
           )}
281
         </Form.Item>
282
         </Form.Item>

+ 15
- 20
src/services/apis.js View File

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',
472
         action: 'admin.taDrainageRecord.export.get',
473
-      }
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: {