Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

270 строки
8.2 KiB

  1. <template>
  2. <view class="box">
  3. <view class="boxtittab">
  4. <view class="tabbox">
  5. <view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">今日</view>
  6. </view>
  7. <view class="tabbox">
  8. <view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">昨日</view>
  9. </view>
  10. <view class="tabbox">
  11. <view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">近一周</view>
  12. </view>
  13. <view class="tabbox">
  14. <view :class="{ activecllasscet: activeTotal == 3 }" @click="tabtimetap(3)">自定义</view>
  15. </view>
  16. </view>
  17. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  18. <view class="single">
  19. <view class="title">
  20. <view class="title1">接待量(TOP10)</view>
  21. </view>
  22. <view class="hejibox">
  23. <view class="heji">合计:50</view>
  24. <view class="heji">均值:25</view>
  25. </view>
  26. <view class="jindu">
  27. <view class="jindu-box" v-for="(item,index) in newlisttabinfo" :key="index">
  28. <view class="jindu-boxche">
  29. <view class="jindu-name">{{item.name.substring(0, 4)}}</view>
  30. <view style="width: 440rpx;margin-left: 10rpx;">
  31. <u-line-progress height="24" :show-percent="false" active-color="#FBA448" :percent="item.zxl"></u-line-progress>
  32. </view>
  33. <view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}</view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  39. <view class="single">
  40. <view class="title">
  41. <view class="title1">接待时长(TOP10)</view>
  42. </view>
  43. <view class="hejibox">
  44. <view class="heji">合计:50</view>
  45. <view class="heji">均值:25</view>
  46. </view>
  47. <view class="jindu">
  48. <view class="jindu-box" v-for="(item,index) in newlisttabinfo" :key="index">
  49. <view class="jindu-boxche">
  50. <view class="jindu-name">{{item.name.substring(0, 4)}}</view>
  51. <view style="width: 440rpx;margin-left: 10rpx;">
  52. <u-line-progress height="24" :show-percent="false" active-color="#4FC78F" :percent="item.zxl"></u-line-progress>
  53. </view>
  54. <view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}</view>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  60. <view class="single">
  61. <view class="title">
  62. <view class="title1" style="flex: 1;">销讲排名(TOP10)</view>
  63. <view class="title3" style="flex: 1;">
  64. <view class="title3-box">
  65. <view style="height: 42rpx;" :class="{ activecltab: activeTotal2 == 0 }">执行率</view>
  66. </view>
  67. <view class="title3-box">
  68. <view style="height: 42rpx;" :class="{ activecltab: activeTotal2 == 1 }">得分</view>
  69. </view>
  70. </view>
  71. </view>
  72. <view class="hejibox">
  73. <view class="heji">合计:50</view>
  74. <view class="heji">均值:25</view>
  75. </view>
  76. <view class="jindu">
  77. <view class="jindu-box" v-for="(item,index) in newlisttabinfo" :key="index">
  78. <view class="jindu-boxche">
  79. <view class="jindu-name">{{item.name.substring(0, 4)}}</view>
  80. <view style="width: 440rpx;margin-left: 10rpx;">
  81. <u-line-progress height="24" :show-percent="false" active-color="#9B6BDF" :percent="item.zxl"></u-line-progress>
  82. </view>
  83. <view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}</view>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  89. <view class="single">
  90. <view class="title">
  91. <view class="title1" style="flex: 1;">顾问排名(TOP10)</view>
  92. <view class="title3" style="flex: 1;">
  93. <view class="title3-box">
  94. <view style="height: 42rpx;" :class="{ activecltab: activeTotal2 == 0 }">执行率</view>
  95. </view>
  96. <view class="title3-box">
  97. <view style="height: 42rpx;" :class="{ activecltab: activeTotal2 == 1 }">得分</view>
  98. </view>
  99. </view>
  100. </view>
  101. <view class="hejibox">
  102. <view class="heji">合计:50</view>
  103. <view class="heji">均值:25</view>
  104. </view>
  105. <view class="jindu">
  106. <view class="jindu-box" v-for="(item,index) in newlisttabinfo" :key="index">
  107. <view class="jindu-boxche">
  108. <view class="jindu-name">{{item.name.substring(0, 4)}}</view>
  109. <view style="width: 440rpx;margin-left: 10rpx;">
  110. <u-line-progress height="24" :show-percent="false" active-color="#9B6BDF" :percent="item.zxl"></u-line-progress>
  111. </view>
  112. <view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}</view>
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  118. <view class="single">
  119. <view class="title" style="padding-right: 30rpx;">
  120. <view class="title1" style="flex: 1;">违禁能力(TOP10)</view>
  121. <view class="title2" style="flex: 1;justify-content: flex-end;">
  122. <view class="title2-che">楼盘
  123. <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
  124. </view>
  125. </view>
  126. </view>
  127. <view class="hejibox">
  128. <view class="heji">合计:50</view>
  129. <view class="heji">均值:25</view>
  130. </view>
  131. <view class="uchaserbox">
  132. <qiun-data-charts
  133. type="radar"
  134. :chartData="chartData"
  135. :canvas2d="true"
  136. canvasId="wangxiaohuaerlingeryilingwuyib88"
  137. background="none"
  138. />
  139. </view>
  140. </view>
  141. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  142. <view class="single">
  143. <view class="title">
  144. <view class="title1">禁忌执行率(TOP10)</view>
  145. </view>
  146. <view class="hejibox">
  147. <view class="heji">合计:50</view>
  148. <view class="heji">均值:25</view>
  149. </view>
  150. <view class="jindu">
  151. <view class="jindu-box" v-for="(item,index) in newlisttabinfo" :key="index">
  152. <view class="jindu-boxche">
  153. <view class="jindu-name">{{item.name.substring(0, 4)}}</view>
  154. <view style="width: 440rpx;margin-left: 10rpx;">
  155. <u-line-progress height="24" :show-percent="false" active-color="#E6625B" :percent="item.zxl"></u-line-progress>
  156. </view>
  157. <view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}%</view>
  158. </view>
  159. </view>
  160. </view>
  161. </view>
  162. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  163. <view class="single">
  164. <view class="title" style="padding-right: 30rpx;">
  165. <view class="title1" style="flex: 1;">违禁能力(TOP10)</view>
  166. <view class="title2" style="flex: 1;justify-content: flex-end;">
  167. <view class="title2-che">楼盘
  168. <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
  169. </view>
  170. </view>
  171. </view>
  172. <view class="hejibox">
  173. <view class="heji">合计:50</view>
  174. <view class="heji">均值:25</view>
  175. </view>
  176. <view class="uchaserbox">
  177. <qiun-data-charts
  178. type="radar"
  179. :chartData="chartData"
  180. :canvas2d="true"
  181. canvasId="wangxiaohuaerlingeryilingwuyib89"
  182. background="none"
  183. />
  184. </view>
  185. </view>
  186. <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
  187. </view>
  188. </template>
  189. <script>
  190. var app = getApp();
  191. var util = require("../../../utils/util.js");
  192. var config = require("../../../config");
  193. export default {
  194. data() {
  195. return {
  196. activeTotal: 2,
  197. activeTotal2: 0,
  198. bocindex:0,
  199. totalTimeShow: false,
  200. newlisttabinfo:[
  201. {name:'接待量',zxl:'10'},
  202. {name:'平均执行率',zxl:'50'},
  203. {name:'接待客户',zxl:'80'},
  204. ],
  205. chartData:{
  206. "categories": ["维度1","维度2","维度3","维度4","维度5","维度6"],
  207. "series": [
  208. {
  209. "name": "成交量",
  210. "data": [90,110,165,195,187,172]
  211. }
  212. ]
  213. }
  214. };
  215. },
  216. onLoad() {
  217. },
  218. methods: {
  219. //指标执行率分析tab
  220. tapspagek2(index) {
  221. this.bocindex = index;
  222. },
  223. //时间切换
  224. tabtimetap(index) {
  225. if (index == 3) {
  226. this.totalTimeShow = true;
  227. } else {
  228. this.activeTotal = index;
  229. }
  230. },
  231. //自定义时间
  232. totalTimeChange(e) {
  233. console.log(e.startDate, e.endDate)
  234. this.activeTotal=3;
  235. },
  236. //集团对比
  237. Groupcontrast(){
  238. uni.navigateTo({
  239. url: '/pages/center/Piabodata/Groupcontrast'
  240. });
  241. }
  242. }
  243. };
  244. </script>
  245. <style lang="scss" scoped>
  246. .box {
  247. width: 100%;
  248. height: 100%;
  249. background: #FAFAFA;
  250. padding-bottom: 60rpx;
  251. }
  252. </style>