quoteDetail1.vue 59 KB

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