quoteDetail1.vue 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146
  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. });
  1471. if (res.code == '200') {
  1472. this.policyList = [];
  1473. this.policyList1 = [];
  1474. this.policyList.push({
  1475. fileTitle: "交强电子保单",
  1476. filename: this.orderInfo.jqpolicyno,
  1477. fileurl: res.data.jqxPolicyUrl,
  1478. })
  1479. this.policyList1.push({
  1480. fileTitle: "交强电子标志",
  1481. filename: this.orderInfo.jqpolicyno,
  1482. fileurl: res.data.jqxFlagUrl,
  1483. })
  1484. if (res.data.syxPolicyUrl) {
  1485. this.policyList.push({
  1486. fileTitle: "商业电子保单",
  1487. filename: this.orderInfo.sypolicyno,
  1488. fileurl: res.data.syxPolicyUrl,
  1489. });
  1490. }
  1491. }
  1492. }
  1493. },
  1494. async guoRengetPolicyPrint() {
  1495. this.policyList = [];
  1496. this.policyList1 = [];
  1497. if (this.orderInfo.jqpolicyno) {
  1498. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1499. companyId: this.companyId,
  1500. riskCode: "0507",
  1501. type: '2', //2:保单
  1502. });
  1503. if (res.code == '200') {
  1504. this.policyList.push({
  1505. fileTitle: "交强电子保单",
  1506. filename: this.orderInfo.jqpolicyno,
  1507. fileurl: res.data,
  1508. })
  1509. }
  1510. let res1 = await this.$http.post('/api/guoRen/policyPrint', {
  1511. companyId: this.companyId,
  1512. riskCode: "0507",
  1513. type: '1', //1:标志
  1514. });
  1515. if (res1.code == '200') {
  1516. this.policyList1.push({
  1517. fileTitle: "交强电子标志",
  1518. filename: this.orderInfo.jqpolicyno,
  1519. fileurl: res1.data,
  1520. })
  1521. }
  1522. }
  1523. if (this.orderInfo.sypolicyno) {
  1524. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1525. companyId: this.companyId,
  1526. riskCode: "0510",
  1527. type: '2', //2:标志
  1528. });
  1529. if (res.code == '200') {
  1530. this.policyList.push({
  1531. fileTitle: "商业电子保单",
  1532. filename: this.orderInfo.sypolicyno,
  1533. fileurl: res.data,
  1534. })
  1535. }
  1536. }
  1537. if (this.orderInfo.crossInsurance.length > 0) {
  1538. this.orderInfo.crossInsurance.map(async ele => {
  1539. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1540. companyId: this.companyId,
  1541. policyNumber: ele.policyNumber,
  1542. riskCode: "0513",
  1543. type: '2', //2:保单
  1544. });
  1545. if (res.code == '200') {
  1546. this.policyList.push({
  1547. fileTitle: "驾意险保单",
  1548. filename: ele.policyNumber,
  1549. fileurl: res.data,
  1550. })
  1551. }
  1552. })
  1553. }
  1554. },
  1555. downloadPolicy(file) {
  1556. //#ifdef APP-PLUS
  1557. uni.showLoading({
  1558. title: '文件下载中'
  1559. });
  1560. let index = file.lastIndexOf("\/")
  1561. let licensename = file.substring(index + 1, file.length)
  1562. let dtask = plus.downloader.createDownload(file, {
  1563. filename: "_downloads/" + this.name + '-' + this.insuredPersonInfo.name + '-' + licensename
  1564. }, function(d, status) {
  1565. if (status == 200) {
  1566. uni.hideLoading()
  1567. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  1568. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  1569. plus.runtime.openFile(d.filename); //选择软件打开文件
  1570. } else {
  1571. uni.hideLoading()
  1572. //下载失败
  1573. plus.downloader.clear(); //清除下载任务
  1574. }
  1575. })
  1576. dtask.start();
  1577. //#endif
  1578. //#ifdef H5
  1579. var win = window.open();
  1580. win.document.write(
  1581. '<body style="margin:0px;"><object data="' +
  1582. file +
  1583. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  1584. file +
  1585. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  1586. );
  1587. //#endif
  1588. },
  1589. //选择缴费方式
  1590. openPayWay() {
  1591. this.navigate({
  1592. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  1593. }, 'navigateTo', true)
  1594. },
  1595. cancelShare() {
  1596. this.$refs.showshare.close()
  1597. },
  1598. //控制详情的展开和收起
  1599. controlShow(type) {
  1600. this[type] = !this[type];
  1601. },
  1602. //撤销核保
  1603. cancelUnderwriting() {
  1604. uni.showModal({
  1605. content: '是否确认撤销核保?',
  1606. success: async (res) => {
  1607. if (res.confirm) {
  1608. let param = {
  1609. "auditid": this.userInfo.sysUser.id, //核保人会员号
  1610. "auditopinion": '', //核保意见
  1611. "jqapplyno": "", //交强险投保单号
  1612. "jqappoint": "", //交强特别约定
  1613. "jqpolicyno": "", //交强保单号
  1614. "orderno": this.orderno, //订单号
  1615. "orderstatus": "0", //订单类型
  1616. "syapplyno": "", //商业险投保单号
  1617. "syappoint": "", //商业险特别约定
  1618. "sypolicyno": "" //商业保单号
  1619. }
  1620. let res = await this.$http.post('/insOrder/saveAudit', param);
  1621. uni.showToast({
  1622. title: '撤销成功',
  1623. icon: "none",
  1624. duration: 2000
  1625. });
  1626. setTimeout(() => {
  1627. this.setOrderStage(0);
  1628. this.setOrderType(0);
  1629. this.navigate({
  1630. url: "/pages/orders/orders"
  1631. }, "switchTab", true);
  1632. }, 2000);
  1633. } else if (res.cancel) {
  1634. console.log('用户点击取消');
  1635. }
  1636. }
  1637. });
  1638. },
  1639. toChinesNum(num) {
  1640. let changeNum = [
  1641. "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
  1642. ];
  1643. let unit = ["", "0", "00", "000", "0000"];
  1644. num = parseInt(num);
  1645. let getWan = temp => {
  1646. let strArr = temp
  1647. .toString()
  1648. .split("")
  1649. .reverse();
  1650. let newNum = "";
  1651. let newArr = [];
  1652. strArr.forEach((item, index) => {
  1653. newArr.unshift(
  1654. item === "0" ? changeNum[item] : changeNum[item] + unit[index]
  1655. );
  1656. });
  1657. let numArr = [];
  1658. newArr.forEach((m, n) => {
  1659. if (m !== "0") numArr.push(n);
  1660. });
  1661. if (newArr.length > 1) {
  1662. newArr.forEach((m, n) => {
  1663. if (newArr[newArr.length - 1] === "0") {
  1664. if (n <= numArr[numArr.length - 1]) {
  1665. newNum += m;
  1666. }
  1667. } else {
  1668. newNum += m;
  1669. }
  1670. });
  1671. } else {
  1672. newNum = newArr[0];
  1673. }
  1674. return newNum;
  1675. };
  1676. let overWan = Math.floor(num / 10000);
  1677. let noWan = num % 10000;
  1678. if (noWan.toString().length < 4) {
  1679. noWan = "0" + noWan;
  1680. }
  1681. return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
  1682. },
  1683. }
  1684. }
  1685. </script>
  1686. <style lang="scss" scoped>
  1687. @import '@/style/mixin.scss';
  1688. /* 头部车辆信息和特权Start */
  1689. .carInfo {
  1690. height: 280upx;
  1691. background: -webkit-linear-gradient(0deg, rgba($themeColor, 0.6), rgba($themeColor, 0.8));
  1692. background-size: 100% 100%;
  1693. }
  1694. .carInfo .topLeft {
  1695. font-size: 90upx;
  1696. color: #FFFFFF;
  1697. }
  1698. .carInfo .topLeft .license {
  1699. width: 420upx;
  1700. overflow: hidden;
  1701. text-overflow: ellipsis;
  1702. white-space: nowrap;
  1703. }
  1704. .carInfo .topLeft .totalMoney {
  1705. font-size: 40upx;
  1706. font-weight: bold;
  1707. }
  1708. .carInfo .topRight {
  1709. flex-shrink: 0;
  1710. width: 140upx;
  1711. color: #FFFFFF;
  1712. }
  1713. .carInfo .topRight image {
  1714. width: 100upx;
  1715. height: 100upx;
  1716. }
  1717. .carInfo .other {
  1718. background-color: #FFFFFF;
  1719. height: 80upx;
  1720. border-radius: 15upx;
  1721. box-sizing: border-box;
  1722. }
  1723. .carInfo .other .privilege {
  1724. background-color: rgba($themeColor, 0.6);
  1725. font-size: 24upx;
  1726. color: #FFFFFF;
  1727. font-weight: bold;
  1728. }
  1729. .carInfo .other .content {
  1730. width: 460upx;
  1731. margin-left: 15upx;
  1732. overflow: hidden;
  1733. text-overflow: ellipsis;
  1734. white-space: nowrap;
  1735. }
  1736. .carInfo .other .icon {
  1737. width: 30upx;
  1738. }
  1739. /* 头部车辆信息和特权End */
  1740. .header {
  1741. height: 80upx;
  1742. padding: 0 30upx;
  1743. position: relative;
  1744. }
  1745. .header .title {
  1746. font-size: 30upx;
  1747. font-weight: bold;
  1748. padding-left: 10upx;
  1749. }
  1750. .welfare {
  1751. margin-bottom: 20upx;
  1752. width: 100%;
  1753. box-sizing: border-box;
  1754. background: #FFFFFF;
  1755. border-radius: 20upx;
  1756. }
  1757. .welfare .body {
  1758. padding: 0 30upx 30upx;
  1759. box-sizing: border-box;
  1760. flex-wrap: wrap;
  1761. }
  1762. .welfare .body>.welfareItem {
  1763. width: 320upx;
  1764. height: 120upx;
  1765. padding: 10upx 20upx;
  1766. margin: 20upx 10upx 0upx;
  1767. border: 1px solid rgba($themeColor, 0.6);
  1768. box-sizing: border-box;
  1769. background: rgba($themeColor, 0.4);
  1770. border-radius: 10upx;
  1771. }
  1772. .welfare .body>.welfareItem .name {
  1773. color: $themeColor;
  1774. font-size: 30upx;
  1775. width: 210upx;
  1776. overflow: hidden;
  1777. text-overflow: ellipsis;
  1778. white-space: nowrap;
  1779. }
  1780. .welfare .body>.welfareItem .content {
  1781. font-size: 24upx;
  1782. width: 260upx;
  1783. overflow: hidden;
  1784. text-overflow: ellipsis;
  1785. white-space: nowrap;
  1786. }
  1787. /* 报价方案Start */
  1788. .quotePlan {
  1789. margin-bottom: 20upx;
  1790. width: 100%;
  1791. box-sizing: border-box;
  1792. background: #FFFFFF;
  1793. border-radius: 20upx;
  1794. }
  1795. .quotePlan .header .adjustPlan {
  1796. color: $themeColor;
  1797. }
  1798. .quotePlan .body {
  1799. padding: 0 40upx 10upx;
  1800. }
  1801. .quotePlan .body .insurance {
  1802. padding-bottom: 20upx;
  1803. border-bottom: 1px dashed #E6E8EA;
  1804. }
  1805. .quotePlan .body .row {
  1806. height: 70upx;
  1807. }
  1808. .quotePlan .body .row .date {
  1809. color: #A4A4A4;
  1810. font-size: 22upx;
  1811. margin-left: 40upx;
  1812. }
  1813. .quotePlan .body .insurance .kindList {
  1814. background: #F3F3F3;
  1815. padding: 0 10upx;
  1816. }
  1817. .addedServices .kindList {
  1818. background: #F3F3F3;
  1819. padding: 0 10upx;
  1820. }
  1821. .quotePlan .body .insurance .kindList .kindItem {
  1822. padding: 2px 0;
  1823. }
  1824. .quotePlan .body .insurance .kindList .kindItem>view {
  1825. font-size: 24upx;
  1826. }
  1827. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  1828. width: 310upx;
  1829. }
  1830. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  1831. width: 170upx;
  1832. }
  1833. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  1834. width: 170upx;
  1835. }
  1836. .addedServices .kindList .kindItem {
  1837. height: 65upx;
  1838. }
  1839. .addedServices .kindList .kindItem>view {
  1840. font-size: 24upx;
  1841. padding: 0upx 15upx;
  1842. }
  1843. /* 报价方案End */
  1844. .car {
  1845. margin-bottom: 20upx;
  1846. width: 100%;
  1847. box-sizing: border-box;
  1848. background: #FFFFFF;
  1849. }
  1850. .car .body {
  1851. padding: 0upx 30upx 10upx;
  1852. }
  1853. .car .body .row {
  1854. padding: 5px;
  1855. border-bottom: 1px solid #F3F3F3;
  1856. }
  1857. /* 预缴费Start */
  1858. .advancePaymentTotal {
  1859. margin-bottom: 20upx;
  1860. width: 100%;
  1861. box-sizing: border-box;
  1862. background: #FFFFFF;
  1863. border-radius: 20upx;
  1864. }
  1865. .advancePaymentTotal .body {
  1866. padding: 0upx 40upx 10upx;
  1867. }
  1868. .advancePaymentTotal .body .row {
  1869. height: 80upx;
  1870. border-bottom: 1px solid #F3F3F3;
  1871. }
  1872. /* 预缴费End */
  1873. /* 底部按钮Start */
  1874. .bottomBtn {
  1875. position: fixed;
  1876. bottom: 0;
  1877. left: 0;
  1878. right: 0;
  1879. border-top: 1px solid #F1F1F1;
  1880. background-color: #FFFFFF;
  1881. height: 90upx;
  1882. }
  1883. .bottomBtn .listener {
  1884. width: 120upx;
  1885. font-size: 20upx;
  1886. line-height: 1.2;
  1887. color: #999;
  1888. }
  1889. .bottomBtn .listener .icon {
  1890. font-size: 40upx;
  1891. padding: 0;
  1892. }
  1893. .bottomBtn .btn {
  1894. font-size: 34upx;
  1895. background-color: $themeColor;
  1896. color: #fff;
  1897. width: 280upx;
  1898. flex-shrink: 0;
  1899. }
  1900. /* 底部按钮End */
  1901. /* 人员信息Start */
  1902. .personInfo,
  1903. .advancePayment,
  1904. .imageInfo,
  1905. .appoint {
  1906. margin-bottom: 20upx;
  1907. background: #FFFFFF;
  1908. padding: 0upx 40upx;
  1909. }
  1910. .personInfo .title,
  1911. .advancePayment .title,
  1912. .imageInfo .title,
  1913. .appoint .title {
  1914. height: 80upx;
  1915. font-size: 32upx;
  1916. box-shadow: inset 0 -3upx 0px #fafafa;
  1917. }
  1918. .showStatus {
  1919. font-size: 26upx;
  1920. color: #007AFF;
  1921. }
  1922. .personInfo .content .row,
  1923. .advancePayment .content .row {
  1924. height: 80upx;
  1925. border-bottom: 1px solid #F9F9F9;
  1926. flex-wrap: nowrap;
  1927. }
  1928. .personInfo .content .row .left,
  1929. .advancePayment .content .row .left {
  1930. width: 170upx;
  1931. flex-shrink: 0;
  1932. font-size: 28upx;
  1933. }
  1934. .appoint .content .row {
  1935. height: auto;
  1936. margin-top: 10upx;
  1937. }
  1938. .appoint .content .row>view {
  1939. width: 240upx;
  1940. flex-shrink: 1;
  1941. font-size: 28upx;
  1942. }
  1943. .appoint .content .row>textarea {
  1944. /* background: #007AFF; */
  1945. padding: 15upx;
  1946. box-sizing: border-box;
  1947. font-size: 26upx;
  1948. min-height: 160upx;
  1949. height: 100upx;
  1950. border: 1px solid #fafafa;
  1951. /* over */
  1952. }
  1953. .personInfo .content .row .right,
  1954. .advancePayment .content .row .right,
  1955. .appoint .content .row .right {
  1956. font-size: 28upx;
  1957. }
  1958. /* 人员信息End */
  1959. .checkButton {
  1960. margin: 0 20upx 0 20upx;
  1961. font-size: 24upx;
  1962. width: 80upx;
  1963. height: 50upx;
  1964. background: $themeColor;
  1965. font-weight: bold;
  1966. color: #FFFFFF;
  1967. border-radius: 5upx;
  1968. }
  1969. .uni-popup__wrapper-box {
  1970. display: block;
  1971. position: relative;
  1972. }
  1973. .uni-share {
  1974. display: flex;
  1975. flex-direction: column;
  1976. background-color: #fff;
  1977. position: fixed;
  1978. bottom: 0;
  1979. left: 0;
  1980. right: 0;
  1981. }
  1982. .uni-share-title {
  1983. line-height: 30px;
  1984. font-size: 12px;
  1985. padding: 7px 0;
  1986. text-align: center;
  1987. }
  1988. .uni-share-content {
  1989. display: flex;
  1990. flex-direction: row;
  1991. flex-wrap: wrap;
  1992. justify-content: center;
  1993. padding: 15px;
  1994. }
  1995. .uni-share-content-box {
  1996. display: flex;
  1997. flex-direction: column;
  1998. align-items: center;
  1999. width: 100px;
  2000. }
  2001. .uni-share-content-image {
  2002. display: flex;
  2003. flex-direction: row;
  2004. justify-content: center;
  2005. align-items: center;
  2006. width: 30px;
  2007. height: 30px;
  2008. overflow: hidden;
  2009. border-radius: 5px;
  2010. }
  2011. .uni-share-content-text {
  2012. font-size: 13px;
  2013. color: #333;
  2014. padding-top: 5px;
  2015. padding-bottom: 10px;
  2016. }
  2017. .uni-share-btn {
  2018. height: 45px;
  2019. line-height: 45px;
  2020. font-size: 14px;
  2021. border-top-color: #f5f5f5;
  2022. border-top-width: 1px;
  2023. border-top-style: solid;
  2024. text-align: center;
  2025. color: #666;
  2026. }
  2027. uni-image>img {
  2028. display: block;
  2029. position: absolute;
  2030. top: 0;
  2031. left: 0;
  2032. opacity: 0;
  2033. }
  2034. uni-image>div,
  2035. uni-image>img {
  2036. width: 100%;
  2037. height: 100%;
  2038. }
  2039. </style>