dailyHistoricalDetails.vue 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338
  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. <div v-if="GZQuota">
  465. <p class="contentContainerTitle">今日项目跟进数</p>
  466. <div style="padding: 10px 0">
  467. <van-field readonly v-model="projectFollowNum" type="digit" />
  468. </div>
  469. <p class="contentContainerTitle">今日TUC成功报备数量</p>
  470. <div style="padding: 10px 0">
  471. <van-field readonly v-model="tucReportingSuccessNum" type="digit" />
  472. </div>
  473. </div>
  474. <!-- 今日未拜访原因 如果不为空则展示,为空则不展示 -->
  475. <div v-if="reportTarget.notVisitReason && reportTarget.notVisitReason != ''">
  476. <p class="contentContainerTitle">截至日报提交时间,今日拜访0家店的原因</p>
  477. <div style="padding: 10px 0">
  478. <van-field
  479. readonly
  480. v-model="reportTarget.notVisitReason"
  481. rows="4"
  482. autosize
  483. type="textarea" />
  484. </div>
  485. </div>
  486. <p class="contentContainerTitle">今日机会与挑战总结</p>
  487. <div style="padding: 10px 0">
  488. <van-field v-model="Content" rows="4" autosize readonly type="textarea" />
  489. </div>
  490. <p class="contentContainerTitle">明日工作规划</p>
  491. <div style="padding: 10px 0">
  492. <van-field v-model="Content2" rows="4" autosize readonly type="textarea" />
  493. </div>
  494. </div>
  495. <div
  496. class="contentContainer"
  497. v-if="reportTarget.status > 1 || reportTarget.reportRemarks != null">
  498. <p class="texttitle texttitledaily">
  499. <span class="opint"></span>
  500. <span v-if="reportTarget.status == 1">待审批</span>
  501. <span v-if="reportTarget.status == 3">审批完成</span>
  502. <span v-if="reportTarget.status == 2">退回重写</span>
  503. <span v-if="reportTarget.status == -1">过期未汇报</span>
  504. <span v-if="reportTarget.status > 1"><{{ ptitle }}审批></span>
  505. </p>
  506. <div style="padding: 10px 0" v-if="reportTarget.status > 1">
  507. <van-rate
  508. v-model="reportTarget.number"
  509. :size="25"
  510. readonly
  511. color="#ffd21e"
  512. void-icon="star"
  513. void-color="#eee" /><span class="rateText"
  514. >&nbsp;&nbsp;&nbsp;&nbsp;{{ reportTarget.number }}分</span
  515. >
  516. </div>
  517. <div style="padding: 10px 0" v-if="reportTarget.status > 1">
  518. <van-field v-model="successContent" rows="4" autosize readonly type="textarea" />
  519. </div>
  520. </div>
  521. <div class="contentContainer" v-if="reportTarget.reportRemarks != null">
  522. <div>
  523. <div v-for="(item, index) in reportTarget.reportRemarks" :key="index">
  524. <div class="contentContainerTitle redisplay">
  525. <div class="nameTitle">
  526. <template v-if="item.deptName">{{ item.deptName }}-</template
  527. >{{ item.postName }}-{{ item.nickName }}的点评
  528. </div>
  529. <div
  530. class="shareBtn"
  531. @click="clickShareFlag(index)"
  532. v-if="
  533. reportTarget &&
  534. source != 'share' &&
  535. reportTarget.reportPostType == 'fx' &&
  536. reportTarget.status != -1
  537. ">
  538. <van-icon name="share" />
  539. </div>
  540. </div>
  541. <div style="padding: 10px 0">
  542. <van-field
  543. v-model="item.remarkContent"
  544. rows="4"
  545. autosize
  546. readonly
  547. type="textarea" />
  548. </div>
  549. <!-- <p style="text-align: right">点评时间:{{ item.createTime }}</p> -->
  550. </div>
  551. </div>
  552. </div>
  553. <div class="contentContainer">
  554. <p class="contentContainerTitle">点评</p>
  555. <div style="padding: 10px 0">
  556. <van-field
  557. v-model="managerRemarkContent"
  558. rows="4"
  559. autosize
  560. maxlength="800"
  561. show-word-limit
  562. type="textarea"
  563. :formatter="formatter" />
  564. </div>
  565. </div>
  566. </div>
  567. <br />
  568. <div class="contentborder">
  569. <van-button type="info" size="small" plain class="Btn1" @click="submint"
  570. >提交点评</van-button
  571. >
  572. </div>
  573. <br />
  574. <br />
  575. <br />
  576. <!-- v-if="isDiy=='true'" v-if="reportTarget.status!=-1&&showEnvelopes&&(reportTarget.userId!=reportTarget.loginUserId)"-->
  577. <!-- <div class="envelopes" @click="openEnterpriseChat" >-->
  578. <!-- <img :src="envelopes">-->
  579. <!-- <p>红包奖励</p>-->
  580. <!-- </div>-->
  581. <!-- <div class="envelopes" @click="openEnterpriseChatv" v-if="reportTarget.status!=-1&&!showEnvelopes&&(reportTarget.userId!=reportTarget.loginUserId)">-->
  582. <!-- <img :src="envelopes">-->
  583. <!-- <p>红包提醒</p>-->
  584. <!-- </div>-->
  585. <!-- <div class="contentborder">-->
  586. <!-- <van-button type="info" size="small" plain class="Btn1" >红包会话测试</van-button>-->
  587. <!-- </div>-->
  588. <br />
  589. <br />
  590. <br />
  591. <br />
  592. </div>
  593. <share
  594. v-if="setShareFlag"
  595. :reportTarget="reportTarget"
  596. :reportId="$route.query.reportId"
  597. @setShareImg="setShareImg"
  598. @setDailyDetailsBox="setDailyDetailsBox"
  599. :urlList="urlList"
  600. :reportRemarksIndex="reportRemarksIndex"
  601. :checkedPlan="checkedPlan"></share>
  602. <!--分享图片列表 -->
  603. <el-dialog
  604. title="选择分享的内容"
  605. :visible.sync="shareImgFlag"
  606. width="90%"
  607. :append-to-body="true"
  608. :close-on-click-modal="false"
  609. @close="wuliaoTableClose"
  610. custom-class="shareImgFlag">
  611. <div v-if="reportTarget.photoSummary">
  612. <p style="margin-bottom: 10px; margin-top: 0; display: flex">
  613. 今日总结&明日规划的文本内容<van-checkbox
  614. v-model="checkedPlan"
  615. style="margin-left: 10px"></van-checkbox>
  616. </p>
  617. <p style="margin-top: 0">请点击勾选想要分享的今日拜访照片</p>
  618. <div class="shareVisitImg">
  619. <template v-for="(itemImg, indexImg) in reportTarget.photoSummary">
  620. <div>
  621. <img :src="itemImg.fileUrl" alt="" @click="selectImg(itemImg)" />
  622. <van-icon
  623. @click.stop
  624. name="success"
  625. class="activaImg"
  626. color="#fff"
  627. size="15"
  628. style="
  629. position: absolute;
  630. right: 0;
  631. bottom: 0;
  632. /* margin: -15px 0 0 -15px; */
  633. pointer-events: none;
  634. background: #2b73cf;
  635. border: 2px solid #fff;
  636. "
  637. v-if="itemImg.checked" />
  638. </div>
  639. </template>
  640. </div>
  641. </div>
  642. <span slot="footer" class="footer-btn">
  643. <van-button plain type="primary" @click="shareImgFlag = false">取 消</van-button>
  644. <van-button type="primary" @click="confirmShare">确 定</van-button>
  645. </span>
  646. </el-dialog>
  647. </div>
  648. </template>
  649. <script>
  650. import history from '@/assets/Icon/history.png';
  651. import envelopes from '@/assets/envelopes.png';
  652. import {
  653. userTodayPlanNum,
  654. insertRemark,
  655. getDetailById,
  656. updateReport,
  657. buryingPoint,
  658. } from '@/api/index';
  659. import axios from 'axios';
  660. import { ImagePreview } from 'vant';
  661. import visitedRealTime from '@/views/componentsTarget/visitedRealTime';
  662. import createStoreBJ from '@/views/componentsTarget/createStoreBJ';
  663. import placeOrder from '@/views/componentsTarget/placeOrder';
  664. import ZYPlaceOrder from '@/views/componentsTarget/ZYPlaceOrder';
  665. import performanceSAP from '@/views/componentsTarget/performanceSAP';
  666. import ZYSAP from '@/views/componentsTarget/ZYSAP';
  667. import veryGoodPlaceOrder from '@/views/componentsTarget/veryGoodPlaceOrder';
  668. import share from '@/components/share';
  669. export default {
  670. name: 'daily',
  671. components: {
  672. visitedRealTime,
  673. createStoreBJ,
  674. placeOrder,
  675. ZYPlaceOrder,
  676. performanceSAP,
  677. ZYSAP,
  678. veryGoodPlaceOrder,
  679. share,
  680. },
  681. data() {
  682. return {
  683. envelopes: envelopes,
  684. show: true,
  685. num: 0,
  686. title: '',
  687. ptitle: '',
  688. showEnvelopes: true,
  689. todayGoal: {},
  690. progressWidth: 0,
  691. history: history,
  692. imgArr: [],
  693. activeNames: [
  694. '1',
  695. '2',
  696. '3',
  697. '4',
  698. '5',
  699. '6',
  700. '7',
  701. '8',
  702. '10',
  703. '16',
  704. '17',
  705. '20',
  706. '21',
  707. '22',
  708. '23',
  709. '11',
  710. '29',
  711. '33',
  712. '40',
  713. '41',
  714. '42',
  715. '43',
  716. ],
  717. value: '2',
  718. message: '',
  719. powerGrade: '',
  720. Content: '',
  721. Content2: '',
  722. reportTargetAll: null,
  723. reportContents: [{ dayContent: '' }],
  724. reportTarget: {},
  725. successContent: '',
  726. managerRemarkContent: '',
  727. projectFollowNum: '',
  728. reportingNum: '',
  729. tucReportingSuccessNum: '',
  730. isDiy: false,
  731. type: '-1',
  732. imgList: [],
  733. JZQuota: false,
  734. titlejz: '',
  735. GZQuota: false,
  736. YFQuota: false, //应用服务
  737. saptitle: '业绩目标SAP(千元)',
  738. setShareFlag: false,
  739. source: '',
  740. reportRemarksIndex: -1,
  741. shareImgFlag: false,
  742. urlList: [],
  743. reportId: '',
  744. checkedPlan: true, //今日总结&明日规划
  745. setDailyDetailsBoxFlag: true,
  746. visitIMG1Flag: false,
  747. //
  748. };
  749. },
  750. watch: {
  751. $route(to, from) {
  752. this.powerGrade = localStorage.getItem('powerGrade');
  753. this.isDiy = localStorage.getItem('isDiy');
  754. if (to.path == '/dailyHistoricalDetails') {
  755. this.showEnvelopes = true;
  756. this.getDetailById();
  757. }
  758. // &&from.path=="/dailyApprovalList"
  759. // if(to.path=="/dailyDetails"&&from.path=="/myHistoricalDaily"){
  760. // this.getDetailById()
  761. // }
  762. },
  763. },
  764. activated() {
  765. this.setDailyDetailsBoxFlag = true;
  766. this.shareImgFlag = false;
  767. this.reportId = this.$route.query.reportId ? this.$route.query.reportId.replace('?', '') : '';
  768. console.log(this.reportId);
  769. this.source = this.$route.query.source;
  770. this.num = 0;
  771. this.userTodayPlanNum();
  772. this.setShareFlag = false;
  773. this.powerGrade = localStorage.getItem('powerGrade');
  774. this.isDiy = localStorage.getItem('isDiy');
  775. this.getDetailById();
  776. },
  777. methods: {
  778. setVisitIMG1Flag(item) {
  779. this.$set(item, 'visitIMG1Flag', !item.visitIMG1Flag);
  780. this.$forceUpdate();
  781. },
  782. setDailyDetailsBox(flag) {
  783. this.setDailyDetailsBoxFlag = flag;
  784. },
  785. setShareImg(flag) {
  786. this.setShareFlag = flag;
  787. },
  788. // 打开分享
  789. clickShareFlag(index = -1) {
  790. buryingPoint({
  791. systemModel: '日报审核',
  792. buryingPointType: 2,
  793. buryingPointValue: this.$route.query.reportId,
  794. buryingPointName: '日报详情分享',
  795. buryingPointPosition: '日报详情',
  796. });
  797. this.urlList = [];
  798. this.reportRemarksIndex = index;
  799. if (this.reportTarget.photoSummary && this.reportTarget.photoSummary.length) {
  800. // 重置分享图片状态
  801. this.reportTarget.photoSummary.forEach((item) => {
  802. // item.photos.forEach((val) => {
  803. this.$set(item, 'checked', false);
  804. // });
  805. });
  806. // 选择分享的图片
  807. this.shareImgFlag = true;
  808. } else {
  809. this.setShareFlag = true;
  810. }
  811. },
  812. // 确认分享
  813. confirmShare() {
  814. this.reportTarget.photoSummary.forEach((item) => {
  815. // item.photos.forEach((val) => {
  816. if (item.checked) this.urlList.push(item.fileUrl);
  817. // });
  818. });
  819. if (this.urlList.length == 0 && !this.checkedPlan) {
  820. this.$notify({ type: 'warning', message: '请选择分享内容!', className: 'notifyIndex' });
  821. return;
  822. }
  823. buryingPoint({
  824. systemModel: '日报审核',
  825. buryingPointType: 2,
  826. buryingPointValue: `文本${this.checkedPlan ? '是' : '否'},图片${this.urlList.length}`,
  827. buryingPointName: '日报分享确认',
  828. buryingPointPosition: '日报详情',
  829. });
  830. this.shareImgFlag = false;
  831. this.setShareFlag = true;
  832. },
  833. pviewFn(index) {
  834. var imgList = [];
  835. var photos = this.reportTarget.photoSummary;
  836. for (let i = 0; i < photos.length; i++) {
  837. imgList.push(photos[i].fileUrl);
  838. }
  839. ImagePreview({ images: imgList, startPosition: index });
  840. },
  841. openEnterpriseChatv() {
  842. this.$dialog
  843. .confirm({
  844. title: '系统提示',
  845. message: '是否发送红包提醒?',
  846. })
  847. .then(() => {
  848. this.$toast('提醒成功!');
  849. })
  850. .catch(() => {
  851. // on cancel
  852. });
  853. },
  854. formatter(value) {
  855. return value.replace(
  856. /[\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,
  857. ''
  858. );
  859. },
  860. openEnterpriseChat(val) {
  861. let loading1 = this.$toast.loading({
  862. duration: 0,
  863. message: '加载中...',
  864. forbidClick: true,
  865. });
  866. let url = window.location.href;
  867. let that = this;
  868. let wx = this.wx;
  869. let qiyeData;
  870. var userIds = this.reportTarget.reportContents[0].createBy;
  871. const instance = axios.create();
  872. instance.defaults.headers.common['userId'] = localStorage.getItem('loginName');
  873. instance
  874. .get(process.env.VUE_APP_BASE_API + 'mobile/wx/ticket', {
  875. params: {
  876. url: url,
  877. },
  878. })
  879. .then((response) => {
  880. if (response.status == 200) {
  881. loading1.clear();
  882. qiyeData = response.data.data;
  883. wx.config({
  884. beta: true, // 必须这么写,否则wx.invoke调用形式的jsapi会有问题
  885. debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
  886. appId: qiyeData.appId, // 必填,企业微信的corpID
  887. timestamp: qiyeData.timestamp, // 必填,生成签名的时间戳
  888. nonceStr: qiyeData.nonceStr, // 必填,生成签名的随机串
  889. signature: qiyeData.signature, // 必填,签名,见 附录-JS-SDK使用权限签名算法
  890. jsApiList: ['ready', 'openEnterpriseChat'], // 必填,需要使用的JS接口列表,凡是要调用的接口都需要传进来
  891. });
  892. wx.ready(function () {
  893. wx.openEnterpriseChat({
  894. //localStorage.getItem("loginName")
  895. userIds: userIds,
  896. // externalUserIds:"dingxiaogai.sm",
  897. groupName: '我的红包群', // 会话名称。单聊时该参数传入空字符串""即可。localStorage.getItem("loginName")
  898. chatId: '', //CHATID 若要打开已有会话,需指定此参数。如果是新建会话,chatId必须为空串
  899. success: function (res) {
  900. that.showEnvelopes = false;
  901. var chatId = res.chatId; //返回当前群聊ID,仅当使用agentConfig注入该接口权限时才返回chatId
  902. },
  903. fail: function (res) {
  904. if (res.errMsg.indexOf('function not exist') > -1) {
  905. alert('版本过低请升级');
  906. }
  907. },
  908. });
  909. });
  910. } else {
  911. this.$toast.fail(dataList.msg);
  912. }
  913. });
  914. },
  915. submint() {
  916. let loading1 = this.$toast.loading({
  917. duration: 0,
  918. message: '数据提交中...',
  919. forbidClick: true,
  920. });
  921. if (this.managerRemarkContent.trim() == '') {
  922. this.$toast('点评内容未填写');
  923. return false;
  924. }
  925. if (this.managerRemarkContent.length > 800) {
  926. this.$toast('点评内容超过800字');
  927. return false;
  928. }
  929. var remak = {
  930. remarkContent: this.managerRemarkContent,
  931. reportId: this.reportId,
  932. };
  933. insertRemark(remak).then((res) => {
  934. loading1.clear();
  935. if (res.code == 200) {
  936. this.$dialog
  937. .alert({
  938. title: '系统提示',
  939. message: '提交成功',
  940. })
  941. .then(() => {
  942. this.managerRemarkContent = '';
  943. this.getDetailById();
  944. });
  945. } else {
  946. this.$toast.fail(res.msg);
  947. }
  948. });
  949. },
  950. // submint(){
  951. // let loading1 = this.$toast.loading({
  952. // duration: 0,
  953. // message: '数据提交中...',
  954. // forbidClick: true,
  955. // });
  956. // if(this.managerRemarkContent.trim()==""){
  957. // this.$toast("点评内容未填写")
  958. // return false
  959. // }
  960. // this.reportTarget.managerRemarkContent=this.managerRemarkContent
  961. // this.reportTarget.status=4
  962. // insertRemark(this.reportTarget).then(res=>{
  963. // loading1.clear()
  964. // if(res.code==200){
  965. // this.$dialog.alert({
  966. // title: '系统提示',
  967. // message: '提交成功',
  968. // }).then(() => {
  969. // this.getDetailById()
  970. // });
  971. // }else{
  972. // this.$toast.fail(res.msg)
  973. // }
  974. // })
  975. // },
  976. getDetailById() {
  977. let loading1 = this.$toast.loading({
  978. duration: 0,
  979. message: '加载中...',
  980. forbidClick: true,
  981. });
  982. getDetailById({ reportId: this.reportId }).then((res) => {
  983. loading1.clear();
  984. if (res.code == 500 && this.source == 'share') {
  985. this.$dialog
  986. .confirm({
  987. title: '系统提示',
  988. message: res.msg,
  989. showCancelButton: false,
  990. })
  991. .then(() => {
  992. this.$router.replace({
  993. path: '/My/index',
  994. });
  995. });
  996. } else {
  997. this.GZQuota = false;
  998. this.JZQuota = false;
  999. this.YFQuota = res.data.postType == 'YF' ? true : false;
  1000. if (res.data.postType == 'JZ') {
  1001. this.JZQuota = true;
  1002. } else if (res.data.postType == 'GZ') {
  1003. this.GZQuota = true;
  1004. this.saptitle = '公裝业绩SAP(千元)';
  1005. } else {
  1006. this.saptitle = '业绩目标SAP(千元)';
  1007. }
  1008. this.title =
  1009. res.data.deptName + '-' + res.data.postName + '-' + res.data.nickName + '的日报';
  1010. this.ptitle = res.data.pdeptName + '-' + res.data.ppostName + '-' + res.data.pnickName;
  1011. this.reportTargetAll = res.data.reportTargetAll;
  1012. this.reportTarget = res.data;
  1013. this.type = res.data.userType;
  1014. if (res.data.status == 3) {
  1015. this.successContent = res.data.successContent;
  1016. } else {
  1017. this.successContent = res.data.failContent;
  1018. }
  1019. if (res.data.reportContents.length > 0) {
  1020. this.Content = res.data.reportContents[0].dayContent;
  1021. if (res.data.reportContents.length > 1) {
  1022. this.Content2 = res.data.reportContents[1].dayContent;
  1023. } else {
  1024. this.Content2 = '';
  1025. }
  1026. if (res.data.reportContents.length > 2) {
  1027. this.projectFollowNum = res.data.reportContents[2].projectFollowNum;
  1028. this.tucReportingSuccessNum = res.data.reportContents[3].tucReportingSuccessNum;
  1029. }
  1030. } else {
  1031. this.Content = '';
  1032. this.Content2 = '';
  1033. }
  1034. this.reportContents = res.data.reportContents;
  1035. var imgList = [];
  1036. if (res.data.photoSummary != null) {
  1037. for (var k = 0; k < res.data.photoSummary.length; k++) {
  1038. imgList.push(res.data.photoSummary[k].fileUrl + '');
  1039. }
  1040. }
  1041. this.imgList = imgList;
  1042. }
  1043. this.reportContents = res.data.reportContents;
  1044. var imgList = [];
  1045. if (res.data.photoSummary != null) {
  1046. if (res.data.photoSummary != null) {
  1047. for (var k = 0; k < res.data.photoSummary.length; k++) {
  1048. imgList.push(res.data.photoSummary[k].fileUrl + '');
  1049. }
  1050. }
  1051. }
  1052. this.imgList = imgList;
  1053. });
  1054. },
  1055. userTodayPlanNum() {
  1056. userTodayPlanNum().then((res) => {
  1057. if (res.code == 200) {
  1058. this.todayGoal = res.data;
  1059. this.progressWidth = (this.todayGoal.finishNum / this.todayGoal.planNum) * 100 + '%';
  1060. localStorage.setItem('nickName', res.data.user.nickName);
  1061. localStorage.setItem('storeType', res.data.user.type);
  1062. } else {
  1063. this.$toast.fail(res.msg);
  1064. }
  1065. });
  1066. },
  1067. onClickLeft() {
  1068. if (this.source == 'share') {
  1069. this.$router.replace({
  1070. path: '/My/index',
  1071. });
  1072. } else {
  1073. this.$router.go(-1);
  1074. }
  1075. },
  1076. wuliaoTableClose() {
  1077. this.shareImgFlag = false;
  1078. },
  1079. // 选中的图片
  1080. selectImg(item) {
  1081. this.$set(item, 'checked', !item.checked);
  1082. console.log(item);
  1083. },
  1084. },
  1085. };
  1086. </script>
  1087. <style scoped lang="scss">
  1088. .dailyHistoricalDetails {
  1089. position: relative;
  1090. background: #fff;
  1091. width: 100%;
  1092. height: 100%;
  1093. .dailyHistoricalDetailsBox {
  1094. background: #fff;
  1095. }
  1096. .shareBtn {
  1097. width: 22px;
  1098. height: 22px;
  1099. border-radius: 50%;
  1100. background: #666;
  1101. display: flex;
  1102. align-items: center;
  1103. justify-content: center;
  1104. position: relative;
  1105. .van-icon-share {
  1106. color: #fff;
  1107. }
  1108. .vedioLinks {
  1109. max-width: vw(205);
  1110. position: absolute;
  1111. bottom: -13px;
  1112. background: #dae7f6;
  1113. padding: 2px 7px;
  1114. /* word-break: keep-all; */
  1115. white-space: nowrap;
  1116. /* text-overflow: ellipsis; */
  1117. right: 0;
  1118. border-radius: 5px;
  1119. font-size: 10px;
  1120. right: 28px;
  1121. display: flex;
  1122. flex-direction: column;
  1123. justify-content: center;
  1124. align-items: flex-start;
  1125. z-index: 999999;
  1126. span {
  1127. line-height: 17px;
  1128. }
  1129. .linkSpan {
  1130. text-decoration: underline;
  1131. }
  1132. .van-icon-play {
  1133. position: absolute;
  1134. top: 12px;
  1135. /* transform: rotate(270deg); */
  1136. right: -8px;
  1137. color: #dae7f6;
  1138. }
  1139. }
  1140. }
  1141. }
  1142. .container {
  1143. margin: 10px;
  1144. }
  1145. .container .van-collapse-item {
  1146. margin-bottom: 10px;
  1147. border-radius: 6px;
  1148. overflow: hidden;
  1149. }
  1150. .linep p {
  1151. margin: 6px 0 0 0;
  1152. font-size: 14px;
  1153. color: #666;
  1154. }
  1155. .linep .texttitle {
  1156. color: #0057ba;
  1157. position: relative;
  1158. padding-left: 10px;
  1159. }
  1160. .linep .texttitledaily {
  1161. color: #000;
  1162. position: relative;
  1163. padding-left: 10px;
  1164. }
  1165. .linep .texttitle2 {
  1166. padding-left: 0;
  1167. }
  1168. .linep .texttitledaily .opint {
  1169. position: absolute;
  1170. left: 0px;
  1171. top: 6px;
  1172. margin-right: 6px;
  1173. display: inline-block;
  1174. width: 6px;
  1175. height: 6px;
  1176. border-radius: 10px;
  1177. background-color: #0057ba;
  1178. }
  1179. .leftTitle {
  1180. background-color: #74a4d9;
  1181. color: #fff;
  1182. display: inline-block;
  1183. padding: 0 4px;
  1184. border-radius: 2px;
  1185. }
  1186. .rightTitle {
  1187. background-color: #e7b4bb;
  1188. color: #fff;
  1189. display: inline-block;
  1190. padding: 0 4px;
  1191. border-radius: 2px;
  1192. }
  1193. .redisplay {
  1194. display: flex;
  1195. align-items: center;
  1196. justify-content: space-between;
  1197. .nameTitle {
  1198. flex: 1;
  1199. }
  1200. }
  1201. </style>
  1202. <style lang="scss">
  1203. .linep .van-cell__title {
  1204. color: #1e5398;
  1205. font-weight: 500;
  1206. }
  1207. .linep .contentContainer {
  1208. background-color: white;
  1209. border-radius: 8px;
  1210. padding: 10px 16px;
  1211. margin-bottom: 10px;
  1212. }
  1213. .linep .contentContainer .contentContainerTitle {
  1214. color: #222;
  1215. }
  1216. .linep .contentContainer .contentContainerTitle span {
  1217. font-size: 12px;
  1218. color: #666;
  1219. }
  1220. .linep .contentContainer .van-field__control {
  1221. background-color: #ebf4ff;
  1222. padding: 10px;
  1223. border-radius: 8px;
  1224. }
  1225. .linep .contentContainer .van-cell {
  1226. padding: 0;
  1227. }
  1228. .colorbalck {
  1229. color: #333;
  1230. }
  1231. .van-dialog__confirm,
  1232. .van-dialog__confirm:active {
  1233. color: #0057ba;
  1234. }
  1235. .visitIMG1 img {
  1236. display: block;
  1237. width: 100%;
  1238. height: 75px;
  1239. border-radius: 6px;
  1240. }
  1241. .table-headermd {
  1242. font-size: 12px;
  1243. text-align: center;
  1244. position: initial;
  1245. width: 98% !important;
  1246. margin: 0 auto;
  1247. border-right: 0;
  1248. border-radius: 10px;
  1249. .el-table__cell {
  1250. padding: 6px 0 !important;
  1251. }
  1252. }
  1253. .table-headermd th.el-table__cell {
  1254. background-color: #1989fa;
  1255. color: #fff;
  1256. }
  1257. .el-dialog__wrapper {
  1258. z-index: 9999 !important;
  1259. display: flex;
  1260. justify-content: center;
  1261. align-items: center;
  1262. background: rgba(0, 0, 0, 0.5) !important;
  1263. .shareImgFlag {
  1264. overflow: hidden;
  1265. display: flex;
  1266. flex-direction: column;
  1267. max-height: 70%;
  1268. margin-top: 0 !important;
  1269. .el-dialog__header {
  1270. height: 40px;
  1271. display: flex;
  1272. justify-content: right;
  1273. .el-dialog__headerbtn {
  1274. position: static !important;
  1275. }
  1276. }
  1277. .el-dialog__body {
  1278. padding: 30px 20px !important;
  1279. overflow-y: auto;
  1280. flex: 1;
  1281. }
  1282. .cell {
  1283. font-size: 12px;
  1284. }
  1285. .footer-btn {
  1286. display: flex;
  1287. justify-content: space-around;
  1288. }
  1289. }
  1290. }
  1291. .shareImgFlag {
  1292. .shareVisitImg {
  1293. display: flex;
  1294. flex-wrap: wrap;
  1295. div {
  1296. width: 22%;
  1297. height: 80px;
  1298. margin-right: 3%;
  1299. margin-top: 10px;
  1300. position: relative;
  1301. img {
  1302. width: 100%;
  1303. height: 100%;
  1304. }
  1305. }
  1306. }
  1307. .el-dialog__header {
  1308. display: flex;
  1309. .el-dialog__title {
  1310. flex: 1;
  1311. display: flex;
  1312. align-items: center;
  1313. justify-content: center;
  1314. }
  1315. }
  1316. }
  1317. .notifyIndex {
  1318. z-index: 999999 !important;
  1319. }
  1320. </style>