From 98753cf12ab08f2510bc8355c2d43161a8e3ecf7 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Thu, 7 Jul 2022 19:53:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/consumer/consumerDetail.vue | 2 +- pages/index/consumer/index.vue | 40 +++++++----------------- utils/domain.js | 2 +- 3 files changed, 13 insertions(+), 31 deletions(-) diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue index f671ff7..283ac23 100644 --- a/pages/center/consumer/consumerDetail.vue +++ b/pages/center/consumer/consumerDetail.vue @@ -29,7 +29,7 @@ - 顾问姓名:{{customerInfo.ownerName||'--'}} + 顾问姓名:{{customerInfo.agentName||'--'}} 客户标签: diff --git a/pages/index/consumer/index.vue b/pages/index/consumer/index.vue index 2b00774..1b8b42d 100644 --- a/pages/index/consumer/index.vue +++ b/pages/index/consumer/index.vue @@ -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() { diff --git a/utils/domain.js b/utils/domain.js index 47b3f30..78dda99 100644 --- a/utils/domain.js +++ b/utils/domain.js @@ -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使用