quoteDetail1.vue 61 KB

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