dailyHistoricalDetails.vue 44 KB

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