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.
 
 
 

3358 lines
105 KiB

  1. <template>
  2. <div class="box-center">
  3. <div class="app-title projectBackend">
  4. <div class="titel-text">筛选日期:</div>
  5. <div class="">
  6. <el-button
  7. :class="{ 'el-button--primary': TimetoAhoose == 0 }"
  8. @click="tabtimetap(0)"
  9. >今天</el-button
  10. >
  11. <el-button
  12. :class="{ 'el-button--primary': TimetoAhoose == 1 }"
  13. @click="tabtimetap(1)"
  14. >近7天</el-button
  15. >
  16. <el-button
  17. :class="{ 'el-button--primary': TimetoAhoose == 2 }"
  18. @click="tabtimetap(2)"
  19. >近30天</el-button
  20. >
  21. </div>
  22. <div style="margin-left: 26px">
  23. <el-date-picker
  24. @change="confirmtime()"
  25. v-model="customtime"
  26. :clearable="false"
  27. type="daterange"
  28. range-separator="-"
  29. :default-time="['00:00:00', '23:59:59']"
  30. value-format="yyyy-MM-dd"
  31. start-placeholder="开始日期"
  32. end-placeholder="结束日期"
  33. >
  34. </el-date-picker>
  35. </div>
  36. </div>
  37. <div class="house-only" v-if="role == 3 && info.userRoleType != 6">
  38. <!-- 项目后台 -->
  39. <!-- 卡片部分 -->
  40. <div class="page-container grid5 xxx">
  41. <div class="nopagechen projectCardItem">
  42. <div>
  43. <div class="pageboxtitle1">正在接待</div>
  44. <div class="pageboxtitle2 projectColumn">
  45. <div class="span1">
  46. {{ cardlist.datalist.receivingCustomer || 0 }}
  47. </div>
  48. </div>
  49. </div>
  50. <div class="cardicon">
  51. <img src="../../public/img/indexIcon/indexCardIcon14.png" alt="" />
  52. </div>
  53. </div>
  54. <div
  55. class="pagechen"
  56. @click="
  57. toDetail('/ReceivingRecords/index', nowSelectTime(1), '接待记录')
  58. "
  59. >
  60. <div style="width: 100%">
  61. <div class="pageboxtitle1 projectCardItem">
  62. <div class="sum">
  63. <div class="sum-top">
  64. <div>接待量 (次)</div>
  65. <el-tooltip
  66. effect="light"
  67. content="筛选时间内,已经结束的接待条数,不包含待接单;"
  68. placement="bottom-end"
  69. >
  70. <i class="pop"></i>
  71. </el-tooltip>
  72. </div>
  73. <div class="span1">
  74. {{ cardlist.datalist.receptionCount || 0 }}
  75. </div>
  76. </div>
  77. <div class="cardicon">
  78. <img
  79. src="../../public/img/indexIcon/indexCardIcon4.png"
  80. alt=""
  81. srcset=""
  82. />
  83. </div>
  84. </div>
  85. <div class="pageboxtitle2 projectColumn">
  86. <div class="span2">
  87. <span class="span2-1">
  88. 环比:{{ cardlist.sequential.receptionCount || 0 }}</span
  89. >
  90. <span
  91. class="span2-2"
  92. v-if="cardlist.liftlist.receptionCount > 0"
  93. >
  94. +{{ cardlist.liftlist.receptionCount || 0 }}
  95. <i class="up"></i>
  96. </span>
  97. <span
  98. class="span2-3"
  99. v-if="cardlist.liftlist.receptionCount < 0"
  100. >
  101. {{ cardlist.liftlist.receptionCount || 0 }}
  102. <i class="down"></i>
  103. </span>
  104. <span
  105. style="margin-left: 15px"
  106. v-if="cardlist.liftlist.receptionCount > 0"
  107. >数据有所增长</span
  108. >
  109. <span
  110. style="margin-left: 15px"
  111. v-if="cardlist.liftlist.receptionCount < 0"
  112. >数据有所下降</span
  113. >
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. <div
  119. class="pagechen"
  120. @click="
  121. toDetail('/ReceivingRecords/index', nowSelectTime(2), '接待记录')
  122. "
  123. >
  124. <div style="width: 100%">
  125. <div class="pageboxtitle1 projectCardItem">
  126. <div class="sum">
  127. <div class="sum-top">
  128. <div>有效接待(次)</div>
  129. <el-tooltip
  130. effect="light"
  131. content="筛选时间内,标记为有效的接待数,不包含待接单;"
  132. placement="bottom-end"
  133. >
  134. <i class="pop"></i>
  135. </el-tooltip>
  136. </div>
  137. <div class="span1">
  138. {{ cardlist.datalist.activeCustomer || 0 }}
  139. </div>
  140. </div>
  141. <div class="cardicon">
  142. <img
  143. src="../../public/img/indexIcon/indexCardIcon5.png"
  144. alt=""
  145. srcset=""
  146. />
  147. </div>
  148. </div>
  149. <div class="pageboxtitle2 projectColumn">
  150. <div class="span2">
  151. <span class="span2-1">
  152. 环比:{{ cardlist.sequential.activeCustomer || 0 }}</span
  153. >
  154. <span
  155. class="span2-2"
  156. v-if="cardlist.liftlist.activeCustomer > 0"
  157. >
  158. +{{ cardlist.liftlist.activeCustomer || 0 }}
  159. <i class="up"></i>
  160. </span>
  161. <span
  162. class="span2-3"
  163. v-if="cardlist.liftlist.activeCustomer < 0"
  164. >
  165. {{ cardlist.liftlist.activeCustomer || 0 }}
  166. <i class="down"></i>
  167. </span>
  168. <span
  169. style="margin-left: 15px"
  170. v-if="cardlist.liftlist.activeCustomer > 0"
  171. >数据有所增长</span
  172. >
  173. <span
  174. style="margin-left: 15px"
  175. v-if="cardlist.liftlist.activeCustomer < 0"
  176. >数据有所下降</span
  177. >
  178. </div>
  179. </div>
  180. </div>
  181. </div>
  182. <div
  183. class="pagechen projectCardItem"
  184. @click="
  185. toDetail(
  186. '/Statistics/ConsultantBrand',
  187. nowSelectTime(3),
  188. '顾问排名'
  189. )
  190. "
  191. >
  192. <div>
  193. <div class="pageboxtitle1">顾问(人)</div>
  194. <div class="pageboxtitle2 projectColumn">
  195. <div class="span1">{{ cardlist.datalist.accountNum || 0 }}</div>
  196. <!-- <div class="span2">
  197. <span class="span2-1">
  198. 环比:{{ cardlist.sequential.accountNum || 0 }}</span>
  199. <span class="span2-2" v-if="cardlist.liftlist.accountNum > 0">
  200. <i class="el-icon-top" style="color: red"></i>
  201. {{ cardlist.liftlist.accountNum || 0 }}
  202. </span>
  203. <span class="span2-3" v-if="cardlist.liftlist.accountNum < 0">
  204. <i class="el-icon-bottom" style="color: #25ceba"></i>
  205. {{ cardlist.liftlist.accountNum || 0 }}
  206. </span>
  207. </div> -->
  208. </div>
  209. </div>
  210. <div class="cardicon">
  211. <img src="../../public/img/indexIcon/indexCardIcon21.png" alt="" />
  212. </div>
  213. </div>
  214. <div
  215. class="pagechen"
  216. @click="
  217. toDetail('/ReceivingRecords/index', nowSelectTime(2), '接待记录')
  218. "
  219. >
  220. <div style="width: 100%">
  221. <div class="pageboxtitle1 projectCardItem">
  222. <div class="sum">
  223. <div class="sum-top">
  224. <div>平均执行率</div>
  225. <el-tooltip
  226. effect="light"
  227. content="筛选时间内,有效接待(不包含待接单)的平均执行率;"
  228. placement="bottom-end"
  229. >
  230. <i class="pop"></i>
  231. </el-tooltip>
  232. </div>
  233. <div class="span1">{{ cardlist.datalist.fraction || 0 }}%</div>
  234. </div>
  235. <div class="cardicon">
  236. <img
  237. src="../../public/img/indexIcon/indexCardIcon11.png"
  238. alt=""
  239. srcset=""
  240. />
  241. </div>
  242. </div>
  243. <div class="pageboxtitle2 projectColumn">
  244. <div class="span2">
  245. <span class="span2-1">
  246. 环比:{{ cardlist.sequential.fraction || 0 }}</span
  247. >
  248. <span class="span2-2" v-if="cardlist.liftlist.fraction > 0">
  249. +{{ cardlist.liftlist.fraction || 0 }}%
  250. <i class="up"></i>
  251. </span>
  252. <span class="span2-3" v-if="cardlist.liftlist.fraction < 0">
  253. {{ cardlist.liftlist.fraction || 0 }}%
  254. <i class="down"></i>
  255. </span>
  256. <span
  257. style="margin-left: 15px"
  258. v-if="cardlist.liftlist.fraction > 0"
  259. >数据有所增长</span
  260. >
  261. <span
  262. style="margin-left: 15px"
  263. v-if="cardlist.liftlist.fraction < 0"
  264. >数据有所下降</span
  265. >
  266. </div>
  267. </div>
  268. </div>
  269. </div>
  270. <div
  271. class="pagechen"
  272. @click="
  273. toDetail('/ReceivingRecords/index', nowSelectTime(2), '接待记录')
  274. "
  275. >
  276. <div style="width: 100%">
  277. <div class="pageboxtitle1 projectCardItem">
  278. <div class="sum">
  279. <div class="sum-top">
  280. <div>平均接待时长(分钟)</div>
  281. <el-tooltip
  282. effect="light"
  283. content="筛选时间内,有效接待(不包含待接单)的平均录音时长,单位分钟;"
  284. placement="bottom-end"
  285. >
  286. <i class="pop"></i>
  287. </el-tooltip>
  288. </div>
  289. <div class="span1">
  290. {{ cardlist.datalist.avgDuration || 0 }}
  291. </div>
  292. </div>
  293. <div class="cardicon">
  294. <img
  295. src="../../public/img/indexIcon/indexCardIcon7.png"
  296. alt=""
  297. srcset=""
  298. />
  299. </div>
  300. </div>
  301. <div class="pageboxtitle2 projectColumn">
  302. <div class="span2">
  303. <span class="span2-1">
  304. 环比:{{ cardlist.sequential.avgDuration || 0 }}</span
  305. >
  306. <span class="span2-2" v-if="cardlist.liftlist.avgDuration > 0">
  307. +{{ cardlist.liftlist.avgDuration || 0 }}
  308. <i class="up"></i>
  309. </span>
  310. <span class="span2-3" v-if="cardlist.liftlist.avgDuration < 0">
  311. {{ cardlist.liftlist.avgDuration || 0 }}
  312. <i class="down"></i>
  313. </span>
  314. <span
  315. style="margin-left: 15px"
  316. v-if="cardlist.liftlist.avgDuration > 0"
  317. >数据有所增长</span
  318. >
  319. <span
  320. style="margin-left: 15px"
  321. v-if="cardlist.liftlist.avgDuration < 0"
  322. >数据有所下降</span
  323. >
  324. </div>
  325. </div>
  326. </div>
  327. </div>
  328. <!-- validInvalid;//是否为有效接待 0:有效 1:无效 -->
  329. <div
  330. class="pagechen"
  331. @click="
  332. toDetail('/ReceivingRecords/index', nowSelectTime(4), '接待记录')
  333. "
  334. >
  335. <div style="width: 100%">
  336. <div class="pageboxtitle1 projectCardItem">
  337. <div class="sum">
  338. <div class="sum-top">
  339. <div>违禁接待次数(次)</div>
  340. <el-tooltip
  341. effect="light"
  342. content="筛选时间内,出现违禁的接待次数,不包含待接单/无效接待/无效违禁;"
  343. placement="bottom-end"
  344. >
  345. <i class="pop"></i>
  346. </el-tooltip>
  347. </div>
  348. <div class="span1">
  349. {{ cardlist.datalist.prohibitedCustomer || 0 }}
  350. </div>
  351. </div>
  352. <div class="cardicon">
  353. <img
  354. src="../../public/img/indexIcon/indexCardIcon6.png"
  355. alt=""
  356. srcset=""
  357. />
  358. </div>
  359. </div>
  360. <div class="pageboxtitle2 projectColumn">
  361. <div class="span2">
  362. <span class="span2-1">
  363. 环比:{{ cardlist.sequential.prohibitedCustomer || 0 }}</span
  364. >
  365. <span
  366. class="span2-2"
  367. v-if="cardlist.liftlist.prohibitedCustomer > 0"
  368. >
  369. +{{ cardlist.liftlist.prohibitedCustomer || 0 }}
  370. <i class="up"></i>
  371. </span>
  372. <span
  373. class="span2-3"
  374. v-if="cardlist.liftlist.prohibitedCustomer < 0"
  375. >
  376. {{ cardlist.liftlist.prohibitedCustomer || 0 }}
  377. <i class="down"></i>
  378. </span>
  379. <span
  380. style="margin-left: 15px"
  381. v-if="cardlist.liftlist.prohibitedCustomer > 0"
  382. >数据有所增长</span
  383. >
  384. <span
  385. style="margin-left: 15px"
  386. v-if="cardlist.liftlist.prohibitedCustomer < 0"
  387. >数据有所下降</span
  388. >
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. <div
  394. class="pagechen"
  395. @click="
  396. toDetail('/ReceivingRecords/index', nowSelectTime(4), '接待记录')
  397. "
  398. >
  399. <div style="width: 100%">
  400. <div class="pageboxtitle1 projectCardItem">
  401. <div class="sum">
  402. <div class="sum-top">
  403. <div>违禁接待占比</div>
  404. <el-tooltip
  405. effect="light"
  406. content="筛选时间内,违禁接待次数/有效接待*100%"
  407. placement="bottom-end"
  408. >
  409. <i class="pop"></i>
  410. </el-tooltip>
  411. </div>
  412. <div class="span1">
  413. {{ cardlist.datalist.prohibitedZb || 0 }}%
  414. </div>
  415. </div>
  416. <div class="cardicon">
  417. <img
  418. src="../../public/img/indexIcon/indexCardIcon20.png"
  419. alt=""
  420. srcset=""
  421. />
  422. </div>
  423. </div>
  424. <div class="pageboxtitle2 projectColumn">
  425. <div class="span2">
  426. <span class="span2-1">
  427. 环比:{{ cardlist.sequential.prohibitedZb || 0 }}</span
  428. >
  429. <span class="span2-2" v-if="cardlist.liftlist.prohibitedZb > 0">
  430. +{{ cardlist.liftlist.prohibitedZb || 0 }}%
  431. <i class="up"></i>
  432. </span>
  433. <span class="span2-3" v-if="cardlist.liftlist.prohibitedZb < 0">
  434. {{ cardlist.liftlist.prohibitedZb || 0 }}%
  435. <i class="down"></i>
  436. </span>
  437. <span
  438. style="margin-left: 15px"
  439. v-if="cardlist.liftlist.prohibitedZb > 0"
  440. >数据有所增长</span
  441. >
  442. <span
  443. style="margin-left: 15px"
  444. v-if="cardlist.liftlist.prohibitedZb < 0"
  445. >数据有所下降</span
  446. >
  447. </div>
  448. </div>
  449. </div>
  450. </div>
  451. <div
  452. class="pagechen"
  453. @click="
  454. toDetail('/ReceivingRecords/index', nowSelectTime(4), '接待记录')
  455. "
  456. >
  457. <div style="width: 100%">
  458. <div class="pageboxtitle1 projectCardItem">
  459. <div class="sum">
  460. <div class="sum-top">
  461. <div>平均挖掘执行率</div>
  462. <el-tooltip
  463. effect="light"
  464. content="筛选时间内,已标记的有效接待需求挖掘执行的平均值;"
  465. placement="bottom-end"
  466. >
  467. <i class="pop"></i>
  468. </el-tooltip>
  469. </div>
  470. <div class="span1">
  471. {{ cardlist.datalist.wordFraction || 0 }}%
  472. </div>
  473. </div>
  474. <div class="cardicon">
  475. <img
  476. src="../../public/img/indexIcon/indexCardIcon11.png"
  477. alt=""
  478. srcset=""
  479. />
  480. </div>
  481. </div>
  482. <div class="pageboxtitle2 projectColumn">
  483. <div class="span2">
  484. <span class="span2-1">
  485. 环比:{{ cardlist.sequential.wordFractionHb || 0 }}</span
  486. >
  487. <span class="span2-2" v-if="cardlist.liftlist.wordFractionHb > 0">
  488. +{{ cardlist.liftlist.wordFractionHb || 0 }}%
  489. <i class="up"></i>
  490. </span>
  491. <span class="span2-3" v-if="cardlist.liftlist.wordFractionHb < 0">
  492. {{ cardlist.liftlist.wordFractionHb || 0 }}%
  493. <i class="down"></i>
  494. </span>
  495. <span
  496. style="margin-left: 15px"
  497. v-if="cardlist.liftlist.wordFractionHb > 0"
  498. >数据有所增长</span
  499. >
  500. <span
  501. style="margin-left: 15px"
  502. v-if="cardlist.liftlist.wordFractionHb < 0"
  503. >数据有所下降</span
  504. >
  505. </div>
  506. </div>
  507. </div>
  508. </div>
  509. <div
  510. class="pagechen"
  511. @click="
  512. toDetail('/ReceivingRecords/index', nowSelectTime(4), '接待记录')
  513. "
  514. >
  515. <div style="width: 100%">
  516. <div class="pageboxtitle1 projectCardItem">
  517. <div class="sum">
  518. <div class="sum-top">
  519. <div>平均挖掘成功率</div>
  520. <el-tooltip
  521. effect="light"
  522. content="筛选时间内,已标记的有效接待需求挖掘率成功的平均值;"
  523. placement="bottom-end"
  524. >
  525. <i class="pop"></i>
  526. </el-tooltip>
  527. </div>
  528. <div class="span1">
  529. {{ cardlist.datalist.wordFinishFraction || 0 }}%
  530. </div>
  531. </div>
  532. <div class="cardicon">
  533. <img
  534. src="../../public/img/indexIcon/indexCardIcon11.png"
  535. alt=""
  536. srcset=""
  537. />
  538. </div>
  539. </div>
  540. <div class="pageboxtitle2 projectColumn">
  541. <div class="span2">
  542. <span class="span2-1">
  543. 环比:{{ cardlist.sequential.wordFinishFractionHb || 0 }}</span
  544. >
  545. <span class="span2-2" v-if="cardlist.liftlist.wordFinishFractionHb > 0">
  546. +{{ cardlist.liftlist.wordFinishFractionHb || 0 }}%
  547. <i class="up"></i>
  548. </span>
  549. <span class="span2-3" v-if="cardlist.liftlist.wordFinishFractionHb < 0">
  550. {{ cardlist.liftlist.wordFinishFractionHb || 0 }}%
  551. <i class="down"></i>
  552. </span>
  553. <span
  554. style="margin-left: 15px"
  555. v-if="cardlist.liftlist.wordFinishFractionHb > 0"
  556. >数据有所增长</span
  557. >
  558. <span
  559. style="margin-left: 15px"
  560. v-if="cardlist.liftlist.wordFinishFractionHb < 0"
  561. >数据有所下降</span
  562. >
  563. </div>
  564. </div>
  565. </div>
  566. </div>
  567. </div>
  568. <div class="app-box-san">
  569. <div class="zuo">
  570. <div class="title">
  571. <div class="text1">
  572. 场景执行分析
  573. <el-tooltip
  574. effect="light"
  575. content="筛选时间内,场景触达率=有效接待的场景执行率的之和/有效接待数,例如:品牌介绍,第1次接待执行了100%,第2次接待没有执行,场景触达率=(100+0)/2=50%;"
  576. placement="bottom-end"
  577. >
  578. <i class="pop"></i>
  579. </el-tooltip>
  580. </div>
  581. </div>
  582. <div
  583. v-if="indexZxllist.length == 0"
  584. style="
  585. display: flex;
  586. justify-content: center;
  587. align-items: center;
  588. height: 60%;
  589. text-align: center;
  590. color: #909399;
  591. "
  592. >
  593. <div class="imgboxc" style="margin-top: 40px">
  594. <img class="imgboxc-img" src="/img/nullnull.png" alt="" />
  595. <div class="nulltext" style="font-size: 14px">暂无数据</div>
  596. </div>
  597. </div>
  598. <div
  599. v-else
  600. class="tabbox"
  601. style="display: flex; flex-wrap: wrap; width: 90%; margin: 0 auto"
  602. >
  603. <div
  604. v-for="(item, index) in indexZxllist"
  605. :key="index"
  606. style="width: 33.3%; margin-top: 10px; cursor: pointer"
  607. >
  608. <div style="width: 130px; height: 100px; margin: 0 auto">
  609. <el-progress
  610. :stroke-width="12"
  611. :width="130"
  612. type="circle"
  613. :percentage="item.zxl"
  614. :color="RandomColor(index)"
  615. ></el-progress>
  616. </div>
  617. <div style="width: 100%; text-align: center; margin-top: 20px">
  618. <el-tooltip :content="item.name" placement="top">
  619. <div
  620. style="
  621. width: 80%;
  622. text-align: center;
  623. margin: 0 auto;
  624. padding-top: 18px;
  625. "
  626. >
  627. {{ item.name.substring(0, 6) }}
  628. </div>
  629. </el-tooltip>
  630. </div>
  631. </div>
  632. </div>
  633. </div>
  634. <div class="you">
  635. <div class="title">
  636. <div class="text1">顾问执行率排名(TOP10)</div>
  637. </div>
  638. <div
  639. v-if="employeeExecutionRatelist.list.length == 0"
  640. style="
  641. display: flex;
  642. justify-content: center;
  643. align-items: center;
  644. height: 60%;
  645. text-align: center;
  646. color: #909399;
  647. "
  648. >
  649. <div class="imgboxc" style="margin-top: 40px">
  650. <img class="imgboxc-img" src="/img/nullnull.png" alt="" />
  651. <div class="nulltext" style="font-size: 14px">暂无数据</div>
  652. </div>
  653. </div>
  654. <div
  655. class="hejisan"
  656. v-if="employeeExecutionRatelist.list.length != 0"
  657. >
  658. <div class="sanbox1" style="width: 50%">
  659. <div class="text1-1">顾问</div>
  660. <div class="text1-2">
  661. {{ employeeExecutionRatelist.num || "" }}
  662. </div>
  663. </div>
  664. <div class="sanbox1" style="width: 50%">
  665. <div class="text1-1">平均执行</div>
  666. <div class="text1-2">
  667. {{ employeeExecutionRatelist.fraction || "" }}%
  668. </div>
  669. </div>
  670. </div>
  671. <div class="tabbox" v-if="employeeExecutionRatelist.list.length != 0">
  672. <div style="width: 94%; margin: 0 auto">
  673. <div
  674. class="jinbox"
  675. v-for="(item, i) in employeeExecutionRatelist.list"
  676. :key="i"
  677. >
  678. <div class="jinboxtit">
  679. <span
  680. class="sequenceNum"
  681. :style="{
  682. background:
  683. i + 1 == 1
  684. ? 'linear-gradient(180deg, #FFA395 0%, #F54D3F 100%)'
  685. : i + 1 == 2
  686. ? 'linear-gradient(180deg, #FFBE70 0%, #FF981E 100%)'
  687. : i + 1 == 3
  688. ? 'linear-gradient(180deg, #FFE683 0%, #FFCC00 100%)'
  689. : '#E5F0FF',
  690. color:
  691. i + 1 == 1
  692. ? '#FFF'
  693. : i + 1 == 2
  694. ? '#FFF'
  695. : i + 1 == 3
  696. ? '#FFF'
  697. : '#333',
  698. 'box-shadow':
  699. i + 1 == 1
  700. ? '0px 0px 6px 1px #F54D3F'
  701. : i + 1 == 2
  702. ? '0px 0px 6px 1px #FF981E'
  703. : i + 1 == 3
  704. ? '0px 0px 6px 1px #FFCC00'
  705. : '#E5F0FF',
  706. border:
  707. i + 1 == 1
  708. ? '1px solid #FFCAC6'
  709. : i + 1 == 2
  710. ? '1px solid #FFD6AA'
  711. : i + 1 == 3
  712. ? '1px solid #FFEEAC'
  713. : 'none',
  714. }"
  715. >{{ i + 1 }}</span
  716. ><span class="name">{{ item.accountName }}</span>
  717. </div>
  718. <div class="jinbox-box">
  719. <div
  720. class="boxbaifenbi"
  721. :style="{
  722. background:
  723. i + 1 == 1
  724. ? 'linear-gradient(270deg, #F88881 0%, #E6625B 100%)'
  725. : i + 1 == 2
  726. ? 'linear-gradient(270deg, #FFC940 0%, #FF981E 100%)'
  727. : i + 1 == 3
  728. ? 'linear-gradient(270deg, #FFE800 0%, #FFCC00 100%)'
  729. : 'inear-gradient(270deg, #7BB1FF 0%, #618FFF 100%)',
  730. width: item.fraction + '%',
  731. }"
  732. ></div>
  733. </div>
  734. <div class="jinboxbott">{{ item.fraction }}%</div>
  735. </div>
  736. </div>
  737. </div>
  738. </div>
  739. </div>
  740. <div class="app-box-san">
  741. <div class="zuo">
  742. <div class="title">
  743. <div class="text1">违禁提醒</div>
  744. </div>
  745. <div class="tabbox">
  746. <el-table
  747. :header-cell-style="{ background: '#F5F7FA', color: '#333333' }"
  748. :data="prohibitedlist"
  749. height="320"
  750. style="width: 100%; font-size: 14px"
  751. >
  752. <el-table-column prop="agentName" label="顾问" align="center">
  753. </el-table-column>
  754. <el-table-column prop="name" label="客户" align="center">
  755. </el-table-column>
  756. <el-table-column prop="staTime" label="接待时间" align="center">
  757. </el-table-column>
  758. <el-table-column prop="date" label="操作" align="center">
  759. <template slot-scope="{ row }">
  760. <div
  761. @click="goinfo(row)"
  762. style="color: #2671e2; cursor: pointer"
  763. >
  764. 查看
  765. </div>
  766. </template>
  767. </el-table-column>
  768. </el-table>
  769. </div>
  770. </div>
  771. <div class="you">
  772. <div class="title" style="cursor: pointer">
  773. <el-badge
  774. :value="equNum"
  775. class="item"
  776. style="margin-right: 10px"
  777. :hidden="equNum == 0 ? true : false"
  778. >
  779. <div
  780. class="text1"
  781. @click="tabclick('1')"
  782. :class="{ colostyle: classatec == 1 }"
  783. >
  784. 离线工牌
  785. </div>
  786. </el-badge>
  787. <el-badge
  788. :value="equNum1"
  789. class="item"
  790. :hidden="equNum1 == 0 ? true : false"
  791. >
  792. <div
  793. class="text1"
  794. @click="tabclick('0')"
  795. :class="{ colostyle: classatec == 0 }"
  796. >
  797. 低电工牌
  798. </div>
  799. </el-badge>
  800. </div>
  801. <div class="tabbox" v-if="classatec == 0">
  802. <el-table
  803. :header-cell-style="{ background: '#F5F7FA', color: '#333333' }"
  804. :data="equipmentList"
  805. height="320"
  806. style="width: 100%; font-size: 14px"
  807. >>
  808. <el-table-column prop="accName" label="顾问" align="center">
  809. </el-table-column>
  810. <el-table-column prop="accPhone" label="电话" align="center">
  811. </el-table-column>
  812. <el-table-column prop="imei" label="设备号" align="center">
  813. </el-table-column>
  814. <el-table-column prop="address" label="录音状态" align="center">
  815. <template slot-scope="scope" style="">
  816. <span v-if="scope.row.recCmd == 'start'">开启</span>
  817. <span v-if="scope.row.recCmd == 'stop'">关闭</span>
  818. </template>
  819. </el-table-column>
  820. <el-table-column prop="electricity" label="电量" align="center">
  821. </el-table-column>
  822. </el-table>
  823. </div>
  824. <div class="tabbox" v-if="classatec == 1">
  825. <el-table
  826. :header-cell-style="{ background: '#F5F7FA', color: '#333333' }"
  827. :data="equipmentList"
  828. height="320"
  829. style="width: 100%; font-size: 14px"
  830. >
  831. <el-table-column prop="accName" label="顾问" align="center">
  832. </el-table-column>
  833. <el-table-column prop="accPhone" label="电话" align="center">
  834. </el-table-column>
  835. <el-table-column prop="imei" label="设备号" align="center">
  836. </el-table-column>
  837. <el-table-column
  838. prop="updateTime"
  839. label="离线时间"
  840. align="center"
  841. >
  842. </el-table-column>
  843. </el-table>
  844. </div>
  845. </div>
  846. </div>
  847. </div>
  848. <div v-if="role != 3 && info.userRoleType != 6" style="margin-top: 52px">
  849. <!-- 系统后台 -->
  850. <div style="margin-bottom: 10px; cursor: pointer" v-if="role != 2">
  851. <div style="font-weight: bold; font-size: 18px; margin-bottom: -5px">
  852. 待处理
  853. </div>
  854. <div class="page-container" style="width: 100%">
  855. <div
  856. class="pagechen"
  857. style="margin-right: 14px"
  858. @click="jumpto('1')"
  859. v-if="role == 0"
  860. >
  861. <div class="pageboxtitle1">45天到期的代理商</div>
  862. <div class="pageboxtitle3">
  863. {{ sysTop.matuityOfAgent || 0 }}
  864. </div>
  865. </div>
  866. <div class="pagechen" style="margin-right: 14px" @click="jumpto('2')">
  867. <div class="pageboxtitle1">45天到期的项目</div>
  868. <div class="pageboxtitle3">
  869. {{ sysTop.matuityOfHouse || 0 }}
  870. </div>
  871. </div>
  872. <div class="pagechen" style="margin-right: 14px" @click="jumpto('3')">
  873. <div class="pageboxtitle1">离线设备</div>
  874. <div class="pageboxtitle3">
  875. {{ sysTop.offlineEquipmentQUantity || 0 }}
  876. </div>
  877. </div>
  878. <div class="pagechen" @click="jumpto('4')">
  879. <div class="pageboxtitle1">
  880. <div class="sum-top">
  881. <div>低电量设备</div>
  882. <el-tooltip
  883. effect="light"
  884. content="电量低于20%的设备"
  885. placement="bottom-end"
  886. >
  887. <i class="pop"></i>
  888. </el-tooltip>
  889. </div>
  890. </div>
  891. <div class="pageboxtitle3">
  892. {{ sysTop.lowElectricityEquipmentQuantity || 0 }}
  893. </div>
  894. </div>
  895. </div>
  896. </div>
  897. <div style="font-weight: bold; font-size: 18px; margin-bottom: -5px">
  898. 数据简报
  899. </div>
  900. <!-- <div class="app-title projectBackend">
  901. <div class="titel-text">筛选日期:</div>
  902. <div class="">
  903. <el-button :class="{ 'el-button--primary': TimetoAhoose == 0 }" @click="tabtimetap(0)">今天</el-button>
  904. <el-button :class="{ 'el-button--primary': TimetoAhoose == 1 }" @click="tabtimetap(1)">近7天</el-button>
  905. <el-button :class="{ 'el-button--primary': TimetoAhoose == 2 }" @click="tabtimetap(2)">近30天</el-button>
  906. </div>
  907. <div style="margin-left: 26px">
  908. <el-date-picker @change="confirmtime()" v-model="customtime" :clearable="false" type="daterange"
  909. range-separator="-" :default-time="['00:00:00', '23:59:59']" value-format="yyyy-MM-dd"
  910. start-placeholder="开始日期" end-placeholder="结束日期">
  911. </el-date-picker>
  912. </div>
  913. </div> -->
  914. <div v-if="role != 2">
  915. <!-- 卡片部分 -->
  916. <div class="page-container grid4">
  917. <div
  918. class="pagechen"
  919. @click="toDetail('/building/index', getTimes(), '楼盘管理')"
  920. >
  921. <div style="width: 100%">
  922. <div class="pageboxtitle1 projectCardItem">
  923. <div class="sum">
  924. 新增项目数
  925. <div class="span1">{{ sysSec.newAddHouseQuantity || 0 }}</div>
  926. </div>
  927. <div class="cardicon">
  928. <img
  929. src="../../public/img/indexIcon/indexCardIcon8.png"
  930. alt=""
  931. srcset=""
  932. />
  933. </div>
  934. </div>
  935. <div class="pageboxtitle2 projectColumn">
  936. <div class="span2">
  937. <span class="span2-1">
  938. 环比:{{ sysCompare.newAddHouseQuantity || 0 }}</span
  939. >
  940. <span class="span2-2" v-if="orderBy.newAddHouseQuantity > 0">
  941. +{{ orderBy.newAddHouseQuantity || 0 }}
  942. <i class="up"></i>
  943. </span>
  944. <span class="span2-3" v-if="orderBy.newAddHouseQuantity < 0">
  945. {{ orderBy.newAddHouseQuantity || 0 }}
  946. <i class="down"></i>
  947. </span>
  948. <span
  949. style="margin-left: 15px"
  950. v-if="orderBy.newAddHouseQuantity > 0"
  951. >数据有所增长</span
  952. >
  953. <span
  954. style="margin-left: 15px"
  955. v-if="orderBy.newAddHouseQuantity < 0"
  956. >数据有所下降</span
  957. >
  958. </div>
  959. </div>
  960. </div>
  961. </div>
  962. <div
  963. class="pagechen"
  964. @click="toDetail('/building/Count', '', '项目统计')"
  965. >
  966. <div style="width: 100%">
  967. <div class="pageboxtitle1 projectCardItem">
  968. <div class="sum">
  969. 活跃项目数
  970. <div class="span1">{{ sysSec.activeHouseQuantity || 0 }}</div>
  971. </div>
  972. <div class="cardicon">
  973. <img
  974. src="../../public/img/indexIcon/indexCardIcon1.png"
  975. alt=""
  976. srcset=""
  977. />
  978. </div>
  979. </div>
  980. <div class="pageboxtitle2 projectColumn">
  981. <div class="span2">
  982. <span class="span2-1">
  983. 环比:{{ sysCompare.activeHouseQuantity || 0 }}</span
  984. >
  985. <span class="span2-2" v-if="orderBy.activeHouseQuantity > 0">
  986. +{{ orderBy.activeHouseQuantity || 0 }}
  987. <i class="up"></i>
  988. </span>
  989. <span class="span2-3" v-if="orderBy.activeHouseQuantity < 0">
  990. {{ orderBy.activeHouseQuantity || 0 }}
  991. <i class="down"></i>
  992. </span>
  993. <span
  994. style="margin-left: 15px"
  995. v-if="orderBy.activeHouseQuantity > 0"
  996. >数据有所增长</span
  997. >
  998. <span
  999. style="margin-left: 15px"
  1000. v-if="orderBy.activeHouseQuantity < 0"
  1001. >数据有所下降</span
  1002. >
  1003. </div>
  1004. </div>
  1005. </div>
  1006. </div>
  1007. <div
  1008. class="pagechen"
  1009. @click="toDetail('/building/Count', '', '项目统计')"
  1010. >
  1011. <div style="width: 100%">
  1012. <div class="pageboxtitle1 projectCardItem">
  1013. <div class="sum">
  1014. <div class="sum-top">
  1015. <div>活跃设备数</div>
  1016. <el-tooltip
  1017. effect="light"
  1018. content="筛选时间内,有接待并上传录音的设备;"
  1019. placement="bottom-end"
  1020. >
  1021. <i class="pop"></i>
  1022. </el-tooltip>
  1023. </div>
  1024. <div class="span1">
  1025. {{ sysSec.activeEquipmentQuantity || 0 }}
  1026. </div>
  1027. </div>
  1028. <div class="cardicon">
  1029. <img
  1030. src="../../public/img/indexIcon/indexCardIcon2.png"
  1031. alt=""
  1032. srcset=""
  1033. />
  1034. </div>
  1035. </div>
  1036. <div class="pageboxtitle2 projectColumn">
  1037. <div class="span2">
  1038. <span class="span2-1">
  1039. 环比:{{ sysCompare.activeEquipmentQuantity || 0 }}</span
  1040. >
  1041. <span
  1042. class="span2-2"
  1043. v-if="orderBy.activeEquipmentQuantity > 0"
  1044. >
  1045. +{{ orderBy.activeEquipmentQuantity || 0 }}
  1046. <i class="up"></i>
  1047. </span>
  1048. <span
  1049. class="span2-3"
  1050. v-if="orderBy.activeEquipmentQuantity < 0"
  1051. >
  1052. {{ orderBy.activeEquipmentQuantity || 0 }}
  1053. <i class="down"></i>
  1054. </span>
  1055. <span
  1056. style="margin-left: 15px"
  1057. v-if="orderBy.activeEquipmentQuantity > 0"
  1058. >数据有所增长</span
  1059. >
  1060. <span
  1061. style="margin-left: 15px"
  1062. v-if="orderBy.activeEquipmentQuantity < 0"
  1063. >数据有所下降</span
  1064. >
  1065. </div>
  1066. </div>
  1067. </div>
  1068. </div>
  1069. <div
  1070. class="pagechen"
  1071. @click="toDetail('/building/Count', '', '项目统计')"
  1072. >
  1073. <div style="width: 100%">
  1074. <div class="pageboxtitle1 projectCardItem">
  1075. <div class="sum">
  1076. 录音总时长(小时)
  1077. <div class="span1">{{ sysSec.receptionTime || 0 }}</div>
  1078. </div>
  1079. <div class="cardicon">
  1080. <img
  1081. src="../../public/img/indexIcon/indexCardIcon19.png"
  1082. alt=""
  1083. srcset=""
  1084. />
  1085. </div>
  1086. </div>
  1087. <div class="pageboxtitle2 projectColumn">
  1088. <div class="span2">
  1089. <span class="span2-1">
  1090. 环比:{{ sysCompare.receptionTime || 0 }}</span
  1091. >
  1092. <span class="span2-2" v-if="orderBy.receptionTime > 0">
  1093. +{{ orderBy.receptionTime || 0 }}
  1094. <i class="up"></i>
  1095. </span>
  1096. <span class="span2-3" v-if="orderBy.receptionTime < 0">
  1097. {{ orderBy.receptionTime || 0 }}
  1098. <i class="down"></i>
  1099. </span>
  1100. <span
  1101. style="margin-left: 15px"
  1102. v-if="orderBy.receptionTime > 0"
  1103. >数据有所增长</span
  1104. >
  1105. <span
  1106. style="margin-left: 15px"
  1107. v-if="orderBy.receptionTime < 0"
  1108. >数据有所下降</span
  1109. >
  1110. </div>
  1111. </div>
  1112. </div>
  1113. </div>
  1114. <div
  1115. class="pagechen"
  1116. @click="toDetail('/building/Count', '', '项目统计')"
  1117. >
  1118. <div style="width: 100%">
  1119. <div class="pageboxtitle1 projectCardItem">
  1120. <div class="sum">
  1121. <div class="sum-top">
  1122. <div>接待量</div>
  1123. <el-tooltip
  1124. effect="light"
  1125. content="筛选时间内,已经结束的接待条数,不包含待接单;"
  1126. placement="bottom-end"
  1127. >
  1128. <i class="pop"></i>
  1129. </el-tooltip>
  1130. </div>
  1131. <div class="span1">{{ sysSec.receptionCount || 0 }}</div>
  1132. </div>
  1133. <div class="cardicon">
  1134. <img
  1135. src="../../public/img/indexIcon/indexCardIcon4.png"
  1136. alt=""
  1137. srcset=""
  1138. />
  1139. </div>
  1140. </div>
  1141. <div class="pageboxtitle2 projectColumn">
  1142. <div class="span2">
  1143. <span class="span2-1">
  1144. 环比:{{ sysCompare.receptionCount || 0 }}</span
  1145. >
  1146. <span class="span2-2" v-if="orderBy.receptionCount > 0">
  1147. +{{ orderBy.receptionCount || 0 }}
  1148. <i class="up"></i>
  1149. </span>
  1150. <span class="span2-3" v-if="orderBy.receptionCount < 0">
  1151. {{ orderBy.receptionCount || 0 }}
  1152. <i class="down"></i>
  1153. </span>
  1154. <span
  1155. style="margin-left: 15px"
  1156. v-if="orderBy.receptionCount > 0"
  1157. >数据有所增长</span
  1158. >
  1159. <span
  1160. style="margin-left: 15px"
  1161. v-if="orderBy.receptionCount < 0"
  1162. >数据有所下降</span
  1163. >
  1164. </div>
  1165. </div>
  1166. </div>
  1167. </div>
  1168. <div
  1169. class="pagechen"
  1170. @click="
  1171. toDetail('/ReceivingRecords/index', 'validInvalid,0', '接待记录')
  1172. "
  1173. >
  1174. <div style="width: 100%">
  1175. <div class="pageboxtitle1 projectCardItem">
  1176. <div class="sum">
  1177. <div class="sum-top">
  1178. <div>有效接待</div>
  1179. <el-tooltip
  1180. effect="light"
  1181. content="筛选时间内,标记为有效的接待数,不包含待接单;"
  1182. placement="bottom-end"
  1183. >
  1184. <i class="pop"></i>
  1185. </el-tooltip>
  1186. </div>
  1187. <div class="span1">{{ sysSec.activeCustomer || 0 }}</div>
  1188. </div>
  1189. <div class="cardicon">
  1190. <img
  1191. src="../../public/img/indexIcon/indexCardIcon5.png"
  1192. alt=""
  1193. srcset=""
  1194. />
  1195. </div>
  1196. </div>
  1197. <div class="pageboxtitle2 projectColumn">
  1198. <div class="span2">
  1199. <span class="span2-1">
  1200. 环比:{{ sysCompare.activeCustomer || 0 }}</span
  1201. >
  1202. <span class="span2-2" v-if="orderBy.activeCustomer > 0">
  1203. +{{ orderBy.activeCustomer || 0 }}
  1204. <i class="up"></i>
  1205. </span>
  1206. <span class="span2-3" v-if="orderBy.activeCustomer < 0">
  1207. {{ orderBy.activeCustomer || 0 }}
  1208. <i class="down"></i>
  1209. </span>
  1210. <span
  1211. style="margin-left: 15px"
  1212. v-if="orderBy.activeCustomer > 0"
  1213. >数据有所增长</span
  1214. >
  1215. <span
  1216. style="margin-left: 15px"
  1217. v-if="orderBy.activeCustomer < 0"
  1218. >数据有所下降</span
  1219. >
  1220. </div>
  1221. </div>
  1222. </div>
  1223. </div>
  1224. <div
  1225. class="pagechen"
  1226. @click="
  1227. toDetail(
  1228. '/ReceivingRecords/index',
  1229. 'taboo,1,dateType,0,validInvalid,0',
  1230. '接待记录'
  1231. )
  1232. "
  1233. >
  1234. <div style="width: 100%">
  1235. <div class="pageboxtitle1 projectCardItem">
  1236. <div class="sum">
  1237. <div class="sum-top">
  1238. <div>违禁接待次数</div>
  1239. <el-tooltip
  1240. effect="light"
  1241. content="筛选时间内,出现违禁的接待次数,不包含待接单/无效接待/无效违禁;"
  1242. placement="bottom-end"
  1243. >
  1244. <i class="pop"></i>
  1245. </el-tooltip>
  1246. </div>
  1247. <div class="span1">{{ sysSec.prohibitedCount || 0 }}</div>
  1248. </div>
  1249. <div class="cardicon">
  1250. <img
  1251. src="../../public/img/indexIcon/indexCardIcon6.png"
  1252. alt=""
  1253. srcset=""
  1254. />
  1255. </div>
  1256. </div>
  1257. <div class="pageboxtitle2 projectColumn">
  1258. <div class="span2">
  1259. <span class="span2-1">
  1260. 环比:{{ sysCompare.prohibitedCount || 0 }}</span
  1261. >
  1262. <span class="span2-2" v-if="orderBy.prohibitedCount > 0">
  1263. +{{ orderBy.prohibitedCount || 0 }}
  1264. <i class="up"></i>
  1265. </span>
  1266. <span class="span2-3" v-if="orderBy.prohibitedCount < 0">
  1267. {{ orderBy.prohibitedCount || 0 }}
  1268. <i class="down"></i>
  1269. </span>
  1270. <span
  1271. style="margin-left: 15px"
  1272. v-if="orderBy.prohibitedCount > 0"
  1273. >数据有所增长</span
  1274. >
  1275. <span
  1276. style="margin-left: 15px"
  1277. v-if="orderBy.prohibitedCount < 0"
  1278. >数据有所下降</span
  1279. >
  1280. </div>
  1281. </div>
  1282. </div>
  1283. </div>
  1284. <div
  1285. class="pagechen"
  1286. @click="
  1287. toDetail('/ReceivingRecords/index', nowSelectTime(2), '接待记录')
  1288. "
  1289. >
  1290. <div style="width: 100%">
  1291. <div class="pageboxtitle1 projectCardItem">
  1292. <div class="sum">
  1293. <div class="sum-top">
  1294. <div>平均接待时长(分钟)</div>
  1295. <el-tooltip
  1296. effect="light"
  1297. content="筛选时间内,有效接待(不包含待接单)的平均录音时长,单位分钟;"
  1298. placement="bottom-end"
  1299. >
  1300. <i class="pop"></i>
  1301. </el-tooltip>
  1302. </div>
  1303. <div class="span1">
  1304. {{ sysSec.receptionTimeWithAvg || 0 }}
  1305. </div>
  1306. </div>
  1307. <div class="cardicon">
  1308. <img
  1309. src="../../public/img/indexIcon/indexCardIcon7.png"
  1310. alt=""
  1311. srcset=""
  1312. />
  1313. </div>
  1314. </div>
  1315. <div class="pageboxtitle2 projectColumn">
  1316. <div class="span2">
  1317. <span class="span2-1">
  1318. 环比:{{ sysCompare.receptionTimeWithAvg || 0 }}</span
  1319. >
  1320. <span class="span2-2" v-if="orderBy.receptionTimeWithAvg > 0">
  1321. +{{ orderBy.receptionTimeWithAvg || 0 }}
  1322. <i class="up"></i>
  1323. </span>
  1324. <span class="span2-3" v-if="orderBy.receptionTimeWithAvg < 0">
  1325. {{ orderBy.receptionTimeWithAvg || 0 }}
  1326. <i class="down"></i>
  1327. </span>
  1328. <span
  1329. style="margin-left: 15px"
  1330. v-if="orderBy.receptionTimeWithAvg > 0"
  1331. >数据有所增长</span
  1332. >
  1333. <span
  1334. style="margin-left: 15px"
  1335. v-if="orderBy.receptionTimeWithAvg < 0"
  1336. >数据有所下降</span
  1337. >
  1338. </div>
  1339. </div>
  1340. </div>
  1341. </div>
  1342. <!-- <div class="pagechen" @click="toDetail('/Equipment/index', '', '设备管理')">
  1343. <div style="width:100%">
  1344. <div class="pageboxtitle1 projectCardItem">
  1345. <div class="sum">销售设备数
  1346. <el-tooltip effect="light" content="筛选时间内,绑定正式+测试的楼盘的设备数;" placement="bottom-end">
  1347. <i class="pop"></i>
  1348. </el-tooltip>
  1349. <div class="span1">{{ sysSec.equipmentQuantityWithSold || 0 }}</div>
  1350. </div>
  1351. <div class="cardicon">
  1352. <img src="../../public/img/indexIcon/indexCardIcon4.png" alt="" srcset="">
  1353. </div>
  1354. </div>
  1355. <div class="pageboxtitle2 projectColumn">
  1356. <div class="span2">
  1357. <span class="span2-1">
  1358. 环比:{{ sysCompare.equipmentQuantityWithSold || 0 }}</span>
  1359. <span class="span2-2" v-if="orderBy.equipmentQuantityWithSold > 0">
  1360. +{{ orderBy.equipmentQuantityWithSold || 0 }}
  1361. <i class="up"></i>
  1362. </span>
  1363. <span class="span2-3" v-if="orderBy.equipmentQuantityWithSold < 0">
  1364. {{ orderBy.equipmentQuantityWithSold || 0 }}
  1365. <i class="down"></i>
  1366. </span>
  1367. <span style="margin-left:15px;" v-if="orderBy.equipmentQuantityWithSold > 0">数据有所增长</span>
  1368. <span style="margin-left:15px;" v-if="orderBy.equipmentQuantityWithSold < 0">数据有所下降</span>
  1369. </div>
  1370. </div>
  1371. </div>
  1372. </div> -->
  1373. <!-- <div class="pagechen">
  1374. <div style="width:100%">
  1375. <div class="pageboxtitle1 projectCardItem">
  1376. <div class="sum">活跃用户数
  1377. <el-tooltip effect="light" content="筛选时间内,登录过系统的用户数;" placement="bottom-end">
  1378. <i class="pop"></i>
  1379. </el-tooltip>
  1380. <div class="span1">{{ sysSec.activeUserQuantity || 0 }}</div>
  1381. </div>
  1382. <div class="cardicon">
  1383. <img src="../../public/img/indexIcon/indexCardIcon4.png" alt="" srcset="">
  1384. </div>
  1385. </div>
  1386. <div class="pageboxtitle2 projectColumn">
  1387. <div class="span2">
  1388. <span class="span2-1">
  1389. 环比:{{ sysCompare.activeUserQuantity || 0 }}</span>
  1390. <span class="span2-2" v-if="orderBy.activeUserQuantity > 0">
  1391. +{{ orderBy.activeUserQuantity || 0 }}
  1392. <i class="up"></i>
  1393. </span>
  1394. <span class="span2-3" v-if="orderBy.activeUserQuantity < 0">
  1395. {{ orderBy.activeUserQuantity || 0 }}
  1396. <i class="down"></i>
  1397. </span>
  1398. <span style="margin-left:15px;" v-if="orderBy.activeUserQuantity > 0">数据有所增长</span>
  1399. <span style="margin-left:15px;" v-if="orderBy.activeUserQuantity < 0">数据有所下降</span>
  1400. </div>
  1401. </div>
  1402. </div>
  1403. </div> -->
  1404. </div>
  1405. </div>
  1406. <div v-if="role == 2">
  1407. <!-- 卡片部分 -->
  1408. <div class="page-container grid4">
  1409. <div
  1410. class="pagechen"
  1411. @click="toDetail('/building/Count', '', '项目统计')"
  1412. >
  1413. <div style="width: 100%">
  1414. <div class="pageboxtitle1 projectCardItem">
  1415. <div class="sum">
  1416. <div class="sum-top">
  1417. <div>接待量</div>
  1418. <el-tooltip
  1419. effect="light"
  1420. content="筛选时间内,已经结束的接待条数,不包含待接单;"
  1421. placement="bottom-end"
  1422. >
  1423. <i class="pop"></i>
  1424. </el-tooltip>
  1425. </div>
  1426. <div class="span1">{{ sysSec.receptionCount || 0 }}</div>
  1427. </div>
  1428. <div class="cardicon">
  1429. <img
  1430. src="../../public/img/indexIcon/indexCardIcon4.png"
  1431. alt=""
  1432. srcset=""
  1433. />
  1434. </div>
  1435. </div>
  1436. <div class="pageboxtitle2 projectColumn">
  1437. <div class="span2">
  1438. <span class="span2-1">
  1439. 环比:{{ sysCompare.receptionCount || 0 }}</span
  1440. >
  1441. <span class="span2-2" v-if="orderBy.receptionCount > 0">
  1442. +{{ orderBy.receptionCount || 0 }}
  1443. <i class="up"></i>
  1444. </span>
  1445. <span class="span2-3" v-if="orderBy.receptionCount < 0">
  1446. {{ orderBy.receptionCount || 0 }}
  1447. <i class="down"></i>
  1448. </span>
  1449. <span
  1450. style="margin-left: 15px"
  1451. v-if="orderBy.receptionCount > 0"
  1452. >数据有所增长</span
  1453. >
  1454. <span
  1455. style="margin-left: 15px"
  1456. v-if="orderBy.receptionCount < 0"
  1457. >数据有所下降</span
  1458. >
  1459. </div>
  1460. </div>
  1461. </div>
  1462. </div>
  1463. <div
  1464. class="pagechen"
  1465. @click="toDetail('/building/Count', '', '项目统计')"
  1466. >
  1467. <div style="width: 100%">
  1468. <div class="pageboxtitle1 projectCardItem">
  1469. <div class="sum">
  1470. <div class="sum-top">
  1471. <div>有效接待</div>
  1472. <el-tooltip
  1473. effect="light"
  1474. content="筛选时间内,标记为有效的接待数,不包含待接单;"
  1475. placement="bottom-end"
  1476. >
  1477. <i class="pop"></i>
  1478. </el-tooltip>
  1479. </div>
  1480. <div class="span1">{{ sysSec.activeCustomer || 0 }}</div>
  1481. </div>
  1482. <div class="cardicon">
  1483. <img
  1484. src="../../public/img/indexIcon/indexCardIcon5.png"
  1485. alt=""
  1486. srcset=""
  1487. />
  1488. </div>
  1489. </div>
  1490. <div class="pageboxtitle2 projectColumn">
  1491. <div class="span2">
  1492. <span class="span2-1">
  1493. 环比:{{ sysCompare.activeCustomer || 0 }}</span
  1494. >
  1495. <span class="span2-2" v-if="orderBy.activeCustomer > 0">
  1496. +{{ orderBy.activeCustomer || 0 }}
  1497. <i class="up"></i>
  1498. </span>
  1499. <span class="span2-3" v-if="orderBy.activeCustomer < 0">
  1500. {{ orderBy.activeCustomer || 0 }}
  1501. <i class="down"></i>
  1502. </span>
  1503. <span
  1504. style="margin-left: 15px"
  1505. v-if="orderBy.activeCustomer > 0"
  1506. >数据有所增长</span
  1507. >
  1508. <span
  1509. style="margin-left: 15px"
  1510. v-if="orderBy.activeCustomer < 0"
  1511. >数据有所下降</span
  1512. >
  1513. </div>
  1514. </div>
  1515. </div>
  1516. </div>
  1517. <div
  1518. class="pagechen"
  1519. @click="toDetail('/building/Count', '', '项目统计')"
  1520. >
  1521. <div style="width: 100%">
  1522. <div class="pageboxtitle1 projectCardItem">
  1523. <div class="sum">
  1524. <div class="sum-top">
  1525. <div>平均执行率</div>
  1526. <el-tooltip
  1527. effect="light"
  1528. content="筛选时间内,有效接待(不包含待接单)的平均执行率;"
  1529. placement="bottom-end"
  1530. >
  1531. <i class="pop"></i>
  1532. </el-tooltip>
  1533. </div>
  1534. <div class="span1">{{ sysSec.avgFration || 0 }}</div>
  1535. </div>
  1536. <div class="cardicon">
  1537. <img
  1538. src="../../public/img/indexIcon/indexCardIcon11.png"
  1539. alt=""
  1540. srcset=""
  1541. />
  1542. </div>
  1543. </div>
  1544. <div class="pageboxtitle2 projectColumn">
  1545. <div class="span2">
  1546. <span class="span2-1">
  1547. 环比:{{ sysCompare.avgFration || 0 }}</span
  1548. >
  1549. <span class="span2-2" v-if="orderBy.avgFration > 0">
  1550. +{{ orderBy.avgFration || 0 }}%
  1551. <i class="up"></i>
  1552. </span>
  1553. <span class="span2-3" v-if="orderBy.avgFration < 0">
  1554. {{ orderBy.avgFration || 0 }}%
  1555. <i class="down"></i>
  1556. </span>
  1557. <span style="margin-left: 15px" v-if="orderBy.avgFration > 0"
  1558. >数据有所增长</span
  1559. >
  1560. <span style="margin-left: 15px" v-if="orderBy.avgFration < 0"
  1561. >数据有所下降</span
  1562. >
  1563. </div>
  1564. </div>
  1565. </div>
  1566. </div>
  1567. <div
  1568. class="pagechen"
  1569. @click="toDetail('/building/Count', '', '项目统计')"
  1570. >
  1571. <div style="width: 100%">
  1572. <div class="pageboxtitle1 projectCardItem">
  1573. <div class="sum">
  1574. <div class="sum-top">
  1575. <div>平均接待时长(分钟)</div>
  1576. <el-tooltip
  1577. effect="light"
  1578. content="筛选时间内,有效接待(不包含待接单)的平均录音时长,单位分钟;"
  1579. placement="bottom-end"
  1580. >
  1581. <i class="pop"></i>
  1582. </el-tooltip>
  1583. </div>
  1584. <div class="span1">
  1585. {{ sysSec.receptionTimeWithAvg || 0 }}
  1586. </div>
  1587. </div>
  1588. <div class="cardicon">
  1589. <img
  1590. src="../../public/img/indexIcon/indexCardIcon7.png"
  1591. alt=""
  1592. srcset=""
  1593. />
  1594. </div>
  1595. </div>
  1596. <div class="pageboxtitle2 projectColumn">
  1597. <div class="span2">
  1598. <span class="span2-1">
  1599. 环比:{{ sysCompare.receptionTimeWithAvg || 0 }}</span
  1600. >
  1601. <span class="span2-2" v-if="orderBy.receptionTimeWithAvg > 0">
  1602. +{{ orderBy.receptionTimeWithAvg || 0 }}
  1603. <i class="up"></i>
  1604. </span>
  1605. <span class="span2-3" v-if="orderBy.receptionTimeWithAvg < 0">
  1606. {{ orderBy.receptionTimeWithAvg || 0 }}
  1607. <i class="down"></i>
  1608. </span>
  1609. <span
  1610. style="margin-left: 15px"
  1611. v-if="orderBy.receptionTimeWithAvg > 0"
  1612. >数据有所增长</span
  1613. >
  1614. <span
  1615. style="margin-left: 15px"
  1616. v-if="orderBy.receptionTimeWithAvg < 0"
  1617. >数据有所下降</span
  1618. >
  1619. </div>
  1620. </div>
  1621. </div>
  1622. </div>
  1623. <div
  1624. class="pagechen"
  1625. @click="toDetail('/building/Count', '', '项目统计')"
  1626. >
  1627. <div style="width: 100%">
  1628. <div class="pageboxtitle1 projectCardItem">
  1629. <div class="sum">
  1630. <div class="sum-top">
  1631. <div>违禁接待次数</div>
  1632. <el-tooltip
  1633. effect="light"
  1634. content="筛选时间内,出现违禁的接待次数,不包含待接单/无效接待/无效违禁;"
  1635. placement="bottom-end"
  1636. >
  1637. <i class="pop"></i>
  1638. </el-tooltip>
  1639. </div>
  1640. <div class="span1">{{ sysSec.prohibitedCount || 0 }}</div>
  1641. </div>
  1642. <div class="cardicon">
  1643. <img
  1644. src="../../public/img/indexIcon/indexCardIcon6.png"
  1645. alt=""
  1646. srcset=""
  1647. />
  1648. </div>
  1649. </div>
  1650. <div class="pageboxtitle2 projectColumn">
  1651. <div class="span2">
  1652. <span class="span2-1">
  1653. 环比:{{ sysCompare.prohibitedCount || 0 }}</span
  1654. >
  1655. <span class="span2-2" v-if="orderBy.prohibitedCount > 0">
  1656. +{{ orderBy.prohibitedCount || 0 }}
  1657. <i class="up"></i>
  1658. </span>
  1659. <span class="span2-3" v-if="orderBy.prohibitedCount < 0">
  1660. {{ orderBy.prohibitedCount || 0 }}
  1661. <i class="down"></i>
  1662. </span>
  1663. <span
  1664. style="margin-left: 15px"
  1665. v-if="orderBy.prohibitedCount > 0"
  1666. >数据有所增长</span
  1667. >
  1668. <span
  1669. style="margin-left: 15px"
  1670. v-if="orderBy.prohibitedCount < 0"
  1671. >数据有所下降</span
  1672. >
  1673. </div>
  1674. </div>
  1675. </div>
  1676. </div>
  1677. <div
  1678. class="pagechen"
  1679. @click="toDetail('/building/Count', '', '项目统计')"
  1680. >
  1681. <div style="width: 100%">
  1682. <div class="pageboxtitle1 projectCardItem">
  1683. <div class="sum">
  1684. 接待时长(小时)
  1685. <div class="span1">{{ sysSec.receptionTime || 0 }}</div>
  1686. </div>
  1687. <div class="cardicon">
  1688. <img
  1689. src="../../public/img/indexIcon/indexCardIcon16.png"
  1690. alt=""
  1691. srcset=""
  1692. />
  1693. </div>
  1694. </div>
  1695. <div class="pageboxtitle2 projectColumn">
  1696. <div class="span2">
  1697. <span class="span2-1">
  1698. 环比:{{ sysCompare.receptionTime || 0 }}</span
  1699. >
  1700. <span class="span2-2" v-if="orderBy.receptionTime > 0">
  1701. +{{ orderBy.receptionTime || 0 }}
  1702. <i class="up"></i>
  1703. </span>
  1704. <span class="span2-3" v-if="orderBy.receptionTime < 0">
  1705. {{ orderBy.receptionTime || 0 }}
  1706. <i class="down"></i>
  1707. </span>
  1708. <span
  1709. style="margin-left: 15px"
  1710. v-if="orderBy.receptionTime > 0"
  1711. >数据有所增长</span
  1712. >
  1713. <span
  1714. style="margin-left: 15px"
  1715. v-if="orderBy.receptionTime < 0"
  1716. >数据有所下降</span
  1717. >
  1718. </div>
  1719. </div>
  1720. </div>
  1721. </div>
  1722. <div
  1723. class="pagechen"
  1724. @click="toDetail('/building/Count', '', '项目统计')"
  1725. >
  1726. <div style="width: 100%">
  1727. <div class="pageboxtitle1 projectCardItem">
  1728. <div class="sum">
  1729. 活跃项目数
  1730. <div class="span1">{{ sysSec.activeHouseQuantity || 0 }}</div>
  1731. </div>
  1732. <div class="cardicon">
  1733. <img
  1734. src="../../public/img/indexIcon/indexCardIcon1.png"
  1735. alt=""
  1736. srcset=""
  1737. />
  1738. </div>
  1739. </div>
  1740. <div class="pageboxtitle2 projectColumn">
  1741. <div class="span2">
  1742. <span class="span2-1">
  1743. 环比:{{ sysCompare.activeHouseQuantity || 0 }}</span
  1744. >
  1745. <span class="span2-2" v-if="orderBy.activeHouseQuantity > 0">
  1746. +{{ orderBy.activeHouseQuantity || 0 }}
  1747. <i class="up"></i>
  1748. </span>
  1749. <span class="span2-3" v-if="orderBy.activeHouseQuantity < 0">
  1750. {{ orderBy.activeHouseQuantity || 0 }}
  1751. <i class="down"></i>
  1752. </span>
  1753. <span
  1754. style="margin-left: 15px"
  1755. v-if="orderBy.activeHouseQuantity > 0"
  1756. >数据有所增长</span
  1757. >
  1758. <span
  1759. style="margin-left: 15px"
  1760. v-if="orderBy.activeHouseQuantity < 0"
  1761. >数据有所下降</span
  1762. >
  1763. </div>
  1764. </div>
  1765. </div>
  1766. </div>
  1767. <div
  1768. class="pagechen"
  1769. @click="toDetail('/building/Count', '', '项目统计')"
  1770. >
  1771. <div style="width: 100%">
  1772. <div class="pageboxtitle1 projectCardItem">
  1773. <div class="sum">
  1774. 无效接待
  1775. <div class="span1">{{ sysSec.invalidCustomer || 0 }}</div>
  1776. </div>
  1777. <div class="cardicon">
  1778. <img
  1779. src="../../public/img/indexIcon/indexCardIcon8.png"
  1780. alt=""
  1781. srcset=""
  1782. />
  1783. </div>
  1784. </div>
  1785. <div class="pageboxtitle2 projectColumn">
  1786. <div class="span2">
  1787. <span class="span2-1">
  1788. 环比:{{ sysCompare.invalidCustomer || 0 }}</span
  1789. >
  1790. <span class="span2-2" v-if="orderBy.invalidCustomer > 0">
  1791. +{{ orderBy.invalidCustomer || 0 }}
  1792. <i class="up"></i>
  1793. </span>
  1794. <span class="span2-3" v-if="orderBy.invalidCustomer < 0">
  1795. {{ orderBy.invalidCustomer || 0 }}
  1796. <i class="down"></i>
  1797. </span>
  1798. <span
  1799. style="margin-left: 15px"
  1800. v-if="orderBy.invalidCustomer > 0"
  1801. >数据有所增长</span
  1802. >
  1803. <span
  1804. style="margin-left: 15px"
  1805. v-if="orderBy.invalidCustomer < 0"
  1806. >数据有所下降</span
  1807. >
  1808. </div>
  1809. </div>
  1810. </div>
  1811. </div>
  1812. <div
  1813. class="pagechen"
  1814. @click="toDetail('/Equipment/state', '', '设备监控')"
  1815. >
  1816. <div style="width: 100%">
  1817. <div class="pageboxtitle1 projectCardItem">
  1818. <div class="sum">
  1819. <div class="sum-top">
  1820. <div>活跃设备数</div>
  1821. <el-tooltip
  1822. effect="light"
  1823. content="筛选时间内,有接待并上传录音的设备;"
  1824. placement="bottom-end"
  1825. >
  1826. <i class="pop"></i>
  1827. </el-tooltip>
  1828. </div>
  1829. <div class="span1">
  1830. {{ sysSec.activeEquipmentQuantity || 0 }}
  1831. </div>
  1832. </div>
  1833. <div class="cardicon">
  1834. <img
  1835. src="../../public/img/indexIcon/indexCardIcon2.png"
  1836. alt=""
  1837. srcset=""
  1838. />
  1839. </div>
  1840. </div>
  1841. <div class="pageboxtitle2 projectColumn">
  1842. <div class="span2">
  1843. <span class="span2-1">
  1844. 环比:{{ sysCompare.activeEquipmentQuantity || 0 }}</span
  1845. >
  1846. <span
  1847. class="span2-2"
  1848. v-if="orderBy.activeEquipmentQuantity > 0"
  1849. >
  1850. +{{ orderBy.activeEquipmentQuantity || 0 }}
  1851. <i class="up"></i>
  1852. </span>
  1853. <span
  1854. class="span2-3"
  1855. v-if="orderBy.activeEquipmentQuantity < 0"
  1856. >
  1857. {{ orderBy.activeEquipmentQuantity || 0 }}
  1858. <i class="down"></i>
  1859. </span>
  1860. <span
  1861. style="margin-left: 15px"
  1862. v-if="orderBy.activeEquipmentQuantity > 0"
  1863. >数据有所增长</span
  1864. >
  1865. <span
  1866. style="margin-left: 15px"
  1867. v-if="orderBy.activeEquipmentQuantity < 0"
  1868. >数据有所下降</span
  1869. >
  1870. </div>
  1871. </div>
  1872. </div>
  1873. </div>
  1874. <div
  1875. class="pagechen"
  1876. @click="toDetail('/Equipment/state', '', '设备监控')"
  1877. >
  1878. <div style="width: 100%">
  1879. <div class="pageboxtitle1 projectCardItem">
  1880. <div class="sum">
  1881. <div class="sum-top">
  1882. <div>活跃设备占比</div>
  1883. <el-tooltip
  1884. effect="light"
  1885. content="筛选时间内,活跃设备/总设备*100%;"
  1886. placement="bottom-end"
  1887. >
  1888. <i class="pop"></i>
  1889. </el-tooltip>
  1890. </div>
  1891. <div class="span1">
  1892. {{ sysSec.activeEquipmentQuantityZB || 0 }}%
  1893. </div>
  1894. </div>
  1895. <div class="cardicon">
  1896. <img
  1897. src="../../public/img/indexIcon/indexCardIcon13.png"
  1898. alt=""
  1899. srcset=""
  1900. />
  1901. </div>
  1902. </div>
  1903. <div class="pageboxtitle2 projectColumn">
  1904. <div class="span2">
  1905. <span class="span2-1">
  1906. 环比:{{ sysCompare.activeEquipmentQuantityZB || 0 }}</span
  1907. >
  1908. <span
  1909. class="span2-2"
  1910. v-if="orderBy.activeEquipmentQuantityZB > 0"
  1911. >
  1912. +{{ orderBy.activeEquipmentQuantityZB || 0 }}
  1913. <i class="up"></i>
  1914. </span>
  1915. <span
  1916. class="span2-3"
  1917. v-if="orderBy.activeEquipmentQuantityZB < 0"
  1918. >
  1919. {{ orderBy.activeEquipmentQuantityZB || 0 }}
  1920. <i class="down"></i>
  1921. </span>
  1922. <span
  1923. style="margin-left: 15px"
  1924. v-if="orderBy.activeEquipmentQuantityZB > 0"
  1925. >数据有所增长</span
  1926. >
  1927. <span
  1928. style="margin-left: 15px"
  1929. v-if="orderBy.activeEquipmentQuantityZB < 0"
  1930. >数据有所下降</span
  1931. >
  1932. </div>
  1933. </div>
  1934. </div>
  1935. </div>
  1936. </div>
  1937. </div>
  1938. <div class="app-box-san">
  1939. <div class="zuo">
  1940. <div class="title1">
  1941. <div>
  1942. {{ role == 2 ? "项目排名(TOP10)" : "公司排名(TOP10)" }}
  1943. </div>
  1944. <div style="display: flex; cursor: pointer">
  1945. <div
  1946. class="text1"
  1947. style="margin-right: 10px"
  1948. @click="chooseCompanyRank('classatec1', 0)"
  1949. :class="{ colostyle: classatec1 == 0 }"
  1950. >
  1951. 接待量
  1952. </div>
  1953. <div
  1954. class="text1"
  1955. @click="chooseCompanyRank('classatec1', 1)"
  1956. :class="{ colostyle: classatec1 == 1 }"
  1957. >
  1958. 平均执行率
  1959. </div>
  1960. </div>
  1961. </div>
  1962. <div class="tabbox">
  1963. <el-table
  1964. :header-cell-style="{ background: '#F5F7FA', color: '#333333' }"
  1965. :data="companyRank"
  1966. style="width: 100%; font-size: 14px"
  1967. >
  1968. <el-table-column
  1969. prop="companyName"
  1970. :label="role == 2 ? '项目名称' : '公司名称'"
  1971. align="center"
  1972. >
  1973. <template slot-scope="{ row }">
  1974. {{ role != 2 ? row.companyName : row.houseName }}
  1975. </template>
  1976. </el-table-column>
  1977. <el-table-column
  1978. v-if="classatec1 == 0"
  1979. prop="receptionCount"
  1980. label="接待量"
  1981. align="center"
  1982. >
  1983. </el-table-column>
  1984. <el-table-column
  1985. v-if="classatec1 == 0"
  1986. prop="receptionTime"
  1987. label="接待时长(小时)"
  1988. align="center"
  1989. >
  1990. </el-table-column>
  1991. <el-table-column
  1992. v-if="classatec1 == 1"
  1993. prop="avgFration"
  1994. label="平均执行率"
  1995. align="center"
  1996. >
  1997. <template slot-scope="{ row }">
  1998. {{ row.avgFration || 0 }}%
  1999. </template>
  2000. </el-table-column>
  2001. </el-table>
  2002. </div>
  2003. </div>
  2004. <div class="you">
  2005. <div class="title1" style="cursor: pointer">
  2006. <div>
  2007. {{ role == 2 ? "顾问排名(TOP10)" : "项目排名(TOP10)" }}
  2008. </div>
  2009. <div style="display: flex">
  2010. <div
  2011. class="text1"
  2012. style="margin-right: 10px"
  2013. @click="chooseCompanyRank('classatec2', 0)"
  2014. :class="{ colostyle: classatec2 == 0 }"
  2015. >
  2016. 接待量
  2017. </div>
  2018. <div
  2019. class="text1"
  2020. @click="chooseCompanyRank('classatec2', 1)"
  2021. :class="{ colostyle: classatec2 == 1 }"
  2022. >
  2023. 平均执行率
  2024. </div>
  2025. </div>
  2026. </div>
  2027. <div class="tabbox">
  2028. <el-table
  2029. :header-cell-style="{ background: '#F5F7FA', color: '#333333' }"
  2030. :data="houseRank"
  2031. style="width: 100%; font-size: 14px; cursor: pointer"
  2032. >>
  2033. <el-table-column
  2034. prop="houseName"
  2035. :label="role == 2 ? '顾问名称' : '项目名称'"
  2036. align="center"
  2037. >
  2038. <template slot-scope="{ row }">
  2039. {{ role != 2 ? row.houseName : row.accountName }}
  2040. </template>
  2041. </el-table-column>
  2042. <el-table-column
  2043. prop="receptionCount"
  2044. v-if="classatec2 == 0"
  2045. label="接待量"
  2046. align="center"
  2047. >
  2048. </el-table-column>
  2049. <el-table-column
  2050. v-if="classatec2 == 0"
  2051. prop="receptionTime"
  2052. label="接待时长(小时)"
  2053. align="center"
  2054. >
  2055. </el-table-column>
  2056. <el-table-column
  2057. v-if="classatec2 == 1"
  2058. prop="avgFration"
  2059. label="平均执行率"
  2060. align="center"
  2061. >
  2062. <template slot-scope="{ row }">
  2063. {{ row.avgFration || 0 }}%
  2064. </template>
  2065. </el-table-column>
  2066. </el-table>
  2067. </div>
  2068. </div>
  2069. </div>
  2070. </div>
  2071. <div
  2072. v-if="info.userRoleType == 6"
  2073. style="text-align: center; font-size: 30px; margin: 300px auto"
  2074. >
  2075. 欢迎光临
  2076. </div>
  2077. </div>
  2078. </template>
  2079. <script>
  2080. import { getStore, setStore } from "@/util/store";
  2081. import { mapGetters } from "vuex";
  2082. export default {
  2083. name: "Wel",
  2084. data() {
  2085. return {
  2086. role: "",
  2087. houseId: "",
  2088. houseList: [],
  2089. houseRank: [],
  2090. allHouseRank: {}, // 全部的项目排名
  2091. companyRank: [],
  2092. allCompanyRank: {}, // 全部的排名列表
  2093. classatec: 1,
  2094. classatec1: 0,
  2095. classatec2: 0,
  2096. customtime: [],
  2097. statDateStart: "",
  2098. statDateEnd: "",
  2099. TimetoAhoose: 1,
  2100. equNum: 0,
  2101. equNum1: 0,
  2102. cardlist: {
  2103. datalist: {},
  2104. liftlist: {},
  2105. sequential: {},
  2106. },
  2107. sysData: {},
  2108. orderBy: {},
  2109. sysCompare: {},
  2110. sysTop: {},
  2111. sysSec: {},
  2112. tableData: [],
  2113. equipmentList: [],
  2114. prohibitedlist: [],
  2115. indexZxllist: [],
  2116. employeeExecutionRatelist: {
  2117. num: "",
  2118. list: [],
  2119. fraction: "",
  2120. },
  2121. };
  2122. },
  2123. computed: {
  2124. ...mapGetters(["permissions"]),
  2125. info() {
  2126. return this.$store.state.user.userInfo;
  2127. },
  2128. RandomColor() {
  2129. return (index) => {
  2130. switch (index) {
  2131. case 0:
  2132. return "#5B8FF9";
  2133. break;
  2134. case 1:
  2135. return "#07B79D";
  2136. break;
  2137. case 2:
  2138. return "#9B6BDF";
  2139. break;
  2140. case 3:
  2141. return "#F6BD16";
  2142. break;
  2143. case 4:
  2144. return "#E6625B";
  2145. break;
  2146. case 5:
  2147. return "#88AA9D";
  2148. break;
  2149. case 6:
  2150. return "#F575AB";
  2151. break;
  2152. case 7:
  2153. return "#29689A";
  2154. break;
  2155. case 8:
  2156. return "#9A4329";
  2157. break;
  2158. case 9:
  2159. return "#9A6BE0";
  2160. break;
  2161. case 10:
  2162. return "#1E89B7";
  2163. break;
  2164. case 11:
  2165. return "#0D9A31";
  2166. break;
  2167. case 12:
  2168. return "#92F512";
  2169. break;
  2170. case 13:
  2171. return "#F5D312";
  2172. break;
  2173. case 14:
  2174. return "#12F5C8";
  2175. break;
  2176. case 15:
  2177. return "#B967E3";
  2178. break;
  2179. case 16:
  2180. return "#7379FB";
  2181. break;
  2182. case 17:
  2183. return "#FB7385";
  2184. break;
  2185. case 18:
  2186. return "#FBF973";
  2187. break;
  2188. default:
  2189. return "#138BFB";
  2190. }
  2191. };
  2192. },
  2193. },
  2194. mounted() {
  2195. this.role = localStorage.getItem("orgType");
  2196. if (this.role == 3) {
  2197. this.houseId = localStorage.getItem("houseId");
  2198. this.getgicd();
  2199. // 获取维度占比
  2200. this.getindexZxllist();
  2201. // 员工执行率
  2202. this.getemployeeExecutionRatelist();
  2203. // 违禁提醒列表
  2204. this.findProhibitedRecord();
  2205. // 获取设备
  2206. this.findAllZkEquipment();
  2207. } else {
  2208. // 公司
  2209. this.waitingForOperation();
  2210. }
  2211. },
  2212. methods: {
  2213. // 当前选中时间类型之接待记录
  2214. /**
  2215. * 1、接待量跳转
  2216. * 2、有效接待、平均执行率、平均接待时长:打开接待页面,筛选条件:日期+有效接待
  2217. * 3、顾问:打开顾问排名,筛选条件:时间;
  2218. * 4、违禁接待次数、违禁接待占比:打开接待记录,筛选条件:日期+违禁是+有效接待;
  2219. * */
  2220. nowSelectTime(type) {
  2221. let str = "";
  2222. switch (type) {
  2223. case 1:
  2224. if (this.TimetoAhoose == 0) {
  2225. str = `dateType,${this.TimetoAhoose}`;
  2226. } else if (this.TimetoAhoose == 1) {
  2227. str = `dateType,${2}`;
  2228. } else {
  2229. str = "";
  2230. }
  2231. break;
  2232. case 2:
  2233. if (this.TimetoAhoose == 0) {
  2234. str = `dateType,${this.TimetoAhoose}&validInvalid,0`;
  2235. } else if (this.TimetoAhoose == 1) {
  2236. str = `dateType,${2}&validInvalid,0`;
  2237. } else {
  2238. str = "validInvalid,0";
  2239. }
  2240. break;
  2241. case 3:
  2242. if (this.TimetoAhoose == 0) {
  2243. str = `dateType,0`;
  2244. } else if (this.TimetoAhoose == 1) {
  2245. str = `dateType,4`;
  2246. } else {
  2247. str = "dateType,6";
  2248. }
  2249. break;
  2250. case 4:
  2251. if (this.TimetoAhoose == 0) {
  2252. str = `dateType,${this.TimetoAhoose}&taboo,1&validInvalid,0`;
  2253. } else if (this.TimetoAhoose == 1) {
  2254. str = `dateType,${2}&taboo,1&validInvalid,0`;
  2255. } else {
  2256. str = "taboo,1&validInvalid,0";
  2257. }
  2258. break;
  2259. }
  2260. return str;
  2261. },
  2262. // 跳转详情
  2263. toDetail(path, params2 = "", name) {
  2264. if (path == "") return;
  2265. if (!this.hasRoute(name, this.$router.options.routes)) {
  2266. this.$message.error("您没有此权限,请联系管理员添加该菜单权限");
  2267. return;
  2268. }
  2269. this.$router.push({
  2270. path: path,
  2271. query: {
  2272. date: this.customtime.join(","), // 筛选时间
  2273. types: params2, // 类型
  2274. },
  2275. });
  2276. },
  2277. // 是否存在此路由
  2278. hasRoute(name, routeList) {
  2279. !routeList &&
  2280. ((routeList = this.$router.options.routes), console.log("执行"));
  2281. for (let i = 0; i < routeList.length; i++) {
  2282. if (routeList[i].name === name) {
  2283. return true;
  2284. }
  2285. if (routeList[i].children) {
  2286. let flag = this.hasRoute(name, routeList[i].children);
  2287. if (flag) {
  2288. return flag;
  2289. }
  2290. }
  2291. }
  2292. return false;
  2293. },
  2294. goinfo(row) {
  2295. this.$api.http.findByCusIdcusId({ cusId: row.id }).then((res) => {
  2296. if (res.data.length == 0) {
  2297. this.$message({
  2298. message: "无录音",
  2299. type: "warning",
  2300. });
  2301. } else {
  2302. this.$router.push({
  2303. path: "/Receive/index",
  2304. query: { flag: row.id, AudioIdx: 0 },
  2305. });
  2306. }
  2307. });
  2308. },
  2309. // 获取时间段
  2310. getTimes() {
  2311. let str = "";
  2312. let time = new Date().getTime();
  2313. if (this.TimetoAhoose == 0) {
  2314. str = `${new Date(time).getFullYear()}-${
  2315. new Date(time).getMonth() + 1
  2316. }-${new Date(time).getDate()}`;
  2317. }
  2318. if (this.TimetoAhoose == 1) {
  2319. let starTime = new Date().getTime() - 24 * 60 * 60 * 1000 * 7;
  2320. let startDate = `${new Date(starTime).getFullYear()}-${
  2321. new Date(starTime).getMonth() + 1
  2322. }-${new Date(starTime).getDate()}`;
  2323. let endTime = new Date().getTime() - 24 * 60 * 60 * 1000;
  2324. let endDate = `${new Date(endTime).getFullYear()}-${
  2325. new Date(endTime).getMonth() + 1
  2326. }-${new Date(endTime).getDate()}`;
  2327. str = `${startDate},${endDate}`;
  2328. }
  2329. if (this.TimetoAhoose == 2) {
  2330. let starTime = new Date().getTime() - 24 * 60 * 60 * 1000 * 30;
  2331. let startDate = `${new Date(starTime).getFullYear()}-${
  2332. new Date(starTime).getMonth() + 1
  2333. }-${new Date(starTime).getDate()}`;
  2334. let endTime = new Date().getTime() - 24 * 60 * 60 * 1000;
  2335. let endDate = `${new Date(endTime).getFullYear()}-${
  2336. new Date(endTime).getMonth() + 1
  2337. }-${new Date(endTime).getDate()}`;
  2338. str = `${startDate},${endDate}`;
  2339. }
  2340. return str;
  2341. },
  2342. jumpto(ind) {
  2343. let num = 24 * 3600 * 1000 * 29;
  2344. let dang = this.getCurrentTime();
  2345. let timevt = this.timestampToTime(new Date(dang).getTime() + num);
  2346. let newtime = [dang, timevt];
  2347. if (ind == 1) {
  2348. this.$router.push({
  2349. path: "/Customer/AgentManagement",
  2350. query: { residueTime: newtime, serviceStatus: 0 },
  2351. });
  2352. } else if (ind == 2) {
  2353. this.$router.push({
  2354. path: "/building/index",
  2355. query: { residueTime: newtime, serviceStatus: 0 },
  2356. });
  2357. } else if (ind == 3) {
  2358. this.$router.push({
  2359. path: "/Equipment/state",
  2360. query: { flag: 1, selValue: 2 },
  2361. });
  2362. } else {
  2363. this.$router.push({
  2364. path: "/Equipment/state",
  2365. query: { flag: 2, electricity: 20 },
  2366. });
  2367. }
  2368. },
  2369. timestampToTime(timestamp) {
  2370. var date = new Date(timestamp); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
  2371. var yyyy = date.getFullYear() + "-";
  2372. var MM =
  2373. (date.getMonth() + 1 < 10
  2374. ? "0" + (date.getMonth() + 1)
  2375. : date.getMonth() + 1) + "-";
  2376. var dd = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
  2377. return yyyy + MM + dd;
  2378. },
  2379. getCurrentTime() {
  2380. //获取当前时间并打印
  2381. let yy = new Date().getFullYear();
  2382. let mm = new Date().getMonth() + 1;
  2383. if (mm < 10) {
  2384. mm = "0" + mm;
  2385. }
  2386. let dd = new Date().getDate();
  2387. // console.log(dd,'时间')
  2388. if (dd < 10) {
  2389. dd = "0" + dd;
  2390. }
  2391. let gettime = yy + "-" + mm + "-" + dd;
  2392. return gettime;
  2393. },
  2394. //切换项目
  2395. houseChange() {
  2396. this.TimetoAhoose = 0;
  2397. this.statDateStart = "";
  2398. this.statDateEnd = "";
  2399. this.getgicd();
  2400. this.findProhibitedRecord();
  2401. },
  2402. // 系统获取第一个数据
  2403. waitingForOperation() {
  2404. let obj = {
  2405. dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
  2406. // dateType: 1,
  2407. orderBy: 1,
  2408. startDate: this.statDateStart,
  2409. endDate: this.statDateEnd,
  2410. orgType: localStorage.getItem("orgType"),
  2411. };
  2412. if (this.role == 1) {
  2413. obj.agentId = localStorage.getItem("agentId") / 1;
  2414. }
  2415. if (this.role == 2) {
  2416. obj.orgCode = localStorage.getItem("orgCode");
  2417. }
  2418. this.$api.api.waitingForOperation(obj).then((res) => {
  2419. // console.log(res);
  2420. // this.sysData=res.data
  2421. this.sysTop = res.data.top;
  2422. this.sysSec = res.data.midA;
  2423. this.sysCompare = res.data.midB;
  2424. this.orderBy = res.data.midC;
  2425. if (this.role == 2) {
  2426. this.houseRank = res.data.accountRank.avgFraction;
  2427. this.companyRank = res.data.houseRank.avgFraction;
  2428. this.allHouseRank = res.data.houseRank;
  2429. this.allCompanyRank = res.data.accountRank;
  2430. } else {
  2431. this.houseRank = res.data.houseRank.avgFraction || [];
  2432. this.allHouseRank = res.data.houseRank;
  2433. this.allCompanyRank = res.data.companyRank;
  2434. this.companyRank = res.data.companyRank.avgFraction || [];
  2435. }
  2436. });
  2437. },
  2438. // 选择公司类型切换 classatec1 公司/项目 classatec2 项目/顾问
  2439. chooseCompanyRank(keys, index) {
  2440. this[keys] = index;
  2441. console.log(keys);
  2442. console.log(this.role, "123891273892178937129837");
  2443. if (this.role != 2) {
  2444. if (keys == "classatec1") {
  2445. if (index == 0) {
  2446. this.companyRank = this.allCompanyRank.receptionCount;
  2447. } else {
  2448. this.companyRank = this.allCompanyRank.avgFraction;
  2449. }
  2450. } else {
  2451. if (index == 0) {
  2452. this.houseRank = this.allHouseRank.receptionCount;
  2453. } else {
  2454. this.houseRank = this.allHouseRank.avgFraction;
  2455. }
  2456. }
  2457. } else {
  2458. if (keys == "classatec1") {
  2459. if (index == 0) {
  2460. this.houseRank = this.allCompanyRank.avgFraction;
  2461. } else {
  2462. this.houseRank = this.allCompanyRank.receptionCount;
  2463. }
  2464. } else {
  2465. if (index == 0) {
  2466. this.companyRank = this.allHouseRank.avgFraction;
  2467. } else {
  2468. this.companyRank = this.allHouseRank.receptionCount;
  2469. }
  2470. }
  2471. }
  2472. },
  2473. //获取项目
  2474. zkhousePage() {
  2475. this.$api.api
  2476. .findHouseByUser({
  2477. orgType: localStorage.getItem("orgType"),
  2478. })
  2479. .then((res) => {
  2480. this.houseList = res.data;
  2481. this.houseId = res.data[0].id;
  2482. this.getgicd();
  2483. this.getindexZxllist();
  2484. this.getemployeeExecutionRatelist();
  2485. this.findProhibitedRecord();
  2486. this.findAllZkEquipment();
  2487. });
  2488. },
  2489. //获取卡片数据
  2490. getgicd() {
  2491. let obj = {
  2492. houseId: this.houseId,
  2493. dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
  2494. statDateStart: this.statDateStart,
  2495. statDateEnd: this.statDateEnd,
  2496. };
  2497. this.$api.http.houseIndex(obj).then((res) => {
  2498. this.cardlist.datalist = {
  2499. receptionCount: res.data.todayStat.receptionCount,
  2500. activeCustomer: res.data.todayStat.activeCustomer,
  2501. receivingCustomer: res.data.todayStat.receivingCustomer,
  2502. avgDuration: res.data.todayStat.avgDuration,
  2503. fraction: res.data.todayStat.fraction,
  2504. prohibitedCustomer: res.data.todayStat.prohibitedCustomer,
  2505. prohibitedZb: res.data.todayStat.prohibitedZb,
  2506. accountNum: res.data.todayStat.accountNum,
  2507. };
  2508. this.cardlist.liftlist = {
  2509. receptionCount: res.data.comparedStat.receptionCount,
  2510. activeCustomer: res.data.comparedStat.activeCustomer,
  2511. receivingCustomer: res.data.comparedStat.receivingCustomer,
  2512. avgDuration: res.data.comparedStat.avgDuration,
  2513. fraction: res.data.comparedStat.fraction,
  2514. prohibitedCustomer: res.data.comparedStat.prohibitedCustomer,
  2515. prohibitedZb: res.data.comparedStat.prohibitedZb,
  2516. accountNum: res.data.comparedStat.accountNum,
  2517. };
  2518. this.cardlist.sequential = {
  2519. receptionCount: res.data.yesterdayStat.receptionCount,
  2520. activeCustomer: res.data.yesterdayStat.activeCustomer,
  2521. receivingCustomer: res.data.yesterdayStat.receivingCustomer,
  2522. avgDuration: res.data.yesterdayStat.avgDuration,
  2523. fraction: res.data.yesterdayStat.fraction,
  2524. prohibitedCustomer: res.data.yesterdayStat.prohibitedCustomer,
  2525. prohibitedZb: res.data.yesterdayStat.prohibitedZb,
  2526. accountNum: res.data.yesterdayStat.accountNum,
  2527. };
  2528. });
  2529. },
  2530. //获取设备
  2531. findAllZkEquipment() {
  2532. this.equipmentList = [];
  2533. this.$api.http
  2534. .findAllZkEquipment({
  2535. onLine: this.classatec,
  2536. houseId: this.houseId,
  2537. })
  2538. .then((res) => {
  2539. // 在这里赋值 低电
  2540. this.equNum = res.data.offline;
  2541. this.equNum1 = res.data.lowpower;
  2542. this.equipmentList = res.data.list;
  2543. });
  2544. },
  2545. //获取违禁提醒列表
  2546. findProhibitedRecord() {
  2547. this.prohibitedlist = [];
  2548. this.$api.http
  2549. .findProhibitedRecord({
  2550. houseId: this.houseId,
  2551. dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
  2552. statDateStart: this.statDateStart,
  2553. statDateEnd: this.statDateEnd,
  2554. })
  2555. .then((res) => {
  2556. this.prohibitedlist = res.data;
  2557. });
  2558. },
  2559. getindexZxllist() {
  2560. this.indexZxllist = [];
  2561. this.$api.http
  2562. .getindexZxllist({
  2563. houseId: this.houseId,
  2564. dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
  2565. statDateStart: this.statDateStart,
  2566. statDateEnd: this.statDateEnd,
  2567. })
  2568. .then((res) => {
  2569. this.indexZxllist = res.data.list || [];
  2570. });
  2571. },
  2572. getemployeeExecutionRatelist() {
  2573. this.employeeExecutionRatelist = {
  2574. num: "",
  2575. list: [],
  2576. fraction: "",
  2577. };
  2578. this.$api.http
  2579. .getemployeeExecutionRatelist({
  2580. houseId: this.houseId,
  2581. dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
  2582. statDateStart: this.statDateStart,
  2583. statDateEnd: this.statDateEnd,
  2584. })
  2585. .then((res) => {
  2586. this.employeeExecutionRatelist = res.data;
  2587. });
  2588. },
  2589. tabclick(i) {
  2590. this.classatec = i;
  2591. this.findAllZkEquipment();
  2592. },
  2593. tabclick2(e) {
  2594. console.log(e);
  2595. },
  2596. tabclick1(e) {
  2597. console.log(e);
  2598. },
  2599. tabtimetap(i) {
  2600. this.statDateStart = "";
  2601. this.statDateEnd = "";
  2602. this.customtime = [];
  2603. this.TimetoAhoose = i;
  2604. console.log(this.role);
  2605. if (this.role == 3) {
  2606. this.getgicd();
  2607. this.getindexZxllist();
  2608. this.getemployeeExecutionRatelist();
  2609. this.findProhibitedRecord();
  2610. } else {
  2611. this.waitingForOperation();
  2612. }
  2613. },
  2614. //切换时间
  2615. confirmtime() {
  2616. this.statDateStart = this.customtime[0];
  2617. this.statDateEnd = this.customtime[1];
  2618. console.log(this.customtime);
  2619. this.TimetoAhoose = 5;
  2620. if (this.role == 3) {
  2621. this.getgicd();
  2622. this.getindexZxllist();
  2623. this.getemployeeExecutionRatelist();
  2624. this.findProhibitedRecord();
  2625. } else {
  2626. this.waitingForOperation();
  2627. }
  2628. },
  2629. },
  2630. };
  2631. </script>
  2632. <style scoped="scoped" lang="scss">
  2633. .imgboxc-img {
  2634. width: 120px;
  2635. height: 120px;
  2636. }
  2637. .box-center {
  2638. width: 100%;
  2639. padding: 20px 15px 40px;
  2640. // min-width: 1000px;
  2641. }
  2642. .house-only {
  2643. .pagechen {
  2644. cursor: pointer;
  2645. }
  2646. }
  2647. .xxx {
  2648. margin-top: 55px !important;
  2649. }
  2650. .grid4 {
  2651. display: grid !important;
  2652. grid-template-columns: repeat(4, 25%);
  2653. grid-column-gap: 12px;
  2654. grid-row-gap: 18px;
  2655. }
  2656. .grid5 {
  2657. display: grid !important;
  2658. grid-template-columns: repeat(5, 20%);
  2659. grid-column-gap: 12px;
  2660. grid-row-gap: 18px;
  2661. }
  2662. .page-container {
  2663. width: 97%;
  2664. display: flex;
  2665. margin-top: 16px;
  2666. .projectCardItem {
  2667. display: flex;
  2668. justify-content: space-between;
  2669. .cardicon {
  2670. width: 54px;
  2671. height: 54px;
  2672. img {
  2673. width: 100%;
  2674. height: 100%;
  2675. }
  2676. }
  2677. }
  2678. .nopagechen {
  2679. flex: 1;
  2680. // min-width: 190px;
  2681. background: #ffffff;
  2682. box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.04);
  2683. border-radius: 4px;
  2684. // margin-right: 20px;
  2685. padding: 12px;
  2686. border-bottom: 3px solid #fff;
  2687. transition: all 0.3s linear;
  2688. .pageboxtitle1 {
  2689. width: 100%;
  2690. font-size: 16px;
  2691. font-weight: 400;
  2692. color: #666666;
  2693. line-height: 16px;
  2694. }
  2695. .projectCardItem {
  2696. .sum {
  2697. .sum-top {
  2698. display: flex;
  2699. align-items: center;
  2700. }
  2701. .span1 {
  2702. width: 100px;
  2703. height: 30px;
  2704. font-size: 30px;
  2705. font-weight: normal;
  2706. color: #32363d;
  2707. line-height: 30px;
  2708. margin-top: 10px;
  2709. }
  2710. }
  2711. }
  2712. .projectColumn {
  2713. display: flex;
  2714. flex-direction: column;
  2715. .span2 {
  2716. font-size: 14px !important;
  2717. align-items: center !important;
  2718. .span2-2 {
  2719. display: flex;
  2720. font-weight: 600;
  2721. color: rgba(231, 72, 60, 1);
  2722. background: rgba(253, 240, 239, 1);
  2723. align-items: center;
  2724. padding: 3px 12px;
  2725. border-radius: 3px;
  2726. .up {
  2727. display: block;
  2728. width: 20px;
  2729. height: 15px;
  2730. background: url("../../public/img/indexIcon/indexCardUp.png")
  2731. no-repeat;
  2732. background-size: 100%;
  2733. margin-left: 8px;
  2734. }
  2735. }
  2736. .span2-3 {
  2737. display: flex;
  2738. font-weight: 600;
  2739. color: rgba(7, 183, 157, 1);
  2740. background: rgba(235, 250, 246, 1);
  2741. align-items: center;
  2742. padding: 3px 12px;
  2743. border-radius: 3px;
  2744. .down {
  2745. display: block;
  2746. width: 20px;
  2747. height: 15px;
  2748. background: url("../../public/img/indexIcon/indexCardDown.png")
  2749. no-repeat;
  2750. background-size: 100%;
  2751. margin-left: 8px;
  2752. }
  2753. }
  2754. }
  2755. }
  2756. .pageboxtitle2 {
  2757. width: 100%;
  2758. margin-top: 14px;
  2759. display: flex;
  2760. flex-wrap: wrap;
  2761. .span1 {
  2762. width: 100px;
  2763. height: 30px;
  2764. font-size: 30px;
  2765. font-weight: normal;
  2766. color: #32363d;
  2767. line-height: 30px;
  2768. }
  2769. .span2 {
  2770. height: 30px;
  2771. font-size: 16px;
  2772. display: flex;
  2773. align-items: flex-end;
  2774. .span2-1 {
  2775. color: #424d64;
  2776. margin-right: 15px;
  2777. font-weight: 400;
  2778. }
  2779. .span2-2 {
  2780. display: flex;
  2781. font-weight: 600;
  2782. color: rgba(231, 72, 60, 1);
  2783. }
  2784. .span2-3 {
  2785. display: flex;
  2786. font-weight: 600;
  2787. color: rgba(7, 183, 157, 1);
  2788. }
  2789. }
  2790. }
  2791. .pageboxtitle3 {
  2792. text-align: center;
  2793. font-size: 30px;
  2794. line-height: 44px;
  2795. }
  2796. }
  2797. .pagechen {
  2798. flex: 1;
  2799. // min-width: 190px;
  2800. background: #ffffff;
  2801. box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.04);
  2802. border-radius: 4px;
  2803. // margin-right: 20px;
  2804. padding: 12px;
  2805. border-bottom: 3px solid #fff;
  2806. transition: all 0.3s linear;
  2807. cursor: pointer;
  2808. &:hover {
  2809. border-bottom: 3px solid #2671e2;
  2810. }
  2811. .pageboxtitle1 {
  2812. width: 100%;
  2813. font-size: 16px;
  2814. font-weight: 400;
  2815. color: #666666;
  2816. line-height: 16px;
  2817. .sum-top {
  2818. display: flex;
  2819. align-items: center;
  2820. }
  2821. }
  2822. .projectCardItem {
  2823. .sum {
  2824. .sum-top {
  2825. display: flex;
  2826. align-items: center;
  2827. }
  2828. .span1 {
  2829. width: 100px;
  2830. height: 30px;
  2831. font-size: 30px;
  2832. font-weight: normal;
  2833. color: #32363d;
  2834. line-height: 30px;
  2835. margin-top: 10px;
  2836. }
  2837. }
  2838. }
  2839. .projectColumn {
  2840. display: flex;
  2841. flex-direction: column;
  2842. .span2 {
  2843. font-size: 14px !important;
  2844. align-items: center !important;
  2845. .span2-2 {
  2846. display: flex;
  2847. font-weight: 600;
  2848. color: rgba(231, 72, 60, 1);
  2849. background: rgba(253, 240, 239, 1);
  2850. align-items: center;
  2851. padding: 3px 12px;
  2852. border-radius: 3px;
  2853. .up {
  2854. display: block;
  2855. width: 20px;
  2856. height: 15px;
  2857. background: url("../../public/img/indexIcon/indexCardUp.png")
  2858. no-repeat;
  2859. background-size: 100%;
  2860. margin-left: 8px;
  2861. }
  2862. }
  2863. .span2-3 {
  2864. display: flex;
  2865. font-weight: 600;
  2866. color: rgba(7, 183, 157, 1);
  2867. background: rgba(235, 250, 246, 1);
  2868. align-items: center;
  2869. padding: 3px 12px;
  2870. border-radius: 3px;
  2871. .down {
  2872. display: block;
  2873. width: 20px;
  2874. height: 15px;
  2875. background: url("../../public/img/indexIcon/indexCardDown.png")
  2876. no-repeat;
  2877. background-size: 100%;
  2878. margin-left: 8px;
  2879. }
  2880. }
  2881. }
  2882. }
  2883. .pageboxtitle2 {
  2884. width: 100%;
  2885. margin-top: 14px;
  2886. display: flex;
  2887. flex-wrap: wrap;
  2888. .span1 {
  2889. width: 100px;
  2890. height: 30px;
  2891. font-size: 30px;
  2892. font-weight: normal;
  2893. color: #32363d;
  2894. line-height: 30px;
  2895. }
  2896. .span2 {
  2897. height: 30px;
  2898. font-size: 16px;
  2899. display: flex;
  2900. align-items: flex-end;
  2901. .span2-1 {
  2902. color: #424d64;
  2903. margin-right: 15px;
  2904. font-weight: 400;
  2905. }
  2906. .span2-2 {
  2907. display: flex;
  2908. font-weight: 600;
  2909. color: rgba(231, 72, 60, 1);
  2910. }
  2911. .span2-3 {
  2912. display: flex;
  2913. font-weight: 600;
  2914. color: rgba(7, 183, 157, 1);
  2915. }
  2916. }
  2917. }
  2918. .pageboxtitle3 {
  2919. text-align: center;
  2920. font-size: 30px;
  2921. line-height: 44px;
  2922. }
  2923. }
  2924. }
  2925. .colostyle {
  2926. color: #2671e2;
  2927. // font-size: 18px;
  2928. font-weight: 600;
  2929. }
  2930. .table-box {
  2931. width: 98.8%;
  2932. height: 400px;
  2933. background: #ffffff;
  2934. border-radius: 4px;
  2935. margin-top: 24px;
  2936. .title {
  2937. width: 100%;
  2938. height: 50px;
  2939. line-height: 50px;
  2940. font-size: 16px;
  2941. text-indent: 30px;
  2942. font-weight: 500;
  2943. color: #32363d;
  2944. // border-bottom: 1px solid #E6E6E6;
  2945. }
  2946. .tabbox {
  2947. padding-left: 30px;
  2948. padding-right: 30px;
  2949. margin-top: 20px;
  2950. min-height: 320px;
  2951. }
  2952. }
  2953. .el-row {
  2954. margin-bottom: 20px;
  2955. &:last-child {
  2956. margin-bottom: 0;
  2957. }
  2958. }
  2959. .app-box-san {
  2960. width: 100%;
  2961. min-height: 350px;
  2962. display: flex;
  2963. margin-top: 15px;
  2964. .zuo {
  2965. padding: 0 15px 15px;
  2966. margin-right: 15px;
  2967. background: #ffffff;
  2968. border-radius: 4px;
  2969. width: 48.7%;
  2970. flex-grow: 1;
  2971. .title {
  2972. width: 100%;
  2973. height: 55px;
  2974. // border-bottom: 1px solid #E0E0E0;
  2975. display: flex;
  2976. align-content: center;
  2977. .text1 {
  2978. flex: 2;
  2979. line-height: 55px;
  2980. text-indent: 20px;
  2981. font-weight: 500;
  2982. font-size: 16px;
  2983. display: flex;
  2984. align-items: center;
  2985. }
  2986. }
  2987. }
  2988. .you {
  2989. flex-grow: 1;
  2990. width: 49%;
  2991. background: #ffffff;
  2992. border-radius: 4px;
  2993. padding: 0 15px 15px;
  2994. .title {
  2995. width: 100%;
  2996. height: 55px;
  2997. // border-bottom: 1px solid #E0E0E0;
  2998. display: flex;
  2999. align-content: center;
  3000. .text1 {
  3001. line-height: 55px;
  3002. text-indent: 20px;
  3003. font-weight: 500;
  3004. font-size: 16px;
  3005. display: flex;
  3006. align-items: center;
  3007. }
  3008. }
  3009. }
  3010. }
  3011. .tophove {
  3012. color: #ffffff;
  3013. background: #2671e2;
  3014. }
  3015. .projectBackend {
  3016. background: #ffffff;
  3017. padding: 12px 15px;
  3018. border-radius: 5px;
  3019. }
  3020. .app-title {
  3021. position: fixed;
  3022. z-index: 999;
  3023. margin-top: -16px;
  3024. box-shadow: 0px 0px 10px 0px #dadada;
  3025. display: flex;
  3026. align-items: center;
  3027. left: 255px;
  3028. right: 15px;
  3029. .titel-text {
  3030. height: 100%;
  3031. font-size: 16px;
  3032. color: #32363d;
  3033. }
  3034. .toptimeqhuan {
  3035. width: 190px;
  3036. height: 32px;
  3037. background: #ffffff;
  3038. border-radius: 4px;
  3039. border: 1px solid #e0e0e0;
  3040. display: flex;
  3041. align-items: center;
  3042. overflow: hidden;
  3043. margin-left: 20px;
  3044. cursor: pointer;
  3045. }
  3046. .toptimeqhuan div {
  3047. flex: 1;
  3048. text-align: center;
  3049. line-height: 32px;
  3050. font-size: 14px;
  3051. }
  3052. }
  3053. // 进度条
  3054. .jinbox {
  3055. width: 100%;
  3056. height: 18px;
  3057. line-height: 18px;
  3058. display: flex;
  3059. font-size: 16px;
  3060. color: #2c3542;
  3061. margin-top: 24px;
  3062. align-items: center;
  3063. .jinboxtit {
  3064. width: 20%;
  3065. height: 18px;
  3066. padding-right: 6px;
  3067. display: flex;
  3068. align-items: center;
  3069. .sequenceNum {
  3070. display: flex;
  3071. width: 24px;
  3072. height: 24px;
  3073. justify-content: center;
  3074. align-items: center;
  3075. background: #e5f0ff;
  3076. border-radius: 15px;
  3077. color: #333333;
  3078. }
  3079. .name {
  3080. white-space: nowrap;
  3081. text-overflow: ellipsis;
  3082. overflow: hidden;
  3083. margin-left: 10px;
  3084. }
  3085. }
  3086. .jinbox-box {
  3087. width: 75%;
  3088. height: 100%;
  3089. border-radius: 8px;
  3090. background: #f2f2f2;
  3091. }
  3092. .boxbaifenbi {
  3093. height: 100%;
  3094. background: #60d7a0;
  3095. border-radius: 8px;
  3096. max-width: 100%;
  3097. }
  3098. .boxbaifenbi2 {
  3099. height: 100%;
  3100. background: #5b8ff9;
  3101. max-width: 100%;
  3102. }
  3103. .jinboxbott {
  3104. width: 16%;
  3105. text-indent: 50px;
  3106. }
  3107. }
  3108. .hejisan {
  3109. width: 100%;
  3110. margin: 15px auto;
  3111. display: flex;
  3112. .sanbox1 {
  3113. display: flex;
  3114. flex-direction: column;
  3115. justify-content: center;
  3116. align-items: center;
  3117. }
  3118. .text1-1 {
  3119. color: #666666;
  3120. }
  3121. .text1-2 {
  3122. color: #333333;
  3123. margin-top: 10px;
  3124. }
  3125. }
  3126. .title1 {
  3127. width: 100%;
  3128. height: 55px;
  3129. display: flex;
  3130. align-content: center;
  3131. justify-content: space-between;
  3132. line-height: 55px;
  3133. }
  3134. /deep/ .el-badge__content {
  3135. top: 10px;
  3136. }
  3137. /deep/ .el-table::before {
  3138. background: #fff;
  3139. }
  3140. .pop {
  3141. display: inline-block;
  3142. width: 18px;
  3143. height: 18px;
  3144. background: url("../../public/img/pop.png");
  3145. background-size: 100%;
  3146. margin-left: 6px;
  3147. }
  3148. /deep/ .el-button--primary {
  3149. background: #2671e2 !important;
  3150. border: 1px solid #2671e2 !important;
  3151. }
  3152. </style>