quoteDetail1.vue 60 KB

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