| @@ -277,7 +277,7 @@ | |||||
| .swiper-box { | .swiper-box { | ||||
| width: 97%; | width: 97%; | ||||
| margin: 0 auto 38rpx; | |||||
| margin: 0 auto 26rpx; | |||||
| } | } | ||||
| .hejibox { | .hejibox { | ||||
| @@ -50,7 +50,7 @@ | |||||
| </view> | </view> | ||||
| <view class="danwei">来访(人)</view> | <view class="danwei">来访(人)</view> | ||||
| <view class="uchaserbox"> | <view class="uchaserbox"> | ||||
| <qiun-data-charts v-if="isShow" type="line" :opts="lineOpts1" :chartData="lineOptsect" background="none" :ontouch="true" | |||||
| <qiun-data-charts v-if="isShow" type="line" :chartData="lineOptsect" background="none" :ontouch="true" | |||||
| canvasId="wangxiaohuaerlingeryilingwuyibbb" :canvas2d="true" /> | canvasId="wangxiaohuaerlingeryilingwuyibbb" :canvas2d="true" /> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| @@ -80,7 +80,7 @@ | |||||
| </view> | </view> | ||||
| <view class="danwei">录音时长</view> | <view class="danwei">录音时长</view> | ||||
| <view class="uchaserbox"> | <view class="uchaserbox"> | ||||
| <qiun-data-charts v-if="isShow" type="line" :opts="lineOpts1" :chartData="lineOptsect1" background="none" :ontouch="true" | |||||
| <qiun-data-charts v-if="isShow" type="line" :chartData="lineOptsect1" background="none" :ontouch="true" | |||||
| canvasId="wangxiaouaerlingeryilingwuyibhh" :canvas2d="true" /> | canvasId="wangxiaouaerlingeryilingwuyibhh" :canvas2d="true" /> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| @@ -110,7 +110,7 @@ | |||||
| </view> | </view> | ||||
| <view class="uchaserbox"> | <view class="uchaserbox"> | ||||
| <qiun-data-charts v-if="isShow" type="line" :chartData="lineOptsect2" background="none" :ontouch="true" | <qiun-data-charts v-if="isShow" type="line" :chartData="lineOptsect2" background="none" :ontouch="true" | ||||
| canvasId="wangxiaohuaerlingryilingwuyibhh" :canvas2d="true" :opts="lineOpts1" /> | |||||
| canvasId="wangxiaohuaerlingryilingwuyibhh" :canvas2d="true" :opts="lineOpts" /> | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| @@ -215,31 +215,14 @@ | |||||
| } | } | ||||
| } | } | ||||
| }, | }, | ||||
| lineOpts: { | lineOpts: { | ||||
| // enableScroll: true, | |||||
| // xAxis: { | |||||
| // disableGrid: true, | |||||
| // scrollShow: true, | |||||
| // itemCount: 8 | |||||
| // }, | |||||
| yAxis: { | yAxis: { | ||||
| data: [ | |||||
| { | |||||
| max: 100, | |||||
| min: 0, | |||||
| } | |||||
| ] | |||||
| data: [{ | |||||
| max: 100, | |||||
| min: 0, | |||||
| }] | |||||
| } | } | ||||
| }, | }, | ||||
| lineOpts1: { | |||||
| // enableScroll: true, | |||||
| // xAxis: { | |||||
| // disableGrid: true, | |||||
| // scrollShow: true, | |||||
| // itemCount: 8 | |||||
| // } | |||||
| }, | |||||
| isShow: true, // 默认都展示 | isShow: true, // 默认都展示 | ||||
| }; | }; | ||||
| }, | }, | ||||
| @@ -101,7 +101,7 @@ | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view v-if="eharTab.active2 == 1 "> | <view v-if="eharTab.active2 == 1 "> | ||||
| <view class="danwei">录音时长</view> | |||||
| <view class="danwei">录音时长 (min)</view> | |||||
| <view class="uchaserbox"> | <view class="uchaserbox"> | ||||
| <template v-if="lineOptsect2"> | <template v-if="lineOptsect2"> | ||||
| <qiun-data-charts type="line" :opts="lineOpts1" :chartData="lineOptsect2" background="none" :ontouch="true" | <qiun-data-charts type="line" :opts="lineOpts1" :chartData="lineOptsect2" background="none" :ontouch="true" | ||||
| @@ -135,7 +135,7 @@ | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view v-if="eharTab.active3 == 1 "> | <view v-if="eharTab.active3 == 1 "> | ||||
| <view class="danwei">执行率</view> | |||||
| <view class="danwei">执行率 (%)</view> | |||||
| <view class="uchaserbox"> | <view class="uchaserbox"> | ||||
| <template v-if="lineOptsect3"> | <template v-if="lineOptsect3"> | ||||
| <qiun-data-charts type="line" :chartData="lineOptsect3" background="none" :ontouch="true" | <qiun-data-charts type="line" :chartData="lineOptsect3" background="none" :ontouch="true" | ||||
| @@ -809,7 +809,7 @@ | |||||
| }) | }) | ||||
| } | } | ||||
| } else { | } else { | ||||
| // console.log(3) | |||||
| console.log(311111) | |||||
| // 当两个都选择的时候 | // 当两个都选择的时候 | ||||
| res.first.map((item, index) => { | res.first.map((item, index) => { | ||||
| let obj = { | let obj = { | ||||
| @@ -158,7 +158,7 @@ | |||||
| </view> | </view> | ||||
| <view class="single"> | <view class="single"> | ||||
| <!-- <view class="danwei" style="margin-top: 10rpx;">销讲词执行率</view> --> | |||||
| <view class="danwei" style="margin: 20rpx 0" v-if="newactiveTotal==0||newactiveTotal==4">单位(%)</view> | |||||
| <view class="uchaserbox" v-if="lineOptsect.series.length!=0"> | <view class="uchaserbox" v-if="lineOptsect.series.length!=0"> | ||||
| <qiun-data-charts :style="!showCanvas?'display:none':''" :type="linetype" :opts="opts" | <qiun-data-charts :style="!showCanvas?'display:none':''" :type="linetype" :opts="opts" | ||||
| :chartData="lineOptsect" background="none" :ontouch="true" | :chartData="lineOptsect" background="none" :ontouch="true" | ||||
| @@ -338,6 +338,12 @@ | |||||
| scrollShow: true, | scrollShow: true, | ||||
| itemCount: 8 | itemCount: 8 | ||||
| }, | }, | ||||
| yAxis: { | |||||
| data: [{ | |||||
| max: 100, | |||||
| min: 0, | |||||
| }] | |||||
| }, | |||||
| fontSize: 10, | fontSize: 10, | ||||
| extra: { | extra: { | ||||
| radar: { | radar: { | ||||
| @@ -23,7 +23,8 @@ | |||||
| <view class="circle"></view> | <view class="circle"></view> | ||||
| {{item.name}}</view> | {{item.name}}</view> | ||||
| <view class="num u-flex" v-if="item.name==='平均执行率'"> | <view class="num u-flex" v-if="item.name==='平均执行率'"> | ||||
| {{item.num}} <image style="margin-left: 2rpx;width: 28rpx;height: 14rpx" src="../../../static/images/excute.png" mode="" /> | |||||
| {{item.num}} | |||||
| <!-- <image style="margin-left: 2rpx;width: 28rpx;height: 14rpx" src="../../../static/images/excute.png" mode="" /> --> | |||||
| </view> | </view> | ||||
| <view class="num" v-else-if="item.name==='有效接待'">{{item.num||'--'}}</view> | <view class="num" v-else-if="item.name==='有效接待'">{{item.num||'--'}}</view> | ||||
| <view class="num" v-else>{{item.num||0}}</view> | <view class="num" v-else>{{item.num||0}}</view> | ||||
| @@ -53,7 +54,7 @@ | |||||
| :ontouch="true" canvasId="wangxiaohuaerlingilingwuyiba1" :canvas2d="true" /> | :ontouch="true" canvasId="wangxiaohuaerlingilingwuyiba1" :canvas2d="true" /> | ||||
| </template> | </template> | ||||
| <template v-else> | <template v-else> | ||||
| <qiun-data-charts type="line" :opts="lineOpts" :chartData="lineOptsect" background="none" :ontouch="true" | |||||
| <qiun-data-charts type="line" :opts="lineOpts1" :chartData="lineOptsect" background="none" :ontouch="true" | |||||
| canvasId="wangxiaohuaerlingilingwuyiba1" :canvas2d="true" /> | canvasId="wangxiaohuaerlingilingwuyiba1" :canvas2d="true" /> | ||||
| </template> | </template> | ||||
| </view> | </view> | ||||
| @@ -315,6 +316,13 @@ | |||||
| min: 0, | min: 0, | ||||
| }] | }] | ||||
| } | } | ||||
| }, | |||||
| lineOpts1: { | |||||
| xAxis: { | |||||
| disableGrid: true, | |||||
| scrollShow: true, | |||||
| itemCount: 8 | |||||
| } | |||||
| } | } | ||||
| }; | }; | ||||
| }, | }, | ||||