Browse Source

提交

message
douzhuo 2 years ago
parent
commit
98753cf12a
3 changed files with 13 additions and 31 deletions
  1. +1
    -1
      pages/center/consumer/consumerDetail.vue
  2. +11
    -29
      pages/index/consumer/index.vue
  3. +1
    -1
      utils/domain.js

+ 1
- 1
pages/center/consumer/consumerDetail.vue View File

@@ -29,7 +29,7 @@
</view>
</view>
<view class="content-sec-lab">
顾问姓名:<view class="content-sec-lab1">{{customerInfo.ownerName||'--'}}</view>
顾问姓名:<view class="content-sec-lab1">{{customerInfo.agentName||'--'}}</view>
</view>
<view class="content-sec-lab" >
客户标签:


+ 11
- 29
pages/index/consumer/index.vue View File

@@ -398,23 +398,17 @@


onLoad(options) {
// _this = this
// this.isnorefresh = 'refresh';
// this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
// console.log(this.userInfo.showPhoneStatus)
// if (this.isnorefresh == 'refresh') {
// this.buildingID = uni.getStorageSync('buildingID').id;
// this.nextPage = 1;
// this.recordList = []
// this.getFreeList()
// this.getfindKeywordsList()
// this.getFromSource();
// this.isRefresh = false;
// this.getMyCustom()
// }
this.LOADING = true
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
this.buildingID = uni.getStorageSync('buildingID').id;
let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
this.permissions.commonly1 = newmenulist.khgl_ck;
this.permissions.commonly2 = newmenulist.khgl_gj;
_this = this
},

onPullDownRefresh() {
this.LOADING = true
this.nextPage = 1;
this.isRefresh = true;
this.resetFilter()
@@ -430,26 +424,14 @@
},

onShow() {
this.LOADING = true
let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
this.permissions.commonly1 = newmenulist.khgl_ck;
this.permissions.commonly2 = newmenulist.khgl_gj;
_this = this
this.isnorefresh = 'refresh';
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
// console.log(this.userInfo.showPhoneStatus)
this.nextPage = 1;
this.$forceUpdate()
this.recordList = []
this.buildingID = uni.getStorageSync('buildingID').id;
if (this.isnorefresh == 'refresh') {
if (this.isnorefresh != 'refresh') {
this.recordList = []
this.getFreeList()
this.getfindKeywordsList()
this.getFromSource();
this.isRefresh = false;
this.getMyCustom()
} else {
this.getMyCustom()
this.isnorefresh = 'refresh';
}
},
onReachBottom() {


+ 1
- 1
utils/domain.js View File

@@ -3,7 +3,7 @@ const base = 'http://81.70.55.170:9999'; // 测试站
// const base = 'http://192.168.31.148:9999' ;// 泽明
// const base = 'http://192.168.31.86:9999' ;// 胜浩
// const base = 'http://192.168.31.161:9999' // 长龙
// const base = 'https://zanyong.hfju.com';// 正式 AI销管
// const base = 'https://zanyong.hfju.com';// 正式 AI销管// 弃用
// const base = 'https://hxz.quhouse.com';// 正式 AI销讲助手

// http.js使用


Loading…
Cancel
Save