quoteDetail1.vue 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039
  1. <template>
  2. <view :style="getHeight" style="background-color: #F5F5F5;">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <!-- 头部 -->
  6. <view class="carInfo w-100 p-3 box-sizing">
  7. <view class="d-flex mb-1">
  8. <view class="topLeft d-flex flex-1 flex-column">
  9. <view class="license">{{this.licenseNo}} | {{carInfo.modelcname}}</view>
  10. <view class="totalMoney">¥{{sumPermium}}</view>
  11. </view>
  12. <view class="topRight d-flex a-center j-center">
  13. <image :src="icon" mode="aspectFit" lazy-load></image>
  14. </view>
  15. </view>
  16. <view class="other d-flex j-sb px-3">
  17. <view class="d-flex flex-1 a-center">
  18. <view class="privilege d-flex a-center j-center flex-shrink px-2">特权</view>
  19. <view class="content">每月自动查违章,无违章领奖励</view>
  20. </view>
  21. <view class="flex-shrink icon iconfont icon-youjiantou d-flex a-center font-sm"></view>
  22. </view>
  23. </view>
  24. <view>
  25. <view class="welfare">
  26. <view class="header d-flex a-center j-sb">
  27. <view class="title">投保享福利</view>
  28. <view class="icon iconfont icon-youjiantou d-flex a-center" style="font-size: 24upx;"></view>
  29. </view>
  30. <view class="body d-flex">
  31. <view class="welfareItem">
  32. <view class="name">2次体检服务</view>
  33. <view class="content">八项检查:血常规,尿常规,心电图等</view>
  34. </view>
  35. <view class="welfareItem">
  36. <view class="name">2次体检服务</view>
  37. <view class="content">八项检查:血常规,尿常规,心电图等</view>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="quotePlan">
  42. <view class="header d-flex a-center j-sb">
  43. <view class="title">报价方案</view>
  44. <template v-if="((orderstatus == 0) ||(orderstatus == 3)) && (!!token)">
  45. <view class="adjustPlan" @tap="toInsureItems">调整方案</view>
  46. </template>
  47. </view>
  48. <view class="body">
  49. <view class="insurance">
  50. <block v-for="(item,index) in riskList" :key="index">
  51. <template v-if="item.riskCode=='0507'">
  52. <view class="row d-flex a-center j-sb">
  53. <view class="d-flex a-center">交强险 <view class="date">起保日期:{{orderInfo.jqstartdate}}
  54. </view>
  55. </view>
  56. <view>¥{{jqpremium}}</view>
  57. </view>
  58. <view class="row d-flex a-center j-sb">
  59. <view class="d-flex a-center">车船税</view>
  60. <view>¥{{taxAmount}}</view>
  61. </view>
  62. <view class="row d-flex a-center j-sb" v-if="jypremium">
  63. <view class="d-flex a-center">驾意险</view>
  64. <view>¥{{jypremium}}</view>
  65. </view>
  66. </template>
  67. </block>
  68. <block v-for="(item,index) in riskList" :key="index">
  69. <template v-if="item.riskCode == '0510'">
  70. <view class="row d-flex a-center j-sb">
  71. <view class="d-flex a-center">商业险 <view class="date">起保日期:{{orderInfo.systartdate}}
  72. </view>
  73. </view>
  74. <view>¥{{sypremium}}</view>
  75. </view>
  76. </template>
  77. </block>
  78. <view class="kindList" v-if="kindList.length>0">
  79. <view class="kindItem d-flex a-center j-sb">
  80. <view class="d-flex flex-1">商业险险别</view>
  81. <view class="flex-1 d-flex a-center j-center">保额(元)</view>
  82. <view class="d-flex flex-1 j-end">保费(元)</view>
  83. </view>
  84. <block v-for="(item,index) in kindList" :key="index">
  85. <template v-if="item.coveragePremium">
  86. <view class="kindItem d-flex a-center j-sb">
  87. <view class="d-flex flex-1" style="width: 300px;">{{item.kindName}}</view>
  88. <text v-if="['A'].includes(item.kindCode)">投保</text>
  89. <text
  90. v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)">{{toChinesNum(item.unitAmount)}}/{{orderInfo.carinfo.seatCount-1}}座
  91. </text>
  92. <text
  93. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)">{{item.deductibleRate}}%</text>
  94. <text v-else>{{toChinesNum(item.amount)}}</text>
  95. <view class="d-flex flex-1 j-end">¥{{item.coveragePremium}}</view>
  96. </view>
  97. </template>
  98. </block>
  99. </view>
  100. </view>
  101. <view class="addedServices" v-if="kindList.length>0">
  102. <view class="row d-flex a-center j-sb">
  103. <view class="d-flex">增值服务<view class="d-flex a-center"
  104. style="color:#999;margin-left: 10upx;font-size: 24upx;">不收费,使用不影响明年保费</view>
  105. </view>
  106. <view>赠送</view>
  107. </view>
  108. <view class="kindList">
  109. <view class="kindItem d-flex a-center j-sb">
  110. <view>道路救援</view>
  111. <view class="d-flex j-end">7次</view>
  112. </view>
  113. <view class="kindItem d-flex a-center j-sb">
  114. <view>代为送检</view>
  115. <view class="d-flex j-end">1次</view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. </view>
  121. <view class="quotePlan">
  122. <view class="header d-flex a-center j-sb">
  123. <view class="title">{{name}}官方无忧理赔</view>
  124. </view>
  125. <view class="body d-flex" style="flex-wrap: wrap;">
  126. <view
  127. style="width: 50%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; padding-right: 20upx;box-sizing: border-box;">
  128. 智慧理赔服务</view>
  129. <view
  130. style="width: 50%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;padding-right: 20upx;box-sizing: border-box;">
  131. 异地出险全国通赔</view>
  132. <view
  133. style="width: 50%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;padding-right: 20upx;box-sizing: border-box;">
  134. 掌柜车险管控质量</view>
  135. </view>
  136. </view>
  137. <!-- <template v-if="!!token">
  138. <view class="quotePlan">
  139. <view class="header d-flex a-center j-sb">
  140. <view class="title">优惠政策</view>
  141. </view>
  142. <view class="body">
  143. <view class="insurance">
  144. <view class="row d-flex a-center j-sb">
  145. <view class="d-flex a-center flex-1">险种</view>
  146. <view class="d-flex a-center j-center flex-1">优惠比例</view>
  147. <view class="d-flex j-end flex-1">优惠金额</view>
  148. </view>
  149. <block v-for="(item,index) in riskList" :key="index">
  150. <template v-if="item.riskCode == '0507'">
  151. <view class="row d-flex a-center j-sb">
  152. <view class="d-flex a-center flex-1">交强险</view>
  153. <view class="d-flex a-center j-center flex-1">{{jqdiscountrate}}%</view>
  154. <view class="d-flex j-end flex-1">
  155. {{(item.premium*jqdiscountrate/100).toFixed(2)}}
  156. </view>
  157. </view>
  158. </template>
  159. </block>
  160. <block v-for="(item,index) in riskList" :key="index">
  161. <template v-if="item.riskCode == '0510'">
  162. <view class="row d-flex a-center j-sb">
  163. <view class="d-flex a-center flex-1">商业险</view>
  164. <view class="d-flex a-center j-center flex-1">{{sydiscountrate}}%</view>
  165. <view class="d-flex j-end flex-1">
  166. {{(item.premium*sydiscountrate/100).toFixed(2)}}
  167. </view>
  168. </view>
  169. </template>
  170. </block>
  171. </view>
  172. </view>
  173. </view>
  174. </template> -->
  175. <view class="car">
  176. <view class="header d-flex a-center j-sb">
  177. <view class="title">保费因素</view>
  178. <view class="adjustPlan d-flex" @tap="showextendInfo = !showextendInfo">
  179. <view class="icon iconfont icon-xiala" style="margin-left: 15upx;"></view>
  180. </view>
  181. </view>
  182. <view class="body" v-if="showextendInfo">
  183. <view class="row d-flex a-center j-sb">
  184. <view>评分</view>
  185. <view>{{extendInfo.score}}</view>
  186. </view>
  187. <view class="row d-flex a-center j-sb">
  188. <view>出险信息</view>
  189. <view style="width: 200px;">{{extendInfo.accidentInfoStr}}</view>
  190. </view>
  191. <view class="row d-flex a-center j-sb">
  192. <view>商业险折扣比例</view>
  193. <view>{{extendInfo.nirrratio}}</view>
  194. </view>
  195. <view class="row d-flex a-center j-sb">
  196. <view>交强险折扣比例</view>
  197. <view>{{extendInfo.nirrratioCI }}</view>
  198. </view>
  199. <view class="row d-flex a-center j-sb">
  200. <view>自主定价系数</view>
  201. <view>{{extendInfo.pricingAdjustValue}}</view>
  202. </view>
  203. <view class="row d-flex a-center j-sb">
  204. <view>业务员交强险销售费用浮动率</view>
  205. <view>{{extendInfo.jqFeeSaleChangeRateA4}}</view>
  206. </view>
  207. <view class="row d-flex a-center j-sb">
  208. <view>交强深度定价分档</view>
  209. <view>{{extendInfo.deepPriceGradeCI}}</view>
  210. </view>
  211. <view class="row d-flex a-center j-sb">
  212. <view>业务员商业险销售费用浮动率</view>
  213. <view>{{extendInfo.syFeeSaleChangeRateA4}}</view>
  214. </view>
  215. <view class="row d-flex a-center j-sb">
  216. <view>商业深度定价分档</view>
  217. <view>{{extendInfo.deepPriceGradeBI}}</view>
  218. </view>
  219. </view>
  220. </view>
  221. <view class="car">
  222. <view class="header d-flex a-center j-sb">
  223. <view class="title">车辆信息</view>
  224. <view class="adjustPlan d-flex" @tap="showCarInfo = !showCarInfo">{{carInfo.licenseNo}}
  225. <view class="icon iconfont icon-xiala" style="margin-left: 15upx;"></view>
  226. </view>
  227. </view>
  228. <view class="body" v-if="showCarInfo">
  229. <view class="row d-flex a-center j-sb">
  230. <view>品牌型号</view>
  231. <view>{{carInfo.brandName}}</view>
  232. </view>
  233. <view class="row d-flex a-center j-sb">
  234. <view>车辆识别代码</view>
  235. <view>{{carInfo.vinNo}}</view>
  236. </view>
  237. <view class="row d-flex a-center j-sb">
  238. <view>发动机号</view>
  239. <view>{{carInfo.engineNo}}</view>
  240. </view>
  241. <view class="row d-flex a-center j-sb">
  242. <view>注册日期</view>
  243. <view>{{carInfo.registerDate }}</view>
  244. </view>
  245. <view class="row d-flex a-center j-sb">
  246. <view>核定载人数</view>
  247. <view>{{carInfo.seatCount}}</view>
  248. </view>
  249. <view class="row d-flex a-center j-sb">
  250. <view>车主</view>
  251. <view>{{ownerInfo.name}}</view>
  252. </view>
  253. </view>
  254. </view>
  255. <template>
  256. <view class="personInfo">
  257. <view class="title d-flex a-center j-sb">
  258. <text style="font-weight: bold;">车主</text>
  259. <view class="showStatus" @tap="controlShow('showOwerInfo')">{{showOwerInfo?'收起':'展开'}}</view>
  260. </view>
  261. <view class="content" v-if="showOwerInfo">
  262. <view class="row d-flex a-center">
  263. <view class="left">姓名:</view>
  264. <view class="right d-flex flex-1">{{ownerInfo.name}}</view>
  265. </view>
  266. <view class="row d-flex a-center">
  267. <view class="left">证件类型:</view>
  268. <view class="right flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}</view>
  269. </view>
  270. <view class="row d-flex a-center">
  271. <view class="left">手机号:</view>
  272. <view class="right flex-1">{{ownerInfo.mobile}}</view>
  273. </view>
  274. <view class="row d-flex a-center">
  275. <view class="left">证件号:</view>
  276. <view class="right flex-1">{{ownerInfo.identifyNumber}}</view>
  277. </view>
  278. <view class="row d-flex a-center"
  279. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  280. <view class="left">地址:</view>
  281. <view class="right flex-1">{{ownerInfo.addr}}</view>
  282. </view>
  283. </view>
  284. </view>
  285. <!-- 投保人信息 -->
  286. <view class="personInfo">
  287. <view class="title d-flex a-center j-sb">
  288. <text style="font-weight: bold;">投保人</text>
  289. <view class="showStatus" @tap="controlShow('showPolicyHolderInfo')">
  290. {{showPolicyHolderInfo?'收起':'展开'}}
  291. </view>
  292. </view>
  293. <view class="content" v-if="showPolicyHolderInfo">
  294. <view class="row d-flex a-center">
  295. <view class="left">姓名:</view>
  296. <view class="right d-flex flex-1">{{policyHolderInfo.name}}</view>
  297. </view>
  298. <view class="row d-flex a-center">
  299. <view class="left">证件类型:</view>
  300. <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
  301. </view>
  302. </view>
  303. <view class="row d-flex a-center">
  304. <view class="left">手机号:</view>
  305. <view class="right d-flex flex-1">{{policyHolderInfo.mobile}}</view>
  306. </view>
  307. <view class="row d-flex a-center">
  308. <view class="left">证件号:</view>
  309. <view class="right d-flex flex-1">{{policyHolderInfo.identifyNumber}}</view>
  310. </view>
  311. <view class="row d-flex a-center"
  312. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  313. <view class="left">地址:</view>
  314. <view class="right d-flex flex-1">{{policyHolderInfo.addr}}</view>
  315. </view>
  316. </view>
  317. </view>
  318. <!-- 被保人信息 -->
  319. <view class="personInfo">
  320. <view class="title d-flex a-center j-sb">
  321. <text style="font-weight: bold;">被保人</text>
  322. <view class="showStatus" @tap="controlShow('showInsuredPersonInfo')">
  323. {{showInsuredPersonInfo?'收起':'展开'}}
  324. </view>
  325. </view>
  326. <view class="content" v-if="showInsuredPersonInfo">
  327. <view class="row d-flex a-center">
  328. <view class="left">姓名:</view>
  329. <view class="right d-flex flex-1">{{insuredPersonInfo.name}}</view>
  330. </view>
  331. <view class="row d-flex a-center">
  332. <view class="left">证件类型:</view>
  333. <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
  334. </view>
  335. </view>
  336. <view class="row d-flex a-center">
  337. <view class="left">手机号:</view>
  338. <view class="right d-flex flex-1">{{insuredPersonInfo.mobile}}</view>
  339. </view>
  340. <view class="row d-flex a-center">
  341. <view class="left">证件号:</view>
  342. <view class="right d-flex flex-1">{{insuredPersonInfo.identifyNumber}}</view>
  343. </view>
  344. <view class="row d-flex a-center"
  345. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  346. <view class="left">地址:</view>
  347. <view class="right d-flex flex-1">{{insuredPersonInfo.addr}}</view>
  348. </view>
  349. </view>
  350. </view>
  351. <!-- 车辆影像信息Start -->
  352. <view class="imageInfo">
  353. <view class="title d-flex a-center j-sb">
  354. <text style="font-weight: bold;">车辆影像信息</text>
  355. <view class="showStatus" @tap="controlShow('showCarImageInfo')">{{showCarImageInfo?'收起':'展开'}}
  356. </view>
  357. </view>
  358. <view class="uni-uploader" v-if="showCarImageInfo">
  359. <view class="uni-uploader-body">
  360. <view class="uni-uploader__files">
  361. <block v-for="(image,index) in carImageList" :key="index">
  362. <view class="uni-uploader__file">
  363. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  364. @tap="previewImage($event,'car')"></image>
  365. </view>
  366. </block>
  367. </view>
  368. </view>
  369. </view>
  370. </view>
  371. <!-- 车辆影像信息End -->
  372. <!-- 车主影像信息Start -->
  373. <view class="imageInfo">
  374. <view class="title d-flex a-center j-sb">
  375. <text style="font-weight: bold;">车主影像信息</text>
  376. <view class="showStatus" @tap="controlShow('showOwnerImageInfo')">
  377. {{showOwnerImageInfo?'收起':'展开'}}
  378. </view>
  379. </view>
  380. <view class="uni-uploader" v-if="showOwnerImageInfo">
  381. <view class="uni-uploader-body">
  382. <view class="uni-uploader__files">
  383. <block v-for="(image,index) in ownerImageList" :key="index">
  384. <view class="uni-uploader__file">
  385. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  386. @tap="previewImage($event,'owner')"></image>
  387. </view>
  388. </block>
  389. </view>
  390. </view>
  391. </view>
  392. </view>
  393. <!-- 车主影像信息End -->
  394. <!-- 投保人影像信息Start -->
  395. <view class="imageInfo">
  396. <view class="title d-flex a-center j-sb">
  397. <text style="font-weight: bold;">投保人影像信息</text>
  398. <view class="showStatus" @tap="controlShow('showPolicyImageInfo')">
  399. {{showPolicyImageInfo?'收起':'展开'}}
  400. </view>
  401. </view>
  402. <view class="uni-uploader" v-if="showPolicyImageInfo">
  403. <view class="uni-uploader-body">
  404. <view class="uni-uploader__files">
  405. <block v-for="(image,index) in policyImageList" :key="index">
  406. <view class="uni-uploader__file">
  407. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  408. @tap="previewImage($event,'policy')"></image>
  409. </view>
  410. </block>
  411. </view>
  412. </view>
  413. </view>
  414. </view>
  415. <!-- 投保人影像信息End -->
  416. <!-- 被保人影像信息Start -->
  417. <view class="imageInfo">
  418. <view class="title d-flex a-center j-sb">
  419. <text style="font-weight: bold;">被保人影像信息</text>
  420. <view class="showStatus" @tap="controlShow('showInsuredImageInfo')">
  421. {{showInsuredImageInfo?'收起':'展开'}}
  422. </view>
  423. </view>
  424. <view class="uni-uploader" v-if="showInsuredImageInfo">
  425. <view class="uni-uploader-body">
  426. <view class="uni-uploader__files">
  427. <block v-for="(image,index) in insuredImageList" :key="index">
  428. <view class="uni-uploader__file">
  429. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  430. @tap="previewImage($event,'insured')"></image>
  431. </view>
  432. </block>
  433. </view>
  434. </view>
  435. </view>
  436. </view>
  437. <!-- 被保人影像信息End -->
  438. <!-- 验车照Start -->
  439. <!-- <view class="imageInfo">
  440. <view class="title d-flex a-center j-sb">
  441. <text style="font-weight: bold;">验车照</text>
  442. <view class="showStatus" @tap="controlShow('showCarCheckImageInfo')">
  443. {{showCarCheckImageInfo?'收起':'展开'}}
  444. </view>
  445. </view>
  446. <view class="uni-uploader" v-if="showCarCheckImageInfo">
  447. <view class="uni-uploader-body">
  448. <view class="uni-uploader__files">
  449. <block v-for="(image,index) in carCheckImageList" :key="index">
  450. <view class="uni-uploader__file">
  451. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  452. @tap="previewImage($event,'carCheck')"></image>
  453. </view>
  454. </block>
  455. </view>
  456. </view>
  457. </view>
  458. </view> -->
  459. <!-- 验车照End -->
  460. <!-- 特约 -->
  461. <template v-if="!!syappoint">
  462. <view class="appoint">
  463. <view class="title d-flex a-center j-sb">
  464. <text style="font-weight: bold;">特约</text>
  465. <view class="showStatus" @tap="controlShow('showAppoint')">{{showAppoint?'收起':'展开'}}</view>
  466. </view>
  467. <view class="content" v-if="showAppoint">
  468. <view class="row d-flex a-center j-sb">
  469. <view>商业特约险:</view>
  470. <textarea disabled maxlength="300" v-model="syappoint"
  471. placeholder="请输入商业险特别约定,最多可输入300个字符" /></textarea>
  472. </view>
  473. </view>
  474. </view>
  475. </template>
  476. </template>
  477. <view class="personInfo" v-if="!!orderInfo.jqapplyno">
  478. <view class="title d-flex a-center j-sb">
  479. <text style="font-weight: bold;">投保单号</text>
  480. <view class="showStatus" @tap="controlShow('showApplyno')">{{showApplyno?'收起':'展开'}}</view>
  481. </view>
  482. <view class="content" v-if="showApplyno">
  483. <view class="row d-flex a-center" v-if="!!orderInfo.jqapplyno">
  484. <view class="left">交强险:</view>
  485. <view class="right d-flex flex-1">{{orderInfo.jqapplyno}}</view>
  486. </view>
  487. <view class="row d-flex a-center" v-if="!!orderInfo.syapplyno">
  488. <view class="left">商业险:</view>
  489. <view class="right d-flex flex-1">{{orderInfo.syapplyno}}</view>
  490. </view>
  491. </view>
  492. </view>
  493. <view class="personInfo" v-if="!!orderInfo.jqpolicyno">
  494. <view class="title d-flex a-center j-sb">
  495. <text style="font-weight: bold;">保单号</text>
  496. <view class="showStatus" @tap="controlShow('showPolicyno')">{{showPolicyno?'收起':'展开'}}</view>
  497. </view>
  498. <view class="content" v-if="showPolicyno">
  499. <view class="row d-flex a-center" v-if="!!orderInfo.jqpolicyno">
  500. <view class="left">交强险:</view>
  501. <view class="right d-flex flex-1">{{orderInfo.jqpolicyno}}</view>
  502. </view>
  503. <view class="row d-flex a-center" v-if="!!orderInfo.sypolicyno">
  504. <view class="left">商业险:</view>
  505. <view class="right d-flex flex-1">{{orderInfo.sypolicyno}}</view>
  506. </view>
  507. </view>
  508. </view>
  509. <view class="personInfo" v-if="policyList.length>0">
  510. <view class="title d-flex a-center j-sb">
  511. <text style="font-weight: bold;">电子保单(点击即可预览下载)</text>
  512. <view class="showStatus" @tap="controlShow('showPolicyFile')">{{showPolicyFile?'收起':'展开'}}</view>
  513. </view>
  514. <view class="content" v-if="showPolicyFile" v-for="(policyListitem,policyListindex) in policyList"
  515. :key="policyListindex">
  516. <view class="row d-flex a-center">
  517. <view class="left" style="width: 110px;flex-shrink: 0;">{{policyListitem.fileTitle}}:
  518. </view>
  519. <view class="right d-flex flex-1"
  520. style="flex-shrink: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
  521. {{policyListitem.filename}}
  522. </view>
  523. <view class="right d-flex a-center j-center" style="width: 160upx;flex-shrink: 0;">
  524. <text class="checkButton d-flex a-center j-center"
  525. @tap="downloadPolicy(policyListitem.fileurl)">下载</text>
  526. </view>
  527. </view>
  528. </view>
  529. </view>
  530. <view class="personInfo" v-if="policyList1.length>0">
  531. <view class="title d-flex a-center j-sb">
  532. <text style="font-weight: bold;">电子标志(点击即可预览下载)</text>
  533. <view class="showStatus" @tap="controlShow('showPolicybzFile')">{{showPolicybzFile?'收起':'展开'}}
  534. </view>
  535. </view>
  536. <view class="content" v-if="showPolicybzFile" v-for="(policyListitem1,policyListindex1) in policyList1"
  537. :key="policyListindex1">
  538. <view class="row d-flex a-center">
  539. <view class="left" style="width: 110px;flex-shrink: 0;">{{policyListitem1.fileTitle}}:
  540. </view>
  541. <view class="right d-flex flex-1"
  542. style="flex-shrink: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
  543. {{policyListitem1.filename}}
  544. </view>
  545. <view class="right d-flex a-center j-center" style="width: 160upx;flex-shrink: 0;">
  546. <text class="checkButton d-flex a-center j-center"
  547. @tap="downloadPolicy(policyListitem1.fileurl)">下载</text>
  548. </view>
  549. </view>
  550. </view>
  551. </view>
  552. <view class="advancePaymentTotal">
  553. <view class="header d-flex a-center j-sb">
  554. <view class="title">保费</view>
  555. </view>
  556. <view class="body">
  557. <block v-for="(item,index) in riskList" :key="index">
  558. <template v-if="item.riskCode == '0507'">
  559. <view class="row d-flex a-center j-sb">
  560. <view class="d-flex a-center">交强险</view>
  561. <view>¥{{jqpremium}}</view>
  562. </view>
  563. <view class="row j-sb d-flex a-center">
  564. <view>车船税</view>
  565. <view>¥{{taxAmount}}</view>
  566. </view>
  567. </template>
  568. </block>
  569. <block v-for="(item,index) in riskList" :key="index">
  570. <template v-if="item.riskCode == '0510'">
  571. <view class="row d-flex a-center j-sb">
  572. <view class="d-flex a-center">商业险</view>
  573. <view>¥{{sypremium}}</view>
  574. </view>
  575. </template>
  576. </block>
  577. </view>
  578. </view>
  579. </view>
  580. <view style="height: 90upx;"></view>
  581. <template>
  582. <view class="bottomBtn d-flex j-sb">
  583. <view class="d-flex a-center">
  584. <view class="d-flex flex-column a-center j-center listener">
  585. <view style="line-height: 1;" class="icon iconfont icon-xiaomishu"></view>
  586. <view class="font-sm">客服</view>
  587. </view>
  588. <view style="font-weight: bold;font-size: 34upx;color: #333; ">¥{{sumPermium}}</view>
  589. </view>
  590. <template v-if="orderstatus==0">
  591. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">确认核保</view>
  592. </template>
  593. <!-- <template v-if="orderstatus ==5">
  594. <view class="btn d-flex a-center j-center" @tap="cancelUnderwriting">撤销核保</view>
  595. </template> -->
  596. <!-- <template v-if="orderstatus ==2">
  597. <view class="btn d-flex a-center j-center" @tap="openPayWay">申请支付</view>
  598. </template>
  599. <template v-if="orderstatus ==3">
  600. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">下一步</view>
  601. </template> -->
  602. </view>
  603. </template>
  604. <!-- 底部分享弹窗 -->
  605. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  606. </view>
  607. </template>
  608. <script>
  609. import {
  610. mapState,
  611. mapMutations
  612. } from "vuex"
  613. import {
  614. pathToBase64,
  615. base64ToPath
  616. } from '@/common/pdf.js'
  617. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  618. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  619. export default {
  620. components: {
  621. uniPopup,
  622. previewImage
  623. },
  624. computed: {
  625. ...mapState(['userInfo', 'token']),
  626. getHeight() {
  627. let height = uni.getSystemInfoSync().windowHeight;
  628. return `minHeight: ${height}px;`;
  629. }
  630. },
  631. data() {
  632. return {
  633. companyId: "", //订单号
  634. orderInfo: {},
  635. licenseNo: "", //车牌号
  636. icon: "", //保险公司logo
  637. name: "", //保险公司名称
  638. carInfo: {}, //车辆信息
  639. ownerInfo: {}, //车主信息
  640. policyHolderInfo: {}, //投保人信息
  641. insuredPersonInfo: {}, //被保人信息
  642. riskList: [], //险种大类信息
  643. kindList: [], //商业险险别
  644. sumPermium: "", //报价金额
  645. taxAmount: "", //车船税金额
  646. jqpremium: "", //交强险金额
  647. sypremium: "", //商业险金额
  648. feerate: "",
  649. disrate: "",
  650. syappoint: "",
  651. orderstatus: "0", //订单状态
  652. CIStartDate: "", //交强险日期
  653. BIStartDate: "", //商业险日期
  654. showCarInfo: false,
  655. showextendInfo: false,
  656. insureList: [{
  657. amount: "0",
  658. coveragePremium: "",
  659. amtList: [{
  660. "label": "投保",
  661. "value": "1"
  662. }],
  663. kindCode: "A",
  664. isMainRisk: true,
  665. kindName: "机动车损失险"
  666. },
  667. {
  668. amount: "0",
  669. coveragePremium: "",
  670. amtList: [{
  671. "label": "10万",
  672. "value": "100000"
  673. }, {
  674. "label": "15万",
  675. "value": "150000"
  676. }, {
  677. "label": "20万",
  678. "value": "200000"
  679. }, {
  680. "label": "30万",
  681. "value": "300000"
  682. }, {
  683. "label": "50万",
  684. "value": "500000"
  685. }, {
  686. "label": "100万",
  687. "value": "1000000"
  688. }, {
  689. "label": "150万",
  690. "value": "1500000"
  691. }, {
  692. "label": "200万",
  693. "value": "2000000"
  694. }, {
  695. "label": "250万",
  696. "value": "2500000"
  697. }, {
  698. "label": "300万",
  699. "value": "3000000"
  700. }, {
  701. "label": "500万",
  702. "value": "5000000"
  703. }, {
  704. "label": "1000万",
  705. "value": "10000000"
  706. }],
  707. kindCode: "B",
  708. isMainRisk: true,
  709. kindName: "第三者责任险"
  710. },
  711. {
  712. amount: "0",
  713. coveragePremium: "",
  714. amtList: [{
  715. "label": "1万",
  716. "value": "10000"
  717. }, {
  718. "label": "2万",
  719. "value": "20000"
  720. }, {
  721. "label": "5万",
  722. "value": "50000"
  723. }, {
  724. "label": "10万",
  725. "value": "100000"
  726. }, {
  727. "label": "15万",
  728. "value": "150000"
  729. }, {
  730. "label": "20万",
  731. "value": "200000"
  732. }],
  733. kindCode: "D3",
  734. isMainRisk: true,
  735. kindName: "司机责任险"
  736. },
  737. {
  738. amount: "0",
  739. coveragePremium: "",
  740. amtList: [{
  741. "label": "1万",
  742. "value": "10000"
  743. }, {
  744. "label": "2万",
  745. "value": "20000"
  746. }, {
  747. "label": "5万",
  748. "value": "50000"
  749. }, {
  750. "label": "10万",
  751. "value": "100000"
  752. }, {
  753. "label": "15万",
  754. "value": "150000"
  755. }, {
  756. "label": "20万",
  757. "value": "200000"
  758. }],
  759. kindCode: "D4",
  760. isMainRisk: true,
  761. kindName: "乘客责任险"
  762. },
  763. {
  764. amount: "0",
  765. coveragePremium: "",
  766. amtList: [{
  767. "label": "2000",
  768. "value": "2000"
  769. }, {
  770. "label": "5000",
  771. "value": "5000"
  772. }, {
  773. "label": "1万",
  774. "value": "10000"
  775. }],
  776. isMainRisk: false,
  777. kindCode: "L",
  778. kindName: "车身划痕险",
  779. mainRiskCodeList: "A"
  780. },
  781. {
  782. amount: "0",
  783. coveragePremium: "",
  784. amtList: [{
  785. "label": "5%",
  786. "value": "5"
  787. }, {
  788. "label": "10%",
  789. "value": "10"
  790. }, {
  791. "label": "15%",
  792. "value": "15"
  793. }, {
  794. "label": "20%",
  795. "value": "20"
  796. }],
  797. isMainRisk: false,
  798. kindCode: "MJ1",
  799. kindName: "绝对免赔率特约险(车损)",
  800. mainRiskCodeList: "A"
  801. },
  802. {
  803. amount: "0",
  804. coveragePremium: "",
  805. amtList: [{
  806. "label": "5%",
  807. "value": "5"
  808. }, {
  809. "label": "10%",
  810. "value": "10"
  811. }, {
  812. "label": "15%",
  813. "value": "15"
  814. }, {
  815. "label": "20%",
  816. "value": "20"
  817. }],
  818. isMainRisk: false,
  819. kindCode: "MJ2",
  820. kindName: "绝对免赔率特约险(三者)",
  821. mainRiskCodeList: "B"
  822. },
  823. {
  824. amount: "0",
  825. coveragePremium: "",
  826. amtList: [{
  827. "label": "5%",
  828. "value": "5"
  829. }, {
  830. "label": "10%",
  831. "value": "10"
  832. }, {
  833. "label": "15%",
  834. "value": "15"
  835. }, {
  836. "label": "20%",
  837. "value": "20"
  838. }],
  839. isMainRisk: false,
  840. kindCode: "MJ3",
  841. kindName: "绝对免赔率特约险(司机)",
  842. mainRiskCodeList: "D3"
  843. },
  844. {
  845. amount: "0",
  846. coveragePremium: "",
  847. amtList: [{
  848. "label": "5%",
  849. "value": "5"
  850. }, {
  851. "label": "10%",
  852. "value": "10"
  853. }, {
  854. "label": "15%",
  855. "value": "15"
  856. }, {
  857. "label": "20%",
  858. "value": "20"
  859. }],
  860. isMainRisk: false,
  861. kindCode: "MJ4",
  862. kindName: "绝对免赔率特约险(乘客)",
  863. mainRiskCodeList: "D4"
  864. },
  865. {
  866. amount: "0",
  867. coveragePremium: "",
  868. amtList: [{
  869. "label": "投保",
  870. "value": "1"
  871. }],
  872. isMainRisk: false,
  873. kindCode: "BD",
  874. kindName: "法定节假日限额翻倍险",
  875. mainRiskCodeList: "B"
  876. },
  877. {
  878. amount: "0",
  879. amountDesc: "不投保",
  880. coveragePremium: "",
  881. amtList: [{
  882. label: "不投保",
  883. value: "0"
  884. },
  885. {
  886. label: "1万",
  887. value: "10000"
  888. },
  889. {
  890. label: "2万",
  891. value: "20000"
  892. },
  893. {
  894. label: "5万",
  895. value: "50000"
  896. },
  897. {
  898. label: "10万",
  899. value: "100000"
  900. }
  901. ],
  902. kindCode: "SY_FJ_YBW1",
  903. isMainRisk: false,
  904. kindName: "附加医保-三者",
  905. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  906. },
  907. {
  908. amount: "0",
  909. amountDesc: "不投保",
  910. coveragePremium: 0,
  911. amtList: [{
  912. label: "不投保",
  913. value: "0"
  914. },
  915. {
  916. label: "1万",
  917. value: "10000"
  918. },
  919. {
  920. label: "2万",
  921. value: "20000"
  922. },
  923. {
  924. label: "5万",
  925. value: "50000"
  926. },
  927. {
  928. label: "10万",
  929. value: "100000"
  930. }
  931. ],
  932. kindCode: "SY_FJ_YBW2",
  933. isMainRisk: false,
  934. kindName: "附加医保-座位险(乘客)",
  935. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  936. },
  937. {
  938. amount: "0",
  939. amountDesc: "不投保",
  940. coveragePremium: 0,
  941. amtList: [{
  942. label: "不投保",
  943. value: "0"
  944. },
  945. {
  946. label: "1万",
  947. value: "10000"
  948. },
  949. {
  950. label: "2万",
  951. value: "20000"
  952. },
  953. {
  954. label: "5万",
  955. value: "50000"
  956. },
  957. {
  958. label: "10万",
  959. value: "100000"
  960. }
  961. ],
  962. kindCode: "SY_FJ_YBW3",
  963. isMainRisk: false,
  964. kindName: "附加医保-座位险(司机)",
  965. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  966. },
  967. ],
  968. bottomData: [
  969. // #ifdef APP-PLUS
  970. {
  971. text: '微信好友',
  972. icon: '/static/image/share/weixinhaoyou.png',
  973. name: 'wx'
  974. },
  975. {
  976. text: '短信发送',
  977. icon: '/static/image/share/shortMessage.png',
  978. name: 'dx'
  979. },
  980. // #endif
  981. {
  982. text: '报价单',
  983. icon: '/static/image/share/shortMessage.png',
  984. name: 'bjd'
  985. }
  986. ],
  987. vehicleModel: {}, //车型信息
  988. showOwerInfo: false, //展示车主信息
  989. showPolicyHolderInfo: false, //展示投保人信息
  990. showInsuredPersonInfo: false, //展示被保人信息
  991. showProposalWay: false, //获取保单方式
  992. showAdvancePayment: false, //展示保费
  993. showAppoint: false, //展示特约
  994. showDistribution: false, //展示快递
  995. showApplyno: false, //展示投保单号
  996. showPolicyno: false, //展示保单号
  997. showPolicyFile: false, //展示电子保单
  998. showPolicybzFile: false, //展示电子保单
  999. policyList: [], //电子保单文件
  1000. policyList1: [], //电子标志文件
  1001. showCarImageInfo: false, //显示车辆影像
  1002. carImageList: [],
  1003. showOwnerImageInfo: false, //显示车主影像
  1004. ownerImageList: [],
  1005. showPolicyImageInfo: false, //显示投保人影像
  1006. policyImageList: [],
  1007. showInsuredImageInfo: false, //显示被保人影像
  1008. insuredImageList: [],
  1009. showCarCheckImageInfo: false, //显示验车照影像
  1010. carCheckImageList: [],
  1011. previewImgs: [],
  1012. dianzibaodan: "",
  1013. jypremium: "",
  1014. quoteno: "",
  1015. extendInfo: {},
  1016. }
  1017. },
  1018. // 监听导航栏的按钮
  1019. onNavigationBarButtonTap(e) {
  1020. if (e.index == 0) {
  1021. this.$refs.showshare.open()
  1022. }
  1023. },
  1024. async onLoad(params) {
  1025. if (!this.token) {
  1026. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1027. }
  1028. if (!!params.companyId) {
  1029. this.companyId = params.companyId;
  1030. let param = {
  1031. companyId: params.companyId
  1032. };
  1033. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1034. if (res.code == 200) {
  1035. //获取前一个页面传过来的信息(车辆信息,人员信息,险种信息)
  1036. this.icon = "";
  1037. this.quoteno = res.data.quoteno;
  1038. this.name = res.data.inscompany;
  1039. this.carInfo = res.data.carinfo;
  1040. this.extendInfo = res.data.extendInfo;
  1041. this.licenseNo = res.data.licenseno;
  1042. if (!!this.carInfo.transferFlag) {
  1043. this.carInfo.transferFlag = 1;
  1044. } else {
  1045. this.carInfo.transferFlag = 0;
  1046. }
  1047. if (!!this.carInfo.loanStatus) {
  1048. this.carInfo.loanStatus = 1;
  1049. } else {
  1050. this.carInfo.loanStatus = 0;
  1051. }
  1052. if (!!this.carInfo.registerDate) {
  1053. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1054. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1055. if (month1 < 10) {
  1056. month1 = '0' + month1;
  1057. }
  1058. let day1 = new Date(this.carInfo.registerDate).getDate()
  1059. if (day1 < 10) {
  1060. day1 = '0' + day1;
  1061. }
  1062. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1063. }
  1064. if (!!this.carInfo.issueDate) {
  1065. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1066. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1067. if (month2 < 10) {
  1068. month2 = '0' + month2;
  1069. }
  1070. let day2 = new Date(this.carInfo.issueDate).getDate()
  1071. if (day2 < 10) {
  1072. day2 = '0' + day2;
  1073. }
  1074. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1075. }
  1076. if (!!this.carInfo.transferDate) {
  1077. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1078. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1079. if (month3 < 10) {
  1080. month3 = '0' + month3;
  1081. }
  1082. let day3 = new Date(this.carInfo.transferDate).getDate()
  1083. if (day3 < 10) {
  1084. day3 = '0' + day3;
  1085. }
  1086. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1087. }
  1088. this.ownerInfo = res.data.ownerinfo;
  1089. this.policyHolderInfo = res.data.applyinfo;
  1090. this.insuredPersonInfo = res.data.insureinfo;
  1091. this.riskList = res.data.riskinfo;
  1092. this.kindList = res.data.kindinfo;
  1093. this.sumPermium = res.data.sumpremium;
  1094. this.taxAmount = res.data.taxamount;
  1095. this.sypremium = res.data.sypremium;
  1096. this.jqpremium = res.data.jqpremium;
  1097. this.jypremium = res.data.jypremium;
  1098. this.orderstatus = res.data.orderstatus;
  1099. this.feerate = res.data.feerate;
  1100. this.disrate = res.data.disrate;
  1101. this.jqdiscountrate = res.data.jqdiscountrate;
  1102. this.sydiscountrate = res.data.sydiscountrate;
  1103. this.syappoint = res.data.syappoint;
  1104. this.orderInfo = {};
  1105. Object.assign(this.orderInfo, res.data)
  1106. this.imageEcho(this.quoteno) // 影像获取完毕
  1107. switch (this.name) {
  1108. case "永安财险":
  1109. this.yonganprint(); //电子保单
  1110. break;
  1111. case "中煤财险":
  1112. this.zmgetPolicyPrint(); //电子保单
  1113. break;
  1114. case "恒邦财险":
  1115. case "安盛天平":
  1116. case "众安财险":
  1117. case "中国人寿":
  1118. this.pythonprint(); //电子保单
  1119. break;
  1120. case "永诚财险":
  1121. this.ycgetPolicyPrint(); //电子保单
  1122. break;
  1123. case "紫金财险":
  1124. this.zjgetPolicyPrint(); //电子保单
  1125. break;
  1126. }
  1127. }
  1128. } else {
  1129. uni.showModal({
  1130. showCancel: false,
  1131. title: "未查询到该订单"
  1132. })
  1133. }
  1134. },
  1135. methods: {
  1136. ...mapMutations(['setOrderStage', 'setOrderType']),
  1137. //影像查询
  1138. async imageEcho(quotenos) {
  1139. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1140. if (imgres.code == "200") {
  1141. Object.keys(imgres.data).forEach((keys) => {
  1142. if (imgres.data[keys].url) {
  1143. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1144. switch (keys) {
  1145. case 'C01':
  1146. case 'D01':
  1147. this.carImageList.push(imgres.data[keys]);
  1148. break;
  1149. case 'C02':
  1150. case 'D02':
  1151. this.ownerImageList.push(imgres.data[keys]);
  1152. break;
  1153. case 'C03':
  1154. case 'D03':
  1155. this.policyImageList.push(imgres.data[keys]);
  1156. break;
  1157. case 'C04':
  1158. case 'D04':
  1159. this.insuredImageList.push(imgres.data[keys]);
  1160. break;
  1161. default:
  1162. break;
  1163. }
  1164. }
  1165. });
  1166. }
  1167. },
  1168. //去选择险种页面
  1169. toInsureItems() {
  1170. this.navigate({
  1171. url: '/pages/carInsure1/insureItems1',
  1172. success: (res) => {
  1173. res.eventChannel.emit("acceptData", {
  1174. carInfo: this.carInfo,
  1175. ownerInfo: this.ownerInfo,
  1176. policyHolderInfo: this.policyHolderInfo,
  1177. insuredPersonInfo: this.insuredPersonInfo,
  1178. riskList: this.riskList,
  1179. kindList: this.kindList
  1180. })
  1181. }
  1182. }, "navigateTo", true);
  1183. },
  1184. //去确认核保页面
  1185. toUnderwriting() {
  1186. this.navigate({
  1187. url: "/pages/carInsure1/underwriting1?companyId=" + this.companyId
  1188. },
  1189. "navigateTo", true);
  1190. },
  1191. //影像预览
  1192. previewImage(e, type) {
  1193. this.previewImgs = this[type + 'ImageList'];
  1194. var current = e.currentTarget.dataset.src;
  1195. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  1196. },
  1197. //查询电子保单
  1198. async yonganprint() {
  1199. this.policyList = [];
  1200. this.policyList1 = [];
  1201. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  1202. companyId: this.companyId,
  1203. policytype: "jq"
  1204. }); //永安
  1205. if (res.data) {
  1206. let result = res.data.replace(/[\r\n]/g, "");
  1207. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1208. base64ToPath(pdfBase64)
  1209. .then(path => {
  1210. this.policyList.push({
  1211. fileTitle: "交强电子保单",
  1212. filename: this.orderInfo.jqpolicyno,
  1213. fileurl: path,
  1214. })
  1215. })
  1216. }
  1217. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1218. companyId: this.companyId,
  1219. policytype: "jq"
  1220. }); //永安
  1221. if (res1.data) {
  1222. let result = res1.data.replace(/[\r\n]/g, "");
  1223. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1224. base64ToPath(pdfBase64)
  1225. .then(path => {
  1226. this.policyList1.push({
  1227. fileTitle: "交强电子标志",
  1228. filename: this.orderInfo.jqpolicyno,
  1229. fileurl: path,
  1230. })
  1231. })
  1232. }
  1233. if (this.orderInfo.sypolicyno) {
  1234. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1235. companyId: this.companyId,
  1236. policytype: "sy"
  1237. }); //永安
  1238. if (res2.data) {
  1239. let result = res1.data.replace(/[\r\n]/g, "");
  1240. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1241. base64ToPath(pdfBase64)
  1242. .then(path => {
  1243. this.policyList.push({
  1244. fileTitle: "商业电子保单",
  1245. filename: this.orderInfo.sypolicyno,
  1246. fileurl: path,
  1247. })
  1248. })
  1249. }
  1250. }
  1251. },
  1252. async zmgetPolicyPrint() {
  1253. this.policyList = [];
  1254. this.policyList1 = [];
  1255. if (this.orderInfo.jqpolicyno) {
  1256. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1257. companyId: this.companyId,
  1258. riskCode: "0507",
  1259. type: '2', //2:保单
  1260. });
  1261. if (res.code == '200') {
  1262. this.policyList.push({
  1263. fileTitle: "交强电子保单",
  1264. filename: this.orderInfo.jqpolicyno,
  1265. fileurl: res.data[0],
  1266. })
  1267. }
  1268. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1269. companyId: this.companyId,
  1270. riskCode: "0507",
  1271. type: '1', //1:标志
  1272. });
  1273. if (res1.code == '200') {
  1274. this.policyList1.push({
  1275. fileTitle: "交强电子标志",
  1276. filename: this.orderInfo.jqpolicyno,
  1277. fileurl: res1.data[0],
  1278. })
  1279. }
  1280. }
  1281. if (this.orderInfo.sypolicyno) {
  1282. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1283. companyId: this.companyId,
  1284. riskCode: "0510",
  1285. type: '2', //2:标志
  1286. });
  1287. if (res.code == '200') {
  1288. this.policyList.push({
  1289. fileTitle: "商业电子保单",
  1290. filename: this.orderInfo.sypolicyno,
  1291. fileurl: res.data[0],
  1292. })
  1293. }
  1294. }
  1295. },
  1296. async ycgetPolicyPrint() {
  1297. this.policyList = [];
  1298. this.policyList1 = [];
  1299. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1300. companyId: this.companyId,
  1301. riskCode: "0507",
  1302. type: '2', //2:保单
  1303. }); //永诚财险
  1304. if (res.code == '200') {
  1305. this.policyList.push({
  1306. fileTitle: "交强电子保单",
  1307. filename: this.orderInfo.jqpolicyno,
  1308. fileurl: res.data.jqUrl,
  1309. })
  1310. if (res.data.jqFlagUrl) {
  1311. this.policyList1.push({
  1312. fileTitle: "交强电子标志",
  1313. filename: this.orderInfo.jqpolicyno,
  1314. fileurl: res.data.jqFlagUrl,
  1315. })
  1316. }
  1317. }
  1318. if (this.orderInfo.sypolicyno) {
  1319. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1320. companyId: this.companyId,
  1321. riskCode: "0510",
  1322. type: '2', //2:保单
  1323. }); //永诚财险
  1324. if (res.code == '200') {
  1325. this.policyList.push({
  1326. fileTitle: "商业电子保单",
  1327. filename: this.orderInfo.sypolicyno,
  1328. fileurl: res.data.syUrl,
  1329. });
  1330. }
  1331. }
  1332. },
  1333. //爬虫电子保单统一调用
  1334. async pythonprint() {
  1335. let params = {
  1336. subOrderNo: this.companyId,
  1337. };
  1338. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  1339. if (res1.code == '200') {
  1340. this.policyList = [];
  1341. this.policyList1 = [];
  1342. this.policyList.push({
  1343. fileTitle: "交强电子保单",
  1344. filename: this.orderInfo.jqpolicyno,
  1345. fileurl: res1.data.jqxPolicyUrl,
  1346. })
  1347. this.policyList1.push({
  1348. fileTitle: "交强电子标志",
  1349. filename: this.orderInfo.jqpolicyno,
  1350. fileurl: res1.data.jqxFlagUrl,
  1351. })
  1352. if (res1.data.syxPolicyUrl) {
  1353. this.policyList.push({
  1354. fileTitle: "商业电子保单",
  1355. filename: this.orderInfo.sypolicyno,
  1356. fileurl: res1.data.syxPolicyUrl,
  1357. });
  1358. }
  1359. if (res1.data.jyxPolicyUrl) {
  1360. this.policyList.push({
  1361. fileTitle: "驾意险保单",
  1362. filename: 'xxxxxxxxxxxxxxxxxxxxxx',
  1363. fileurl: res1.data.jyxPolicyUrl,
  1364. });
  1365. }
  1366. }
  1367. },
  1368. async zjgetPolicyPrint() {
  1369. this.policyList = [];
  1370. this.policyList1 = [];
  1371. if (this.orderInfo.jqpolicyno) {
  1372. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1373. companyId: this.companyId,
  1374. riskCode: "0507",
  1375. type: '2', //2:保单
  1376. });
  1377. if (res.code == '200') {
  1378. this.policyList.push({
  1379. fileTitle: "交强电子保单",
  1380. filename: this.orderInfo.jqpolicyno,
  1381. fileurl: res.data,
  1382. })
  1383. }
  1384. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  1385. companyId: this.companyId,
  1386. riskCode: "0507",
  1387. type: '1', //1:标志
  1388. });
  1389. if (res1.code == '200') {
  1390. this.policyList1.push({
  1391. fileTitle: "交强电子标志",
  1392. filename: this.orderInfo.jqpolicyno,
  1393. fileurl: res1.data,
  1394. })
  1395. }
  1396. }
  1397. if (this.orderInfo.sypolicyno) {
  1398. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1399. companyId: this.companyId,
  1400. riskCode: "0510",
  1401. type: '2', //2:标志
  1402. });
  1403. if (res.code == '200') {
  1404. this.policyList.push({
  1405. fileTitle: "商业电子保单",
  1406. filename: this.orderInfo.sypolicyno,
  1407. fileurl: res.data,
  1408. })
  1409. }
  1410. }
  1411. if (this.orderInfo.crossInsurance.length > 0) {
  1412. this.orderInfo.crossInsurance.map(async ele => {
  1413. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1414. companyId: this.companyId,
  1415. policyNumber: ele.policyNumber,
  1416. riskCode: "0513",
  1417. type: '2', //2:保单
  1418. });
  1419. if (res.code == '200') {
  1420. this.policyList.push({
  1421. fileTitle: "驾意险保单",
  1422. filename: ele.policyNumber,
  1423. fileurl: res.data,
  1424. })
  1425. }
  1426. })
  1427. }
  1428. },
  1429. downloadPolicy(file) {
  1430. //#ifdef APP-PLUS
  1431. uni.showLoading({
  1432. title: '文件下载中'
  1433. });
  1434. let index = file.lastIndexOf("\/")
  1435. let name = file.substring(index + 1, file.length)
  1436. let dtask = plus.downloader.createDownload(file, {
  1437. filename: "_downloads/" + name
  1438. }, function(d, status) {
  1439. if (status == 200) {
  1440. uni.hideLoading()
  1441. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  1442. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  1443. plus.runtime.openFile(d.filename); //选择软件打开文件
  1444. } else {
  1445. uni.hideLoading()
  1446. //下载失败
  1447. plus.downloader.clear(); //清除下载任务
  1448. }
  1449. })
  1450. dtask.start();
  1451. // uni.downloadFile({
  1452. // url: file,
  1453. // success(val) {
  1454. // uni.saveFile({
  1455. // tempFilePath: val.tempFilePath, //临时路径
  1456. // success: function(res) {
  1457. // uni.hideLoading();
  1458. // uni.showToast({
  1459. // icon: 'none',
  1460. // mask: true,
  1461. // title: '文件已保存到:' + res.savedFilePath +
  1462. // ',正在打开文件', //保存路径
  1463. // duration: 3000,
  1464. // });
  1465. // setTimeout(() => {
  1466. // //打开文档查看
  1467. // uni.openDocument({
  1468. // filePath: res.savedFilePath,
  1469. // success: function(res) {}
  1470. // });
  1471. // }, 1500)
  1472. // }
  1473. // });
  1474. // }
  1475. // });
  1476. //#endif
  1477. //#ifdef H5
  1478. var win = window.open();
  1479. win.document.write(
  1480. '<body style="margin:0px;"><object data="' +
  1481. file +
  1482. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  1483. file +
  1484. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  1485. );
  1486. //#endif
  1487. },
  1488. //选择缴费方式
  1489. openPayWay() {
  1490. this.navigate({
  1491. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  1492. }, 'navigateTo', true)
  1493. },
  1494. cancelShare() {
  1495. this.$refs.showshare.close()
  1496. },
  1497. //控制详情的展开和收起
  1498. controlShow(type) {
  1499. this[type] = !this[type];
  1500. },
  1501. //撤销核保
  1502. cancelUnderwriting() {
  1503. uni.showModal({
  1504. content: '是否确认撤销核保?',
  1505. success: async (res) => {
  1506. if (res.confirm) {
  1507. let param = {
  1508. "auditid": this.userInfo.sysUser.id, //核保人会员号
  1509. "auditopinion": '', //核保意见
  1510. "jqapplyno": "", //交强险投保单号
  1511. "jqappoint": "", //交强特别约定
  1512. "jqpolicyno": "", //交强保单号
  1513. "orderno": this.orderno, //订单号
  1514. "orderstatus": "0", //订单类型
  1515. "syapplyno": "", //商业险投保单号
  1516. "syappoint": "", //商业险特别约定
  1517. "sypolicyno": "" //商业保单号
  1518. }
  1519. let res = await this.$http.post('/insOrder/saveAudit', param);
  1520. uni.showToast({
  1521. title: '撤销成功',
  1522. icon: "none",
  1523. duration: 2000
  1524. });
  1525. setTimeout(() => {
  1526. this.setOrderStage(0);
  1527. this.setOrderType(0);
  1528. this.navigate({
  1529. url: "/pages/orders/orders"
  1530. }, "switchTab", true);
  1531. }, 2000);
  1532. } else if (res.cancel) {
  1533. console.log('用户点击取消');
  1534. }
  1535. }
  1536. });
  1537. },
  1538. toChinesNum(num) {
  1539. let changeNum = [
  1540. "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
  1541. ];
  1542. let unit = ["", "0", "00", "000", "0000"];
  1543. num = parseInt(num);
  1544. let getWan = temp => {
  1545. let strArr = temp
  1546. .toString()
  1547. .split("")
  1548. .reverse();
  1549. let newNum = "";
  1550. let newArr = [];
  1551. strArr.forEach((item, index) => {
  1552. newArr.unshift(
  1553. item === "0" ? changeNum[item] : changeNum[item] + unit[index]
  1554. );
  1555. });
  1556. let numArr = [];
  1557. newArr.forEach((m, n) => {
  1558. if (m !== "0") numArr.push(n);
  1559. });
  1560. if (newArr.length > 1) {
  1561. newArr.forEach((m, n) => {
  1562. if (newArr[newArr.length - 1] === "0") {
  1563. if (n <= numArr[numArr.length - 1]) {
  1564. newNum += m;
  1565. }
  1566. } else {
  1567. newNum += m;
  1568. }
  1569. });
  1570. } else {
  1571. newNum = newArr[0];
  1572. }
  1573. return newNum;
  1574. };
  1575. let overWan = Math.floor(num / 10000);
  1576. let noWan = num % 10000;
  1577. if (noWan.toString().length < 4) {
  1578. noWan = "0" + noWan;
  1579. }
  1580. return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
  1581. },
  1582. }
  1583. }
  1584. </script>
  1585. <style lang="scss" scoped>
  1586. @import '@/style/mixin.scss';
  1587. /* 头部车辆信息和特权Start */
  1588. .carInfo {
  1589. height: 280upx;
  1590. background: -webkit-linear-gradient(0deg, rgba($themeColor, 0.6), rgba($themeColor, 0.8));
  1591. background-size: 100% 100%;
  1592. }
  1593. .carInfo .topLeft {
  1594. font-size: 90upx;
  1595. color: #FFFFFF;
  1596. }
  1597. .carInfo .topLeft .license {
  1598. width: 420upx;
  1599. overflow: hidden;
  1600. text-overflow: ellipsis;
  1601. white-space: nowrap;
  1602. }
  1603. .carInfo .topLeft .totalMoney {
  1604. font-size: 40upx;
  1605. font-weight: bold;
  1606. }
  1607. .carInfo .topRight {
  1608. flex-shrink: 0;
  1609. width: 140upx;
  1610. color: #FFFFFF;
  1611. }
  1612. .carInfo .topRight image {
  1613. width: 100upx;
  1614. height: 100upx;
  1615. }
  1616. .carInfo .other {
  1617. background-color: #FFFFFF;
  1618. height: 80upx;
  1619. border-radius: 15upx;
  1620. box-sizing: border-box;
  1621. }
  1622. .carInfo .other .privilege {
  1623. background-color: rgba($themeColor, 0.6);
  1624. font-size: 24upx;
  1625. color: #FFFFFF;
  1626. font-weight: bold;
  1627. }
  1628. .carInfo .other .content {
  1629. width: 460upx;
  1630. margin-left: 15upx;
  1631. overflow: hidden;
  1632. text-overflow: ellipsis;
  1633. white-space: nowrap;
  1634. }
  1635. .carInfo .other .icon {
  1636. width: 30upx;
  1637. }
  1638. /* 头部车辆信息和特权End */
  1639. .header {
  1640. height: 80upx;
  1641. padding: 0 30upx;
  1642. position: relative;
  1643. }
  1644. .header .title {
  1645. font-size: 30upx;
  1646. font-weight: bold;
  1647. padding-left: 10upx;
  1648. }
  1649. .welfare {
  1650. margin-bottom: 20upx;
  1651. width: 100%;
  1652. box-sizing: border-box;
  1653. background: #FFFFFF;
  1654. border-radius: 20upx;
  1655. }
  1656. .welfare .body {
  1657. padding: 0 30upx 30upx;
  1658. box-sizing: border-box;
  1659. flex-wrap: wrap;
  1660. }
  1661. .welfare .body>.welfareItem {
  1662. width: 320upx;
  1663. height: 120upx;
  1664. padding: 10upx 20upx;
  1665. margin: 20upx 10upx 0upx;
  1666. border: 1px solid rgba($themeColor, 0.6);
  1667. box-sizing: border-box;
  1668. background: rgba($themeColor, 0.4);
  1669. border-radius: 10upx;
  1670. }
  1671. .welfare .body>.welfareItem .name {
  1672. color: $themeColor;
  1673. font-size: 30upx;
  1674. width: 210upx;
  1675. overflow: hidden;
  1676. text-overflow: ellipsis;
  1677. white-space: nowrap;
  1678. }
  1679. .welfare .body>.welfareItem .content {
  1680. font-size: 24upx;
  1681. width: 260upx;
  1682. overflow: hidden;
  1683. text-overflow: ellipsis;
  1684. white-space: nowrap;
  1685. }
  1686. /* 报价方案Start */
  1687. .quotePlan {
  1688. margin-bottom: 20upx;
  1689. width: 100%;
  1690. box-sizing: border-box;
  1691. background: #FFFFFF;
  1692. border-radius: 20upx;
  1693. }
  1694. .quotePlan .header .adjustPlan {
  1695. color: $themeColor;
  1696. }
  1697. .quotePlan .body {
  1698. padding: 0 40upx 10upx;
  1699. }
  1700. .quotePlan .body .insurance {
  1701. padding-bottom: 20upx;
  1702. border-bottom: 1px dashed #E6E8EA;
  1703. }
  1704. .quotePlan .body .row {
  1705. height: 70upx;
  1706. }
  1707. .quotePlan .body .row .date {
  1708. color: #A4A4A4;
  1709. font-size: 22upx;
  1710. margin-left: 40upx;
  1711. }
  1712. .quotePlan .body .insurance .kindList {
  1713. background: #F3F3F3;
  1714. padding: 0 10upx;
  1715. }
  1716. .addedServices .kindList {
  1717. background: #F3F3F3;
  1718. padding: 0 10upx;
  1719. }
  1720. .quotePlan .body .insurance .kindList .kindItem {
  1721. padding: 2px 0;
  1722. }
  1723. .quotePlan .body .insurance .kindList .kindItem>view {
  1724. font-size: 24upx;
  1725. }
  1726. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  1727. width: 310upx;
  1728. }
  1729. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  1730. width: 170upx;
  1731. }
  1732. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  1733. width: 170upx;
  1734. }
  1735. .addedServices .kindList .kindItem {
  1736. height: 65upx;
  1737. }
  1738. .addedServices .kindList .kindItem>view {
  1739. font-size: 24upx;
  1740. padding: 0upx 15upx;
  1741. }
  1742. /* 报价方案End */
  1743. .car {
  1744. margin-bottom: 20upx;
  1745. width: 100%;
  1746. box-sizing: border-box;
  1747. background: #FFFFFF;
  1748. }
  1749. .car .body {
  1750. padding: 0upx 30upx 10upx;
  1751. }
  1752. .car .body .row {
  1753. padding: 5px 0;
  1754. border-bottom: 1px solid #F3F3F3;
  1755. }
  1756. /* 预缴费Start */
  1757. .advancePaymentTotal {
  1758. margin-bottom: 20upx;
  1759. width: 100%;
  1760. box-sizing: border-box;
  1761. background: #FFFFFF;
  1762. border-radius: 20upx;
  1763. }
  1764. .advancePaymentTotal .body {
  1765. padding: 0upx 40upx 10upx;
  1766. }
  1767. .advancePaymentTotal .body .row {
  1768. height: 80upx;
  1769. border-bottom: 1px solid #F3F3F3;
  1770. }
  1771. /* 预缴费End */
  1772. /* 底部按钮Start */
  1773. .bottomBtn {
  1774. position: fixed;
  1775. bottom: 0;
  1776. left: 0;
  1777. right: 0;
  1778. border-top: 1px solid #F1F1F1;
  1779. background-color: #FFFFFF;
  1780. height: 90upx;
  1781. }
  1782. .bottomBtn .listener {
  1783. width: 120upx;
  1784. font-size: 20upx;
  1785. line-height: 1.2;
  1786. color: #999;
  1787. }
  1788. .bottomBtn .listener .icon {
  1789. font-size: 40upx;
  1790. padding: 0;
  1791. }
  1792. .bottomBtn .btn {
  1793. font-size: 34upx;
  1794. background-color: $themeColor;
  1795. color: #fff;
  1796. width: 280upx;
  1797. flex-shrink: 0;
  1798. }
  1799. /* 底部按钮End */
  1800. /* 人员信息Start */
  1801. .personInfo,
  1802. .advancePayment,
  1803. .imageInfo,
  1804. .appoint {
  1805. margin-bottom: 20upx;
  1806. background: #FFFFFF;
  1807. padding: 0upx 40upx;
  1808. }
  1809. .personInfo .title,
  1810. .advancePayment .title,
  1811. .imageInfo .title,
  1812. .appoint .title {
  1813. height: 80upx;
  1814. font-size: 32upx;
  1815. box-shadow: inset 0 -3upx 0px #fafafa;
  1816. }
  1817. .showStatus {
  1818. font-size: 26upx;
  1819. color: #007AFF;
  1820. }
  1821. .personInfo .content .row,
  1822. .advancePayment .content .row {
  1823. height: 80upx;
  1824. border-bottom: 1px solid #F9F9F9;
  1825. flex-wrap: nowrap;
  1826. }
  1827. .personInfo .content .row .left,
  1828. .advancePayment .content .row .left {
  1829. width: 170upx;
  1830. flex-shrink: 0;
  1831. font-size: 28upx;
  1832. }
  1833. .appoint .content .row {
  1834. height: auto;
  1835. margin-top: 10upx;
  1836. }
  1837. .appoint .content .row>view {
  1838. width: 240upx;
  1839. flex-shrink: 1;
  1840. font-size: 28upx;
  1841. }
  1842. .appoint .content .row>textarea {
  1843. /* background: #007AFF; */
  1844. padding: 15upx;
  1845. box-sizing: border-box;
  1846. font-size: 26upx;
  1847. min-height: 160upx;
  1848. height: 100upx;
  1849. border: 1px solid #fafafa;
  1850. /* over */
  1851. }
  1852. .personInfo .content .row .right,
  1853. .advancePayment .content .row .right,
  1854. .appoint .content .row .right {
  1855. font-size: 28upx;
  1856. }
  1857. /* 人员信息End */
  1858. .checkButton {
  1859. margin: 0 20upx 0 20upx;
  1860. font-size: 24upx;
  1861. width: 80upx;
  1862. height: 50upx;
  1863. background: $themeColor;
  1864. font-weight: bold;
  1865. color: #FFFFFF;
  1866. border-radius: 5upx;
  1867. }
  1868. .uni-popup__wrapper-box {
  1869. display: block;
  1870. position: relative;
  1871. }
  1872. .uni-share {
  1873. display: flex;
  1874. flex-direction: column;
  1875. background-color: #fff;
  1876. position: fixed;
  1877. bottom: 0;
  1878. left: 0;
  1879. right: 0;
  1880. }
  1881. .uni-share-title {
  1882. line-height: 30px;
  1883. font-size: 12px;
  1884. padding: 7px 0;
  1885. text-align: center;
  1886. }
  1887. .uni-share-content {
  1888. display: flex;
  1889. flex-direction: row;
  1890. flex-wrap: wrap;
  1891. justify-content: center;
  1892. padding: 15px;
  1893. }
  1894. .uni-share-content-box {
  1895. display: flex;
  1896. flex-direction: column;
  1897. align-items: center;
  1898. width: 100px;
  1899. }
  1900. .uni-share-content-image {
  1901. display: flex;
  1902. flex-direction: row;
  1903. justify-content: center;
  1904. align-items: center;
  1905. width: 30px;
  1906. height: 30px;
  1907. overflow: hidden;
  1908. border-radius: 5px;
  1909. }
  1910. .uni-share-content-text {
  1911. font-size: 13px;
  1912. color: #333;
  1913. padding-top: 5px;
  1914. padding-bottom: 10px;
  1915. }
  1916. .uni-share-btn {
  1917. height: 45px;
  1918. line-height: 45px;
  1919. font-size: 14px;
  1920. border-top-color: #f5f5f5;
  1921. border-top-width: 1px;
  1922. border-top-style: solid;
  1923. text-align: center;
  1924. color: #666;
  1925. }
  1926. uni-image>img {
  1927. display: block;
  1928. position: absolute;
  1929. top: 0;
  1930. left: 0;
  1931. opacity: 0;
  1932. }
  1933. uni-image>div,
  1934. uni-image>img {
  1935. width: 100%;
  1936. height: 100%;
  1937. }
  1938. </style>