lancer 3 년 전
부모
커밋
8b858e4f72
9개의 변경된 파일88개의 추가작업 그리고 61개의 파일을 삭제
  1. +2
    -2
      config.js
  2. +1
    -1
      pages/center/Piabodata/Groupcontrast.vue
  3. +10
    -10
      pages/center/Piabodata/StaffAnalysis.vue
  4. +14
    -14
      pages/center/Piabodata/Theteamcompared.vue
  5. +12
    -6
      pages/center/Piabodata/TrendAnalysis.vue
  6. +41
    -24
      pages/center/Piabodata/index.vue
  7. +3
    -1
      pages/learning/Thefulltext/index.vue
  8. +3
    -1
      pages/learning/Thefulltext/index2.vue
  9. +2
    -2
      utils/http.js

+ 2
- 2
config.js 파일 보기

@@ -2,9 +2,9 @@
* 小程序配置文件
*/
// 此处主机域名修改成腾讯云解决方案分配的域名
var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站
// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站
// var host = 'http://192.168.31.163:8080/autoSR/api'; // 长龙
// var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪
var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪
// var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式
// var host = 'https://hfju.com/api'; // 数智正式


+ 1
- 1
pages/center/Piabodata/Groupcontrast.vue 파일 보기

@@ -135,7 +135,7 @@
<view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
<view class="single">
<view class="title" style="padding-right: 30rpx;">
<view class="title1" style="flex: 1;">销能力(TOP10)</view>
<view class="title1" style="flex: 1;">销能力(TOP10)</view>
<view class="title2" style="flex: 1;justify-content: flex-end;" @click="Groupcontrast">
<view class="title2-che">楼盘
<image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>


+ 10
- 10
pages/center/Piabodata/StaffAnalysis.vue 파일 보기

@@ -42,8 +42,8 @@
<view class="title1" style="flex: 1;">接待量</view>
</view>
<view class="hejibox">
<view class="heji" v-if="timepickpickisshow">{{staff2.label}}:{{ newAvg1||0}}</view>
<view class="heji">{{staff1.label}}:{{newTeam1||0}}</view>
<view class="heji" v-if="timepickpickisshow">{{staff2.label}}:{{newAvg1||0}}</view>
</view>
<view class="danwei">来访(人)</view>
<view class="uchaserbox">
@@ -61,7 +61,7 @@
<view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
<view class="single">
<view class="title">
<view class="title1" style="flex: 1;">接待客户</view>
<view class="title1" style="flex: 1;">录音时长</view>
<view class="title3" style="flex: 1;">
<!-- <view class="title3-box" style="width: 40%;" @click="tabtimetap1(0)">
<view style="height: 42rpx;" :class="{ activecltab: activeTotal2 == 0 }">有效录音</view>
@@ -72,8 +72,8 @@
</view>
</view>
<view class="hejibox">
<view class="heji">{{staff1.label}}:{{newTeam2||0}}</view>
<view class="heji" v-if="timepickpickisshow">{{staff2.label}}:{{newAvg2||0}}</view>
<view class="heji">{{staff1.label}}:{{ newTeam2||0}}</view>
</view>
<view class="danwei">录音时长</view>
<view class="uchaserbox">
@@ -91,7 +91,7 @@
<view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
<view class="single">
<view class="title">
<view class="title1" style="flex: 1;">销奖趋势</view>
<view class="title1" style="flex: 1;">销讲执行率</view>
<view class="title3" style="flex: 1;">
<!-- <view class="title3-box" style="width: 40%;" @click="tabtimetap1(0)">
<view style="height: 42rpx;" :class="{ activecltab: activeTotal2 == 0 }">有效录音</view>
@@ -102,10 +102,10 @@
</view>
</view>
<view class="hejibox">
<view class="heji" v-if="timepickpickisshow">{{staff2.label}}:{{newAvg3||0}}</view>
<view class="heji">{{staff1.label}}:{{newTeam3||0}}</view>
<view class="heji" v-if="timepickpickisshow">{{staff2.label}}:{{newAvg3||0}}</view>
</view>
<view class="danwei">录音时长</view>
<!-- <view class="danwei">录音时长</view> -->
<view class="uchaserbox">
<qiun-data-charts
type="line"
@@ -146,7 +146,7 @@
export default {
data() {
return {
timepickpickisshow:false,
timepickpickisshow:true,
totalTimeShow: false,
activeTotal:4,
activeTotal2:1,
@@ -476,7 +476,7 @@
]
first.map(item=>{
this.chartData.categories.push(item.name)
this.chartData.series[0].data.push(item.sumCustomer)
this.chartData.series[0].data.push(item.avgExecutionRate)
})
}else{
this.chartData.series=[
@@ -491,10 +491,10 @@
]
first.map(item=>{
this.chartData.categories.push(item.name)
this.chartData.series[0].data.push(item.sumCustomer)
this.chartData.series[0].data.push(item.avgExecutionRate)
})
second.map(item=>{
this.chartData.series[1].data.push(item.sumCustomer)
this.chartData.series[1].data.push(item.avgExecutionRate)
})
}


+ 14
- 14
pages/center/Piabodata/Theteamcompared.vue 파일 보기

@@ -53,8 +53,8 @@
</view>
</view>
<view class="hejibox">
<view class="heji">{{!staff1.value?'团队':staff1.label}}:{{newTeam1||0}}</view>
<view class="heji">{{!staff2.value?'均':staff2.label}}:{{newAvg1||0}}</view>
<view class="heji">{{!staff1.value?'团队总数':staff1.label}}:{{newTeam1||0}}</view>
<view class="heji">{{!staff2.value?'团队平均':staff2.label}}:{{newAvg1||0}}</view>
</view>
<view class="" v-if=" eharTab.active1 == 1 ">
<view class="danwei">接待量</view>
@@ -99,8 +99,8 @@
</view>
</view>
<view class="hejibox">
<view class="heji">{{!staff1.value?'团队':staff1.label}}:{{newTeam2||0}}</view>
<view class="heji">{{!staff2.value?'均':staff2.label}}:{{newAvg2||0}}</view>
<view class="heji">{{!staff1.value?'团队总数':staff1.label}}:{{newTeam2||0}}</view>
<view class="heji">{{!staff2.value?'团队平均':staff2.label}}:{{newAvg2||0}}</view>
</view>
<view class="" v-if=" eharTab.active2 == 1 ">
<view class="danwei">录音时长</view>
@@ -131,7 +131,7 @@
<view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
<view class="single">
<view class="title">
<view class="title1" style="flex: 1;">销执行率</view>
<view class="title1" style="flex: 1;">销执行率</view>
<view class="title3" style="flex: 1;">
<view class="title3-box" @click="tabtimetap3(0)">
<view style="height: 42rpx;" :class="{ activecltab: eharTab.active3 == 0 }">排名</view>
@@ -145,8 +145,8 @@
</view>
</view>
<view class="hejibox">
<view class="heji">{{!staff1.value?'团队':staff1.label}}:{{newTeam3||0}}</view>
<view class="heji">{{!staff2.value?'均':staff2.label}}:{{newAvg3||0}}</view>
<view class="heji">{{!staff1.value?'团队总数':staff1.label}}:{{newTeam3||0}}</view>
<view class="heji">{{!staff2.value?'团队平均':staff2.label}}:{{newAvg3||0}}</view>
</view>
<view class="" v-if=" eharTab.active3 == 1 ">
<view class="danwei">执行率</view>
@@ -208,9 +208,9 @@
<view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
<view class="single">
<view class="title" style="padding-right: 30rpx;">
<view class="title1" style="flex: 1;">销能力</view>
<view class="title1" style="flex: 1;">销能力</view>
<view class="title2" style="flex: 1;justify-content: flex-end;" @click="goTeam">
<view class="title2-che">楼盘
<view class="title2-che">团队
<image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
</view>
</view>
@@ -801,7 +801,7 @@
result[0].map(item=>{
let obj={}
obj.name=item.deptName
obj.zxl=item.receptionCount
obj.zxl=item.data
this['newlisttabinfo'+index].push(obj)
})
}
@@ -811,7 +811,7 @@
result[0].map(item=>{
let obj={}
obj.name=item.deptName
obj.zxl=item.receptionCount
obj.zxl=item.data
this['newlisttabinfo'+index].push(obj)
})
// 判断是否显示平均
@@ -820,7 +820,7 @@
result[1].map(item=>{
let obj={}
obj.name='平均'
obj.zxl=item.receptionCount
obj.zxl=item.data
this['newlisttabinfo'+index].push(obj)
})
}
@@ -830,13 +830,13 @@
result[0].map(item=>{
let obj={}
obj.name=item.deptName
obj.zxl=item.receptionCount
obj.zxl=item.data
this['newlisttabinfo'+index].push(obj)
})
result[1].map(item=>{
let obj={}
obj.name=item.deptName
obj.zxl=item.receptionCount
obj.zxl=item.data
this['newlisttabinfo'+index].push(obj)
})
}


+ 12
- 6
pages/center/Piabodata/TrendAnalysis.vue 파일 보기

@@ -171,11 +171,11 @@
</view>
</view>
</view>
<view class="table" v-if="guwenFlag">
<scroll-view style="" scroll-x="true">
<view class="table" v-if="guwenFlag" style="width: 100%;">
<scroll-view style="width:750rpx;" scroll-x="true">
<view v-for="(item,index) in tableDate" :key="index">
<view class="tr">
<view v-for="(item1,index1) in item" :key="index1" style="width: 100%;">
<view v-for="(item1,index1) in item" :key="index1" class="trd">
<view v-if="index==1&&index1>0" class="td" :style="{color:item1*1>0?'red':'green'}"
style="border-right:1px solid #E0E0E0;">{{item1==0?'--':item1+'%'}}</view>
<view v-else-if="index>1&&index1>0" class="td" style="border-right:1px solid #E0E0E0;">
@@ -1117,12 +1117,13 @@

.tr {
display: flex;
width: 100%;
// width: 100%;
justify-content: center;
height: 64rpx;
align-items: center;
border-bottom: 1px solid #E0E0E0;

flex-wrap: nowrap;
.td {
text-align: center;
font-size: 24rpx;
@@ -1130,8 +1131,13 @@
color: #333333;
height: 64rpx;
line-height: 64rpx;
// flex-shrink: 0;
}
.trd{
flex-shrink: 0;
width: 200rpx;
}

.th {
height: 64rpx;
text-align: center;


+ 41
- 24
pages/center/Piabodata/index.vue 파일 보기

@@ -75,7 +75,7 @@
<view class="heji">合计:50</view>
<view class="heji">均值:25</view>
</view> -->
<view class="danwei">来访(人)</view>
<!-- <view class="danwei">来访(人)</view> -->
<view class="uchaserbox">
<qiun-data-charts
type="line"
@@ -170,16 +170,19 @@
<view class="heji">合计:50</view>
<view class="heji">均值:25</view>
</view> -->

<view class="jindu">
<view class="jindu-box" v-for="(item,index) in newlisttabinfo" :key="index">
<view class="jindu-boxche">
<view class="jindu-name">{{item.name.substring(0, 4)}}</view>
<view style="width: 440rpx;margin-left: 10rpx;">
<u-line-progress height="24" :show-percent="false" active-color="#4FC78F" :percent="item.zxl"></u-line-progress>
<scroll-view style="height: 300rpx;" scroll-y="true" >
<view class="jindu-box" v-for="(item,index) in newlisttabinfo" :key="index">
<view class="jindu-boxche">
<view class="jindu-name">{{item.name.substring(0, 4)}}</view>
<view style="width: 440rpx;margin-left: 10rpx;">
<u-line-progress height="24" :show-percent="false" active-color="#4FC78F" :percent="item.zxl"></u-line-progress>
</view>
<view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}%</view>
</view>
<view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}%</view>
</view>
</view>
</scroll-view>
</view>
</view>
@@ -194,15 +197,18 @@
</u-tabs-swiper>
</view>
<view class="jindu">
<view class="jindu-box" v-for="(item,index) in newlisttabinfo1" :key="index">
<view class="jindu-boxche">
<view class="jindu-name">{{item.name.substring(0, 4)}}</view>
<view style="width: 440rpx;margin-left: 10rpx;">
<u-line-progress height="24" :show-percent="false" active-color="#4FC78F" :percent="item.zxl"></u-line-progress>
<scroll-view style="height: 300rpx;" scroll-y="true" >
<view class="jindu-box" v-for="(item,index) in newlisttabinfo1" :key="index">
<view class="jindu-boxche">
<view class="jindu-name">{{item.name.substring(0, 4)}}</view>
<view style="width: 440rpx;margin-left: 10rpx;">
<u-line-progress height="24" :show-percent="false" active-color="#4FC78F" :percent="item.zxl"></u-line-progress>
</view>
<view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}%</view>
</view>
<view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}%</view>
</view>
</view>
</scroll-view>
</view>
</view>
@@ -268,13 +274,8 @@
]
},
lineOptsect1:{
"categories": ["2016","2017","2018","2019","2020","2021"],
"series": [
{
"name": "成交量",
"data": [35,8,25,37,4,20]
}
]
"categories": [],
"series": []
},
lineOptsect2:{
"categories": ["2016","2017","2018","2019","2020","2021"],
@@ -449,8 +450,9 @@
},
// 员工销奖趋势
getAward(){
if(!this.staff.value){
if(this.staffList.length==0){
this.staffFlag=false
this.$forceUpdate()
return
}
this.$u.post('/cusLvStatistics/employeeAnalysisExacutiveRate',{
@@ -482,8 +484,9 @@
},
// 团队接待趋势
receptionCountList(){
if(!this.team.value){
if(this.teamList.length==0){
this.teamFlag=false
this.$forceUpdate()
return
}
this.$u.post('/cusLvStatistics/teamAnalysisExecutionRate',{
@@ -621,6 +624,13 @@
},
//团队对比
Theteamcompared(){
if(this.teamList.length==0){
uni.showToast({
title:'没有团队呢',
icon:'none'
})
return
}
uni.navigateTo({
url: '/pages/center/Piabodata/Theteamcompared'
});
@@ -639,6 +649,13 @@
},
//员工分析
toStaffAnalysis(){
if(this.staffList.length==0){
uni.showToast({
title:'没有团队呢',
icon:'none'
})
return
}
uni.navigateTo({
url: '/pages/center/Piabodata/StaffAnalysis'
});


+ 3
- 1
pages/learning/Thefulltext/index.vue 파일 보기

@@ -197,6 +197,7 @@
num: 0, //上拉 转写文件下标
Bnum: 0, //下拉 转写文件下标
status:0,
timer:null
};
},
onLoad: function(options) {
@@ -206,7 +207,7 @@
// 当进入页面时调一次接口添加浏览量
this.getView()
let that=this
setTimeout(function(){
this.timer=setTimeout(function(){
that.addHot()
},30000)
},
@@ -232,6 +233,7 @@
},
// 在组件实例被从页面节点树移除时执行
destroyed: function() {
clearTimeout(this.timer)
if (this.innerAudioContext) {
this.innerAudioContext.destroy();
}


+ 3
- 1
pages/learning/Thefulltext/index2.vue 파일 보기

@@ -223,6 +223,7 @@
itemobj:{},
textindex:0,//下拉 转写文件下标
toptextindex:0,//上拉 转写文件下标
timer:null
};
},
onLoad: function(options) {
@@ -236,7 +237,7 @@
// 当进入页面时调一次接口添加浏览量
this.getView()
let that=this
setTimeout(function(){
this.timer=setTimeout(function(){
that.addHot()
},30000)
},
@@ -267,6 +268,7 @@
},
// 在组件实例被从页面节点树移除时执行
destroyed: function() {
clearTimeout(this.timer)
if (this.innerAudioContext) {
this.innerAudioContext.destroy();
}


+ 2
- 2
utils/http.js 파일 보기

@@ -1,7 +1,7 @@

const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站
// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站
// const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪
const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式


불러오는 중...
취소
저장