quoteDetail1.vue 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201
  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="routepage!='pages/orders/subOrders' && routepage!='pages/orders/quoteHistory'">
  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)">{{item.amount}}</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 style="color: #ff9000;">{{extendInfo.score}}</view>
  186. </view>
  187. <view class="row d-flex a-center j-sb">
  188. <view>出险信息</view>
  189. <view style="width: 200px; color: #ff9000;">{{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-if="jypremium">
  570. <view class="row d-flex a-center j-sb">
  571. <view class="d-flex a-center">驾意险</view>
  572. <view>¥{{jypremium}}</view>
  573. </view>
  574. </block>
  575. <block v-for="(item,index) in riskList" :key="index">
  576. <template v-if="item.riskCode == '0510'">
  577. <view class="row d-flex a-center j-sb">
  578. <view class="d-flex a-center">商业险</view>
  579. <view>¥{{sypremium}}</view>
  580. </view>
  581. </template>
  582. </block>
  583. </view>
  584. </view>
  585. </view>
  586. <view style="height: 90upx;"></view>
  587. <template>
  588. <view class="bottomBtn d-flex j-sb">
  589. <view class="d-flex a-center">
  590. <view class="d-flex flex-column a-center j-center listener">
  591. <view style="line-height: 1;" class="icon iconfont icon-xiaomishu"></view>
  592. <view class="font-sm">客服</view>
  593. </view>
  594. <view style="font-weight: bold;font-size: 34upx;color: #333; ">¥{{sumPermium}}</view>
  595. </view>
  596. <template
  597. v-if="orderstatus==0 && routepage!='pages/orders/subOrders' && routepage!='pages/orders/quoteHistory'">
  598. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">确认核保</view>
  599. </template>
  600. <!-- <template v-if="orderstatus ==5">
  601. <view class="btn d-flex a-center j-center" @tap="cancelUnderwriting">撤销核保</view>
  602. </template> -->
  603. <!-- <template v-if="orderstatus ==2">
  604. <view class="btn d-flex a-center j-center" @tap="openPayWay">申请支付</view>
  605. </template>
  606. <template v-if="orderstatus ==3">
  607. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">下一步</view>
  608. </template> -->
  609. </view>
  610. </template>
  611. <!-- 底部分享弹窗 -->
  612. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  613. </view>
  614. </template>
  615. <script>
  616. import {
  617. mapState,
  618. mapMutations
  619. } from "vuex"
  620. import {
  621. pathToBase64,
  622. base64ToPath
  623. } from '@/common/pdf.js'
  624. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  625. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  626. export default {
  627. components: {
  628. uniPopup,
  629. previewImage
  630. },
  631. computed: {
  632. ...mapState(['userInfo', 'token']),
  633. getHeight() {
  634. let height = uni.getSystemInfoSync().windowHeight;
  635. return `minHeight: ${height}px;`;
  636. }
  637. },
  638. data() {
  639. return {
  640. companyId: "", //订单号
  641. orderInfo: {},
  642. licenseNo: "", //车牌号
  643. icon: "", //保险公司logo
  644. name: "", //保险公司名称
  645. carInfo: {}, //车辆信息
  646. ownerInfo: {}, //车主信息
  647. policyHolderInfo: {}, //投保人信息
  648. insuredPersonInfo: {}, //被保人信息
  649. riskList: [], //险种大类信息
  650. kindList: [], //商业险险别
  651. sumPermium: "", //报价金额
  652. taxAmount: "", //车船税金额
  653. jqpremium: "", //交强险金额
  654. sypremium: "", //商业险金额
  655. feerate: "",
  656. disrate: "",
  657. syappoint: "",
  658. orderstatus: "0", //订单状态
  659. CIStartDate: "", //交强险日期
  660. BIStartDate: "", //商业险日期
  661. showCarInfo: false,
  662. showextendInfo: false,
  663. insureList: [{
  664. amount: "0",
  665. coveragePremium: "",
  666. amtList: [{
  667. "label": "投保",
  668. "value": "1"
  669. }],
  670. kindCode: "A",
  671. isMainRisk: true,
  672. kindName: "机动车损失险"
  673. },
  674. {
  675. amount: "0",
  676. coveragePremium: "",
  677. amtList: [{
  678. "label": "10万",
  679. "value": "100000"
  680. }, {
  681. "label": "15万",
  682. "value": "150000"
  683. }, {
  684. "label": "20万",
  685. "value": "200000"
  686. }, {
  687. "label": "30万",
  688. "value": "300000"
  689. }, {
  690. "label": "50万",
  691. "value": "500000"
  692. }, {
  693. "label": "100万",
  694. "value": "1000000"
  695. }, {
  696. "label": "150万",
  697. "value": "1500000"
  698. }, {
  699. "label": "200万",
  700. "value": "2000000"
  701. }, {
  702. "label": "250万",
  703. "value": "2500000"
  704. }, {
  705. "label": "300万",
  706. "value": "3000000"
  707. }, {
  708. "label": "500万",
  709. "value": "5000000"
  710. }, {
  711. "label": "1000万",
  712. "value": "10000000"
  713. }],
  714. kindCode: "B",
  715. isMainRisk: true,
  716. kindName: "第三者责任险"
  717. },
  718. {
  719. amount: "0",
  720. coveragePremium: "",
  721. amtList: [{
  722. "label": "1万",
  723. "value": "10000"
  724. }, {
  725. "label": "2万",
  726. "value": "20000"
  727. }, {
  728. "label": "5万",
  729. "value": "50000"
  730. }, {
  731. "label": "10万",
  732. "value": "100000"
  733. }, {
  734. "label": "15万",
  735. "value": "150000"
  736. }, {
  737. "label": "20万",
  738. "value": "200000"
  739. }],
  740. kindCode: "D3",
  741. isMainRisk: true,
  742. kindName: "司机责任险"
  743. },
  744. {
  745. amount: "0",
  746. coveragePremium: "",
  747. amtList: [{
  748. "label": "1万",
  749. "value": "10000"
  750. }, {
  751. "label": "2万",
  752. "value": "20000"
  753. }, {
  754. "label": "5万",
  755. "value": "50000"
  756. }, {
  757. "label": "10万",
  758. "value": "100000"
  759. }, {
  760. "label": "15万",
  761. "value": "150000"
  762. }, {
  763. "label": "20万",
  764. "value": "200000"
  765. }],
  766. kindCode: "D4",
  767. isMainRisk: true,
  768. kindName: "乘客责任险"
  769. },
  770. {
  771. amount: "0",
  772. coveragePremium: "",
  773. amtList: [{
  774. "label": "2000",
  775. "value": "2000"
  776. }, {
  777. "label": "5000",
  778. "value": "5000"
  779. }, {
  780. "label": "1万",
  781. "value": "10000"
  782. }],
  783. isMainRisk: false,
  784. kindCode: "L",
  785. kindName: "车身划痕险",
  786. mainRiskCodeList: "A"
  787. },
  788. {
  789. amount: "0",
  790. coveragePremium: "",
  791. amtList: [{
  792. "label": "5%",
  793. "value": "5"
  794. }, {
  795. "label": "10%",
  796. "value": "10"
  797. }, {
  798. "label": "15%",
  799. "value": "15"
  800. }, {
  801. "label": "20%",
  802. "value": "20"
  803. }],
  804. isMainRisk: false,
  805. kindCode: "MJ1",
  806. kindName: "绝对免赔率特约险(车损)",
  807. mainRiskCodeList: "A"
  808. },
  809. {
  810. amount: "0",
  811. coveragePremium: "",
  812. amtList: [{
  813. "label": "5%",
  814. "value": "5"
  815. }, {
  816. "label": "10%",
  817. "value": "10"
  818. }, {
  819. "label": "15%",
  820. "value": "15"
  821. }, {
  822. "label": "20%",
  823. "value": "20"
  824. }],
  825. isMainRisk: false,
  826. kindCode: "MJ2",
  827. kindName: "绝对免赔率特约险(三者)",
  828. mainRiskCodeList: "B"
  829. },
  830. {
  831. amount: "0",
  832. coveragePremium: "",
  833. amtList: [{
  834. "label": "5%",
  835. "value": "5"
  836. }, {
  837. "label": "10%",
  838. "value": "10"
  839. }, {
  840. "label": "15%",
  841. "value": "15"
  842. }, {
  843. "label": "20%",
  844. "value": "20"
  845. }],
  846. isMainRisk: false,
  847. kindCode: "MJ3",
  848. kindName: "绝对免赔率特约险(司机)",
  849. mainRiskCodeList: "D3"
  850. },
  851. {
  852. amount: "0",
  853. coveragePremium: "",
  854. amtList: [{
  855. "label": "5%",
  856. "value": "5"
  857. }, {
  858. "label": "10%",
  859. "value": "10"
  860. }, {
  861. "label": "15%",
  862. "value": "15"
  863. }, {
  864. "label": "20%",
  865. "value": "20"
  866. }],
  867. isMainRisk: false,
  868. kindCode: "MJ4",
  869. kindName: "绝对免赔率特约险(乘客)",
  870. mainRiskCodeList: "D4"
  871. },
  872. {
  873. amount: "0",
  874. coveragePremium: "",
  875. amtList: [{
  876. "label": "投保",
  877. "value": "1"
  878. }],
  879. isMainRisk: false,
  880. kindCode: "BD",
  881. kindName: "法定节假日限额翻倍险",
  882. mainRiskCodeList: "B"
  883. },
  884. {
  885. amount: "0",
  886. amountDesc: "不投保",
  887. coveragePremium: "",
  888. amtList: [{
  889. label: "不投保",
  890. value: "0"
  891. },
  892. {
  893. label: "1万",
  894. value: "10000"
  895. },
  896. {
  897. label: "2万",
  898. value: "20000"
  899. },
  900. {
  901. label: "5万",
  902. value: "50000"
  903. },
  904. {
  905. label: "10万",
  906. value: "100000"
  907. }
  908. ],
  909. kindCode: "SY_FJ_YBW1",
  910. isMainRisk: false,
  911. kindName: "附加医保-三者",
  912. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  913. },
  914. {
  915. amount: "0",
  916. amountDesc: "不投保",
  917. coveragePremium: 0,
  918. amtList: [{
  919. label: "不投保",
  920. value: "0"
  921. },
  922. {
  923. label: "1万",
  924. value: "10000"
  925. },
  926. {
  927. label: "2万",
  928. value: "20000"
  929. },
  930. {
  931. label: "5万",
  932. value: "50000"
  933. },
  934. {
  935. label: "10万",
  936. value: "100000"
  937. }
  938. ],
  939. kindCode: "SY_FJ_YBW2",
  940. isMainRisk: false,
  941. kindName: "附加医保-座位险(乘客)",
  942. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  943. },
  944. {
  945. amount: "0",
  946. amountDesc: "不投保",
  947. coveragePremium: 0,
  948. amtList: [{
  949. label: "不投保",
  950. value: "0"
  951. },
  952. {
  953. label: "1万",
  954. value: "10000"
  955. },
  956. {
  957. label: "2万",
  958. value: "20000"
  959. },
  960. {
  961. label: "5万",
  962. value: "50000"
  963. },
  964. {
  965. label: "10万",
  966. value: "100000"
  967. }
  968. ],
  969. kindCode: "SY_FJ_YBW3",
  970. isMainRisk: false,
  971. kindName: "附加医保-座位险(司机)",
  972. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  973. },
  974. ],
  975. bottomData: [
  976. // #ifdef APP-PLUS
  977. {
  978. text: '微信好友',
  979. icon: '/static/image/share/weixinhaoyou.png',
  980. name: 'wx'
  981. },
  982. {
  983. text: '短信发送',
  984. icon: '/static/image/share/shortMessage.png',
  985. name: 'dx'
  986. },
  987. // #endif
  988. {
  989. text: '报价单',
  990. icon: '/static/image/share/shortMessage.png',
  991. name: 'bjd'
  992. }
  993. ],
  994. vehicleModel: {}, //车型信息
  995. showOwerInfo: false, //展示车主信息
  996. showPolicyHolderInfo: false, //展示投保人信息
  997. showInsuredPersonInfo: false, //展示被保人信息
  998. showProposalWay: false, //获取保单方式
  999. showAdvancePayment: false, //展示保费
  1000. showAppoint: false, //展示特约
  1001. showDistribution: false, //展示快递
  1002. showApplyno: false, //展示投保单号
  1003. showPolicyno: false, //展示保单号
  1004. showPolicyFile: false, //展示电子保单
  1005. showPolicybzFile: false, //展示电子保单
  1006. policyList: [], //电子保单文件
  1007. policyList1: [], //电子标志文件
  1008. showCarImageInfo: false, //显示车辆影像
  1009. carImageList: [],
  1010. showOwnerImageInfo: false, //显示车主影像
  1011. ownerImageList: [],
  1012. showPolicyImageInfo: false, //显示投保人影像
  1013. policyImageList: [],
  1014. showInsuredImageInfo: false, //显示被保人影像
  1015. insuredImageList: [],
  1016. showCarCheckImageInfo: false, //显示验车照影像
  1017. carCheckImageList: [],
  1018. previewImgs: [],
  1019. dianzibaodan: "",
  1020. jypremium: "",
  1021. quoteno: "",
  1022. extendInfo: {},
  1023. routepage: "",
  1024. }
  1025. },
  1026. // 监听导航栏的按钮
  1027. onNavigationBarButtonTap(e) {
  1028. uni.share({
  1029. provider: "weixin",
  1030. scene: "WXSceneSession",
  1031. type: 0,
  1032. href: this.$base.h5BaseUrl +
  1033. "/#/pages/carInsure1/quoteDetail1?companyId=" + this.companyId,
  1034. title: "掌柜" + this.name + "报价单",
  1035. summary: this.carInfo.licenseNo +
  1036. "-车险报价已出炉,请立即查看!",
  1037. imageUrl: "/static/bigLogo.png",
  1038. success: function(res) {
  1039. },
  1040. fail: function(t) {
  1041. }
  1042. })
  1043. },
  1044. async onLoad(params) {
  1045. let pages = getCurrentPages(); // 当前页面路由
  1046. if (pages.length > 1) {
  1047. let beforePage = pages[pages.length - 2].route; // 上一个页面路由
  1048. this.routepage = beforePage;
  1049. }
  1050. if (!this.token) {
  1051. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1052. }
  1053. if (!!params.companyId) {
  1054. this.companyId = params.companyId;
  1055. let param = {
  1056. companyId: params.companyId
  1057. };
  1058. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1059. if (res.code == 200) {
  1060. //获取前一个页面传过来的信息(车辆信息,人员信息,险种信息)
  1061. this.icon = "";
  1062. this.quoteno = res.data.quoteno;
  1063. this.name = res.data.inscompany;
  1064. this.carInfo = res.data.carinfo;
  1065. this.extendInfo = res.data.extendInfo;
  1066. this.licenseNo = res.data.licenseno;
  1067. if (!!this.carInfo.transferFlag) {
  1068. this.carInfo.transferFlag = 1;
  1069. } else {
  1070. this.carInfo.transferFlag = 0;
  1071. }
  1072. if (!!this.carInfo.loanStatus) {
  1073. this.carInfo.loanStatus = 1;
  1074. } else {
  1075. this.carInfo.loanStatus = 0;
  1076. }
  1077. if (!!this.carInfo.registerDate) {
  1078. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1079. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1080. if (month1 < 10) {
  1081. month1 = '0' + month1;
  1082. }
  1083. let day1 = new Date(this.carInfo.registerDate).getDate()
  1084. if (day1 < 10) {
  1085. day1 = '0' + day1;
  1086. }
  1087. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1088. }
  1089. if (!!this.carInfo.issueDate) {
  1090. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1091. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1092. if (month2 < 10) {
  1093. month2 = '0' + month2;
  1094. }
  1095. let day2 = new Date(this.carInfo.issueDate).getDate()
  1096. if (day2 < 10) {
  1097. day2 = '0' + day2;
  1098. }
  1099. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1100. }
  1101. if (!!this.carInfo.transferDate) {
  1102. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1103. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1104. if (month3 < 10) {
  1105. month3 = '0' + month3;
  1106. }
  1107. let day3 = new Date(this.carInfo.transferDate).getDate()
  1108. if (day3 < 10) {
  1109. day3 = '0' + day3;
  1110. }
  1111. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1112. }
  1113. this.ownerInfo = res.data.ownerinfo;
  1114. this.policyHolderInfo = res.data.applyinfo;
  1115. this.insuredPersonInfo = res.data.insureinfo;
  1116. this.riskList = res.data.riskinfo;
  1117. this.kindList = res.data.kindinfo;
  1118. this.sumPermium = res.data.sumpremium;
  1119. this.taxAmount = res.data.taxamount;
  1120. this.sypremium = res.data.sypremium;
  1121. this.jqpremium = res.data.jqpremium;
  1122. this.jypremium = res.data.jypremium;
  1123. this.orderstatus = res.data.orderstatus;
  1124. this.feerate = res.data.feerate;
  1125. this.disrate = res.data.disrate;
  1126. this.jqdiscountrate = res.data.jqdiscountrate;
  1127. this.sydiscountrate = res.data.sydiscountrate;
  1128. this.syappoint = res.data.syappoint;
  1129. this.orderInfo = {};
  1130. Object.assign(this.orderInfo, res.data)
  1131. this.imageEcho(this.quoteno) // 影像获取完毕
  1132. switch (this.name) {
  1133. case "永安财险":
  1134. this.yonganprint(); //电子保单
  1135. break;
  1136. case "中煤财险":
  1137. this.zhongMeigetPolicyPrint(); //电子保单
  1138. break;
  1139. case "恒邦财险":
  1140. case "安盛天平":
  1141. case "众安财险":
  1142. case "中国人寿":
  1143. this.pythonprint(); //电子保单
  1144. break;
  1145. case "永诚财险":
  1146. this.yongChenggetPolicyPrint(); //电子保单
  1147. break;
  1148. case "紫金财险":
  1149. this.ziJingetPolicyPrint(); //电子保单
  1150. break;
  1151. case "华泰财险":
  1152. this.huaTaigetPolicyPrint(); //电子保单
  1153. break;
  1154. case "国任财险":
  1155. this.guoRengetPolicyPrint(); //电子保单
  1156. break;
  1157. }
  1158. }
  1159. } else {
  1160. uni.showModal({
  1161. showCancel: false,
  1162. title: "未查询到该订单"
  1163. })
  1164. }
  1165. },
  1166. methods: {
  1167. ...mapMutations(['setOrderStage', 'setOrderType']),
  1168. //影像查询
  1169. async imageEcho(quotenos) {
  1170. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1171. if (imgres.code == "200") {
  1172. Object.keys(imgres.data).forEach((keys) => {
  1173. if (imgres.data[keys].url) {
  1174. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1175. switch (keys) {
  1176. case 'C01':
  1177. case 'D01':
  1178. this.carImageList.push(imgres.data[keys]);
  1179. break;
  1180. case 'C02':
  1181. case 'D02':
  1182. this.ownerImageList.push(imgres.data[keys]);
  1183. break;
  1184. case 'C03':
  1185. case 'D03':
  1186. this.policyImageList.push(imgres.data[keys]);
  1187. break;
  1188. case 'C04':
  1189. case 'D04':
  1190. this.insuredImageList.push(imgres.data[keys]);
  1191. break;
  1192. default:
  1193. break;
  1194. }
  1195. }
  1196. });
  1197. }
  1198. },
  1199. //去选择险种页面
  1200. toInsureItems() {
  1201. this.navigate({
  1202. url: '/pages/carInsure1/insureItems1',
  1203. success: (res) => {
  1204. res.eventChannel.emit("acceptData", {
  1205. carInfo: this.carInfo,
  1206. ownerInfo: this.ownerInfo,
  1207. policyHolderInfo: this.policyHolderInfo,
  1208. insuredPersonInfo: this.insuredPersonInfo,
  1209. riskList: this.riskList,
  1210. kindList: this.kindList
  1211. })
  1212. }
  1213. }, "navigateTo", true);
  1214. },
  1215. //去确认核保页面
  1216. toUnderwriting() {
  1217. this.navigate({
  1218. url: "/pages/carInsure1/underwriting1?companyId=" + this.companyId
  1219. },
  1220. "navigateTo", true);
  1221. },
  1222. //影像预览
  1223. previewImage(e, type) {
  1224. this.previewImgs = this[type + 'ImageList'];
  1225. var current = e.currentTarget.dataset.src;
  1226. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  1227. },
  1228. //查询电子保单
  1229. async yonganprint() {
  1230. this.policyList = [];
  1231. this.policyList1 = [];
  1232. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  1233. companyId: this.companyId,
  1234. policytype: "jq"
  1235. }); //永安
  1236. if (res.data) {
  1237. let result = res.data.replace(/[\r\n]/g, "");
  1238. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1239. base64ToPath(pdfBase64)
  1240. .then(path => {
  1241. this.policyList.push({
  1242. fileTitle: "交强电子保单",
  1243. filename: this.orderInfo.jqpolicyno,
  1244. fileurl: path,
  1245. })
  1246. })
  1247. }
  1248. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1249. companyId: this.companyId,
  1250. policytype: "jq"
  1251. }); //永安
  1252. if (res1.data) {
  1253. let result = res1.data.replace(/[\r\n]/g, "");
  1254. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1255. base64ToPath(pdfBase64)
  1256. .then(path => {
  1257. this.policyList1.push({
  1258. fileTitle: "交强电子标志",
  1259. filename: this.orderInfo.jqpolicyno,
  1260. fileurl: path,
  1261. })
  1262. })
  1263. }
  1264. if (this.orderInfo.sypolicyno) {
  1265. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1266. companyId: this.companyId,
  1267. policytype: "sy"
  1268. }); //永安
  1269. if (res2.data) {
  1270. let result = res1.data.replace(/[\r\n]/g, "");
  1271. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1272. base64ToPath(pdfBase64)
  1273. .then(path => {
  1274. this.policyList.push({
  1275. fileTitle: "商业电子保单",
  1276. filename: this.orderInfo.sypolicyno,
  1277. fileurl: path,
  1278. })
  1279. })
  1280. }
  1281. }
  1282. },
  1283. async zhongMeigetPolicyPrint() {
  1284. this.policyList = [];
  1285. this.policyList1 = [];
  1286. if (this.orderInfo.jqpolicyno) {
  1287. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1288. companyId: this.companyId,
  1289. riskCode: "0507",
  1290. type: '2', //2:保单
  1291. });
  1292. if (res.code == '200') {
  1293. this.policyList.push({
  1294. fileTitle: "交强电子保单",
  1295. filename: this.orderInfo.jqpolicyno,
  1296. fileurl: res.data[0],
  1297. })
  1298. }
  1299. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1300. companyId: this.companyId,
  1301. riskCode: "0507",
  1302. type: '1', //1:标志
  1303. });
  1304. if (res1.code == '200') {
  1305. this.policyList1.push({
  1306. fileTitle: "交强电子标志",
  1307. filename: this.orderInfo.jqpolicyno,
  1308. fileurl: res1.data[0],
  1309. })
  1310. }
  1311. }
  1312. if (this.orderInfo.sypolicyno) {
  1313. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1314. companyId: this.companyId,
  1315. riskCode: "0510",
  1316. type: '2', //2:标志
  1317. });
  1318. if (res.code == '200') {
  1319. this.policyList.push({
  1320. fileTitle: "商业电子保单",
  1321. filename: this.orderInfo.sypolicyno,
  1322. fileurl: res.data[0],
  1323. })
  1324. }
  1325. }
  1326. },
  1327. async yongChenggetPolicyPrint() {
  1328. this.policyList = [];
  1329. this.policyList1 = [];
  1330. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1331. companyId: this.companyId,
  1332. riskCode: "0507",
  1333. type: '2', //2:保单
  1334. }); //永诚财险
  1335. if (res.code == '200') {
  1336. this.policyList.push({
  1337. fileTitle: "交强电子保单",
  1338. filename: this.orderInfo.jqpolicyno,
  1339. fileurl: res.data.jqUrl,
  1340. })
  1341. if (res.data.jqFlagUrl) {
  1342. this.policyList1.push({
  1343. fileTitle: "交强电子标志",
  1344. filename: this.orderInfo.jqpolicyno,
  1345. fileurl: res.data.jqFlagUrl,
  1346. })
  1347. }
  1348. }
  1349. if (this.orderInfo.sypolicyno) {
  1350. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1351. companyId: this.companyId,
  1352. riskCode: "0510",
  1353. type: '2', //2:保单
  1354. }); //永诚财险
  1355. if (res.code == '200') {
  1356. this.policyList.push({
  1357. fileTitle: "商业电子保单",
  1358. filename: this.orderInfo.sypolicyno,
  1359. fileurl: res.data.syUrl,
  1360. });
  1361. }
  1362. }
  1363. },
  1364. //爬虫电子保单统一调用
  1365. async pythonprint() {
  1366. if (this.orderInfo.jqpolicyno) {
  1367. let params = {
  1368. subOrderNo: this.companyId,
  1369. };
  1370. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  1371. if (res1.code == '200') {
  1372. this.policyList = [];
  1373. this.policyList1 = [];
  1374. this.policyList.push({
  1375. fileTitle: "交强电子保单",
  1376. filename: this.orderInfo.jqpolicyno,
  1377. fileurl: res1.data.jqxPolicyUrl,
  1378. })
  1379. this.policyList1.push({
  1380. fileTitle: "交强电子标志",
  1381. filename: this.orderInfo.jqpolicyno,
  1382. fileurl: res1.data.jqxFlagUrl,
  1383. })
  1384. if (res1.data.syxPolicyUrl) {
  1385. this.policyList.push({
  1386. fileTitle: "商业电子保单",
  1387. filename: this.orderInfo.sypolicyno,
  1388. fileurl: res1.data.syxPolicyUrl,
  1389. });
  1390. }
  1391. if (res1.data.jyxPolicyUrl) {
  1392. this.policyList.push({
  1393. fileTitle: "驾意险保单",
  1394. filename: 'xxxxxxxxxxxxxxxxxxxxxx',
  1395. fileurl: res1.data.jyxPolicyUrl,
  1396. });
  1397. }
  1398. }
  1399. }
  1400. },
  1401. async ziJingetPolicyPrint() {
  1402. this.policyList = [];
  1403. this.policyList1 = [];
  1404. if (this.orderInfo.jqpolicyno) {
  1405. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1406. companyId: this.companyId,
  1407. riskCode: "0507",
  1408. type: '2', //2:保单
  1409. });
  1410. if (res.code == '200') {
  1411. this.policyList.push({
  1412. fileTitle: "交强电子保单",
  1413. filename: this.orderInfo.jqpolicyno,
  1414. fileurl: res.data,
  1415. })
  1416. }
  1417. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  1418. companyId: this.companyId,
  1419. riskCode: "0507",
  1420. type: '1', //1:标志
  1421. });
  1422. if (res1.code == '200') {
  1423. this.policyList1.push({
  1424. fileTitle: "交强电子标志",
  1425. filename: this.orderInfo.jqpolicyno,
  1426. fileurl: res1.data,
  1427. })
  1428. }
  1429. }
  1430. if (this.orderInfo.sypolicyno) {
  1431. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1432. companyId: this.companyId,
  1433. riskCode: "0510",
  1434. type: '2', //2:标志
  1435. });
  1436. if (res.code == '200') {
  1437. this.policyList.push({
  1438. fileTitle: "商业电子保单",
  1439. filename: this.orderInfo.sypolicyno,
  1440. fileurl: res.data,
  1441. })
  1442. }
  1443. }
  1444. if (this.orderInfo.crossInsurance.length > 0) {
  1445. this.orderInfo.crossInsurance.map(async ele => {
  1446. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1447. companyId: this.companyId,
  1448. policyNumber: ele.policyNumber,
  1449. riskCode: "0513",
  1450. type: '2', //2:保单
  1451. });
  1452. if (res.code == '200') {
  1453. this.policyList.push({
  1454. fileTitle: "驾意险保单",
  1455. filename: ele.policyNumber,
  1456. fileurl: res.data,
  1457. })
  1458. }
  1459. })
  1460. }
  1461. },
  1462. async huaTaigetPolicyPrint() {
  1463. this.policyList = [];
  1464. this.policyList1 = [];
  1465. if (this.orderInfo.jqpolicyno) {
  1466. let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
  1467. companyId: this.companyId,
  1468. riskCode: "0507",
  1469. type: '2', //2:保单
  1470. });
  1471. if (res.code == '200') {
  1472. this.policyList.push({
  1473. fileTitle: "交强电子保单",
  1474. filename: this.orderInfo.jqpolicyno,
  1475. fileurl: res.data,
  1476. })
  1477. }
  1478. let res1 = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
  1479. companyId: this.companyId,
  1480. riskCode: "0507",
  1481. type: '1', //1:标志
  1482. });
  1483. if (res1.code == '200') {
  1484. this.policyList1.push({
  1485. fileTitle: "交强电子标志",
  1486. filename: this.orderInfo.jqpolicyno,
  1487. fileurl: res1.data,
  1488. })
  1489. }
  1490. }
  1491. if (this.orderInfo.sypolicyno) {
  1492. let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
  1493. companyId: this.companyId,
  1494. riskCode: "0510",
  1495. type: '2', //2:标志
  1496. });
  1497. if (res.code == '200') {
  1498. this.policyList.push({
  1499. fileTitle: "商业电子保单",
  1500. filename: this.orderInfo.sypolicyno,
  1501. fileurl: res.data,
  1502. })
  1503. }
  1504. }
  1505. if (this.orderInfo.crossInsurance.length > 0) {
  1506. this.orderInfo.crossInsurance.map(async ele => {
  1507. let res = await this.$http.post(
  1508. '/order/huaTaiApi/getPolicyPrint', {
  1509. companyId: this.companyId,
  1510. policyNumber: ele.policyNumber,
  1511. riskCode: "0513",
  1512. type: '2', //2:保单
  1513. });
  1514. if (res.code == '200') {
  1515. this.policyList.push({
  1516. fileTitle: "驾意险保单",
  1517. filename: ele.policyNumber,
  1518. fileurl: res.data,
  1519. })
  1520. }
  1521. })
  1522. }
  1523. },
  1524. async guoRengetPolicyPrint() {
  1525. this.policyList = [];
  1526. this.policyList1 = [];
  1527. if (this.orderInfo.jqpolicyno) {
  1528. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1529. companyId: this.companyId,
  1530. riskCode: "0507",
  1531. type: '2', //2:保单
  1532. });
  1533. if (res.code == '200') {
  1534. this.policyList.push({
  1535. fileTitle: "交强电子保单",
  1536. filename: this.orderInfo.jqpolicyno,
  1537. fileurl: res.data,
  1538. })
  1539. }
  1540. let res1 = await this.$http.post('/api/guoRen/policyPrint', {
  1541. companyId: this.companyId,
  1542. riskCode: "0507",
  1543. type: '1', //1:标志
  1544. });
  1545. if (res1.code == '200') {
  1546. this.policyList1.push({
  1547. fileTitle: "交强电子标志",
  1548. filename: this.orderInfo.jqpolicyno,
  1549. fileurl: res1.data,
  1550. })
  1551. }
  1552. }
  1553. if (this.orderInfo.sypolicyno) {
  1554. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1555. companyId: this.companyId,
  1556. riskCode: "0510",
  1557. type: '2', //2:标志
  1558. });
  1559. if (res.code == '200') {
  1560. this.policyList.push({
  1561. fileTitle: "商业电子保单",
  1562. filename: this.orderInfo.sypolicyno,
  1563. fileurl: res.data,
  1564. })
  1565. }
  1566. }
  1567. if (this.orderInfo.crossInsurance.length > 0) {
  1568. this.orderInfo.crossInsurance.map(async ele => {
  1569. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1570. companyId: this.companyId,
  1571. policyNumber: ele.policyNumber,
  1572. riskCode: "0513",
  1573. type: '2', //2:保单
  1574. });
  1575. if (res.code == '200') {
  1576. this.policyList.push({
  1577. fileTitle: "驾意险保单",
  1578. filename: ele.policyNumber,
  1579. fileurl: res.data,
  1580. })
  1581. }
  1582. })
  1583. }
  1584. },
  1585. downloadPolicy(file) {
  1586. //#ifdef APP-PLUS
  1587. uni.showLoading({
  1588. title: '文件下载中'
  1589. });
  1590. let index = file.lastIndexOf("\/")
  1591. let name = file.substring(index + 1, file.length)
  1592. let dtask = plus.downloader.createDownload(file, {
  1593. filename: "_downloads/" + name
  1594. }, function(d, status) {
  1595. if (status == 200) {
  1596. uni.hideLoading()
  1597. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  1598. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  1599. plus.runtime.openFile(d.filename); //选择软件打开文件
  1600. } else {
  1601. uni.hideLoading()
  1602. //下载失败
  1603. plus.downloader.clear(); //清除下载任务
  1604. }
  1605. })
  1606. dtask.start();
  1607. // uni.downloadFile({
  1608. // url: file,
  1609. // success(val) {
  1610. // uni.saveFile({
  1611. // tempFilePath: val.tempFilePath, //临时路径
  1612. // success: function(res) {
  1613. // uni.hideLoading();
  1614. // uni.showToast({
  1615. // icon: 'none',
  1616. // mask: true,
  1617. // title: '文件已保存到:' + res.savedFilePath +
  1618. // ',正在打开文件', //保存路径
  1619. // duration: 3000,
  1620. // });
  1621. // setTimeout(() => {
  1622. // //打开文档查看
  1623. // uni.openDocument({
  1624. // filePath: res.savedFilePath,
  1625. // success: function(res) {}
  1626. // });
  1627. // }, 1500)
  1628. // }
  1629. // });
  1630. // }
  1631. // });
  1632. //#endif
  1633. //#ifdef H5
  1634. var win = window.open();
  1635. win.document.write(
  1636. '<body style="margin:0px;"><object data="' +
  1637. file +
  1638. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  1639. file +
  1640. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  1641. );
  1642. //#endif
  1643. },
  1644. //选择缴费方式
  1645. openPayWay() {
  1646. this.navigate({
  1647. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  1648. }, 'navigateTo', true)
  1649. },
  1650. cancelShare() {
  1651. this.$refs.showshare.close()
  1652. },
  1653. //控制详情的展开和收起
  1654. controlShow(type) {
  1655. this[type] = !this[type];
  1656. },
  1657. //撤销核保
  1658. cancelUnderwriting() {
  1659. uni.showModal({
  1660. content: '是否确认撤销核保?',
  1661. success: async (res) => {
  1662. if (res.confirm) {
  1663. let param = {
  1664. "auditid": this.userInfo.sysUser.id, //核保人会员号
  1665. "auditopinion": '', //核保意见
  1666. "jqapplyno": "", //交强险投保单号
  1667. "jqappoint": "", //交强特别约定
  1668. "jqpolicyno": "", //交强保单号
  1669. "orderno": this.orderno, //订单号
  1670. "orderstatus": "0", //订单类型
  1671. "syapplyno": "", //商业险投保单号
  1672. "syappoint": "", //商业险特别约定
  1673. "sypolicyno": "" //商业保单号
  1674. }
  1675. let res = await this.$http.post('/insOrder/saveAudit', param);
  1676. uni.showToast({
  1677. title: '撤销成功',
  1678. icon: "none",
  1679. duration: 2000
  1680. });
  1681. setTimeout(() => {
  1682. this.setOrderStage(0);
  1683. this.setOrderType(0);
  1684. this.navigate({
  1685. url: "/pages/orders/orders"
  1686. }, "switchTab", true);
  1687. }, 2000);
  1688. } else if (res.cancel) {
  1689. console.log('用户点击取消');
  1690. }
  1691. }
  1692. });
  1693. },
  1694. toChinesNum(num) {
  1695. let changeNum = [
  1696. "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
  1697. ];
  1698. let unit = ["", "0", "00", "000", "0000"];
  1699. num = parseInt(num);
  1700. let getWan = temp => {
  1701. let strArr = temp
  1702. .toString()
  1703. .split("")
  1704. .reverse();
  1705. let newNum = "";
  1706. let newArr = [];
  1707. strArr.forEach((item, index) => {
  1708. newArr.unshift(
  1709. item === "0" ? changeNum[item] : changeNum[item] + unit[index]
  1710. );
  1711. });
  1712. let numArr = [];
  1713. newArr.forEach((m, n) => {
  1714. if (m !== "0") numArr.push(n);
  1715. });
  1716. if (newArr.length > 1) {
  1717. newArr.forEach((m, n) => {
  1718. if (newArr[newArr.length - 1] === "0") {
  1719. if (n <= numArr[numArr.length - 1]) {
  1720. newNum += m;
  1721. }
  1722. } else {
  1723. newNum += m;
  1724. }
  1725. });
  1726. } else {
  1727. newNum = newArr[0];
  1728. }
  1729. return newNum;
  1730. };
  1731. let overWan = Math.floor(num / 10000);
  1732. let noWan = num % 10000;
  1733. if (noWan.toString().length < 4) {
  1734. noWan = "0" + noWan;
  1735. }
  1736. return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
  1737. },
  1738. }
  1739. }
  1740. </script>
  1741. <style lang="scss" scoped>
  1742. @import '@/style/mixin.scss';
  1743. /* 头部车辆信息和特权Start */
  1744. .carInfo {
  1745. height: 280upx;
  1746. background: -webkit-linear-gradient(0deg, rgba($themeColor, 0.6), rgba($themeColor, 0.8));
  1747. background-size: 100% 100%;
  1748. }
  1749. .carInfo .topLeft {
  1750. font-size: 90upx;
  1751. color: #FFFFFF;
  1752. }
  1753. .carInfo .topLeft .license {
  1754. width: 420upx;
  1755. overflow: hidden;
  1756. text-overflow: ellipsis;
  1757. white-space: nowrap;
  1758. }
  1759. .carInfo .topLeft .totalMoney {
  1760. font-size: 40upx;
  1761. font-weight: bold;
  1762. }
  1763. .carInfo .topRight {
  1764. flex-shrink: 0;
  1765. width: 140upx;
  1766. color: #FFFFFF;
  1767. }
  1768. .carInfo .topRight image {
  1769. width: 100upx;
  1770. height: 100upx;
  1771. }
  1772. .carInfo .other {
  1773. background-color: #FFFFFF;
  1774. height: 80upx;
  1775. border-radius: 15upx;
  1776. box-sizing: border-box;
  1777. }
  1778. .carInfo .other .privilege {
  1779. background-color: rgba($themeColor, 0.6);
  1780. font-size: 24upx;
  1781. color: #FFFFFF;
  1782. font-weight: bold;
  1783. }
  1784. .carInfo .other .content {
  1785. width: 460upx;
  1786. margin-left: 15upx;
  1787. overflow: hidden;
  1788. text-overflow: ellipsis;
  1789. white-space: nowrap;
  1790. }
  1791. .carInfo .other .icon {
  1792. width: 30upx;
  1793. }
  1794. /* 头部车辆信息和特权End */
  1795. .header {
  1796. height: 80upx;
  1797. padding: 0 30upx;
  1798. position: relative;
  1799. }
  1800. .header .title {
  1801. font-size: 30upx;
  1802. font-weight: bold;
  1803. padding-left: 10upx;
  1804. }
  1805. .welfare {
  1806. margin-bottom: 20upx;
  1807. width: 100%;
  1808. box-sizing: border-box;
  1809. background: #FFFFFF;
  1810. border-radius: 20upx;
  1811. }
  1812. .welfare .body {
  1813. padding: 0 30upx 30upx;
  1814. box-sizing: border-box;
  1815. flex-wrap: wrap;
  1816. }
  1817. .welfare .body>.welfareItem {
  1818. width: 320upx;
  1819. height: 120upx;
  1820. padding: 10upx 20upx;
  1821. margin: 20upx 10upx 0upx;
  1822. border: 1px solid rgba($themeColor, 0.6);
  1823. box-sizing: border-box;
  1824. background: rgba($themeColor, 0.4);
  1825. border-radius: 10upx;
  1826. }
  1827. .welfare .body>.welfareItem .name {
  1828. color: $themeColor;
  1829. font-size: 30upx;
  1830. width: 210upx;
  1831. overflow: hidden;
  1832. text-overflow: ellipsis;
  1833. white-space: nowrap;
  1834. }
  1835. .welfare .body>.welfareItem .content {
  1836. font-size: 24upx;
  1837. width: 260upx;
  1838. overflow: hidden;
  1839. text-overflow: ellipsis;
  1840. white-space: nowrap;
  1841. }
  1842. /* 报价方案Start */
  1843. .quotePlan {
  1844. margin-bottom: 20upx;
  1845. width: 100%;
  1846. box-sizing: border-box;
  1847. background: #FFFFFF;
  1848. border-radius: 20upx;
  1849. }
  1850. .quotePlan .header .adjustPlan {
  1851. color: $themeColor;
  1852. }
  1853. .quotePlan .body {
  1854. padding: 0 40upx 10upx;
  1855. }
  1856. .quotePlan .body .insurance {
  1857. padding-bottom: 20upx;
  1858. border-bottom: 1px dashed #E6E8EA;
  1859. }
  1860. .quotePlan .body .row {
  1861. height: 70upx;
  1862. }
  1863. .quotePlan .body .row .date {
  1864. color: #A4A4A4;
  1865. font-size: 22upx;
  1866. margin-left: 40upx;
  1867. }
  1868. .quotePlan .body .insurance .kindList {
  1869. background: #F3F3F3;
  1870. padding: 0 10upx;
  1871. }
  1872. .addedServices .kindList {
  1873. background: #F3F3F3;
  1874. padding: 0 10upx;
  1875. }
  1876. .quotePlan .body .insurance .kindList .kindItem {
  1877. padding: 2px 0;
  1878. }
  1879. .quotePlan .body .insurance .kindList .kindItem>view {
  1880. font-size: 24upx;
  1881. }
  1882. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  1883. width: 310upx;
  1884. }
  1885. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  1886. width: 170upx;
  1887. }
  1888. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  1889. width: 170upx;
  1890. }
  1891. .addedServices .kindList .kindItem {
  1892. height: 65upx;
  1893. }
  1894. .addedServices .kindList .kindItem>view {
  1895. font-size: 24upx;
  1896. padding: 0upx 15upx;
  1897. }
  1898. /* 报价方案End */
  1899. .car {
  1900. margin-bottom: 20upx;
  1901. width: 100%;
  1902. box-sizing: border-box;
  1903. background: #FFFFFF;
  1904. }
  1905. .car .body {
  1906. padding: 0upx 30upx 10upx;
  1907. }
  1908. .car .body .row {
  1909. padding: 5px;
  1910. border-bottom: 1px solid #F3F3F3;
  1911. }
  1912. /* 预缴费Start */
  1913. .advancePaymentTotal {
  1914. margin-bottom: 20upx;
  1915. width: 100%;
  1916. box-sizing: border-box;
  1917. background: #FFFFFF;
  1918. border-radius: 20upx;
  1919. }
  1920. .advancePaymentTotal .body {
  1921. padding: 0upx 40upx 10upx;
  1922. }
  1923. .advancePaymentTotal .body .row {
  1924. height: 80upx;
  1925. border-bottom: 1px solid #F3F3F3;
  1926. }
  1927. /* 预缴费End */
  1928. /* 底部按钮Start */
  1929. .bottomBtn {
  1930. position: fixed;
  1931. bottom: 0;
  1932. left: 0;
  1933. right: 0;
  1934. border-top: 1px solid #F1F1F1;
  1935. background-color: #FFFFFF;
  1936. height: 90upx;
  1937. }
  1938. .bottomBtn .listener {
  1939. width: 120upx;
  1940. font-size: 20upx;
  1941. line-height: 1.2;
  1942. color: #999;
  1943. }
  1944. .bottomBtn .listener .icon {
  1945. font-size: 40upx;
  1946. padding: 0;
  1947. }
  1948. .bottomBtn .btn {
  1949. font-size: 34upx;
  1950. background-color: $themeColor;
  1951. color: #fff;
  1952. width: 280upx;
  1953. flex-shrink: 0;
  1954. }
  1955. /* 底部按钮End */
  1956. /* 人员信息Start */
  1957. .personInfo,
  1958. .advancePayment,
  1959. .imageInfo,
  1960. .appoint {
  1961. margin-bottom: 20upx;
  1962. background: #FFFFFF;
  1963. padding: 0upx 40upx;
  1964. }
  1965. .personInfo .title,
  1966. .advancePayment .title,
  1967. .imageInfo .title,
  1968. .appoint .title {
  1969. height: 80upx;
  1970. font-size: 32upx;
  1971. box-shadow: inset 0 -3upx 0px #fafafa;
  1972. }
  1973. .showStatus {
  1974. font-size: 26upx;
  1975. color: #007AFF;
  1976. }
  1977. .personInfo .content .row,
  1978. .advancePayment .content .row {
  1979. height: 80upx;
  1980. border-bottom: 1px solid #F9F9F9;
  1981. flex-wrap: nowrap;
  1982. }
  1983. .personInfo .content .row .left,
  1984. .advancePayment .content .row .left {
  1985. width: 170upx;
  1986. flex-shrink: 0;
  1987. font-size: 28upx;
  1988. }
  1989. .appoint .content .row {
  1990. height: auto;
  1991. margin-top: 10upx;
  1992. }
  1993. .appoint .content .row>view {
  1994. width: 240upx;
  1995. flex-shrink: 1;
  1996. font-size: 28upx;
  1997. }
  1998. .appoint .content .row>textarea {
  1999. /* background: #007AFF; */
  2000. padding: 15upx;
  2001. box-sizing: border-box;
  2002. font-size: 26upx;
  2003. min-height: 160upx;
  2004. height: 100upx;
  2005. border: 1px solid #fafafa;
  2006. /* over */
  2007. }
  2008. .personInfo .content .row .right,
  2009. .advancePayment .content .row .right,
  2010. .appoint .content .row .right {
  2011. font-size: 28upx;
  2012. }
  2013. /* 人员信息End */
  2014. .checkButton {
  2015. margin: 0 20upx 0 20upx;
  2016. font-size: 24upx;
  2017. width: 80upx;
  2018. height: 50upx;
  2019. background: $themeColor;
  2020. font-weight: bold;
  2021. color: #FFFFFF;
  2022. border-radius: 5upx;
  2023. }
  2024. .uni-popup__wrapper-box {
  2025. display: block;
  2026. position: relative;
  2027. }
  2028. .uni-share {
  2029. display: flex;
  2030. flex-direction: column;
  2031. background-color: #fff;
  2032. position: fixed;
  2033. bottom: 0;
  2034. left: 0;
  2035. right: 0;
  2036. }
  2037. .uni-share-title {
  2038. line-height: 30px;
  2039. font-size: 12px;
  2040. padding: 7px 0;
  2041. text-align: center;
  2042. }
  2043. .uni-share-content {
  2044. display: flex;
  2045. flex-direction: row;
  2046. flex-wrap: wrap;
  2047. justify-content: center;
  2048. padding: 15px;
  2049. }
  2050. .uni-share-content-box {
  2051. display: flex;
  2052. flex-direction: column;
  2053. align-items: center;
  2054. width: 100px;
  2055. }
  2056. .uni-share-content-image {
  2057. display: flex;
  2058. flex-direction: row;
  2059. justify-content: center;
  2060. align-items: center;
  2061. width: 30px;
  2062. height: 30px;
  2063. overflow: hidden;
  2064. border-radius: 5px;
  2065. }
  2066. .uni-share-content-text {
  2067. font-size: 13px;
  2068. color: #333;
  2069. padding-top: 5px;
  2070. padding-bottom: 10px;
  2071. }
  2072. .uni-share-btn {
  2073. height: 45px;
  2074. line-height: 45px;
  2075. font-size: 14px;
  2076. border-top-color: #f5f5f5;
  2077. border-top-width: 1px;
  2078. border-top-style: solid;
  2079. text-align: center;
  2080. color: #666;
  2081. }
  2082. uni-image>img {
  2083. display: block;
  2084. position: absolute;
  2085. top: 0;
  2086. left: 0;
  2087. opacity: 0;
  2088. }
  2089. uni-image>div,
  2090. uni-image>img {
  2091. width: 100%;
  2092. height: 100%;
  2093. }
  2094. </style>