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
       this.RequestNum = 0
72
       this.RequestNum = 0
73
       this.EmptyQuanYiBanner() // 清空荟权益banner
73
       this.EmptyQuanYiBanner() // 清空荟权益banner
74
       this.EmptyYeZhuZiXunList() // 清空业主资讯列表
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
         this.CheckRequestNum(2) // 判断请求接口个数
76
         this.CheckRequestNum(2) // 判断请求接口个数
77
       }).catch(() => {
77
       }).catch(() => {
78
         this.CheckRequestNum(2) // 判断请求接口个数
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
         this.CheckRequestNum(2) // 判断请求接口个数
81
         this.CheckRequestNum(2) // 判断请求接口个数
82
       }).catch(() => {
82
       }).catch(() => {
83
         this.CheckRequestNum(2) // 判断请求接口个数
83
         this.CheckRequestNum(2) // 判断请求接口个数

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

104
       this.EmptyIndexBanner() // 清空首页banner
104
       this.EmptyIndexBanner() // 清空首页banner
105
       this.EmptyPhotoList() // 清空照片墙列表
105
       this.EmptyPhotoList() // 清空照片墙列表
106
       this.EmptyActivityList() // 清空活动列表
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
         this.CheckRequestNum(2) // 判断请求接口个数
108
         this.CheckRequestNum(2) // 判断请求接口个数
109
       }).catch(() => {
109
       }).catch(() => {
110
         this.CheckRequestNum(2) // 判断请求接口个数
110
         this.CheckRequestNum(2) // 判断请求接口个数