dailyHistoricalDetails.vue 47 KB

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