dailyHistoricalDetails.vue 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362
  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. :reportContents="reportContents"
  602. :checkedPlan="checkedPlan"></share>
  603. <!--分享图片列表 -->
  604. <el-dialog
  605. title="选择分享的内容"
  606. :visible.sync="shareImgFlag"
  607. width="90%"
  608. :append-to-body="true"
  609. :close-on-click-modal="false"
  610. @close="wuliaoTableClose"
  611. custom-class="shareImgFlag">
  612. <div v-if="reportTarget.photoSummary">
  613. <!-- <p style="margin-bottom: 10px; margin-top: 0; display: flex">
  614. 今日总结&明日规划的文本内容<van-checkbox
  615. v-model="checkedPlan"
  616. style="margin-left: 10px"></van-checkbox>
  617. </p> -->
  618. <p style="margin-top: 0">请点击勾选想要分享的今日拜访照片</p>
  619. <div class="shareVisitImg">
  620. <template v-for="(itemImg, indexImg) in reportTarget.photoSummary">
  621. <div>
  622. <img :src="itemImg.fileUrl" alt="" @click="selectImg(itemImg)" />
  623. <van-icon
  624. @click.stop
  625. name="success"
  626. class="activaImg"
  627. color="#fff"
  628. size="15"
  629. style="
  630. position: absolute;
  631. right: 0;
  632. bottom: 0;
  633. /* margin: -15px 0 0 -15px; */
  634. pointer-events: none;
  635. background: #2b73cf;
  636. border: 2px solid #fff;
  637. "
  638. v-if="itemImg.checked" />
  639. </div>
  640. </template>
  641. </div>
  642. </div>
  643. <span slot="footer" class="footer-btn">
  644. <van-button plain type="primary" @click="shareImgFlag = false">取 消</van-button>
  645. <van-button type="primary" @click="confirmShare">确 定</van-button>
  646. </span>
  647. </el-dialog>
  648. </div>
  649. </template>
  650. <script>
  651. import history from '@/assets/Icon/history.png';
  652. import envelopes from '@/assets/envelopes.png';
  653. import {
  654. userTodayPlanNum,
  655. insertRemark,
  656. getDetailById,
  657. updateReport,
  658. buryingPoint,
  659. getDictOption,
  660. } from '@/api/index';
  661. import axios from 'axios';
  662. import { ImagePreview } from 'vant';
  663. import visitedRealTime from '@/views/componentsTarget/visitedRealTime';
  664. import createStoreBJ from '@/views/componentsTarget/createStoreBJ';
  665. import placeOrder from '@/views/componentsTarget/placeOrder';
  666. import ZYPlaceOrder from '@/views/componentsTarget/ZYPlaceOrder';
  667. import performanceSAP from '@/views/componentsTarget/performanceSAP';
  668. import ZYSAP from '@/views/componentsTarget/ZYSAP';
  669. import veryGoodPlaceOrder from '@/views/componentsTarget/veryGoodPlaceOrder';
  670. import share from '@/components/share';
  671. export default {
  672. name: 'daily',
  673. components: {
  674. visitedRealTime,
  675. createStoreBJ,
  676. placeOrder,
  677. ZYPlaceOrder,
  678. performanceSAP,
  679. ZYSAP,
  680. veryGoodPlaceOrder,
  681. share,
  682. },
  683. data() {
  684. return {
  685. envelopes: envelopes,
  686. show: true,
  687. num: 0,
  688. title: '',
  689. ptitle: '',
  690. showEnvelopes: true,
  691. todayGoal: {},
  692. progressWidth: 0,
  693. history: history,
  694. imgArr: [],
  695. activeNames: [
  696. '1',
  697. '2',
  698. '3',
  699. '4',
  700. '5',
  701. '6',
  702. '7',
  703. '8',
  704. '10',
  705. '16',
  706. '17',
  707. '20',
  708. '21',
  709. '22',
  710. '23',
  711. '11',
  712. '29',
  713. '33',
  714. '40',
  715. '41',
  716. '42',
  717. '43',
  718. ],
  719. value: '2',
  720. message: '',
  721. powerGrade: '',
  722. Content: '',
  723. Content2: '',
  724. reportTargetAll: null,
  725. reportContents: [],
  726. reportTarget: {},
  727. successContent: '',
  728. managerRemarkContent: '',
  729. projectFollowNum: '',
  730. reportingNum: '',
  731. tucReportingSuccessNum: '',
  732. isDiy: false,
  733. type: '-1',
  734. imgList: [],
  735. JZQuota: false,
  736. titlejz: '',
  737. GZQuota: false,
  738. YFQuota: false, //应用服务
  739. saptitle: '业绩目标SAP(千元)',
  740. setShareFlag: false,
  741. source: '',
  742. reportRemarksIndex: -1,
  743. shareImgFlag: false,
  744. urlList: [],
  745. reportId: '',
  746. checkedPlan: true, //今日总结&明日规划
  747. setDailyDetailsBoxFlag: true,
  748. visitIMG1Flag: false,
  749. shareReportConfig: null,
  750. };
  751. },
  752. watch: {
  753. $route(to, from) {
  754. this.powerGrade = localStorage.getItem('powerGrade');
  755. this.isDiy = localStorage.getItem('isDiy');
  756. if (to.path == '/dailyHistoricalDetails') {
  757. this.showEnvelopes = true;
  758. this.getDetailById();
  759. }
  760. // &&from.path=="/dailyApprovalList"
  761. // if(to.path=="/dailyDetails"&&from.path=="/myHistoricalDaily"){
  762. // this.getDetailById()
  763. // }
  764. },
  765. },
  766. activated() {
  767. this.setDailyDetailsBoxFlag = true;
  768. this.shareImgFlag = false;
  769. this.reportId = this.$route.query.reportId ? this.$route.query.reportId.replace('?', '') : '';
  770. console.log(this.reportId);
  771. this.source = this.$route.query.source;
  772. this.num = 0;
  773. this.userTodayPlanNum();
  774. this.setShareFlag = false;
  775. this.powerGrade = localStorage.getItem('powerGrade');
  776. this.isDiy = localStorage.getItem('isDiy');
  777. this.getDetailById();
  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. getDetailById() {
  953. let loading1 = this.$toast.loading({
  954. duration: 0,
  955. message: '加载中...',
  956. forbidClick: true,
  957. });
  958. // 获取店招异常原因字典
  959. getDictOption({}, 'share_report_config').then((res) => {
  960. this.shareReportConfig = res.data;
  961. });
  962. getDetailById({ reportId: this.reportId }).then((res) => {
  963. loading1.clear();
  964. if (res.code == 500 && this.source == 'share') {
  965. this.$dialog
  966. .confirm({
  967. title: '系统提示',
  968. message: res.msg,
  969. showCancelButton: false,
  970. })
  971. .then(() => {
  972. this.$router.replace({
  973. path: '/My/index',
  974. });
  975. });
  976. } else {
  977. this.GZQuota = false;
  978. this.JZQuota = false;
  979. this.YFQuota = res.data.postType == 'YF' ? true : false;
  980. if (res.data.postType == 'JZ') {
  981. this.JZQuota = true;
  982. } else if (res.data.postType == 'GZ') {
  983. this.GZQuota = true;
  984. this.saptitle = '公裝业绩SAP(千元)';
  985. } else {
  986. this.saptitle = '业绩目标SAP(千元)';
  987. }
  988. this.title =
  989. res.data.deptName + '-' + res.data.postName + '-' + res.data.nickName + '的日报';
  990. this.ptitle = res.data.pdeptName + '-' + res.data.ppostName + '-' + res.data.pnickName;
  991. this.reportTargetAll = res.data.reportTargetAll;
  992. this.reportTarget = res.data;
  993. this.type = res.data.userType;
  994. if (res.data.status == 3) {
  995. this.successContent = res.data.successContent;
  996. } else {
  997. this.successContent = res.data.failContent;
  998. }
  999. this.Content = '';
  1000. this.Content2 = '';
  1001. this.reportContents = [];
  1002. // <!-- isHistory 是否为历史汇报:0-新汇报 1-历史汇报 -->
  1003. if (this.reportTarget.isHistory == '0') {
  1004. for (let x = 0; x < this.reportTarget.customTaskList.length; x++) {
  1005. let sfaReportCustomCollections =
  1006. this.reportTarget.customTaskList[x].sfaReportCustomCollections;
  1007. if (sfaReportCustomCollections) {
  1008. for (let y = 0; y < sfaReportCustomCollections.length; y++) {
  1009. let custom = this.shareReportConfig.filter(
  1010. (val) =>
  1011. val.dictValue == sfaReportCustomCollections[y].reportCustomCollectionName
  1012. );
  1013. if (custom.length) {
  1014. custom[0].content = sfaReportCustomCollections[y].answerValue;
  1015. this.reportContents = this.reportContents.concat(custom);
  1016. }
  1017. }
  1018. }
  1019. }
  1020. } else {
  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. }
  1033. this.reportContents = [
  1034. {
  1035. dictValue: '今日机会与挑战总结',
  1036. content: this.Content,
  1037. },
  1038. {
  1039. dictValue: '明日工作计划',
  1040. content: this.Content2,
  1041. },
  1042. ];
  1043. }
  1044. var imgList = [];
  1045. if (res.data.photoSummary != null) {
  1046. for (var k = 0; k < res.data.photoSummary.length; k++) {
  1047. imgList.push(res.data.photoSummary[k].fileUrl + '');
  1048. }
  1049. }
  1050. this.imgList = imgList;
  1051. }
  1052. var imgList = [];
  1053. if (res.data.photoSummary != null) {
  1054. if (res.data.photoSummary != null) {
  1055. for (var k = 0; k < res.data.photoSummary.length; k++) {
  1056. imgList.push(res.data.photoSummary[k].fileUrl + '');
  1057. }
  1058. }
  1059. }
  1060. this.imgList = imgList;
  1061. });
  1062. },
  1063. userTodayPlanNum() {
  1064. userTodayPlanNum().then((res) => {
  1065. if (res.code == 200) {
  1066. this.todayGoal = res.data;
  1067. this.progressWidth = (this.todayGoal.finishNum / this.todayGoal.planNum) * 100 + '%';
  1068. localStorage.setItem('nickName', res.data.user.nickName);
  1069. localStorage.setItem('storeType', res.data.user.type);
  1070. } else {
  1071. this.$toast.fail(res.msg);
  1072. }
  1073. });
  1074. },
  1075. onClickLeft() {
  1076. if (this.source == 'share') {
  1077. this.$router.replace({
  1078. path: '/My/index',
  1079. });
  1080. } else {
  1081. this.$router.go(-1);
  1082. }
  1083. },
  1084. wuliaoTableClose() {
  1085. this.shareImgFlag = false;
  1086. },
  1087. // 选中的图片
  1088. selectImg(item) {
  1089. this.$set(item, 'checked', !item.checked);
  1090. console.log(item);
  1091. },
  1092. },
  1093. };
  1094. </script>
  1095. <style scoped lang="scss">
  1096. .dailyHistoricalDetails {
  1097. position: relative;
  1098. background: #fff;
  1099. width: 100%;
  1100. height: 100%;
  1101. .dailyHistoricalDetailsBox {
  1102. background: #fff;
  1103. }
  1104. .shareBtn {
  1105. width: 22px;
  1106. height: 22px;
  1107. border-radius: 50%;
  1108. background: #666;
  1109. display: flex;
  1110. align-items: center;
  1111. justify-content: center;
  1112. position: relative;
  1113. .van-icon-share {
  1114. color: #fff;
  1115. }
  1116. .vedioLinks {
  1117. max-width: vw(205);
  1118. position: absolute;
  1119. bottom: -13px;
  1120. background: #dae7f6;
  1121. padding: 2px 7px;
  1122. /* word-break: keep-all; */
  1123. white-space: nowrap;
  1124. /* text-overflow: ellipsis; */
  1125. right: 0;
  1126. border-radius: 5px;
  1127. font-size: 10px;
  1128. right: 28px;
  1129. display: flex;
  1130. flex-direction: column;
  1131. justify-content: center;
  1132. align-items: flex-start;
  1133. z-index: 999999;
  1134. span {
  1135. line-height: 17px;
  1136. }
  1137. .linkSpan {
  1138. text-decoration: underline;
  1139. }
  1140. .van-icon-play {
  1141. position: absolute;
  1142. top: 12px;
  1143. /* transform: rotate(270deg); */
  1144. right: -8px;
  1145. color: #dae7f6;
  1146. }
  1147. }
  1148. }
  1149. }
  1150. .container {
  1151. margin: 10px;
  1152. }
  1153. .container .van-collapse-item {
  1154. margin-bottom: 10px;
  1155. border-radius: 6px;
  1156. overflow: hidden;
  1157. }
  1158. .linep p {
  1159. margin: 6px 0 0 0;
  1160. font-size: 14px;
  1161. color: #666;
  1162. }
  1163. .linep .texttitle {
  1164. color: #0057ba;
  1165. position: relative;
  1166. padding-left: 10px;
  1167. }
  1168. .linep .texttitledaily {
  1169. color: #000;
  1170. position: relative;
  1171. padding-left: 10px;
  1172. }
  1173. .linep .texttitle2 {
  1174. padding-left: 0;
  1175. }
  1176. .linep .texttitledaily .opint {
  1177. position: absolute;
  1178. left: 0px;
  1179. top: 6px;
  1180. margin-right: 6px;
  1181. display: inline-block;
  1182. width: 6px;
  1183. height: 6px;
  1184. border-radius: 10px;
  1185. background-color: #0057ba;
  1186. }
  1187. .leftTitle {
  1188. background-color: #74a4d9;
  1189. color: #fff;
  1190. display: inline-block;
  1191. padding: 0 4px;
  1192. border-radius: 2px;
  1193. }
  1194. .rightTitle {
  1195. background-color: #e7b4bb;
  1196. color: #fff;
  1197. display: inline-block;
  1198. padding: 0 4px;
  1199. border-radius: 2px;
  1200. }
  1201. .redisplay {
  1202. display: flex;
  1203. align-items: center;
  1204. justify-content: space-between;
  1205. .nameTitle {
  1206. flex: 1;
  1207. }
  1208. }
  1209. </style>
  1210. <style lang="scss">
  1211. .linep .van-cell__title {
  1212. color: #1e5398;
  1213. font-weight: 500;
  1214. }
  1215. .linep .contentContainer {
  1216. background-color: white;
  1217. border-radius: 8px;
  1218. padding: 10px 16px;
  1219. margin-bottom: 10px;
  1220. }
  1221. .linep .contentContainer .contentContainerTitle {
  1222. color: #222;
  1223. }
  1224. .linep .contentContainer .contentContainerTitle span {
  1225. font-size: 12px;
  1226. color: #666;
  1227. }
  1228. .linep .contentContainer .van-field__control {
  1229. background-color: #ebf4ff;
  1230. padding: 10px;
  1231. border-radius: 8px;
  1232. }
  1233. .linep .contentContainer .van-cell {
  1234. padding: 0;
  1235. }
  1236. .colorbalck {
  1237. color: #333;
  1238. }
  1239. .van-dialog__confirm,
  1240. .van-dialog__confirm:active {
  1241. color: #0057ba;
  1242. }
  1243. .visitIMG1 img {
  1244. display: block;
  1245. width: 100%;
  1246. height: 75px;
  1247. border-radius: 6px;
  1248. }
  1249. .table-headermd {
  1250. font-size: 12px;
  1251. text-align: center;
  1252. position: initial;
  1253. width: 98% !important;
  1254. margin: 0 auto;
  1255. border-right: 0;
  1256. border-radius: 10px;
  1257. .el-table__cell {
  1258. padding: 6px 0 !important;
  1259. }
  1260. }
  1261. .table-headermd th.el-table__cell {
  1262. background-color: #1989fa;
  1263. color: #fff;
  1264. }
  1265. .el-dialog__wrapper {
  1266. z-index: 9999 !important;
  1267. display: flex;
  1268. justify-content: center;
  1269. align-items: center;
  1270. background: rgba(0, 0, 0, 0.5) !important;
  1271. .shareImgFlag {
  1272. overflow: hidden;
  1273. display: flex;
  1274. flex-direction: column;
  1275. max-height: 70%;
  1276. margin-top: 0 !important;
  1277. .el-dialog__header {
  1278. height: 40px;
  1279. display: flex;
  1280. justify-content: right;
  1281. .el-dialog__headerbtn {
  1282. position: static !important;
  1283. }
  1284. }
  1285. .el-dialog__body {
  1286. padding: 30px 20px !important;
  1287. overflow-y: auto;
  1288. flex: 1;
  1289. }
  1290. .cell {
  1291. font-size: 12px;
  1292. }
  1293. .footer-btn {
  1294. display: flex;
  1295. justify-content: space-around;
  1296. }
  1297. }
  1298. }
  1299. .shareImgFlag {
  1300. .shareVisitImg {
  1301. display: flex;
  1302. flex-wrap: wrap;
  1303. div {
  1304. width: 22%;
  1305. height: 80px;
  1306. margin-right: 3%;
  1307. margin-top: 10px;
  1308. position: relative;
  1309. img {
  1310. width: 100%;
  1311. height: 100%;
  1312. }
  1313. }
  1314. }
  1315. .el-dialog__header {
  1316. display: flex;
  1317. .el-dialog__title {
  1318. flex: 1;
  1319. display: flex;
  1320. align-items: center;
  1321. justify-content: center;
  1322. }
  1323. }
  1324. }
  1325. .notifyIndex {
  1326. z-index: 999999 !important;
  1327. }
  1328. .table-headermd th.el-table__cell {
  1329. background-color: #1989fa;
  1330. color: #fff;
  1331. }
  1332. .table-headermd {
  1333. font-size: 12px;
  1334. text-align: center;
  1335. position: initial;
  1336. width: 98% !important;
  1337. margin: 0 auto;
  1338. border-right: 0;
  1339. border-radius: 10px;
  1340. .el-table__cell {
  1341. padding: 6px 0 !important;
  1342. }
  1343. }
  1344. </style>