dailyHistoricalDetails.vue 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392
  1. <template>
  2. <div class="dailyHistoricalDetails">
  3. <div class="dailyHistoricalDetailsBox" v-if="setDailyDetailsBoxFlag">
  4. <!-- 顶部条-->
  5. <div class="navBarTOP">
  6. <van-nav-bar class="navBar" title="日报详情" left-arrow @click-left="onClickLeft">
  7. <template #right>
  8. <!-- 分享按钮 -->
  9. <!-- 分享过的不能在分享, fx分销的可以分享,reportTarget,status == -1过期未汇报不能分享 -->
  10. <div
  11. class="shareBtn"
  12. @click="clickShareFlag(-1)"
  13. v-if="
  14. reportTarget &&
  15. source != 'share' &&
  16. reportTarget.reportPostType == 'fx' &&
  17. reportTarget.status != -1
  18. ">
  19. <van-icon name="share" />
  20. <div class="vedioLinks" @click.stop>
  21. <span>一键分享日报,</span>
  22. <span>
  23. 操作视频
  24. <span class="linkSpan" @click.stop="shareVedioLinks"> 点击查看 </span>
  25. </span>
  26. <van-icon name="play" />
  27. </div>
  28. </div>
  29. </template>
  30. </van-nav-bar>
  31. </div>
  32. <div class="lineGrey"></div>
  33. <div class="lineGrey"></div>
  34. <div class="lineGrey"></div>
  35. <div class="lineGrey"></div>
  36. <div class="lineGrey"></div>
  37. <!-- 主体内容-->
  38. <div class="container linep" v-if="reportTargetAll">
  39. <p style="font-size: 16px; margin: 10px 0">
  40. {{ title }}
  41. </p>
  42. <p style="font-size: 16px; margin: 10px 0" v-if="reportTarget.commitTime">
  43. 提交时间: {{ reportTarget.commitTime }}
  44. </p>
  45. <template v-if="postName == '质感销售负责人' || postName == '质感销售专员'">
  46. <target :homePageIndicatorDate="homePageIndicatorList"></target>
  47. </template>
  48. <template v-else>
  49. <van-collapse v-model="activeNames" v-if="!YFQuota">
  50. <!-- YFQuota:应用服务平台 不显示各项指标 -->
  51. <van-collapse-item v-if="!GZQuota" title="拜访数据(实时)" name="7">
  52. <visitedRealTime
  53. :reportTargetAll="reportTargetAll"
  54. :powerGrade="powerGrade"
  55. :JZQuota="JZQuota"></visitedRealTime>
  56. </van-collapse-item>
  57. <van-collapse-item title="建店布机" v-if="!JZQuota && !GZQuota" name="2">
  58. <createStoreBJ :reportTargetAll="reportTargetAll"></createStoreBJ>
  59. </van-collapse-item>
  60. <van-collapse-item v-if="!JZQuota && !GZQuota" name="33" title="下单点数">
  61. <placeOrder :reportTargetAll="reportTargetAll"></placeOrder>
  62. </van-collapse-item>
  63. <van-collapse-item name="16" v-if="!JZQuota && !GZQuota" title="专业时时丽分销店下单">
  64. <ZYPlaceOrder :reportTargetAll="reportTargetAll"></ZYPlaceOrder>
  65. </van-collapse-item>
  66. <van-collapse-item v-if="type != 3 && type != 4" name="1" :title="saptitle">
  67. <performanceSAP
  68. :reportTargetAll="reportTargetAll"
  69. :JZQuota="JZQuota"></performanceSAP>
  70. </van-collapse-item>
  71. <van-collapse-item v-if="GZQuota" name="43" title="纯态之家SAP(千元)">
  72. <van-row style="margin-top: -10px">
  73. <van-col span="12"><span class="leftTitle">本月</span></van-col
  74. ><van-col span="12"><span class="rightTitle">本季</span></van-col>
  75. <van-col span="12"
  76. ><p>
  77. 业绩实际:<span class="colorbalck">{{
  78. Micrometer(reportTargetAll.gzCtzjMonthAct)
  79. }}</span>
  80. </p></van-col
  81. >
  82. <van-col span="12"
  83. ><p>
  84. 业绩实际:<span class="colorbalck">{{
  85. Micrometer(reportTargetAll.gzCtzjQuarterAct)
  86. }}</span>
  87. </p></van-col
  88. >
  89. <van-col span="12"
  90. ><p>
  91. 业绩成长率:<span class="colorbalck"
  92. >{{ reportTargetAll.gzCtzjMonthGrowRate }}%</span
  93. >
  94. </p></van-col
  95. >
  96. <van-col span="12"
  97. ><p>
  98. 业绩成长率:<span class="colorbalck"
  99. >{{ reportTargetAll.gzCtzjQuarterGrowRate }}%</span
  100. >
  101. </p></van-col
  102. >
  103. </van-row>
  104. </van-collapse-item>
  105. <van-collapse-item v-if="GZQuota" name="42" title="商机关联的质感外墙业绩SAP(千元)">
  106. <van-row style="margin-top: -10px">
  107. <van-col span="12"><span class="leftTitle">本月</span></van-col
  108. ><van-col span="12"><span class="rightTitle">本季</span></van-col>
  109. <van-col span="12"
  110. ><p>
  111. 业绩实际:<span class="colorbalck">{{
  112. Micrometer(reportTargetAll.gzZgwqMonthAct)
  113. }}</span>
  114. </p></van-col
  115. >
  116. <van-col span="12"
  117. ><p>
  118. 业绩实际:<span class="colorbalck">{{
  119. Micrometer(reportTargetAll.gzZgwqQuarterAct)
  120. }}</span>
  121. </p></van-col
  122. >
  123. <van-col span="12"
  124. ><p>
  125. 业绩成长率:<span class="colorbalck"
  126. >{{ reportTargetAll.gzZgwqMonthGrowRate }}%</span
  127. >
  128. </p></van-col
  129. >
  130. <van-col span="12"
  131. ><p>
  132. 业绩成长率:<span class="colorbalck"
  133. >{{ reportTargetAll.gzZgwqQuarterGrowRate }}%</span
  134. >
  135. </p></van-col
  136. >
  137. </van-row>
  138. </van-collapse-item>
  139. <van-collapse-item v-if="GZQuota" name="41" title="累计出货有效客户">
  140. <van-row>
  141. <van-col span="12"
  142. ><p>
  143. 全年实际:<span class="colorbalck">{{
  144. Micrometer(reportTargetAll.gzKhljYearAct)
  145. }}</span>
  146. </p></van-col
  147. >
  148. <van-col span="12"
  149. ><p>
  150. 全年目标:<span class="colorbalck">{{
  151. Micrometer(reportTargetAll.gzKhljYearTarget)
  152. }}</span>
  153. </p></van-col
  154. >
  155. <van-col span="12"><p>&nbsp;</p></van-col>
  156. <van-col span="12"
  157. ><p>
  158. 目标达成率:<span class="colorbalck"
  159. >{{ Micrometer(reportTargetAll.gzKhljSuccessRate) }}%</span
  160. >
  161. </p></van-col
  162. >
  163. </van-row>
  164. </van-collapse-item>
  165. <van-collapse-item v-if="GZQuota" name="40" title="今日拜访">
  166. <van-row>
  167. <van-col span="12"
  168. ><p>
  169. 公装客户数:<span class="colorbalck">{{
  170. Micrometer(reportTargetAll.gzVisitCustomerNum)
  171. }}</span>
  172. </p></van-col
  173. >
  174. <van-col span="12"
  175. ><p>
  176. 工地数:<span class="colorbalck">{{
  177. Micrometer(reportTargetAll.gzVisitGdNum)
  178. }}</span>
  179. </p></van-col
  180. >
  181. <van-col span="12"
  182. ><p>
  183. 潜在客户数:<span class="colorbalck">{{
  184. Micrometer(reportTargetAll.gzVisitQzCustomerNum)
  185. }}</span>
  186. </p></van-col
  187. >
  188. </van-row>
  189. </van-collapse-item>
  190. <van-collapse-item v-if="!JZQuota && !GZQuota" name="11" title="专业时时丽SAP(千元)">
  191. <ZYSAP :reportTargetAll="reportTargetAll"></ZYSAP>
  192. </van-collapse-item>
  193. <van-collapse-item v-if="!JZQuota && !GZQuota" name="29" title="瓷砖胶SAP(千元)">
  194. <van-row>
  195. <van-col span="12"><span class="leftTitle">本月业绩</span></van-col
  196. ><van-col span="12"><span class="rightTitle">本季业绩</span></van-col>
  197. <van-col span="12"
  198. ><p>
  199. 实际:<span class="colorbalck">{{
  200. Micrometer(reportTargetAll.czjSapMonthAct)
  201. }}</span>
  202. </p></van-col
  203. >
  204. <van-col span="12"
  205. ><p>
  206. 实际:<span class="colorbalck">{{
  207. Micrometer(reportTargetAll.czjSapQuarterAct)
  208. }}</span>
  209. </p></van-col
  210. >
  211. <van-col span="12"
  212. ><p>
  213. 达成率:<span class="colorbalck"
  214. >{{ reportTargetAll.czjSapMonthSuccessRate }}%</span
  215. >
  216. </p></van-col
  217. >
  218. <van-col span="12"
  219. ><p>
  220. 达成率:<span class="colorbalck"
  221. >{{ reportTargetAll.czjSapQuarterSuccessRate }}%</span
  222. >
  223. </p></van-col
  224. >
  225. <van-col span="12"
  226. ><p>
  227. 成长率:<span class="colorbalck"
  228. >{{ reportTargetAll.czjSapMonthGrowRate }}%</span
  229. >
  230. </p></van-col
  231. >
  232. <van-col span="12"
  233. ><p>
  234. 成长率:<span class="colorbalck"
  235. >{{ reportTargetAll.czjSapQuarterGrowRate }}%</span
  236. >
  237. </p></van-col
  238. >
  239. </van-row>
  240. </van-collapse-item>
  241. <van-collapse-item name="17" v-if="!JZQuota && !GZQuota" title="超好贴分销店下单">
  242. <veryGoodPlaceOrder :reportTargetAll="reportTargetAll"></veryGoodPlaceOrder>
  243. </van-collapse-item>
  244. <van-collapse-item v-if="JZQuota" name="23" title="展厅上样">
  245. <van-row>
  246. <van-col span="24"
  247. ><p>
  248. 当月新增店数:<span class="colorbalck">{{
  249. reportTargetAll.exhibitionHallMonthAct
  250. }}</span>
  251. </p></van-col
  252. >
  253. <van-col span="12"
  254. ><p>
  255. 全年实际店数:<span class="colorbalck"
  256. >{{ Micrometer(reportTargetAll.exhibitionHallYearAct) }}%</span
  257. >
  258. </p></van-col
  259. >
  260. <van-col span="12"
  261. ><p>
  262. 全年达成进度率:<span class="colorbalck"
  263. >{{ reportTargetAll.exhibitionHallYearRate }}%</span
  264. >
  265. </p></van-col
  266. >
  267. </van-row>
  268. </van-collapse-item>
  269. <van-collapse-item v-if="JZQuota" name="22" title="基材粉料过账(千元)">
  270. <van-row>
  271. <van-col span="12"><span class="leftTitle">本月实际</span></van-col>
  272. <van-col span="12"><span class="rightTitle">本季实际</span></van-col>
  273. <van-col span="12"
  274. ><p>
  275. 客户数:<span class="colorbalck">{{ reportTargetAll.jcPostCustomerMonth }}</span>
  276. </p>
  277. </van-col>
  278. <van-col span="12"
  279. ><p>
  280. 客户数:<span class="colorbalck">{{
  281. reportTargetAll.jcPostCustomerQuarter
  282. }}</span>
  283. </p></van-col
  284. >
  285. <van-col span="12"
  286. ><p>
  287. 下单数(包):<span class="colorbalck">{{
  288. reportTargetAll.jcPostOrderNumMonth
  289. }}</span>
  290. </p>
  291. </van-col>
  292. <van-col span="12"
  293. ><p>
  294. 下单数(包):<span class="colorbalck">{{
  295. reportTargetAll.jcPostOrderNumQuarter
  296. }}</span>
  297. </p></van-col
  298. >
  299. <van-col span="12"
  300. ><p>
  301. 下单销售额:<span class="colorbalck">{{
  302. Micrometer(reportTargetAll.jcPostOrderPriceMonth)
  303. }}</span>
  304. </p></van-col
  305. >
  306. <van-col span="12"
  307. ><p>
  308. 下单销售额:<span class="colorbalck">{{
  309. Micrometer(reportTargetAll.jcPostOrderPriceQuarter)
  310. }}</span>
  311. </p></van-col
  312. >
  313. <van-col span="12"
  314. ><p>
  315. 下单率:<span class="colorbalck"
  316. >{{ reportTargetAll.jcPostOrderRateMonth }}%</span
  317. >
  318. </p>
  319. </van-col>
  320. <van-col span="12"
  321. ><p>
  322. 下单率:<span class="colorbalck"
  323. >{{ reportTargetAll.jcPostOrderRateQuarter }}%</span
  324. >
  325. </p></van-col
  326. >
  327. <van-col span="24"><span class="leftTitle">年度累计实际</span></van-col>
  328. <van-col span="24"
  329. ><p>
  330. 客户数:<span class="colorbalck">{{ reportTargetAll.jcPostCustomerYear }}</span>
  331. </p>
  332. </van-col>
  333. <van-col span="24"
  334. ><p>
  335. 下单数(包):<span class="colorbalck">{{
  336. reportTargetAll.jcPostOrderNumYear
  337. }}</span>
  338. </p>
  339. </van-col>
  340. <van-col span="24"
  341. ><p>
  342. 下单销售额:<span class="colorbalck">{{
  343. Micrometer(reportTargetAll.jcPostOrderPriceYear)
  344. }}</span>
  345. </p></van-col
  346. >
  347. <van-col span="24"
  348. ><p>
  349. 下单率:<span class="colorbalck"
  350. >{{ reportTargetAll.jcPostOrderRateYear }}%</span
  351. >
  352. </p>
  353. </van-col>
  354. </van-row>
  355. </van-collapse-item>
  356. <van-collapse-item v-if="JZQuota" name="21" title="魔术漆过账(千元)">
  357. <van-row>
  358. <van-col span="12"><span class="leftTitle">本月实际</span></van-col>
  359. <van-col span="12"><span class="rightTitle">本季实际</span></van-col>
  360. <van-col span="12"
  361. ><p>
  362. 客户数:<span class="colorbalck">{{
  363. reportTargetAll.msqPostCustomerMonth
  364. }}</span>
  365. </p>
  366. </van-col>
  367. <van-col span="12"
  368. ><p>
  369. 客户数:<span class="colorbalck">{{
  370. reportTargetAll.msqPostCustomerQuarter
  371. }}</span>
  372. </p></van-col
  373. >
  374. <van-col span="12"
  375. ><p>
  376. 下单销售额:<span class="colorbalck">{{
  377. Micrometer(reportTargetAll.msqPostOrderPriceMonth)
  378. }}</span>
  379. </p></van-col
  380. >
  381. <van-col span="12"
  382. ><p>
  383. 下单销售额:<span class="colorbalck">{{
  384. Micrometer(reportTargetAll.msqPostOrderPriceQuarter)
  385. }}</span>
  386. </p></van-col
  387. >
  388. <van-col span="12"
  389. ><p>
  390. 下单率:<span class="colorbalck"
  391. >{{ reportTargetAll.msqPostOrderRateMonth }}%</span
  392. >
  393. </p>
  394. </van-col>
  395. <van-col span="12"
  396. ><p>
  397. 下单率:<span class="colorbalck"
  398. >{{ reportTargetAll.msqPostOrderRateQuarter }}%</span
  399. >
  400. </p></van-col
  401. >
  402. <van-col span="24"><span class="leftTitle">年度累计实际</span></van-col>
  403. <van-col span="24"
  404. ><p>
  405. 客户数:<span class="colorbalck">{{ reportTargetAll.msqPostCustomerYear }}</span>
  406. </p>
  407. </van-col>
  408. <van-col span="24"
  409. ><p>
  410. 下单销售额:<span class="colorbalck">{{
  411. Micrometer(reportTargetAll.msqPostOrderPriceYear)
  412. }}</span>
  413. </p></van-col
  414. >
  415. <van-col span="24"
  416. ><p>
  417. 下单率:<span class="colorbalck"
  418. >{{ reportTargetAll.msqPostOrderRateYear }}%</span
  419. >
  420. </p>
  421. </van-col>
  422. </van-row>
  423. </van-collapse-item>
  424. <van-collapse-item title="今日拜访照片" name="10" v-if="reportTarget.photoSummary">
  425. <div
  426. class="visitIMG1"
  427. :style="{
  428. overflow: 'hidden',
  429. height: visitIMG1Flag ? 'auto' : '170px',
  430. }">
  431. <template v-for="(item, index) in reportTarget.photoSummary">
  432. <van-col span="6" style="padding: 5px" @click="pviewFn(index)" :key="index">
  433. <img :src="item.fileUrl" alt="" />
  434. </van-col>
  435. </template>
  436. </div>
  437. <div
  438. v-if="reportTarget.photoSummary.length > 8"
  439. class="arrowIcon"
  440. style="
  441. display: flex;
  442. align-items: center;
  443. justify-content: center;
  444. padding: 5px 0;
  445. font-size: 14px;
  446. color: #969799;
  447. "
  448. @click="visitIMG1Flag = !visitIMG1Flag">
  449. <template v-if="visitIMG1Flag">
  450. <span style="margin-right: 5px">折叠</span>
  451. <van-icon size="14" :name="require('@/assets/Icon/arrow-up.png')" />
  452. </template>
  453. <template v-else>
  454. <span style="margin-right: 5px">展开</span>
  455. <van-icon size="14" :name="require('@/assets/Icon/arrow-down.png')" />
  456. </template>
  457. </div>
  458. <!-- 生动化陈列 sku -->
  459. <template
  460. v-if="
  461. reportTarget.photoSkuImgSummaryeList &&
  462. reportTarget.photoSkuImgSummaryeList.length
  463. ">
  464. <p style="padding-bottom: 10px; font-size: 14px; color: #1e5398; font-weight: 500">
  465. SKU陈列照识别结果
  466. </p>
  467. <p style="padding-bottom: 10px; font-size: 14px; font-weight: 500">
  468. 目前识别桶装和战略产品合计106个,后续会增加被识别产品数
  469. </p>
  470. <el-table
  471. :data="reportTarget.photoSkuImgSummaryeList"
  472. border
  473. class="table-headermd table-headermdhome"
  474. style="width: 100%">
  475. <el-table-column label="序号" type="index" width="50px" align="center" />
  476. <el-table-column label="门店名称(编号)" prop="name" align="center">
  477. <template slot-scope="scope">
  478. {{ scope.row.name }}({{ scope.row.code }})
  479. </template>
  480. </el-table-column>
  481. <el-table-column label="SKU数量" prop="count" width="80px" align="center" />
  482. </el-table>
  483. </template>
  484. </van-collapse-item>
  485. </van-collapse>
  486. </template>
  487. <div class="contentContainer">
  488. <!-- isHistory 是否为历史汇报:0-新汇报 1-历史汇报 -->
  489. <reportCustom
  490. ref="reportCustom"
  491. v-if="reportTarget.isHistory == '0'"
  492. :disabled="true"
  493. :reportCustomData="reportTarget.customTaskList"></reportCustom>
  494. <template v-else>
  495. <div v-if="GZQuota">
  496. <p class="contentContainerTitle">今日项目跟进数</p>
  497. <div style="padding: 10px 0">
  498. <van-field readonly v-model="projectFollowNum" type="digit" />
  499. </div>
  500. <p class="contentContainerTitle">今日TUC成功报备数量</p>
  501. <div style="padding: 10px 0">
  502. <van-field readonly v-model="tucReportingSuccessNum" type="digit" />
  503. </div>
  504. </div>
  505. <!-- 今日未拜访原因 如果不为空则展示,为空则不展示 -->
  506. <div v-if="reportTarget.notVisitReason && reportTarget.notVisitReason != ''">
  507. <p class="contentContainerTitle">截至日报提交时间,今日拜访0家店的原因</p>
  508. <div style="padding: 10px 0">
  509. <van-field
  510. readonly
  511. v-model="reportTarget.notVisitReason"
  512. rows="4"
  513. autosize
  514. type="textarea" />
  515. </div>
  516. </div>
  517. <p class="contentContainerTitle">今日机会与挑战总结</p>
  518. <div style="padding: 10px 0">
  519. <van-field v-model="Content" rows="4" autosize readonly type="textarea" />
  520. </div>
  521. <p class="contentContainerTitle">明日工作规划</p>
  522. <div style="padding: 10px 0">
  523. <van-field v-model="Content2" rows="4" autosize readonly type="textarea" />
  524. </div>
  525. </template>
  526. </div>
  527. <div
  528. class="contentContainer"
  529. v-if="reportTarget.status > 1 || reportTarget.reportRemarks != null">
  530. <p class="texttitle texttitledaily">
  531. <span class="opint"></span>
  532. <span v-if="reportTarget.status == 1">待审批</span>
  533. <span v-if="reportTarget.status == 3">审批完成</span>
  534. <span v-if="reportTarget.status == 2">退回重写</span>
  535. <span v-if="reportTarget.status == -1">过期未汇报</span>
  536. <span v-if="reportTarget.status > 1"><{{ ptitle }}审批></span>
  537. </p>
  538. <div style="padding: 10px 0" v-if="reportTarget.status > 1">
  539. <van-rate
  540. v-model="reportTarget.number"
  541. :size="25"
  542. readonly
  543. color="#ffd21e"
  544. void-icon="star"
  545. void-color="#eee" /><span class="rateText"
  546. >&nbsp;&nbsp;&nbsp;&nbsp;{{ reportTarget.number }}分</span
  547. >
  548. </div>
  549. <div style="padding: 10px 0" v-if="reportTarget.status > 1">
  550. <van-field v-model="successContent" rows="4" autosize readonly type="textarea" />
  551. </div>
  552. </div>
  553. <div class="contentContainer" v-if="reportTarget.reportRemarks != null">
  554. <div>
  555. <div v-for="(item, index) in reportTarget.reportRemarks" :key="index">
  556. <div class="contentContainerTitle redisplay">
  557. <div class="nameTitle">
  558. <template v-if="item.deptName">{{ item.deptName }}-</template
  559. >{{ item.postName }}-{{ item.nickName }}的点评
  560. </div>
  561. <div
  562. class="shareBtn"
  563. @click="clickShareFlag(index)"
  564. v-if="
  565. reportTarget &&
  566. source != 'share' &&
  567. reportTarget.reportPostType == 'fx' &&
  568. reportTarget.status != -1
  569. ">
  570. <van-icon name="share" />
  571. </div>
  572. </div>
  573. <div style="padding: 10px 0">
  574. <van-field
  575. v-model="item.remarkContent"
  576. rows="4"
  577. autosize
  578. readonly
  579. type="textarea" />
  580. </div>
  581. <!-- <p style="text-align: right">点评时间:{{ item.createTime }}</p> -->
  582. </div>
  583. </div>
  584. </div>
  585. <div class="contentContainer">
  586. <p class="contentContainerTitle">点评</p>
  587. <div style="padding: 10px 0">
  588. <van-field
  589. v-model="managerRemarkContent"
  590. rows="4"
  591. autosize
  592. maxlength="800"
  593. show-word-limit
  594. type="textarea"
  595. :formatter="formatter" />
  596. </div>
  597. </div>
  598. </div>
  599. <br />
  600. <div class="contentborder">
  601. <van-button type="info" size="small" plain class="Btn1" @click="submint"
  602. >提交点评</van-button
  603. >
  604. </div>
  605. <br />
  606. <br />
  607. <br />
  608. <!-- v-if="isDiy=='true'" v-if="reportTarget.status!=-1&&showEnvelopes&&(reportTarget.userId!=reportTarget.loginUserId)"-->
  609. <!-- <div class="envelopes" @click="openEnterpriseChat" >-->
  610. <!-- <img :src="envelopes">-->
  611. <!-- <p>红包奖励</p>-->
  612. <!-- </div>-->
  613. <!-- <div class="envelopes" @click="openEnterpriseChatv" v-if="reportTarget.status!=-1&&!showEnvelopes&&(reportTarget.userId!=reportTarget.loginUserId)">-->
  614. <!-- <img :src="envelopes">-->
  615. <!-- <p>红包提醒</p>-->
  616. <!-- </div>-->
  617. <!-- <div class="contentborder">-->
  618. <!-- <van-button type="info" size="small" plain class="Btn1" >红包会话测试</van-button>-->
  619. <!-- </div>-->
  620. <br />
  621. <br />
  622. <br />
  623. <br />
  624. </div>
  625. <share
  626. v-if="setShareFlag"
  627. :reportTarget="reportTarget"
  628. :reportId="$route.query.reportId"
  629. @setShareImg="setShareImg"
  630. @setDailyDetailsBox="setDailyDetailsBox"
  631. :urlList="urlList"
  632. :reportRemarksIndex="reportRemarksIndex"
  633. :reportContents="reportContents"
  634. :checkedPlan="checkedPlan"></share>
  635. <!--分享图片列表 -->
  636. <el-dialog
  637. title="选择分享的内容"
  638. :visible.sync="shareImgFlag"
  639. width="90%"
  640. :append-to-body="true"
  641. :close-on-click-modal="false"
  642. @close="wuliaoTableClose"
  643. custom-class="shareImgFlag">
  644. <div v-if="reportTarget.photoSummary">
  645. <!-- <p style="margin-bottom: 10px; margin-top: 0; display: flex">
  646. 今日总结&明日规划的文本内容<van-checkbox
  647. v-model="checkedPlan"
  648. style="margin-left: 10px"></van-checkbox>
  649. </p> -->
  650. <p style="margin-top: 0">请点击勾选想要分享的今日拜访照片</p>
  651. <div class="shareVisitImg">
  652. <template v-for="(itemImg, indexImg) in reportTarget.photoSummary">
  653. <div>
  654. <img :src="itemImg.fileUrl" alt="" @click="selectImg(itemImg)" />
  655. <van-icon
  656. @click.stop
  657. name="success"
  658. class="activaImg"
  659. color="#fff"
  660. size="15"
  661. style="
  662. position: absolute;
  663. right: 0;
  664. bottom: 0;
  665. /* margin: -15px 0 0 -15px; */
  666. pointer-events: none;
  667. background: #2b73cf;
  668. border: 2px solid #fff;
  669. "
  670. v-if="itemImg.checked" />
  671. </div>
  672. </template>
  673. </div>
  674. </div>
  675. <span slot="footer" class="footer-btn">
  676. <van-button plain type="primary" @click="shareImgFlag = false">取 消</van-button>
  677. <van-button type="primary" @click="confirmShare">确 定</van-button>
  678. </span>
  679. </el-dialog>
  680. </div>
  681. </template>
  682. <script>
  683. import history from '@/assets/Icon/history.png';
  684. import envelopes from '@/assets/envelopes.png';
  685. import {
  686. userTodayPlanNum,
  687. insertRemark,
  688. getDetailById,
  689. updateReport,
  690. buryingPoint,
  691. getDictOption,
  692. } from '@/api/index';
  693. import axios from 'axios';
  694. import { ImagePreview } from 'vant';
  695. import visitedRealTime from '@/views/componentsTarget/visitedRealTime';
  696. import createStoreBJ from '@/views/componentsTarget/createStoreBJ';
  697. import placeOrder from '@/views/componentsTarget/placeOrder';
  698. import ZYPlaceOrder from '@/views/componentsTarget/ZYPlaceOrder';
  699. import performanceSAP from '@/views/componentsTarget/performanceSAP';
  700. import ZYSAP from '@/views/componentsTarget/ZYSAP';
  701. import veryGoodPlaceOrder from '@/views/componentsTarget/veryGoodPlaceOrder';
  702. import share from '@/components/share';
  703. import reportCustom from './reportCustom';
  704. import target from './target.vue';
  705. export default {
  706. name: 'daily',
  707. components: {
  708. visitedRealTime,
  709. createStoreBJ,
  710. placeOrder,
  711. ZYPlaceOrder,
  712. performanceSAP,
  713. ZYSAP,
  714. veryGoodPlaceOrder,
  715. share,
  716. reportCustom,
  717. target,
  718. },
  719. data() {
  720. return {
  721. envelopes: envelopes,
  722. show: true,
  723. num: 0,
  724. title: '',
  725. ptitle: '',
  726. showEnvelopes: true,
  727. todayGoal: {},
  728. progressWidth: 0,
  729. history: history,
  730. imgArr: [],
  731. activeNames: [
  732. '1',
  733. '2',
  734. '3',
  735. '4',
  736. '5',
  737. '6',
  738. '7',
  739. '8',
  740. '10',
  741. '16',
  742. '17',
  743. '20',
  744. '21',
  745. '22',
  746. '23',
  747. '11',
  748. '29',
  749. '33',
  750. '40',
  751. '41',
  752. '42',
  753. '43',
  754. ],
  755. value: '2',
  756. message: '',
  757. powerGrade: '',
  758. Content: '',
  759. Content2: '',
  760. reportTargetAll: null,
  761. reportContents: [],
  762. reportTarget: {},
  763. successContent: '',
  764. managerRemarkContent: '',
  765. projectFollowNum: '',
  766. reportingNum: '',
  767. tucReportingSuccessNum: '',
  768. isDiy: false,
  769. type: '-1',
  770. imgList: [],
  771. JZQuota: false,
  772. titlejz: '',
  773. GZQuota: false,
  774. YFQuota: false, //应用服务
  775. saptitle: '业绩目标SAP(千元)',
  776. setShareFlag: false,
  777. source: '',
  778. reportRemarksIndex: -1,
  779. shareImgFlag: false,
  780. urlList: [],
  781. reportId: '',
  782. checkedPlan: true, //今日总结&明日规划
  783. setDailyDetailsBoxFlag: true,
  784. visitIMG1Flag: false,
  785. shareReportConfig: null,
  786. postName: '',
  787. homePageIndicatorList: null,
  788. };
  789. },
  790. watch: {
  791. $route(to, from) {
  792. this.powerGrade = localStorage.getItem('powerGrade');
  793. this.isDiy = localStorage.getItem('isDiy');
  794. if (to.path == '/dailyHistoricalDetails') {
  795. this.showEnvelopes = true;
  796. this.getDetailById();
  797. }
  798. // &&from.path=="/dailyApprovalList"
  799. // if(to.path=="/dailyDetails"&&from.path=="/myHistoricalDaily"){
  800. // this.getDetailById()
  801. // }
  802. },
  803. },
  804. activated() {
  805. this.setDailyDetailsBoxFlag = true;
  806. this.shareImgFlag = false;
  807. this.reportId = this.$route.query.reportId ? this.$route.query.reportId.replace('?', '') : '';
  808. console.log(this.reportId);
  809. this.source = this.$route.query.source;
  810. this.num = 0;
  811. this.userTodayPlanNum();
  812. this.setShareFlag = false;
  813. this.powerGrade = localStorage.getItem('powerGrade');
  814. this.isDiy = localStorage.getItem('isDiy');
  815. this.getDetailById();
  816. },
  817. methods: {
  818. setVisitIMG1Flag(item) {
  819. this.$set(item, 'visitIMG1Flag', !item.visitIMG1Flag);
  820. this.$forceUpdate();
  821. },
  822. setDailyDetailsBox(flag) {
  823. this.setDailyDetailsBoxFlag = flag;
  824. },
  825. setShareImg(flag) {
  826. this.setShareFlag = flag;
  827. },
  828. // 打开分享
  829. clickShareFlag(index = -1) {
  830. buryingPoint({
  831. systemModel: '日报审核',
  832. buryingPointType: 2,
  833. buryingPointValue: this.$route.query.reportId,
  834. buryingPointName: '日报详情分享',
  835. buryingPointPosition: '日报详情',
  836. });
  837. this.urlList = [];
  838. this.reportRemarksIndex = index;
  839. if (this.reportTarget.photoSummary && this.reportTarget.photoSummary.length) {
  840. // 重置分享图片状态
  841. this.reportTarget.photoSummary.forEach((item) => {
  842. // item.photos.forEach((val) => {
  843. this.$set(item, 'checked', false);
  844. // });
  845. });
  846. // 选择分享的图片
  847. this.shareImgFlag = true;
  848. } else {
  849. this.setShareFlag = true;
  850. }
  851. },
  852. // 确认分享
  853. confirmShare() {
  854. this.reportTarget.photoSummary.forEach((item) => {
  855. // item.photos.forEach((val) => {
  856. if (item.checked) this.urlList.push(item.fileUrl);
  857. // });
  858. });
  859. if (this.urlList.length == 0 && !this.checkedPlan) {
  860. this.$notify({ type: 'warning', message: '请选择分享内容!', className: 'notifyIndex' });
  861. return;
  862. }
  863. buryingPoint({
  864. systemModel: '日报审核',
  865. buryingPointType: 2,
  866. buryingPointValue: `文本${this.checkedPlan ? '是' : '否'},图片${this.urlList.length}`,
  867. buryingPointName: '日报分享确认',
  868. buryingPointPosition: '日报详情',
  869. });
  870. this.shareImgFlag = false;
  871. this.setShareFlag = true;
  872. },
  873. pviewFn(index) {
  874. var imgList = [];
  875. var photos = this.reportTarget.photoSummary;
  876. for (let i = 0; i < photos.length; i++) {
  877. imgList.push(photos[i].fileUrl);
  878. }
  879. ImagePreview({ images: imgList, startPosition: index });
  880. },
  881. openEnterpriseChatv() {
  882. this.$dialog
  883. .confirm({
  884. title: '系统提示',
  885. message: '是否发送红包提醒?',
  886. })
  887. .then(() => {
  888. this.$toast('提醒成功!');
  889. })
  890. .catch(() => {
  891. // on cancel
  892. });
  893. },
  894. formatter(value) {
  895. return value.replace(
  896. /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi,
  897. '',
  898. );
  899. },
  900. openEnterpriseChat(val) {
  901. let loading1 = this.$toast.loading({
  902. duration: 0,
  903. message: '加载中...',
  904. forbidClick: true,
  905. });
  906. let url = window.location.href;
  907. let that = this;
  908. let wx = this.wx;
  909. let qiyeData;
  910. var userIds = this.reportTarget.reportContents[0].createBy;
  911. const instance = axios.create();
  912. instance.defaults.headers.common['userId'] = localStorage.getItem('loginName');
  913. instance
  914. .get(process.env.VUE_APP_BASE_API + 'mobile/wx/ticket', {
  915. params: {
  916. url: url,
  917. },
  918. })
  919. .then((response) => {
  920. if (response.status == 200) {
  921. loading1.clear();
  922. qiyeData = response.data.data;
  923. wx.config({
  924. beta: true, // 必须这么写,否则wx.invoke调用形式的jsapi会有问题
  925. debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
  926. appId: qiyeData.appId, // 必填,企业微信的corpID
  927. timestamp: qiyeData.timestamp, // 必填,生成签名的时间戳
  928. nonceStr: qiyeData.nonceStr, // 必填,生成签名的随机串
  929. signature: qiyeData.signature, // 必填,签名,见 附录-JS-SDK使用权限签名算法
  930. jsApiList: ['ready', 'openEnterpriseChat'], // 必填,需要使用的JS接口列表,凡是要调用的接口都需要传进来
  931. });
  932. wx.ready(function () {
  933. wx.openEnterpriseChat({
  934. //localStorage.getItem("loginName")
  935. userIds: userIds,
  936. // externalUserIds:"dingxiaogai.sm",
  937. groupName: '我的红包群', // 会话名称。单聊时该参数传入空字符串""即可。localStorage.getItem("loginName")
  938. chatId: '', //CHATID 若要打开已有会话,需指定此参数。如果是新建会话,chatId必须为空串
  939. success: function (res) {
  940. that.showEnvelopes = false;
  941. var chatId = res.chatId; //返回当前群聊ID,仅当使用agentConfig注入该接口权限时才返回chatId
  942. },
  943. fail: function (res) {
  944. if (res.errMsg.indexOf('function not exist') > -1) {
  945. alert('版本过低请升级');
  946. }
  947. },
  948. });
  949. });
  950. } else {
  951. this.$toast.fail(dataList.msg);
  952. }
  953. });
  954. },
  955. submint() {
  956. let loading1 = this.$toast.loading({
  957. duration: 0,
  958. message: '数据提交中...',
  959. forbidClick: true,
  960. });
  961. if (this.managerRemarkContent.trim() == '') {
  962. this.$toast('点评内容未填写');
  963. return false;
  964. }
  965. if (this.managerRemarkContent.length > 800) {
  966. this.$toast('点评内容超过800字');
  967. return false;
  968. }
  969. var remak = {
  970. remarkContent: this.managerRemarkContent,
  971. reportId: this.reportId,
  972. };
  973. insertRemark(remak).then((res) => {
  974. loading1.clear();
  975. if (res.code == 200) {
  976. this.$dialog
  977. .alert({
  978. title: '系统提示',
  979. message: '提交成功',
  980. })
  981. .then(() => {
  982. this.managerRemarkContent = '';
  983. this.getDetailById();
  984. });
  985. } else {
  986. this.$toast.fail(res.msg);
  987. }
  988. });
  989. },
  990. getDetailById() {
  991. let loading1 = this.$toast.loading({
  992. duration: 0,
  993. message: '加载中...',
  994. forbidClick: true,
  995. });
  996. // 获取店招异常原因字典
  997. getDictOption({}, 'share_report_config').then((res) => {
  998. this.shareReportConfig = res.data;
  999. });
  1000. this.homePageIndicatorList = null;
  1001. getDetailById({ reportId: this.reportId }).then((res) => {
  1002. loading1.clear();
  1003. if (res.code == 500 && this.source == 'share') {
  1004. this.$dialog
  1005. .confirm({
  1006. title: '系统提示',
  1007. message: res.msg,
  1008. showCancelButton: false,
  1009. })
  1010. .then(() => {
  1011. this.$router.replace({
  1012. path: '/My/index',
  1013. });
  1014. });
  1015. } else {
  1016. if (res.data.postName == '质感销售负责人' || res.data.postName == '质感销售专员') {
  1017. this.homePageIndicatorList = res.data.homePageIndicatorList;
  1018. }
  1019. console.log(this.homePageIndicatorList);
  1020. this.postName = res.data.postName;
  1021. this.GZQuota = false;
  1022. this.JZQuota = false;
  1023. this.YFQuota = res.data.postType == 'YF' ? true : false;
  1024. if (res.data.postType == 'JZ') {
  1025. this.JZQuota = true;
  1026. } else if (res.data.postType == 'GZ') {
  1027. this.GZQuota = true;
  1028. this.saptitle = '公裝业绩SAP(千元)';
  1029. } else {
  1030. this.saptitle = '业绩目标SAP(千元)';
  1031. }
  1032. this.title =
  1033. res.data.deptName + '-' + res.data.postName + '-' + res.data.nickName + '的日报';
  1034. this.ptitle = res.data.pdeptName + '-' + res.data.ppostName + '-' + res.data.pnickName;
  1035. this.reportTargetAll = res.data.reportTargetAll;
  1036. this.reportTarget = res.data;
  1037. this.type = res.data.userType;
  1038. if (res.data.status == 3) {
  1039. this.successContent = res.data.successContent;
  1040. } else {
  1041. this.successContent = res.data.failContent;
  1042. }
  1043. this.Content = '';
  1044. this.Content2 = '';
  1045. this.reportContents = [];
  1046. // <!-- isHistory 是否为历史汇报:0-新汇报 1-历史汇报 -->
  1047. if (this.reportTarget.isHistory == '0') {
  1048. if (this.reportTarget.customTaskList && this.reportTarget.customTaskList.length) {
  1049. for (let x = 0; x < this.reportTarget.customTaskList.length; x++) {
  1050. let sfaReportCustomCollections =
  1051. this.reportTarget.customTaskList[x].sfaReportCustomCollections;
  1052. if (sfaReportCustomCollections) {
  1053. for (let y = 0; y < sfaReportCustomCollections.length; y++) {
  1054. let custom = this.shareReportConfig.filter(
  1055. (val) =>
  1056. val.dictValue == sfaReportCustomCollections[y].reportCustomCollectionName,
  1057. );
  1058. if (custom.length) {
  1059. custom[0].content = sfaReportCustomCollections[y].answerValue;
  1060. this.reportContents = this.reportContents.concat(custom);
  1061. }
  1062. }
  1063. }
  1064. }
  1065. }
  1066. } else {
  1067. if (res.data.reportContents.length > 0) {
  1068. this.Content = res.data.reportContents[0].dayContent;
  1069. if (res.data.reportContents.length > 1) {
  1070. this.Content2 = res.data.reportContents[1].dayContent;
  1071. } else {
  1072. this.Content2 = '';
  1073. }
  1074. if (res.data.reportContents.length > 2) {
  1075. this.projectFollowNum = res.data.reportContents[2].projectFollowNum;
  1076. this.tucReportingSuccessNum = res.data.reportContents[3].tucReportingSuccessNum;
  1077. }
  1078. }
  1079. this.reportContents = [
  1080. {
  1081. dictValue: '今日机会与挑战总结',
  1082. content: this.Content,
  1083. },
  1084. {
  1085. dictValue: '明日工作计划',
  1086. content: this.Content2,
  1087. },
  1088. ];
  1089. }
  1090. var imgList = [];
  1091. if (res.data.photoSummary != null) {
  1092. for (var k = 0; k < res.data.photoSummary.length; k++) {
  1093. imgList.push(res.data.photoSummary[k].fileUrl + '');
  1094. }
  1095. }
  1096. this.imgList = imgList;
  1097. }
  1098. var imgList = [];
  1099. if (res.data.photoSummary != null) {
  1100. if (res.data.photoSummary != null) {
  1101. for (var k = 0; k < res.data.photoSummary.length; k++) {
  1102. imgList.push(res.data.photoSummary[k].fileUrl + '');
  1103. }
  1104. }
  1105. }
  1106. this.imgList = imgList;
  1107. });
  1108. },
  1109. userTodayPlanNum() {
  1110. userTodayPlanNum().then((res) => {
  1111. if (res.code == 200) {
  1112. this.todayGoal = res.data;
  1113. this.progressWidth = (this.todayGoal.finishNum / this.todayGoal.planNum) * 100 + '%';
  1114. localStorage.setItem('nickName', res.data.user.nickName);
  1115. localStorage.setItem('storeType', res.data.user.type);
  1116. } else {
  1117. this.$toast.fail(res.msg);
  1118. }
  1119. });
  1120. },
  1121. onClickLeft() {
  1122. if (this.source == 'share') {
  1123. this.$router.replace({
  1124. path: '/My/index',
  1125. });
  1126. } else {
  1127. this.$router.go(-1);
  1128. }
  1129. },
  1130. wuliaoTableClose() {
  1131. this.shareImgFlag = false;
  1132. },
  1133. // 选中的图片
  1134. selectImg(item) {
  1135. this.$set(item, 'checked', !item.checked);
  1136. console.log(item);
  1137. },
  1138. },
  1139. };
  1140. </script>
  1141. <style scoped lang="scss">
  1142. .dailyHistoricalDetails {
  1143. position: relative;
  1144. background: #fff;
  1145. width: 100%;
  1146. height: 100%;
  1147. .dailyHistoricalDetailsBox {
  1148. background: #fff;
  1149. }
  1150. .shareBtn {
  1151. width: 30px;
  1152. height: 30px;
  1153. border-radius: 50%;
  1154. background: #666;
  1155. display: flex;
  1156. align-items: center;
  1157. justify-content: center;
  1158. position: relative;
  1159. .van-icon-share {
  1160. color: #fff;
  1161. }
  1162. .vedioLinks {
  1163. max-width: vw(210);
  1164. position: absolute;
  1165. bottom: -6px;
  1166. background: #dae7f6;
  1167. padding: 2px 7px;
  1168. /* word-break: keep-all; */
  1169. white-space: nowrap;
  1170. /* text-overflow: ellipsis; */
  1171. right: 0;
  1172. border-radius: 5px;
  1173. font-size: 10px;
  1174. right: 40px;
  1175. display: flex;
  1176. flex-direction: column;
  1177. justify-content: center;
  1178. align-items: flex-start;
  1179. z-index: 999999;
  1180. span {
  1181. line-height: 17px;
  1182. }
  1183. .linkSpan {
  1184. text-decoration: underline;
  1185. }
  1186. .van-icon-play {
  1187. position: absolute;
  1188. top: 12px;
  1189. /* transform: rotate(270deg); */
  1190. right: -8px;
  1191. color: #dae7f6;
  1192. }
  1193. }
  1194. }
  1195. }
  1196. .container {
  1197. margin: 10px;
  1198. }
  1199. .container .van-collapse-item {
  1200. margin-bottom: 10px;
  1201. border-radius: 6px;
  1202. overflow: hidden;
  1203. }
  1204. .linep p {
  1205. margin: 6px 0 0 0;
  1206. font-size: 14px;
  1207. color: #666;
  1208. }
  1209. .linep .texttitle {
  1210. color: #0057ba;
  1211. position: relative;
  1212. padding-left: 10px;
  1213. }
  1214. .linep .texttitledaily {
  1215. color: #000;
  1216. position: relative;
  1217. padding-left: 10px;
  1218. }
  1219. .linep .texttitle2 {
  1220. padding-left: 0;
  1221. }
  1222. .linep .texttitledaily .opint {
  1223. position: absolute;
  1224. left: 0px;
  1225. top: 6px;
  1226. margin-right: 6px;
  1227. display: inline-block;
  1228. width: 6px;
  1229. height: 6px;
  1230. border-radius: 10px;
  1231. background-color: #0057ba;
  1232. }
  1233. .leftTitle {
  1234. background-color: #74a4d9;
  1235. color: #fff;
  1236. display: inline-block;
  1237. padding: 0 4px;
  1238. border-radius: 2px;
  1239. }
  1240. .rightTitle {
  1241. background-color: #e7b4bb;
  1242. color: #fff;
  1243. display: inline-block;
  1244. padding: 0 4px;
  1245. border-radius: 2px;
  1246. }
  1247. .redisplay {
  1248. display: flex;
  1249. align-items: center;
  1250. justify-content: space-between;
  1251. .nameTitle {
  1252. flex: 1;
  1253. }
  1254. }
  1255. </style>
  1256. <style lang="scss">
  1257. .linep .van-cell__title {
  1258. color: #1e5398;
  1259. font-weight: 500;
  1260. }
  1261. .linep .contentContainer {
  1262. background-color: white;
  1263. border-radius: 8px;
  1264. padding: 10px 16px;
  1265. margin-bottom: 10px;
  1266. }
  1267. .linep .contentContainer .contentContainerTitle {
  1268. color: #222;
  1269. }
  1270. .linep .contentContainer .contentContainerTitle span {
  1271. font-size: 12px;
  1272. color: #666;
  1273. }
  1274. .linep .contentContainer .van-field__control {
  1275. background-color: #ebf4ff;
  1276. padding: 10px;
  1277. border-radius: 8px;
  1278. }
  1279. .linep .contentContainer .van-cell {
  1280. padding: 0;
  1281. }
  1282. .colorbalck {
  1283. color: #333;
  1284. }
  1285. .van-dialog__confirm,
  1286. .van-dialog__confirm:active {
  1287. color: #0057ba;
  1288. }
  1289. .visitIMG1 img {
  1290. display: block;
  1291. width: 100%;
  1292. height: 75px;
  1293. border-radius: 6px;
  1294. }
  1295. .table-headermd {
  1296. font-size: 12px;
  1297. text-align: center;
  1298. position: initial;
  1299. width: 98% !important;
  1300. margin: 0 auto;
  1301. border-right: 0;
  1302. border-radius: 10px;
  1303. .el-table__cell {
  1304. padding: 6px 0 !important;
  1305. }
  1306. }
  1307. .table-headermd th.el-table__cell {
  1308. background-color: #1989fa;
  1309. color: #fff;
  1310. }
  1311. .el-dialog__wrapper {
  1312. z-index: 9999 !important;
  1313. display: flex;
  1314. justify-content: center;
  1315. align-items: center;
  1316. background: rgba(0, 0, 0, 0.5) !important;
  1317. .shareImgFlag {
  1318. overflow: hidden;
  1319. display: flex;
  1320. flex-direction: column;
  1321. max-height: 70%;
  1322. margin-top: 0 !important;
  1323. .el-dialog__header {
  1324. height: 40px;
  1325. display: flex;
  1326. justify-content: right;
  1327. .el-dialog__headerbtn {
  1328. position: static !important;
  1329. }
  1330. }
  1331. .el-dialog__body {
  1332. padding: 30px 20px !important;
  1333. overflow-y: auto;
  1334. flex: 1;
  1335. }
  1336. .cell {
  1337. font-size: 12px;
  1338. }
  1339. .footer-btn {
  1340. display: flex;
  1341. justify-content: space-around;
  1342. }
  1343. }
  1344. }
  1345. .shareImgFlag {
  1346. .shareVisitImg {
  1347. display: flex;
  1348. flex-wrap: wrap;
  1349. div {
  1350. width: 22%;
  1351. height: 80px;
  1352. margin-right: 3%;
  1353. margin-top: 10px;
  1354. position: relative;
  1355. img {
  1356. width: 100%;
  1357. height: 100%;
  1358. }
  1359. }
  1360. }
  1361. .el-dialog__header {
  1362. display: flex;
  1363. .el-dialog__title {
  1364. flex: 1;
  1365. display: flex;
  1366. align-items: center;
  1367. justify-content: center;
  1368. }
  1369. }
  1370. }
  1371. .notifyIndex {
  1372. z-index: 999999 !important;
  1373. }
  1374. </style>