AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1438 lines
41 KiB

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