From dabf68b07eaabe29afea171eafb647557d8f26db Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Tue, 5 Jul 2022 18:39:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +- components/loading/index.vue | 56 ++ components/long_audio/long_audio.vue | 462 ------------ pages/center/Piabodata/Groupcontrast.vue | 13 +- pages/center/Piabodata/StaffAnalysis.vue | 11 + pages/center/Piabodata/Theteamcompared.vue | 13 + pages/center/Piabodata/TrendAnalysis.vue | 21 +- pages/center/Piabodata/Userinsightinto.vue | 12 + pages/center/Piabodata/index.vue | 30 +- pages/center/consumer/consumerDetail.vue | 807 ++++++++++++--------- pages/center/consumer/index.vue | 14 +- pages/center/prohibited/index.vue | 20 +- pages/center/records/index.vue | 19 +- pages/index/customer.vue | 64 +- pages/index/index.vue | 28 +- pages/mine/details2.vue | 15 +- pages/mine/reception/consultant.vue | 105 +-- 17 files changed, 774 insertions(+), 920 deletions(-) create mode 100644 components/loading/index.vue delete mode 100644 components/long_audio/long_audio.vue diff --git a/App.vue b/App.vue index dc6f904..8960578 100644 --- a/App.vue +++ b/App.vue @@ -6,7 +6,6 @@ onLaunch(options) { uni.getSystemInfo({ success: function(e) { - console.log(e, 'adjsakljdklasjdklsakjdslakjd') // #ifdef MP-WEIXIN Vue.prototype.StatusBar = e.statusBarHeight; let custom = wx.getMenuButtonBoundingClientRect(); @@ -19,7 +18,8 @@ return { StatusBar: Vue.prototype.StatusBar, CustomBar: Vue.prototype.CustomBar, - windowHeight: Vue.prototype.windowHeight + windowHeight: Vue.prototype.windowHeight, + LOADING: false }; }, diff --git a/components/loading/index.vue b/components/loading/index.vue new file mode 100644 index 0000000..bd62863 --- /dev/null +++ b/components/loading/index.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/components/long_audio/long_audio.vue b/components/long_audio/long_audio.vue deleted file mode 100644 index 83efd82..0000000 --- a/components/long_audio/long_audio.vue +++ /dev/null @@ -1,462 +0,0 @@ - - - - - diff --git a/pages/center/Piabodata/Groupcontrast.vue b/pages/center/Piabodata/Groupcontrast.vue index 4b95049..0704eb2 100644 --- a/pages/center/Piabodata/Groupcontrast.vue +++ b/pages/center/Piabodata/Groupcontrast.vue @@ -208,6 +208,10 @@ + + + + @@ -215,7 +219,11 @@ var app = getApp(); var util = require("../../../utils/util.js"); var config = require("../../../config"); + import loading from "@/components/loading/index.vue" export default { + components: { + loading + }, data() { return { activeTotal: 4, @@ -312,6 +320,7 @@ }; }, onLoad() { + this.LOADING = true let that = this uni.$on('updateGroup', function(data) { console.log(data) @@ -354,7 +363,6 @@ this.getdata() // console.log(this.staffList,this.staffList,this.houseId) }) - }, //指标执行率分析tab tapspagek2(index) { @@ -437,6 +445,7 @@ lastStartDate: this.lastStartDate }) .then(res => { + this.LOADING = false // console.log(res,123) // 处理数据 // return @@ -467,6 +476,8 @@ this.opts.extra.radar.max = max + 25 this.chartData = allobj this.$forceUpdate() + }).catch(e => { + this.LOADING = false }) }, //自定义时间 diff --git a/pages/center/Piabodata/StaffAnalysis.vue b/pages/center/Piabodata/StaffAnalysis.vue index cf3cedf..0d38586 100644 --- a/pages/center/Piabodata/StaffAnalysis.vue +++ b/pages/center/Piabodata/StaffAnalysis.vue @@ -120,10 +120,17 @@ + + +