dailyHistoricalDetails.vue 45 KB

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