周立森 hace 5 años
padre
commit
b950738fac

+ 1
- 1
config/routes.js Ver fichero

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

+ 2
- 2
src/pages/activity/helpActivity/edithelpActivity.jsx Ver fichero

@@ -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
 

+ 3
- 2
src/pages/building/list/index.jsx Ver fichero

@@ -274,8 +274,9 @@ function body(props) {
274 274
         <Form.Item>
275 275
           {getFieldDecorator('marketStatus')(
276 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 280
             </Select>,
280 281
           )}
281 282
         </Form.Item>

+ 15
- 20
src/services/apis.js Ver fichero

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