魏熙美 5 years ago
parent
commit
371625eb31

+ 1
- 1
src/pages/carouselFigure/SelectGroup.jsx View File

2
 import { Select, Modal } from 'antd';
2
 import { Select, Modal } from 'antd';
3
 import { apis, fetch } from '../../utils/request';
3
 import { apis, fetch } from '../../utils/request';
4
 
4
 
5
-const getGroupList = fetch(apis.groupActivity.list)
5
+const getGroupList = fetch(apis.groupActivity.EffectiveList)
6
 
6
 
7
 export default props => {
7
 export default props => {
8
   const {
8
   const {

+ 1
- 1
src/pages/carouselFigure/SelectHelp.jsx View File

2
 import { Select, Modal } from 'antd';
2
 import { Select, Modal } from 'antd';
3
 import { apis, fetch } from '../../utils/request';
3
 import { apis, fetch } from '../../utils/request';
4
 
4
 
5
-const getHelpList = fetch(apis.helpActivity.list)
5
+const getHelpList = fetch(apis.helpActivity.effectiveList)
6
 
6
 
7
 export default props => {
7
 export default props => {
8
   const {
8
   const {

+ 10
- 0
src/services/apis.js View File

739
     method: 'GET',
739
     method: 'GET',
740
     action: 'admin.taRole.get',
740
     action: 'admin.taRole.get',
741
   },
741
   },
742
+  effectiveList: {
743
+    url: `${prefix}/helpActivityEffective/list`,
744
+    method: 'GET',
745
+    action: 'admin.helpActivityEffective.get',
746
+  },
742
   add: {
747
   add: {
743
     url: `${prefix}/helpActivity/add`,
748
     url: `${prefix}/helpActivity/add`,
744
     method: 'post',
749
     method: 'post',
791
     method: 'get',
796
     method: 'get',
792
     action: 'admin.taShareActivity.list.get',
797
     action: 'admin.taShareActivity.list.get',
793
   },
798
   },
799
+  EffectiveList: {
800
+    url: `${prefix}/taShareActivityEffective/list`,
801
+    method: 'get',
802
+    action: 'admin.taShareActivityEffective.list.get',
803
+  },
794
   add: {
804
   add: {
795
     url: `${prefix}/taShareActivity`,
805
     url: `${prefix}/taShareActivity`,
796
     method: 'post',
806
     method: 'post',