Browse Source

请求数据逻辑编写

1002884655 4 years ago
parent
commit
1781a28e9e
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      src/pages/HuiQuanYi/index.vue
  2. 1
    1
      src/pages/HuiShengHuo/index.vue

+ 2
- 2
src/pages/HuiQuanYi/index.vue View File

@@ -72,12 +72,12 @@ export default {
72 72
       this.RequestNum = 0
73 73
       this.EmptyQuanYiBanner() // 清空荟权益banner
74 74
       this.EmptyYeZhuZiXunList() // 清空业主资讯列表
75
-      this.GetHuiQuanYiBanner({ queryData: { pageNum: 1, pageSize: 10, position: 'right' } }).then(() => { // 获取荟权益banner
75
+      this.GetHuiQuanYiBanner({ queryData: { pageNum: 1, pageSize: 10, position: 'rights' } }).then(() => { // 获取荟权益banner
76 76
         this.CheckRequestNum(2) // 判断请求接口个数
77 77
       }).catch(() => {
78 78
         this.CheckRequestNum(2) // 判断请求接口个数
79 79
       })
80
-      this.GetYeZhuZiXunList({ queryData: { pageNum: 1, pageSize: 10, typeId: 1 } }).then(() => { // 获取业主资讯列表
80
+      this.GetYeZhuZiXunList({ queryData: { pageNum: 1, pageSize: 10 } }).then(() => { // 获取业主资讯列表
81 81
         this.CheckRequestNum(2) // 判断请求接口个数
82 82
       }).catch(() => {
83 83
         this.CheckRequestNum(2) // 判断请求接口个数

+ 1
- 1
src/pages/HuiShengHuo/index.vue View File

@@ -104,7 +104,7 @@ export default {
104 104
       this.EmptyIndexBanner() // 清空首页banner
105 105
       this.EmptyPhotoList() // 清空照片墙列表
106 106
       this.EmptyActivityList() // 清空活动列表
107
-      this.GetIndexBanner({ queryData: { pageNum: 1, pageSize: 10, position: 'left' } }).then(() => { // 获取首页banner
107
+      this.GetIndexBanner({ queryData: { pageNum: 1, pageSize: 10, position: 'life' } }).then(() => { // 获取首页banner
108 108
         this.CheckRequestNum(2) // 判断请求接口个数
109 109
       }).catch(() => {
110 110
         this.CheckRequestNum(2) // 判断请求接口个数