|
|
@@ -77,9 +77,15 @@ |
|
|
|
<view class="heji">均值:25</view> |
|
|
|
</view> --> |
|
|
|
<view class="danwei">{{danwei}} </view> |
|
|
|
<view class="uchaserbox" > |
|
|
|
<qiun-data-charts type="line" :chartData="lineOptsect" :opts="optionsobj" background="none" :ontouch="true" |
|
|
|
canvasId="wangxiaohuaerlingilingwuyiba1" :canvas2d="true" /> |
|
|
|
<view class="uchaserbox"> |
|
|
|
<template v-if="danwei == '单位(%)'"> |
|
|
|
<qiun-data-charts type="line" :chartData="lineOptsect" :opts="lineOpts" background="none" |
|
|
|
:ontouch="true" canvasId="wangxiaohuaerlingilingwuyiba1" :canvas2d="true" /> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<qiun-data-charts type="line" :chartData="lineOptsect" background="none" :ontouch="true" |
|
|
|
canvasId="wangxiaohuaerlingilingwuyiba1" :canvas2d="true" /> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
@@ -93,13 +99,13 @@ |
|
|
|
<view class="title2-che" style="width: 220rpx;">{{team.label}} |
|
|
|
<image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="danwei">单位(%)</view> |
|
|
|
<view class="uchaserbox"> |
|
|
|
<qiun-data-charts type="line" :chartData="lineOptsect1" background="none" :ontouch="true" |
|
|
|
canvasId="wangxiaohuaerlineryiliwuyibao" :canvas2d="true" /> |
|
|
|
canvasId="wangxiaohuaerlineryiliwuyibao" :canvas2d="true" :opts="lineOpts" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@@ -124,8 +130,8 @@ |
|
|
|
</view> --> |
|
|
|
<view class="danwei">单位(%)</view> |
|
|
|
<view class="uchaserbox"> |
|
|
|
<qiun-data-charts type="line" :chartData="lineOptsect2" background="none" :ontouch="true" |
|
|
|
canvasId="wangxiaohuaerlingeryilingwuyibao" :canvas2d="true" /> |
|
|
|
<qiun-data-charts type="line" :chartData="lineOptsect2" background="none" :ontouch="true" |
|
|
|
canvasId="wangxiaohuaerlingeryilingwuyibao" :canvas2d="true" :opts="lineOpts" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@@ -147,7 +153,8 @@ |
|
|
|
<view class="heji">合计:50</view> |
|
|
|
<view class="heji">均值:25</view> |
|
|
|
</view> --> |
|
|
|
<view style="width: 100%;height: 300rpx;text-align: center;line-height: 300rpx;" v-if="newlisttabinfo.length==0">暂无数据</view> |
|
|
|
<view style="width: 100%;height: 300rpx;text-align: center;line-height: 300rpx;" |
|
|
|
v-if="newlisttabinfo.length==0">暂无数据</view> |
|
|
|
<view v-else class="jindu" style="margin-top: 20rpx;"> |
|
|
|
<scroll-view style="height: 300rpx;" scroll-y="true"> |
|
|
|
<view class="jindu-box" v-for="(item,index) in newlisttabinfo" :key="index"> |
|
|
@@ -175,7 +182,8 @@ |
|
|
|
:is-scroll="true"> |
|
|
|
</u-tabs-swiper> |
|
|
|
</view> |
|
|
|
<view style="width: 100%;height: 300rpx;text-align: center;line-height: 300rpx;" v-if="newlisttabinfo1.length==0">暂无数据</view> |
|
|
|
<view style="width: 100%;height: 300rpx;text-align: center;line-height: 300rpx;" |
|
|
|
v-if="newlisttabinfo1.length==0">暂无数据</view> |
|
|
|
<view class="jindu" v-else> |
|
|
|
<scroll-view style="height: 300rpx;" scroll-y="true"> |
|
|
|
<view class="jindu-box" v-for="(item,index) in newlisttabinfo1" :key="index"> |
|
|
@@ -314,7 +322,15 @@ |
|
|
|
Groupcontrastisshow: false, |
|
|
|
allechar: [], |
|
|
|
allList: [], |
|
|
|
optionsobj:{} |
|
|
|
|
|
|
|
lineOpts: { |
|
|
|
yAxis: { |
|
|
|
data: [{ |
|
|
|
max: 100, |
|
|
|
min: 0, |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
}; |
|
|
|
}, |
|
|
|
onShow() { |
|
|
@@ -336,21 +352,21 @@ |
|
|
|
// 获取维度 |
|
|
|
this.getindexZxl() |
|
|
|
}, |
|
|
|
onPullDownRefresh(){ |
|
|
|
onPullDownRefresh() { |
|
|
|
// 获取员工 |
|
|
|
this.getStaffList() |
|
|
|
// 获取团队 |
|
|
|
this.getSectionList() |
|
|
|
// 获取团队是否显示权限 |
|
|
|
|
|
|
|
|
|
|
|
// 获取简报 |
|
|
|
this.getReport() |
|
|
|
// 获取接待趋势 |
|
|
|
this.getRtrent() |
|
|
|
// 获取维度 |
|
|
|
this.getindexZxl() |
|
|
|
setTimeout(function () { |
|
|
|
uni.stopPullDownRefresh(); |
|
|
|
setTimeout(function() { |
|
|
|
uni.stopPullDownRefresh(); |
|
|
|
}, 1000); |
|
|
|
}, |
|
|
|
methods: { |
|
|
@@ -634,6 +650,7 @@ |
|
|
|
} |
|
|
|
this.bocindex = index; |
|
|
|
this.lineOptsect = allobj |
|
|
|
this.$forceUpdate() |
|
|
|
}, |
|
|
|
tapspagek3(index) { |
|
|
|
let arr = [] |
|
|
|