index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. <template>
  2. <div class="hintTabPage">
  3. <div class="itemTab">
  4. <van-collapse v-model="activeNames">
  5. <!-- 拜访(实时) -->
  6. <van-collapse-item :name="visitCollapse.name">
  7. <span class="updateTime" v-if="visitCollapse.latestUpdateTime != ''">
  8. 更新时间:
  9. {{ visitCollapse.latestUpdateTime }}
  10. </span>
  11. <template #title>
  12. <div class="itemHeader">
  13. <span class="itemTitle" v-if="visitCollapse.title">{{ visitCollapse.title }}</span>
  14. <span @click.stop v-if="visitCollapse.tipsPopoverlabel">
  15. <el-popover placement="right" trigger="click" popper-class="hintPopover">
  16. <div
  17. class="popoverConten"
  18. v-for="(item, index) in visitCollapse.tipsPopoverlabel"
  19. :key="index">
  20. {{ item }}
  21. </div>
  22. <div slot="reference" class="hintIconBox">
  23. <img class="hintIcon" :src="hintIcon" />
  24. </div>
  25. </el-popover>
  26. </span>
  27. </div>
  28. </template>
  29. <visitPage
  30. v-if="visitCollapse.resData"
  31. fromType="noVisit"
  32. :empLevel="empLevel"
  33. :contentData="visitCollapse.contentData"
  34. :maskShow="visitCollapse.collapseLosding"
  35. :resData="visitCollapse.resData"></visitPage>
  36. </van-collapse-item>
  37. <!-- 建店 -->
  38. <van-collapse-item :name="createStore.name">
  39. <template #title>
  40. <div class="itemHeader" @click.stop>
  41. <span class="itemTitle" v-if="createStore.title">{{ createStore.title }}</span>
  42. <el-popover
  43. placement="right"
  44. trigger="click"
  45. popper-class="hintPopover"
  46. v-if="createStore.tipsPopoverlabel">
  47. <div
  48. class="popoverConten"
  49. v-for="(item, index) in createStore.tipsPopoverlabel"
  50. :key="index">
  51. {{ item }}
  52. </div>
  53. <div slot="reference" class="hintIconBox">
  54. <img class="hintIcon" :src="hintIcon" />
  55. </div>
  56. </el-popover>
  57. </div>
  58. </template>
  59. <visitPage
  60. v-if="createStore.resData"
  61. fromType="createStore"
  62. :empLevel="empLevel"
  63. :contentData="createStore.contentData"
  64. :maskShow="createStore.collapseLosding"
  65. :resData="createStore.resData"></visitPage>
  66. </van-collapse-item>
  67. <!-- 日报、周报、半月报 -->
  68. <van-collapse-item name="3" v-if="empLevel != '4'">
  69. <template #title>
  70. <div class="itemHeader" @click.stop>
  71. <span class="itemTitle">{{ report.title }}</span>
  72. <el-popover placement="right" trigger="click" popper-class="hintPopover">
  73. <div class="popoverConten">
  74. {{ report.reportData.tip }}
  75. </div>
  76. <div slot="reference" class="hintIconBox">
  77. <img class="hintIcon" :src="hintIcon" />
  78. </div>
  79. </el-popover>
  80. </div>
  81. </template>
  82. <div class="reportContent">
  83. <div class="reportItem">
  84. <div class="label">填写率:</div>
  85. <div class="value">本月{{ report.reportData.fillingRate }}</div>
  86. <div
  87. class="itemDetail"
  88. v-if="empLevel != '3'"
  89. @click="
  90. reportClick(
  91. 'fillingRate',
  92. '填写率-本月:' +
  93. report.reportData.fillingRate +
  94. ';审批率-本月:' +
  95. report.reportData.approvalRate,
  96. )
  97. ">
  98. 下属详情
  99. </div>
  100. </div>
  101. <div class="reportItem" v-show="empLevel != '3'">
  102. <div class="label">审批率:</div>
  103. <div class="value">本月{{ report.reportData.approvalRate }}</div>
  104. </div>
  105. <div class="reportItem" v-show="empLevel == '1'">
  106. <div class="label">
  107. 本周点评业务员日报数(目标数):{{ report.reportData.commentNum }}个(5个)
  108. </div>
  109. </div>
  110. <div class="reportItem reportNum" v-show="empLevel == '1'">
  111. <div class="label"></div>
  112. <div
  113. class="itemDetail"
  114. @click="reportClick('commentNum', '目标数: ' + report.reportData.commentNum)">
  115. 进入点评
  116. </div>
  117. </div>
  118. <div class="mask" v-if="report.reportLosding">
  119. <van-loading type="spinner" color="#1989fa" />
  120. </div>
  121. </div>
  122. </van-collapse-item>
  123. <!-- 调色预警 -->
  124. <van-collapse-item name="5">
  125. <template #title>
  126. <div class="itemHeader" @click.stop>
  127. <span class="itemTitle">{{ colorWarning.title }}</span>
  128. <el-popover
  129. placement="right"
  130. trigger="click"
  131. popper-class="hintPopover"
  132. v-if="colorWarning.tip">
  133. <div class="popoverConten" v-for="(item, index) in colorWarning.tip" :key="index">
  134. {{ item }}
  135. </div>
  136. <div slot="reference" class="hintIconBox">
  137. <img class="hintIcon" :src="hintIcon" />
  138. </div>
  139. </el-popover>
  140. </div>
  141. </template>
  142. <div class="pantoneContent">
  143. <div v-for="(val, key, index) in colorWarning.contentData" :key="index">
  144. <div :class="['title', key == 'keKong' ? 'kekong' : 'jinpai']">
  145. {{ key == 'keKong' ? '可控店' : '金牌店' }}
  146. </div>
  147. <div class="pantoneItem">
  148. <div class="firstItem item">
  149. <div class="left">
  150. <div class="lebel">滚动7天未调色:</div>
  151. <div
  152. class="value valueIsClick"
  153. @click="colorWarningClick(val, key, val.mdwqsNum)">
  154. {{ Micrometer(val.colorSeven) }}家
  155. </div>
  156. </div>
  157. <div class="right">
  158. <div class="lebel">当月未调色:</div>
  159. <div
  160. class="value valueIsClick"
  161. @click="colorWarningClick(val, key, val.mdwqsNum)">
  162. {{ Micrometer(val.colorMonth) }}家
  163. </div>
  164. </div>
  165. </div>
  166. <div class="secondItem item">
  167. <div class="left">
  168. <div class="lebel">从未调色:</div>
  169. <div
  170. class="value valueIsClick"
  171. @click="colorWarningClick(val, key, val.mdwqsNum)">
  172. {{ Micrometer(val.colorStop) }}家
  173. </div>
  174. </div>
  175. <div class="right">
  176. <div class="lebel">布机但近两年DIS为0:</div>
  177. <div
  178. class="value valueIsClick"
  179. @click="colorWarningClick(val, key, val.mdwqsNum)">
  180. {{ Micrometer(val.colorDis) }}家
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186. <div class="mask" v-if="colorWarning.contentLosding">
  187. <van-loading type="spinner" color="#1989fa" />
  188. </div>
  189. </div>
  190. </van-collapse-item>
  191. <!-- 色卡 -->
  192. <van-collapse-item name="4">
  193. <template #title>
  194. <div class="itemHeader" @click.stop>
  195. <span class="itemTitle">{{ pantone.title }}</span>
  196. <el-popover placement="right" trigger="click" popper-class="hintPopover">
  197. <div class="popoverConten">
  198. {{ pantone.tip }}
  199. </div>
  200. <div slot="reference" class="hintIconBox">
  201. <img class="hintIcon" :src="hintIcon" />
  202. </div>
  203. </el-popover>
  204. </div>
  205. </template>
  206. <div class="pantoneContent">
  207. <template v-if="empLevel == '3'">
  208. <div v-for="(val, key, index) in pantone.pantoneData" :key="index">
  209. <div class="title">{{ key }}</div>
  210. <div class="pantoneItem">
  211. <div class="firstItem item">
  212. <div class="left">
  213. <div class="lebel">已领用:</div>
  214. <div class="value">{{ Micrometer(val.ywyylyNum) }}本</div>
  215. </div>
  216. <div class="right">
  217. <div class="lebel">已发放门店:</div>
  218. <div class="value">{{ Micrometer(val.ywyyffNum) }}本</div>
  219. </div>
  220. </div>
  221. <div class="secondItem item">
  222. <div class="left">
  223. <div class="lebel">门店未签收:</div>
  224. <div class="value">{{ Micrometer(val.mdwqsNum) }}本</div>
  225. </div>
  226. <div class="right">
  227. <div class="lebel">门店未签收:</div>
  228. <div class="value valueIsClick" @click="pantoneClick(val, key, val.mdwqsNum)">
  229. {{ Micrometer(val.wqsmdNum) }}家
  230. </div>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. </template>
  236. <template v-else>
  237. <div v-for="(val, key, index) in pantone.pantoneData" :key="index">
  238. <div class="title">{{ key }}</div>
  239. <div class="pantoneItem">
  240. <div class="firstItem item">
  241. <div class="left">
  242. <div class="lebel">直发销售部数:</div>
  243. <div class="value">{{ Micrometer(val.zfxsbNum) }}本</div>
  244. </div>
  245. <div class="right">
  246. <div class="lebel">业务员已领用:</div>
  247. <div class="value">{{ Micrometer(val.ywyylyNum) }}本</div>
  248. </div>
  249. </div>
  250. <div class="secondItem item">
  251. <div class="left">
  252. <div class="lebel">业务员已发放:</div>
  253. <div class="value">{{ Micrometer(val.ywyyffNum) }}本</div>
  254. </div>
  255. <div class="right">
  256. <div class="lebel">门店未签收:</div>
  257. <div class="value valueIsClick" @click="pantoneClick(val, key, val.mdwqsNum)">
  258. {{ Micrometer(val.mdwqsNum) }}本
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. </div>
  264. </template>
  265. <div class="mask" v-if="pantone.pantoneLosding">
  266. <van-loading type="spinner" color="#1989fa" />
  267. </div>
  268. </div>
  269. </van-collapse-item>
  270. </van-collapse>
  271. </div>
  272. </div>
  273. </template>
  274. <script>
  275. import {
  276. selectVisitsRealTime,
  277. selectBuildingStore,
  278. getReportTarget,
  279. getReportMaterial,
  280. getColorWarning,
  281. buryingPoint,
  282. } from '@/api/index';
  283. import hintIcon from '@/assets/hintIcon.png';
  284. import visitPage from './visitPage.vue';
  285. import { mapState } from 'vuex';
  286. export default {
  287. name: 'hintTabPage',
  288. components: { visitPage },
  289. computed: {
  290. ...mapState({
  291. userInfo: (state) => state.user.userInfo,
  292. }),
  293. },
  294. props: {
  295. tabVal: {
  296. type: [String, Number],
  297. default: '-1',
  298. },
  299. },
  300. data() {
  301. return {
  302. empLevel: '', //员工级别,1大区主管2销售部主管3业务员4其他 ***其他级别4,不显示日报、周报、半月报和色卡
  303. hintIcon: hintIcon,
  304. activeNames: ['1', '2', '3', '4', '5'],
  305. visitCollapse: {
  306. name: '1',
  307. title: '拜访(实时)',
  308. collapseLosding: true,
  309. latestUpdateTime: '',
  310. tipsPopoverlabel: [],
  311. tipsPopoverValue: null,
  312. contentData: [
  313. {
  314. title: '可控店',
  315. titleProp: 'keKong',
  316. bagColor: '#eb6877',
  317. visitDetail: [
  318. {
  319. leftTable: '本月拜访率:',
  320. leftProp: 'visitRateThisMonth',
  321. leftUnit: '%',
  322. leftIsClick: false,
  323. rightTable: '未拜访:',
  324. rightProp: 'notVisited',
  325. rightUnit: '家',
  326. rightIsClick: true,
  327. },
  328. ],
  329. },
  330. {
  331. title: '金牌店',
  332. titleProp: 'jinPai',
  333. bagColor: '#f1b789',
  334. visitDetail: [
  335. {
  336. leftTable: '本月拜访率:',
  337. leftProp: 'visitRateThisMonth',
  338. leftUnit: '%',
  339. leftIsClick: false,
  340. rightTable: '未拜访:',
  341. rightProp: 'notVisited',
  342. rightUnit: '家',
  343. rightIsClick: true,
  344. },
  345. ],
  346. },
  347. // {
  348. // title: '同城分销-涂料店',
  349. // titleProp: 'TuLiao',
  350. // bagColor: '#88abda',
  351. // visitDetail: [
  352. // {
  353. // leftTable: '近2个月拜访率:',
  354. // leftProp: 'visitRateInThePastTwoMonths',
  355. // leftUnit: '%',
  356. // leftIsClick: false,
  357. // rightTable: '未拜访:',
  358. // rightProp: 'notVisited',
  359. // rightUnit: '家',
  360. // rightIsClick: true,
  361. // },
  362. // ],
  363. // },
  364. {
  365. title: '同城分销',
  366. titleProp: 'QiTa',
  367. bagColor: '#8f82bc',
  368. visitDetail: [
  369. {
  370. leftTable: '近3个月拜访率:',
  371. leftProp: 'visitRateInThePastThreeMonths',
  372. leftUnit: '%',
  373. leftIsClick: false,
  374. rightTable: '未拜访:',
  375. rightProp: 'notVisited',
  376. rightUnit: '家',
  377. rightIsClick: true,
  378. },
  379. ],
  380. },
  381. ],
  382. resData: null,
  383. },
  384. createStore: {
  385. name: '2',
  386. title: '建店',
  387. collapseLosding: true,
  388. tipsPopoverlabel: [
  389. {
  390. label: '未完工',
  391. prop: '',
  392. },
  393. {
  394. label: '为结案',
  395. prop: '',
  396. },
  397. ],
  398. tipsPopoverValue: null,
  399. contentData: [
  400. {
  401. title: '可控店',
  402. titleProp: 'keKong',
  403. bagColor: '#eb6877',
  404. visitDetail: [
  405. {
  406. leftTable: '本月累计:',
  407. leftProp: 'month',
  408. leftUnit: '家',
  409. leftIsClick: false,
  410. },
  411. {
  412. leftTable: '今年累计:',
  413. leftProp: 'year',
  414. leftUnit: '家',
  415. leftIsClick: false,
  416. rightTable: '45天未结案:',
  417. rightProp: 'keKongAbnormalNum',
  418. rightUnit: '家',
  419. rightIsClick: true,
  420. },
  421. ],
  422. },
  423. {
  424. title: '金牌店',
  425. titleProp: 'jinPai',
  426. bagColor: '#f1b789',
  427. visitDetail: [
  428. {
  429. leftTable: '本月累计:',
  430. leftProp: 'month',
  431. leftUnit: '家',
  432. leftIsClick: false,
  433. rightTable: '7天未完工:',
  434. rightProp: 'jinPaiUnfinishedNum',
  435. rightUnit: '家',
  436. rightIsClick: true,
  437. },
  438. {
  439. leftTable: '今年累计:',
  440. leftProp: 'year',
  441. leftUnit: '家',
  442. leftIsClick: false,
  443. rightTable: '30天未结案:',
  444. rightProp: 'jinPaiAbnormalNum',
  445. rightUnit: '家',
  446. rightIsClick: true,
  447. },
  448. ],
  449. },
  450. {
  451. title: '同城分销-涂料店',
  452. titleProp: 'TuLiao',
  453. bagColor: '#88abda',
  454. visitDetail: [
  455. {
  456. leftTable: '本月累计:',
  457. leftProp: 'month',
  458. leftUnit: '家',
  459. leftIsClick: false,
  460. },
  461. {
  462. leftTable: '今年累计:',
  463. leftProp: 'year',
  464. leftUnit: '家',
  465. leftIsClick: false,
  466. rightTable: '7天未结案:',
  467. rightProp: 'TuLiaoAbnormalNum',
  468. rightUnit: '家',
  469. rightIsClick: true,
  470. },
  471. ],
  472. },
  473. {
  474. title: '同城分销-其他店',
  475. titleProp: 'QiTa',
  476. bagColor: '#8f82bc',
  477. visitDetail: [
  478. {
  479. leftTable: '本月累计:',
  480. leftProp: 'month',
  481. leftUnit: '家',
  482. leftIsClick: false,
  483. },
  484. {
  485. leftTable: '今年累计:',
  486. leftProp: 'year',
  487. leftUnit: '家',
  488. leftIsClick: false,
  489. rightTable: '7天未结案:',
  490. rightProp: 'QiTaAbnormalNum',
  491. rightUnit: '家',
  492. rightIsClick: true,
  493. },
  494. ],
  495. },
  496. ],
  497. resData: null,
  498. },
  499. report: {
  500. title: '',
  501. reportLosding: true,
  502. reportData: {},
  503. },
  504. pantone: {
  505. title: '色卡',
  506. tip: '',
  507. pantoneLosding: true,
  508. pantoneData: {},
  509. },
  510. colorWarning: {
  511. title: '调色预警',
  512. tip: [],
  513. contentLosding: true,
  514. contentData: {},
  515. },
  516. isLoading: false,
  517. };
  518. },
  519. watch: {
  520. tabVal: {
  521. handler(val) {
  522. if (val == -1) {
  523. // this.initData();
  524. }
  525. },
  526. immediate: true,
  527. },
  528. },
  529. activated() {},
  530. methods: {
  531. onRefresh() {
  532. this.initData();
  533. this.isLoading = false;
  534. },
  535. initData() {
  536. if (!this.userInfo) return;
  537. this.empLevel = this.userInfo.empLevel;
  538. // 获取拜访数据
  539. this.getVisitCollapseData();
  540. // 获取建店数据
  541. this.getSelectBuildingStore();
  542. // 获取汇报数据 日报、周报、半月报
  543. this.getReportData();
  544. // 获取色卡数据
  545. this.getPantoneData();
  546. // 获取调色预警数据
  547. this.getColorWarning();
  548. },
  549. getVisitCollapseData() {
  550. this.visitCollapse.collapseLosding = true;
  551. selectVisitsRealTime().then((res) => {
  552. if (res.code == 200) {
  553. this.visitCollapse.resData = res.data;
  554. this.visitCollapse.tipsPopoverlabel = res.data.reminderContent;
  555. this.visitCollapse.latestUpdateTime = res.data.latestUpdateTime;
  556. this.visitCollapse.collapseLosding = false;
  557. }
  558. });
  559. },
  560. getSelectBuildingStore() {
  561. this.createStore.collapseLosding = true;
  562. selectBuildingStore().then((res) => {
  563. if (res.code == 200) {
  564. this.createStore.resData = res.data;
  565. this.createStore.tipsPopoverlabel = res.data.reminderContent;
  566. this.createStore.collapseLosding = false;
  567. }
  568. });
  569. },
  570. getReportData() {
  571. if (this.empLevel == '1') {
  572. this.report.title = '半月报';
  573. } else if (this.empLevel == '2') {
  574. this.report.title = '周报';
  575. } else if (this.empLevel == '3') {
  576. this.report.title = '日报';
  577. }
  578. this.report.reportLosding = true;
  579. getReportTarget().then((res) => {
  580. this.report.reportLosding = false;
  581. this.report.reportData = res.data || {};
  582. });
  583. },
  584. getPantoneData() {
  585. if (this.empLevel !== 4) {
  586. this.pantone.pantoneLosding = true;
  587. getReportMaterial().then((res) => {
  588. this.pantone.pantoneLosding = false;
  589. this.pantone.tip = res.data.tip;
  590. this.pantone.pantoneData = res.data;
  591. delete this.pantone.pantoneData.tip;
  592. });
  593. }
  594. },
  595. getColorWarning() {
  596. if (this.empLevel !== 4) {
  597. this.colorWarning.contentLosding = true;
  598. getColorWarning().then((res) => {
  599. this.colorWarning.contentLosding = false;
  600. this.colorWarning.tip = res.data.reminderContent;
  601. this.colorWarning.contentData = res.data;
  602. delete this.colorWarning.contentData.reminderContent;
  603. });
  604. }
  605. },
  606. // 汇报下属详情-点击
  607. reportClick(type, value) {
  608. // 埋点
  609. buryingPoint({
  610. systemModel: '提示类',
  611. buryingPointType: 7,
  612. buryingPointValue: value,
  613. buryingPointName: type == 'fillingRate' ? '下属详情' : '进入点评',
  614. buryingPointPosition: this.empLevel == '1' ? '半月报' : '周报',
  615. });
  616. if (type == 'fillingRate') {
  617. // 下属汇报率审批率统计
  618. this.$router.push({ path: 'reportingRate' });
  619. } else if (type == 'commentNum') {
  620. // 下属业务员历史日报
  621. this.$router.push({ path: 'subordinateHistoricalDaily' });
  622. }
  623. },
  624. // 色卡查看详情
  625. pantoneClick(val, key, value) {
  626. // 埋点
  627. buryingPoint({
  628. systemModel: '提示类',
  629. buryingPointType: 7,
  630. buryingPointValue: value,
  631. buryingPointName: key + '门店未签收:',
  632. buryingPointPosition: '色卡',
  633. });
  634. // 业务员进入未拜访列表
  635. if (this.empLevel == '3') {
  636. this.$router.push({ path: '/pantoneNoGet', query: { storeId: val.storeId } });
  637. } else {
  638. // 销售部,大区,公司,总部
  639. this.$router.push({
  640. path: '/hintDetail',
  641. query: { fromType: 'pantone', materialCode: val.materialCode, pantoneName: key }, // materialCode物料来源
  642. });
  643. }
  644. },
  645. // 调色预警查看详情
  646. colorWarningClick(val, key, value) {
  647. // 埋点
  648. buryingPoint({
  649. systemModel: '提示类',
  650. buryingPointType: 7,
  651. buryingPointValue: value,
  652. buryingPointName: key,
  653. buryingPointPosition: '调色预警',
  654. });
  655. // 业务员进入调色预警列表
  656. if (this.empLevel == '3') {
  657. this.$router.push({ path: '/warningStore', query: { storeId: val.storeId } });
  658. } else {
  659. // 销售部,大区,公司,总部
  660. this.$router.push({
  661. path: '/hintDetail',
  662. query: { fromType: 'colorWarning', materialCode: val.materialCode, pantoneName: key }, // materialCode物料来源
  663. });
  664. }
  665. },
  666. },
  667. };
  668. </script>
  669. <style lang="scss" scoped>
  670. .hintTabPage {
  671. padding: 6px;
  672. /* padding: 10px; */
  673. .itemTab {
  674. /* background: #fff; */
  675. padding: 4px;
  676. /* padding: 10px; */
  677. /* margin-bottom: 10px; */
  678. border-radius: 5px;
  679. .itemHeader {
  680. /* width: 150px; */
  681. color: #0057ba;
  682. font-weight: 500;
  683. font-size: 16px;
  684. padding: 10px 0;
  685. display: inline-flex;
  686. align-items: center;
  687. .itemTitle {
  688. margin-right: 10px;
  689. }
  690. .hintIconBox {
  691. display: flex;
  692. .hintIcon {
  693. width: 16px;
  694. height: 16px;
  695. }
  696. }
  697. .van-popover__wrapper {
  698. display: flex;
  699. }
  700. }
  701. .updateTime {
  702. /* margin-left: 10px; */
  703. font-size: 14px;
  704. color: #0057ba;
  705. }
  706. .van-collapse-item {
  707. margin-bottom: 15px;
  708. }
  709. /* 汇报 日报、周报、半月报 */
  710. .reportContent {
  711. color: #666666;
  712. padding: 8px 0;
  713. .reportItem {
  714. display: flex;
  715. position: relative;
  716. padding: 3px 0;
  717. .value {
  718. font-weight: 600;
  719. }
  720. .itemDetail {
  721. text-decoration: underline;
  722. color: #0057ba;
  723. position: absolute;
  724. right: 10px;
  725. }
  726. }
  727. .reportNum {
  728. height: 25px;
  729. }
  730. }
  731. /* 色卡 */
  732. .pantoneContent {
  733. padding-bottom: 10px;
  734. .title {
  735. padding: 2px 5px;
  736. border-radius: 2px;
  737. background-color: #13b5b1;
  738. margin: 4px 0;
  739. display: inline-block;
  740. color: #fff;
  741. }
  742. .kekong {
  743. color: #fff;
  744. height: 21px;
  745. margin-right: 6px;
  746. /* width: 50px; */
  747. text-align: center;
  748. line-height: 21px;
  749. border-radius: 2px;
  750. margin: 4px 0;
  751. width: -moz-max-content;
  752. width: max-content;
  753. padding: 0 3px;
  754. background: rgb(235, 104, 119);
  755. }
  756. .jinpai {
  757. color: #fff;
  758. height: 21px;
  759. margin-right: 6px;
  760. /* width: 50px; */
  761. text-align: center;
  762. line-height: 21px;
  763. border-radius: 2px;
  764. margin: 4px 0;
  765. width: -moz-max-content;
  766. width: max-content;
  767. padding: 0 3px;
  768. background: rgb(241, 183, 137);
  769. }
  770. .pantoneItem {
  771. .item {
  772. display: flex;
  773. justify-content: space-between;
  774. .left {
  775. display: flex;
  776. flex: 1;
  777. .valueIsClick {
  778. text-decoration: underline;
  779. color: #0057ba;
  780. }
  781. }
  782. .right {
  783. display: flex;
  784. width: 180px;
  785. // justify-content: center;
  786. .valueIsClick {
  787. text-decoration: underline;
  788. color: #0057ba;
  789. }
  790. }
  791. }
  792. .firstItem {
  793. }
  794. .secondItem {
  795. }
  796. }
  797. }
  798. }
  799. .mask {
  800. position: absolute;
  801. width: 100%;
  802. height: 100%;
  803. top: 0;
  804. background: rgba(255, 255, 255, 0.8);
  805. display: flex;
  806. justify-content: center;
  807. align-items: center;
  808. }
  809. }
  810. </style>
  811. <style lang="scss">
  812. .hintTabPage {
  813. .itemTab {
  814. .van-cell {
  815. padding: 0 4px;
  816. align-items: center;
  817. }
  818. .van-collapse-item__content {
  819. padding: 0 4px;
  820. }
  821. }
  822. }
  823. .hintPopover {
  824. background: #deedff;
  825. .popper__arrow {
  826. &::after {
  827. border-right-color: #deedff !important;
  828. }
  829. }
  830. }
  831. </style>