quoteDetail1.vue 61 KB

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