傅行帆 5 years ago
parent
commit
58e63dc3bb

+ 1
- 1
src/pages/carouselFigure/SelectActivity.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 getActivities = fetch(apis.activity.list)
5
+const getActivities = fetch(apis.activity.listSelected)
6
 
6
 
7
 export default (props) => {
7
 export default (props) => {
8
   const {
8
   const {

+ 2
- 0
src/pages/carouselFigure/SelectH5.jsx View File

24
       params: {
24
       params: {
25
         pageNum: 1,
25
         pageNum: 1,
26
         pageSize: 999,
26
         pageSize: 999,
27
+        isMiniapp: 1,
28
+        status: 1,
27
       },
29
       },
28
     }).then(data => {
30
     }).then(data => {
29
       setList(data.records || [])
31
       setList(data.records || [])

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

28
         buildingId,
28
         buildingId,
29
         pageNum: 1,
29
         pageNum: 1,
30
         pageSize: 999,
30
         pageSize: 999,
31
+        status: 1,
31
       },
32
       },
32
     }).then(data => {
33
     }).then(data => {
33
       setList(data.records || [])
34
       setList(data.records || [])

+ 1
- 0
src/pages/carouselFigure/SelectNews.jsx View File

25
         buildingId,
25
         buildingId,
26
         pageNum: 1,
26
         pageNum: 1,
27
         pageSize: 999,
27
         pageSize: 999,
28
+        newsStatus: 0,
28
       },
29
       },
29
     }).then(data => {
30
     }).then(data => {
30
       setList(data.records || [])
31
       setList(data.records || [])

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

393
         url: `${prefix}/iBuildingDynamicList`,
393
         url: `${prefix}/iBuildingDynamicList`,
394
         action: 'admin.iBuildingDynamicList.get',
394
         action: 'admin.iBuildingDynamicList.get',
395
       },
395
       },
396
+      listSelected: {
397
+        method: 'GET',
398
+        url: `${prefix}/iBuildingDynamicSelected`,
399
+        action: 'admin.iBuildingDynamicList.get',
400
+      },
396
       weight: {
401
       weight: {
397
         method: 'PUT',
402
         method: 'PUT',
398
         url: `${prefix}/buildingDynamic/weight`,
403
         url: `${prefix}/buildingDynamic/weight`,