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

2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204
  1. <template>
  2. <view class="cented-box">
  3. <view class="Switchingbox">
  4. <view class="Switching1">
  5. <image class="Switching1-img" src="../../static/images/loupan.png" mode=""></image>
  6. </view>
  7. <view class="Switching2 u-line-1">项目:{{buildingname}}</view>
  8. <view class="Switching4" v-if="buildingishow" @click="piskbuilding()">切换项目</view>
  9. </view>
  10. <view class="title" style="margin-top: 30rpx; display: flex; justify-content: space-between;" v-if="permissions.myisshebei">
  11. <view class="gongpai">
  12. 我的工牌:{{imeiCode||'未绑定'}}
  13. </view>
  14. <view class="" style="color: #2671E2; font-weight: normal;">
  15. <!-- 接待中 -->
  16. {{openFlag=='start'?'接待中':''}}
  17. </view>
  18. </view>
  19. <view v-if="permissions.myisshebei" style="margin-bottom: 20rpx">
  20. <view class="Workcard" v-if="Whetheroffline">
  21. <view class="Workcard-box">
  22. <view class="Workcardimg">
  23. <view class="Workcardimg1">
  24. <view v-if="percentage>20" class="bar" :style="{width : percentage + '%' }"></view>
  25. <view v-if="percentage<20" class="bar1" :style="{width : percentage + '%' }"></view>
  26. </view>
  27. </view>
  28. <view class="Workcardtext">电量:{{percentage}}%</view>
  29. </view>
  30. <view class="Workcard-box">
  31. <view class="Workcardimg">
  32. <image v-if="signalDevice==''" class="Workcardimg2" src="../../static/images/signal0.png"
  33. mode=""></image>
  34. <image v-else-if="signalDevice<20 && signalDevice>0" class="Workcardimg2"
  35. src="../../static/images/signal1.png" mode=""></image>
  36. <image v-else-if="signalDevice<50 && signalDevice>20" class="Workcardimg2"
  37. src="../../static/images/signal2.png" mode=""></image>
  38. <image v-else-if="signalDevice<70 && signalDevice>50" class="Workcardimg2"
  39. src="../../static/images/signal3.png" mode=""></image>
  40. <image v-else-if="signalDevice<90 && signalDevice>70" class="Workcardimg2"
  41. src="../../static/images/signal4.png" mode=""></image>
  42. <image v-else-if="signalDevice<=100 && signalDevice>90" class="Workcardimg2"
  43. src="../../static/images/signal5.png" mode=""></image>
  44. </view>
  45. <view class="Workcardtext">信号:{{signalDevicetext}}</view>
  46. </view>
  47. <view class="Workcard-box">
  48. <view class="Workcardimg">
  49. <image v-if="audioStatus=='true'" class="Workcardimg3"
  50. src="../../static/images/Thtapedrive1.png" mode=""></image>
  51. <image v-if="audioStatus=='false'" class="Workcardimg3"
  52. src="../../static/images/Thtapedrive2.png" mode=""></image>
  53. </view>
  54. <view v-if="audioStatus=='true'" class="Workcardtext">录音:已开启</view>
  55. <view v-if="audioStatus=='false'" class="Workcardtext">录音:未开启</view>
  56. </view>
  57. </view>
  58. <view class="Workcard" v-if="Whetheroffline==false">
  59. <view class="Workcard-box">
  60. <view class="Workcardimg">
  61. <image class="Workcardimg4" src="../../static/images/offline.png" mode=""></image>
  62. </view>
  63. <view class="Workcardtext">设备离线</view>
  64. </view>
  65. </view>
  66. </view>
  67. <!--
  68. <view class="title" v-if="permissions.shebeinum">待处理</view>
  69. <view class="shebenbox" v-if="permissions.shebeinum" >
  70. <view class="shebenche" @click="indexStatus(0)">
  71. <view class="shebenchenum">{{operation.receptionCount || 0}}</view>
  72. <view class="shebenchetext">接待即将结束</view>
  73. </view>
  74. <view class="shebenche" @click="indexStatus(1)">
  75. <view class="shebenchenum">{{operation.accountCount || 0}}</view>
  76. <view class="shebenchetext">未标顾问</view>
  77. </view>
  78. <view class="shebenche" @click="indexStatus(3)">
  79. <view class="shebenchenum">{{operation.forbiddenCount || 0}}</view>
  80. <view class="shebenchetext">违禁提醒</view>
  81. </view>
  82. </view> -->
  83. <!-- 设备总览 -->
  84. <view class="contbox" v-if="permissions.shebeinum">
  85. <view class="title">
  86. <image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" mode="" />
  87. 设备总览</view>
  88. <view class="shebenbox">
  89. <view class="shebenche" @click="tapjumpequipment(0)">
  90. <view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view>
  91. <view class="shebenchetext">设备总数</view>
  92. </view>
  93. <view class="shebenche" @click="tapjumpequipment(1)">
  94. <view class="shebenchenum">{{equipmentobj.onlineNum || 0}}</view>
  95. <view class="shebenchetext">在线</view>
  96. </view>
  97. <view class="shebenche" @click="tapjumpequipment(3)">
  98. <view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view>
  99. <view class="shebenchetext">活跃</view>
  100. </view>
  101. <view class="shebenche" @click="tapjumpequipment(2)">
  102. <view class="shebenchenum" style="color: red;">{{operation.lowPowerNum || 0}}</view>
  103. <view class="shebenchetext">低电工牌</view>
  104. </view>
  105. </view>
  106. </view>
  107. <!-- 今日工作 -->
  108. <view class="contbox" v-if="permissions.shishinum">
  109. <view class="title" ><image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" mode="" />今日工作</view>
  110. <view class="real-timebox">
  111. <view class="timebox">
  112. <view class="real" @click="tapjumpreception('1')">
  113. <view class="realnum u-flex" style="justify-content: center">{{realtimeobj.fraction || 0}}%
  114. <!-- <image class="qushi-icon" src="/static/images/excute.png" mode="" /> -->
  115. </view>
  116. <view class="realtext">平均执行率</view>
  117. </view>
  118. <view class="real" @click="tapjumpreception('11')">
  119. <view class="realnum">{{realtimeobj.receptionCount || 0}}</view>
  120. <view class="realtext">接待量</view>
  121. </view>
  122. <view class="real" @click="tapjumpreception('2')">
  123. <view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view>
  124. <view class="realtext">正在接待</view>
  125. </view>
  126. <view class="real" @click="tapjumpreception('6')">
  127. <view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view>
  128. <view class="realtext">有效接待</view>
  129. </view>
  130. </view>
  131. <view class="timebox" style="margin-bottom:0;">
  132. <view class="real" @click="tapjumpreception('1')">
  133. <view class="realnum">{{realtimeobj.avgDuration|| 0}}min</view>
  134. <view class="realtext">平均接待时长</view>
  135. </view>
  136. <view class="real" @click="tapjumpreception('4')">
  137. <view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
  138. <view class="realtext">未标顾问</view>
  139. </view>
  140. <view class="real">
  141. <view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;">
  142. {{realtimeobj.prohibitedCustomer || 0}}</view>
  143. <view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realtext">违禁预警</view>
  144. </view>
  145. <view class="real">
  146. <view class="realnum"></view>
  147. <view class="realtext"></view>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. <!-- 近30天 -->
  153. <view class="contbox" v-if="permissions.jileinum">
  154. <view class="title">
  155. <image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" mode="" />
  156. <view style="width: 70%;" @click="taptimeisshow">
  157. <!-- 概览 -->
  158. {{choiceIndex}}累计<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  159. </view>
  160. </view>
  161. <!-- <view class="timeshow">统计时间:2022.05.20-2022.05.27</view> -->
  162. <view class="real-timebox" >
  163. <view class="timebox">
  164. <view class="real" @click="tapjumpreception('3')">
  165. <view class="realnum u-flex" style="justify-content: center">{{Thisweekobj.fraction || 0}}%
  166. <!-- <image class="qushi-icon" src="/static/images/qushi-up.png" mode="" /> -->
  167. </view>
  168. <view class="realtext">平均执行率</view>
  169. </view>
  170. <view class="real" @click="tapjumpreception('33')">
  171. <view class="realnum">{{Thisweekobj.receptionCount || 0}}</view>
  172. <view class="realtext">接待量</view>
  173. </view>
  174. <view class="real" @click="tapjumpreception('7')">
  175. <view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view>
  176. <view class="realtext">有效接待</view>
  177. </view>
  178. </view>
  179. <view class="timebox" style="margin-bottom:0;">
  180. <view class="real" @click="tapjumpreception('3')">
  181. <view class="realnum">{{Thisweekobj.avgDuration || 0}}min</view>
  182. <view class="realtext">平均接待时长</view>
  183. </view>
  184. <view class="real" @click="prohibitedtap(2)" v-if="methodsisshow">
  185. <view class="realnum" style="color: red;">{{Thisweekobj.prohibitedCustomer || 0}}</view>
  186. <view class="realtext">违禁预警</view>
  187. </view>
  188. <view class="real" v-else>
  189. <view class="realnum"></view>
  190. <view class="realtext"></view>
  191. </view>
  192. <view class="real">
  193. <view class="realnum"></view>
  194. <view class="realtext"></view>
  195. </view>
  196. </view>
  197. </view>
  198. </view>
  199. <!-- 常用功能 -->
  200. <view class="contbox" >
  201. <view class="title" v-if="permissions.commonly2||permissions.commonly3||permissions.commonly10">
  202. <image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" mode="" />接待管理</view>
  203. <view class="commonly-box">
  204. <view class="commonly" @click="Piabodata('接待记录')" v-if="permissions.commonly2">
  205. <view class="commonly-img">
  206. <image class="commonly-img1" src="https://static.quhouse.com/4649b5bd19124afca0f1a809f93bfd73.png" mode=""></image>
  207. </view>
  208. <view class="commonly-text">接待记录</view>
  209. </view>
  210. <view class="commonly" @click="Piabodata('违禁记录')" v-if="permissions.commonly3">
  211. <view class="commonly-img">
  212. <image class="commonly-img1" src="https://static.quhouse.com/b1dd1da2a969465bbbf41818320b8487.png" mode=""></image>
  213. </view>
  214. <view class="commonly-text">违禁记录</view>
  215. </view>
  216. <view class="commonly" @click="toUserinsightinto()" v-if="permissions.commonly10">
  217. <view class="commonly-img">
  218. <image class="commonly-img1" src="https://static.quhouse.com/c2c2e1af3d5f41d180ec55a04a5d4f26.png" mode=""></image>
  219. </view>
  220. <view class="commonly-text">用户画像</view>
  221. </view>
  222. </view>
  223. <view class="title" v-if="permissions.commonly4||permissions.commonly8||permissions.commonly7||permissions.commonly9">
  224. <image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" mode="" />数据分析</view>
  225. <view class="commonly-box">
  226. <view class="commonly" @click="Piabodata('销讲分析')" v-if="permissions.commonly4">
  227. <view class="commonly-img">
  228. <image class="commonly-img1" src="https://static.quhouse.com/1f01dfa38203493b88d9668a506fdff3.png" mode=""></image>
  229. </view>
  230. <view class="commonly-text">销讲分析</view>
  231. </view>
  232. <view class="commonly" @click="toTrendAnalysis()" v-if="permissions.commonly8">
  233. <view class="commonly-img">
  234. <image class="commonly-img1" src="https://static.quhouse.com/df070b1a2d5e48359c7de5654e4f7a17.png" mode=""></image>
  235. </view>
  236. <view class="commonly-text">销讲趋势</view>
  237. </view>
  238. <view class="commonly" @click="Piabodata('顾问排名')" v-if="permissions.commonly7">
  239. <view class="commonly-img">
  240. <image class="commonly-img1" src="https://static.quhouse.com/f5a6b2d6032348a1b256cfd7083be436.png" mode=""></image>
  241. </view>
  242. <view class="commonly-text">顾问排名</view>
  243. </view>
  244. <view class="commonly" @click="toStaffAnalysis()" v-if="permissions.commonly9">
  245. <view class="commonly-img">
  246. <image class="commonly-img1" src="https://static.quhouse.com/c2d3801540cf4880a68cce0e04eb59b0.png" mode=""></image>
  247. </view>
  248. <view class="commonly-text">员工分析</view>
  249. </view>
  250. </view>
  251. <view class="title" v-if="permissions.commonly11||permissions.commonly12||permissions.commonly5||permissions.commonly6">
  252. <image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" mode="" />团队管理</view>
  253. <view class="commonly-box">
  254. <view class="commonly" @click="Theteamcompared()" v-if="permissions.commonly11">
  255. <view class="commonly-img">
  256. <image class="commonly-img1" src="https://static.quhouse.com/4f5a3a61c06a4508a806eb290ef678e6.png" mode=""></image>
  257. </view>
  258. <view class="commonly-text">团队对比</view>
  259. </view>
  260. <view class="commonly" @click="Groupcontrast()" v-if="permissions.commonly12">
  261. <view class="commonly-img">
  262. <image class="commonly-img1" src="https://static.quhouse.com/759c2e3240e54213827196559ce38fa4.png" mode=""></image>
  263. </view>
  264. <view class="commonly-text">集团对比</view>
  265. </view>
  266. <view class="commonly" @click="Piabodata('设备管理')" v-if="permissions.commonly5">
  267. <view class="commonly-img">
  268. <image class="commonly-img1" src="https://static.quhouse.com/e617133ecbbd46498e30719444fc02e8.png" mode=""></image>
  269. </view>
  270. <view class="commonly-text">设备管理</view>
  271. </view>
  272. <view class="commonly" @click="Piabodata('值班顾问')" v-if="permissions.commonly6">
  273. <view class="commonly-img">
  274. <image class="commonly-img1" src="https://static.quhouse.com/196fcbc7f6aa456cb9dff22cd3753445.png" mode=""></image>
  275. </view>
  276. <view class="commonly-text">值班顾问</view>
  277. </view>
  278. </view>
  279. </view>
  280. <!-- 项目切换 -->
  281. <view v-if="Showhiddenunits">
  282. <u-select :mask-close-able="false" v-model="Showhiddenunits" mode="single-column" :list="lpanlist"
  283. @cancel="cancel" @confirm="confirm"></u-select>
  284. </view>
  285. <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
  286. <u-popup v-model="timeshow" mode="bottom">
  287. <view class="timeview" :style="{ color: zhixingcenterindex == 2 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(2,'近7天')">近7天</view>
  288. <view class="timeview" :style="{ color: zhixingcenterindex == 6 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(6,'近30天')">近30天</view>
  289. <view class="timeview" :style="{ color: zhixingcenterindex == 7 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(7,'自定义')">自定义</view>
  290. </u-popup>
  291. <!-- 底部导航栏 -->
  292. <!-- <u-tabbar :mid-button="false" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> -->
  293. </view>
  294. </template>
  295. <script>
  296. var config = require("../../config");
  297. import tabbarList from '@/utils/tabbar.js'
  298. export default {
  299. data() {
  300. return {
  301. // tabbar配置项
  302. current: 2,
  303. tabbarList: tabbarList,
  304. //--- end --- tabbar配置项
  305. userInfo: {},
  306. Showhiddenunits: false,
  307. lpanlist: [], //项目列表
  308. buildingname: '', //项目名
  309. buildingID: '', //项目id
  310. buildingishow: false, //是否选择项目
  311. // Myworkcard: false,
  312. percentage: '', //设备电量
  313. Whetheroffline: false, //是否离线
  314. signalDevice: 0, //信号
  315. signalDevicetext: "",
  316. imeiCode:'',//设备号
  317. openFlag:'',//接待是否
  318. choiceIndex:'近7天',
  319. audioStatus: false,
  320. equipmentisshow: false,
  321. timeshow:false,
  322. equipmentobj: {
  323. totalNum: '',
  324. onlineNum: '',
  325. activeNum: '',
  326. lowPowerNum: '',
  327. },
  328. operation:{
  329. receptionCount:'',
  330. accountCount:'',
  331. forbiddenCount:'',
  332. lowPowerNum:''
  333. },
  334. Menulist: [],
  335. realtimeobj: {
  336. sumCustomer: '',
  337. receivingCustomer: '',
  338. activeCustomer: '',
  339. prohibitedCustomer: '',
  340. tagCustomer: '',
  341. fraction: '',
  342. receptionCount: ''
  343. },
  344. Thisweekobj: {
  345. sumCustomer: '',
  346. receivingCustomer: '',
  347. activeCustomer: '',
  348. prohibitedCustomer: '',
  349. tagCustomer: '',
  350. fraction: '',
  351. receptionCount: ''
  352. },
  353. methodsisshow: false,
  354. zhixingcenterindex: 2,
  355. totalTimeShow: false,
  356. statDateStart: '',
  357. statDateEnd: '',
  358. permissions: {
  359. commonly1: false,
  360. commonly2: false,
  361. commonly3: false,
  362. commonly4: false,
  363. commonly5: false,
  364. commonly6: false,
  365. commonly7: false,
  366. myisshebei: false,
  367. shebeinum: false,
  368. shishinum: false,
  369. jileinum: false
  370. },
  371. // 标记顾问 bjgw
  372. // 接待无效标记 jdwxbj
  373. // 设为优秀案例 swyxal
  374. // 常错词 ccc
  375. // 校准 xz
  376. // 查看违禁执行 ckwjzx
  377. };
  378. },
  379. components: {},
  380. onLoad() {
  381. this.sendLog()
  382. },
  383. onPullDownRefresh() {
  384. this.getMenu()
  385. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  386. if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
  387. this.methodsisshow = false;
  388. } else {
  389. this.methodsisshow = true;
  390. }
  391. if (this.userInfo.zkProperties.length == 1) {
  392. this.buildingID = uni.getStorageSync('buildingID').id;
  393. this.buildingname = uni.getStorageSync('buildingID').name;
  394. this.buildingishow = false;
  395. } else {
  396. this.buildingishow = true;
  397. this.buildingname = uni.getStorageSync('buildingID').name;
  398. this.buildingID = uni.getStorageSync('buildingID').id;
  399. this.userInfo.zkProperties.forEach(item => {
  400. item.label = item.propertyName;
  401. item.value = item.id
  402. })
  403. this.lpanlist = this.userInfo.zkProperties
  404. }
  405. if (this.userInfo.dataCode == 6) {
  406. // this.Myworkcard = true;
  407. this.equipmentisshow = false;
  408. this.iniodianloang()
  409. } else {
  410. this.equipmentisshow = true;
  411. // this.Myworkcard = false;
  412. this.initequipment()
  413. this.waitForOperation()
  414. }
  415. this.initworkThisWeek()
  416. this.initrealTimeStatistics()
  417. setTimeout(() => {
  418. uni.stopPullDownRefresh()
  419. }, 3000)
  420. },
  421. onShow() {
  422. this.getMenu()
  423. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  424. if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
  425. this.methodsisshow = false;
  426. } else {
  427. this.methodsisshow = true;
  428. }
  429. if (this.userInfo.zkProperties&&this.userInfo.zkProperties.length == 1) {
  430. this.buildingID = uni.getStorageSync('buildingID').id;
  431. this.buildingname = uni.getStorageSync('buildingID').name;
  432. this.buildingishow = false;
  433. uni.setStorageSync('orgCode', this.userInfo.zkProperties[0].orgCode)
  434. } else {
  435. this.buildingishow = true;
  436. this.buildingname = uni.getStorageSync('buildingID').name;
  437. this.buildingID = uni.getStorageSync('buildingID').id;
  438. if(this.userInfo.zkProperties&&this.userInfo.zkProperties.length){
  439. this.userInfo.zkProperties.forEach(item => {
  440. item.label = item.propertyName;
  441. item.value = item.id
  442. })
  443. }
  444. this.lpanlist = this.userInfo.zkProperties
  445. }
  446. if (this.userInfo.dataCode == 6) {
  447. // this.Myworkcard = true;
  448. this.equipmentisshow = false;
  449. this.iniodianloang()
  450. } else {
  451. this.equipmentisshow = true;
  452. // this.Myworkcard = false;
  453. this.initequipment()
  454. this.waitForOperation()
  455. }
  456. this.initworkThisWeek()
  457. this.initrealTimeStatistics()
  458. },
  459. methods: {
  460. indexStatus(i){
  461. if (this.permissions.commonly5 == true) {
  462. if(i==0){
  463. uni.switchTab({
  464. url:"/pages/index/customer"
  465. })
  466. }else if(i==1){
  467. uni.navigateTo({
  468. url: '/pages/center/records/index?refresh=refresh&markAdvisor=0'
  469. });
  470. }else if(i==3){
  471. uni.navigateTo({
  472. url: '/pages/center/prohibited/index?refresh=refresh'
  473. });
  474. }
  475. }
  476. },
  477. sendLog(){
  478. uni.request({
  479. url: config.service.addLog,
  480. method: "POST",
  481. header: {
  482. 'content-type': 'application/json',
  483. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  484. },
  485. data: {
  486. houseId: this.buildingID,
  487. serviceId:"test"
  488. },
  489. success: (data) => {
  490. console.log(data)
  491. }
  492. })
  493. },
  494. //时间选择
  495. tabtimetap(index,str){
  496. this.timeshow=false;
  497. if (index == 7) {
  498. this.totalTimeShow = true;
  499. } else {
  500. console.log(str)
  501. this.choiceIndex=str
  502. this.zhixingcenterindex = index;
  503. this.initworkThisWeek()
  504. }
  505. },
  506. taptimeisshow(){
  507. this.timeshow=true;
  508. },
  509. //获取权限
  510. getMenu() {
  511. uni.request({
  512. url: config.service.getMenu,
  513. method: "POST",
  514. header: {
  515. 'content-type': 'application/json',
  516. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  517. },
  518. success: (data) => {
  519. console.log(data, 'dsadjsakljlkj123kl12321')
  520. let rescor = data.data;
  521. if (rescor.code == 0) {
  522. uni.setStorageSync("weapp_session_Menu_data", rescor.data)
  523. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  524. this.permissions.commonly1 = newmenulist.khgl;
  525. this.permissions.commonly2 = newmenulist.jdjl;
  526. this.permissions.commonly3 = newmenulist.wjjl;
  527. this.permissions.commonly4 = newmenulist.xjfx;
  528. this.permissions.commonly5 = newmenulist.sbgl;
  529. this.permissions.commonly6 = newmenulist.zbgw;
  530. this.permissions.commonly7 = newmenulist.gwpm;
  531. this.permissions.commonly8=newmenulist.lpdb;
  532. this.permissions.commonly9=newmenulist.xjqs;
  533. this.permissions.commonly10=newmenulist.tddb;
  534. this.permissions.commonly11=newmenulist.gwnl;
  535. this.permissions.commonly12=newmenulist.yhhx;
  536. this.permissions.myisshebei = newmenulist.wdsb;
  537. this.permissions.shebeinum = newmenulist.sbtj;
  538. this.permissions.shishinum = newmenulist.sstj;
  539. this.permissions.jileinum = newmenulist.gzlj;
  540. }
  541. }
  542. })
  543. },
  544. //自定义时间
  545. totalTimeChange(e) {
  546. this.statDateStart = e.startDate;
  547. this.statDateEnd = e.endDate;
  548. this.choiceIndex= `${e.startDate.replace(/\-/g, '.')}-${e.endDate.replace(/\-/g, '.')}`
  549. this.zhixingcenterindex = 7;
  550. this.initworkThisWeek()
  551. },
  552. tabtimeclick(i) {
  553. if (i == 7) {
  554. this.totalTimeShow = true;
  555. } else {
  556. this.zhixingcenterindex = i;
  557. this.initworkThisWeek()
  558. }
  559. },
  560. initworkThisWeek() {
  561. uni.request({
  562. url: config.service.workThisWeek,
  563. method: "POST",
  564. header: {
  565. 'content-type': 'application/json',
  566. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  567. },
  568. data: {
  569. houseId: this.buildingID,
  570. dateType: this.zhixingcenterindex == 7 ? null : this.zhixingcenterindex,
  571. statDateStart: this.statDateStart,
  572. statDateEnd: this.statDateEnd
  573. },
  574. success: (data) => {
  575. if (data.data.data == null) {
  576. return
  577. } else {
  578. this.Thisweekobj = {
  579. sumCustomer: data.data.data.sumCustomer,
  580. receivingCustomer: data.data.data.receivingCustomer,
  581. activeCustomer: data.data.data.activeCustomer,
  582. prohibitedCustomer: data.data.data.prohibitedCustomer,
  583. avgDuration: data.data.data.avgDuration || 0,
  584. tagCustomer: data.data.data.tagCustomer,
  585. fraction: data.data.data.fraction,
  586. receptionCount: data.data.data.receptionCount
  587. }
  588. }
  589. }
  590. })
  591. },
  592. //实时统计
  593. initrealTimeStatistics() {
  594. uni.request({
  595. url: config.service.realTimeStatistics,
  596. method: "POST",
  597. header: {
  598. 'content-type': 'application/json',
  599. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  600. },
  601. data: {
  602. houseId: this.buildingID
  603. },
  604. success: (data) => {
  605. if (data.data.data == null) {
  606. return
  607. } else {
  608. this.realtimeobj = {
  609. sumCustomer: data.data.data.sumCustomer,
  610. receivingCustomer: data.data.data.receivingCustomer,
  611. activeCustomer: data.data.data.activeCustomer,
  612. prohibitedCustomer: data.data.data.prohibitedCustomer,
  613. avgDuration: data.data.data.avgDuration || 0,
  614. tagCustomer: data.data.data.tagCustomer,
  615. fraction: data.data.data.fraction,
  616. receptionCount: data.data.data.receptionCount
  617. }
  618. }
  619. }
  620. })
  621. },
  622. //设备
  623. initequipment() {
  624. uni.request({
  625. url: config.service.findEquipmentState,
  626. method: "POST",
  627. header: {
  628. 'content-type': 'application/json',
  629. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  630. },
  631. data: {
  632. propertyId: this.buildingID
  633. },
  634. success: (data) => {
  635. if (data.data.data == null) {
  636. return
  637. } else {
  638. this.equipmentobj = {
  639. totalNum: data.data.data.totalNum,
  640. onlineNum: data.data.data.onlineNum,
  641. activeNum: data.data.data.activeNum,
  642. lowPowerNum: data.data.data.lowPowerNum,
  643. }
  644. }
  645. }
  646. })
  647. },
  648. // 待处理
  649. waitForOperation (){
  650. this.$u.post('/cusLvStatistics/waitForOperation ',{
  651. houseId:this.buildingID
  652. })
  653. .then(res=>{
  654. // console.log(res,'带接待')
  655. this.operation.receptionCount=res.receptionCount
  656. this.operation.accountCount=res.accountCount
  657. this.operation.forbiddenCount=res.forbiddenCount
  658. this.operation.lowPowerNum=res.lowPowerNum
  659. })
  660. },
  661. //我的工牌
  662. iniodianloang() {
  663. uni.request({
  664. url: config.service.findElectricity,
  665. method: "POST",
  666. header: {
  667. 'content-type': 'application/json',
  668. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  669. },
  670. data: {
  671. propertyId: this.buildingID,
  672. accPhone: this.userInfo.username
  673. },
  674. success: (data) => {
  675. if (data.data.data == null) {
  676. return
  677. } else {
  678. this.imeiCode=data.data.data.imei
  679. this.openFlag=data.data.data.recCmd
  680. if (data.data.data > 100) {
  681. this.percentage = 100;
  682. } else {
  683. if (data.data.data.onLine == 0) {
  684. this.Whetheroffline = false;
  685. } else {
  686. this.Whetheroffline = true;
  687. this.percentage = data.data.data.electricity;
  688. this.signalDevice = data.data.data.signalDevice / 1;
  689. console.log(this.signalDevice)
  690. this.audioStatus = data.data.data.simAudioStatus;
  691. if (this.signalDevice > 80) {
  692. this.signalDevicetext = '高';
  693. } else {
  694. if (this.signalDevice == 0) {
  695. this.signalDevicetext = '无';
  696. } else {
  697. this.signalDevicetext = '低';
  698. }
  699. }
  700. }
  701. }
  702. }
  703. }
  704. })
  705. },
  706. //选择项目弹框
  707. piskbuilding() {
  708. // this.Showhiddenunits = true;
  709. uni.navigateTo({
  710. url:"../mine/selectBuilding"
  711. })
  712. },
  713. // 项目选择确认
  714. confirm(e) {
  715. this.buildingname = e[0].label;
  716. this.buildingID = e[0].value;
  717. let lopan = {
  718. id: e[0].value,
  719. name: e[0].label
  720. }
  721. uni.setStorageSync("buildingID", lopan); //项目id写入缓存
  722. uni.setStorageSync("orgCode", e[0].orgCode); //项目id写入缓存
  723. this.initworkThisWeek()
  724. this.initrealTimeStatistics()
  725. this.waitForOperation()
  726. this.initequipment()
  727. this.iniodianloang()
  728. },
  729. // 项目选择取消
  730. cancel() {
  731. this.Showhiddenunits = false;
  732. },
  733. tapjumpequipment(i) {
  734. if (this.permissions.commonly5 == true) {
  735. uni.navigateTo({
  736. url: '/pages/mine/equipment/index?active=' + i
  737. });
  738. }
  739. },
  740. prohibitedtap(i) {
  741. if (i == 1) {
  742. uni.navigateTo({
  743. url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=0'
  744. });
  745. } else {
  746. if (this.zhixingcenterindex == 2) {
  747. uni.navigateTo({
  748. url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=2'
  749. });
  750. } else if (this.zhixingcenterindex == 6) {//近30天
  751. uni.navigateTo({
  752. url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=3'
  753. });
  754. } else {// 自定义时间段
  755. uni.navigateTo({
  756. url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=4&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
  757. });
  758. }
  759. }
  760. },
  761. tapjumpreception(i) {
  762. if (this.permissions.commonly2 == true) {
  763. if (i == 1) {
  764. uni.navigateTo({
  765. url: '/pages/center/records/index?refresh=refresh&activeTotal=0&validInvalid=0'
  766. });
  767. } else if (i == 11) {
  768. uni.navigateTo({
  769. url: '/pages/center/records/index?refresh=refresh&activeTotal=0'
  770. });
  771. } else if (i == 2) {
  772. uni.switchTab({
  773. url: '/pages/index/customer'
  774. });
  775. } else if (i == 3) {
  776. if (this.zhixingcenterindex == 2) {// 近7天
  777. uni.navigateTo({
  778. url: '/pages/center/records/index?refresh=refresh&activeTotal=2&validInvalid=0'
  779. });
  780. } else if (this.zhixingcenterindex == 6) {//近30天
  781. uni.navigateTo({
  782. url: '/pages/center/records/index?refresh=refresh&activeTotal=3&validInvalid=0'
  783. });
  784. } else {// 自定义时间段
  785. uni.navigateTo({
  786. url: '/pages/center/records/index?refresh=refresh&activeTotal=4&validInvalid=0&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
  787. });
  788. }
  789. } else if (i == 33) {
  790. if (this.zhixingcenterindex == 2) {// 近7天
  791. uni.navigateTo({
  792. url: '/pages/center/records/index?refresh=refresh&activeTotal=2'
  793. });
  794. } else if (this.zhixingcenterindex == 6) {//近30天
  795. uni.navigateTo({
  796. url: '/pages/center/records/index?refresh=refresh&activeTotal=3'
  797. });
  798. } else {// 自定义时间段
  799. uni.navigateTo({
  800. url: '/pages/center/records/index?refresh=refresh&activeTotal=4&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
  801. });
  802. }
  803. } else if (i == 6) {
  804. uni.navigateTo({
  805. url: '/pages/center/records/index?refresh=refresh&activeTotal=0&validInvalid=0'
  806. });
  807. } else if (i == 7) {
  808. if (this.zhixingcenterindex == 2) {
  809. uni.navigateTo({
  810. url: '/pages/center/records/index?refresh=refresh&activeTotal=2&validInvalid=0'
  811. });
  812. } else if (this.zhixingcenterindex == 6) {
  813. uni.navigateTo({
  814. url: '/pages/center/records/index?refresh=refresh&activeTotal=3&validInvalid=0'
  815. });
  816. } else {
  817. uni.navigateTo({
  818. url: '/pages/center/records/index?refresh=refresh&activeTotal=4&validInvalid=0&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
  819. });
  820. }
  821. } else {
  822. uni.navigateTo({
  823. url: '/pages/center/records/index?refresh=refresh&activeTotal=0&markAdvisor=0'
  824. });
  825. }
  826. }
  827. },
  828. //集团对比
  829. Groupcontrast() {
  830. uni.navigateTo({
  831. url: '/pages/center/Piabodata/Groupcontrast'
  832. });
  833. },
  834. //团队对比
  835. Theteamcompared() {
  836. // if (this.teamList.length == 0) {
  837. // uni.showToast({
  838. // title: '没有团队呢',
  839. // icon: 'none'
  840. // })
  841. // return
  842. // }
  843. uni.navigateTo({
  844. url: '/pages/center/Piabodata/Theteamcompared'
  845. });
  846. },
  847. //用户洞察
  848. toUserinsightinto() {
  849. uni.navigateTo({
  850. url: '/pages/center/Piabodata/Userinsightinto'
  851. });
  852. },
  853. //趋势分析
  854. toTrendAnalysis() {
  855. uni.navigateTo({
  856. url: '/pages/center/Piabodata/TrendAnalysis'
  857. });
  858. },
  859. //员工分析
  860. toStaffAnalysis() {
  861. // if (this.staffList.length == 0) {
  862. // uni.showToast({
  863. // title: '没有团队呢',
  864. // icon: 'none'
  865. // })
  866. // return
  867. // }
  868. uni.navigateTo({
  869. url: '/pages/center/Piabodata/StaffAnalysis'
  870. });
  871. },
  872. Piabodata(item) {
  873. if (item == '销讲分析') {
  874. uni.navigateTo({
  875. url: '/pages/center/Piabodata/index'
  876. });
  877. } else if (item == '接待记录') {
  878. uni.navigateTo({
  879. url: '/pages/center/records/index?refresh=refresh'
  880. });
  881. } else if (item == '值班顾问') {
  882. uni.navigateTo({
  883. url: '/pages/mine/consultanonduty/index'
  884. });
  885. } else if (item == '设备管理') {
  886. uni.navigateTo({
  887. url: '/pages/mine/equipment/index'
  888. });
  889. } else if (item == '顾问排名') {
  890. uni.navigateTo({
  891. url: '/pages/center/Piabodata/Employeesstatistics'
  892. });
  893. } else if (item == '违禁记录') {
  894. uni.navigateTo({
  895. url: '/pages/center/prohibited/index?refresh=refresh'
  896. });
  897. }else if (item == '日报') {
  898. uni.navigateTo({
  899. url: '/pages/mine/daily/dailyList?refresh=refresh'
  900. });
  901. } else {
  902. uni.navigateTo({
  903. url: '/pages/center/consumer/index?refresh=refresh'
  904. });
  905. }
  906. },
  907. },
  908. };
  909. </script>
  910. <style lang="scss" scoped>
  911. .activecllasscet {
  912. font-size: 28rpx;
  913. font-weight: 400;
  914. color: #008ef2;
  915. }
  916. .cet {
  917. font-size: 28rpx;
  918. font-weight: 400;
  919. color: #333333;
  920. .cetview {
  921. margin-left: 20rpx;
  922. }
  923. }
  924. .cented-box {
  925. padding: 30rpx;
  926. background: #F8F8F8;
  927. width: 100%;
  928. height: 100%;
  929. }
  930. .Switchingbox {
  931. width: 100%;
  932. height: 44rpx;
  933. margin-bottom: 30rpx;
  934. display: flex;
  935. align-items: center;
  936. .Switching1 {
  937. width: 44rpx;
  938. height: 44rpx;
  939. .Switching1-img {
  940. width: 44rpx;
  941. height: 44rpx;
  942. }
  943. }
  944. .Switching2 {
  945. margin: 0 12rpx;
  946. flex:1;
  947. height: 44rpx;
  948. font-size: 32rpx;
  949. font-family: PingFangSC-Medium, PingFang SC;
  950. font-weight: 500;
  951. color: #303030;
  952. line-height: 44rpx;
  953. }
  954. .Switching4 {
  955. width: 112rpx;
  956. font-size: 28rpx;
  957. color: #303030;
  958. font-weight: 400;
  959. text-align: right;
  960. text-decoration: underline;
  961. font-family: PingFangSC-Regular, PingFang SC;
  962. }
  963. }
  964. .gongpai{
  965. margin-bottom: 20rpx;
  966. }
  967. .Workcard {
  968. width: 100%;
  969. background: #FFFFFF;
  970. height: 154rpx;
  971. box-shadow: 0px 0px 12rpx 0px rgba(224, 224, 224, 0.3);
  972. border-radius: 12rpx;
  973. display: flex;
  974. .Workcard-box {
  975. flex: 1;
  976. height: 100%;
  977. .Workcardimg {
  978. width: 100%;
  979. display: flex;
  980. justify-content: center;
  981. margin-top: 42rpx;
  982. .Workcardimg1 {
  983. width: 64rpx;
  984. height: 36rpx;
  985. background-image: url(../../static/images/battery.png);
  986. background-size: 100% 100%;
  987. padding: 8rpx;
  988. transform: rotate(-90deg);
  989. .bar {
  990. background-color: #43CD80;
  991. height: 100%;
  992. border-radius: 4rpx;
  993. }
  994. .bar1 {
  995. background-color: red;
  996. height: 100%;
  997. border-radius: 4rpx;
  998. }
  999. }
  1000. .Workcardimg2 {
  1001. width: 56rpx;
  1002. height: 36rpx;
  1003. }
  1004. .Workcardimg3 {
  1005. width: 34rpx;
  1006. height: 36rpx;
  1007. }
  1008. .Workcardimg4 {
  1009. width: 50rpx;
  1010. height: 40rpx;
  1011. }
  1012. }
  1013. .Workcardtext {
  1014. width: 100%;
  1015. text-align: center;
  1016. font-size: 24rpx;
  1017. font-weight: 400;
  1018. color: #666666;
  1019. margin-top: 20rpx;
  1020. }
  1021. }
  1022. }
  1023. .contbox{
  1024. width: 690rpx;
  1025. background: #FFFFFF;
  1026. border-radius: 12rpx;
  1027. padding: 24rpx 0 30rpx;
  1028. margin-bottom: 20rpx;
  1029. .title {
  1030. height: 42rpx;
  1031. font-size: 30rpx;
  1032. font-family: PingFangSC-Semibold, PingFang SC;
  1033. font-weight: 600;
  1034. color: #333333;
  1035. line-height: 42rpx;
  1036. margin-bottom: 24rpx;
  1037. display: flex;
  1038. align-items: center;
  1039. .title-icon{
  1040. width: 12rpx;
  1041. height: 20rpx;
  1042. margin-right: 18rpx;
  1043. }
  1044. }
  1045. .timeshow{
  1046. height: 40rpx;
  1047. font-size: 28rpx;
  1048. font-family: PingFangSC-Regular, PingFang SC;
  1049. font-weight: 400;
  1050. color: #666666;
  1051. line-height: 40rpx;
  1052. margin: -18rpx 0 24rpx 35rpx ;
  1053. }
  1054. }
  1055. .shebenbox {
  1056. width: 100%;
  1057. display: flex;
  1058. .shebenche {
  1059. width: 25%;
  1060. height: 100%;
  1061. .shebenchenum {
  1062. width: 100%;
  1063. text-align: center;
  1064. height: 50rpx;
  1065. font-size: 44rpx;
  1066. font-family: DINAlternate-Bold, DINAlternate;
  1067. font-weight: bold;
  1068. color: #333333;
  1069. line-height: 50rpx;
  1070. }
  1071. .shebenchetext {
  1072. width: 100%;
  1073. color: #666666;
  1074. text-align: center;
  1075. margin-top: 8rpx;
  1076. height: 32rpx;
  1077. font-size: 24rpx;
  1078. font-family: PingFangSC-Regular, PingFang SC;
  1079. font-weight: 400;
  1080. line-height: 32rpx;
  1081. }
  1082. }
  1083. }
  1084. //今日工作
  1085. .real-timebox {
  1086. width: 100%;
  1087. .timebox {
  1088. width: 100%;
  1089. display: flex;
  1090. margin-bottom: 20rpx;
  1091. .real {
  1092. flex: 1;
  1093. height: 100%;
  1094. .realnum {
  1095. width: 100%;
  1096. text-align: center;
  1097. height: 50rpx;
  1098. font-size: 44rpx;
  1099. font-family: DINAlternate-Bold, DINAlternate;
  1100. font-weight: bold;
  1101. color: #333333;
  1102. line-height: 50rpx;
  1103. .qushi-icon{
  1104. width: 28rpx;
  1105. height: 14rpx;
  1106. margin-left: 2rpx;
  1107. }
  1108. }
  1109. .realtext {
  1110. width: 100%;
  1111. text-align: center;
  1112. margin-top: 8rpx;
  1113. height: 32rpx;
  1114. font-size: 24rpx;
  1115. font-family: PingFangSC-Regular, PingFang SC;
  1116. font-weight: 400;
  1117. color: #666666;
  1118. line-height: 32rpx;
  1119. }
  1120. }
  1121. }
  1122. }
  1123. .commonly-box {
  1124. width: 100%;
  1125. display: flex;
  1126. flex-wrap: wrap;
  1127. .commonly {
  1128. width: 25%;
  1129. margin-bottom: 28rpx;
  1130. .commonly-img {
  1131. width: 100%;
  1132. height: 80rpx;
  1133. text-align: center;
  1134. .commonly-img1 {
  1135. width: 80rpx;
  1136. height: 80rpx;
  1137. }
  1138. }
  1139. .commonly-text {
  1140. width: 100%;
  1141. text-align: center;
  1142. margin-top: 12rpx;
  1143. height: 32rpx;
  1144. font-size: 24rpx;
  1145. font-family: PingFangSC-Regular, PingFang SC;
  1146. font-weight: 400;
  1147. color: #333333;
  1148. line-height: 32rpx;
  1149. }
  1150. }
  1151. }
  1152. .timeview{
  1153. height: 90rpx;
  1154. line-height: 90rpx;
  1155. width: 100%;
  1156. text-align: center;
  1157. border-bottom: 1rpx solid #f8f8f8;
  1158. }
  1159. </style>