quoteDetail1.vue 60 KB

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