quoteDetail1.vue 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022
  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)">投保</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>{{extendInfo.score}}</view>
  186. </view>
  187. <view class="row d-flex a-center j-sb">
  188. <view>出险信息</view>
  189. <view style="width: 200px;">{{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-for="(item,index) in riskList" :key="index">
  570. <template v-if="item.riskCode == '0510'">
  571. <view class="row d-flex a-center j-sb">
  572. <view class="d-flex a-center">商业险</view>
  573. <view>¥{{sypremium}}</view>
  574. </view>
  575. </template>
  576. </block>
  577. </view>
  578. </view>
  579. </view>
  580. <view style="height: 90upx;"></view>
  581. <template>
  582. <view class="bottomBtn d-flex j-sb">
  583. <view class="d-flex a-center">
  584. <view class="d-flex flex-column a-center j-center listener">
  585. <view style="line-height: 1;" class="icon iconfont icon-xiaomishu"></view>
  586. <view class="font-sm">客服</view>
  587. </view>
  588. <view style="font-weight: bold;font-size: 34upx;color: #333; ">¥{{sumPermium}}</view>
  589. </view>
  590. <template v-if="orderstatus==0">
  591. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">确认核保</view>
  592. </template>
  593. <!-- <template v-if="orderstatus ==5">
  594. <view class="btn d-flex a-center j-center" @tap="cancelUnderwriting">撤销核保</view>
  595. </template> -->
  596. <!-- <template v-if="orderstatus ==2">
  597. <view class="btn d-flex a-center j-center" @tap="openPayWay">申请支付</view>
  598. </template>
  599. <template v-if="orderstatus ==3">
  600. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">下一步</view>
  601. </template> -->
  602. </view>
  603. </template>
  604. <!-- 底部分享弹窗 -->
  605. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  606. </view>
  607. </template>
  608. <script>
  609. import {
  610. mapState,
  611. mapMutations
  612. } from "vuex"
  613. import {
  614. pathToBase64,
  615. base64ToPath
  616. } from '@/common/pdf.js'
  617. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  618. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  619. export default {
  620. components: {
  621. uniPopup,
  622. previewImage
  623. },
  624. computed: {
  625. ...mapState(['userInfo', 'token']),
  626. getHeight() {
  627. let height = uni.getSystemInfoSync().windowHeight;
  628. return `minHeight: ${height}px;`;
  629. }
  630. },
  631. data() {
  632. return {
  633. companyId: "", //订单号
  634. orderInfo: {},
  635. licenseNo: "", //车牌号
  636. icon: "", //保险公司logo
  637. name: "", //保险公司名称
  638. carInfo: {}, //车辆信息
  639. ownerInfo: {}, //车主信息
  640. policyHolderInfo: {}, //投保人信息
  641. insuredPersonInfo: {}, //被保人信息
  642. riskList: [], //险种大类信息
  643. kindList: [], //商业险险别
  644. sumPermium: "", //报价金额
  645. taxAmount: "", //车船税金额
  646. jqpremium: "", //交强险金额
  647. sypremium: "", //商业险金额
  648. feerate: "",
  649. disrate: "",
  650. syappoint: "",
  651. orderstatus: "0", //订单状态
  652. CIStartDate: "", //交强险日期
  653. BIStartDate: "", //商业险日期
  654. showCarInfo: false,
  655. showextendInfo: false,
  656. insureList: [{
  657. amount: "0",
  658. coveragePremium: "",
  659. amtList: [{
  660. "label": "投保",
  661. "value": "1"
  662. }],
  663. kindCode: "A",
  664. isMainRisk: true,
  665. kindName: "机动车损失险"
  666. },
  667. {
  668. amount: "0",
  669. coveragePremium: "",
  670. amtList: [{
  671. "label": "10万",
  672. "value": "100000"
  673. }, {
  674. "label": "15万",
  675. "value": "150000"
  676. }, {
  677. "label": "20万",
  678. "value": "200000"
  679. }, {
  680. "label": "30万",
  681. "value": "300000"
  682. }, {
  683. "label": "50万",
  684. "value": "500000"
  685. }, {
  686. "label": "100万",
  687. "value": "1000000"
  688. }, {
  689. "label": "150万",
  690. "value": "1500000"
  691. }, {
  692. "label": "200万",
  693. "value": "2000000"
  694. }, {
  695. "label": "250万",
  696. "value": "2500000"
  697. }, {
  698. "label": "300万",
  699. "value": "3000000"
  700. }, {
  701. "label": "500万",
  702. "value": "5000000"
  703. }, {
  704. "label": "1000万",
  705. "value": "10000000"
  706. }],
  707. kindCode: "B",
  708. isMainRisk: true,
  709. kindName: "第三者责任险"
  710. },
  711. {
  712. amount: "0",
  713. coveragePremium: "",
  714. amtList: [{
  715. "label": "1万",
  716. "value": "10000"
  717. }, {
  718. "label": "2万",
  719. "value": "20000"
  720. }, {
  721. "label": "5万",
  722. "value": "50000"
  723. }, {
  724. "label": "10万",
  725. "value": "100000"
  726. }, {
  727. "label": "15万",
  728. "value": "150000"
  729. }, {
  730. "label": "20万",
  731. "value": "200000"
  732. }],
  733. kindCode: "D3",
  734. isMainRisk: true,
  735. kindName: "司机责任险"
  736. },
  737. {
  738. amount: "0",
  739. coveragePremium: "",
  740. amtList: [{
  741. "label": "1万",
  742. "value": "10000"
  743. }, {
  744. "label": "2万",
  745. "value": "20000"
  746. }, {
  747. "label": "5万",
  748. "value": "50000"
  749. }, {
  750. "label": "10万",
  751. "value": "100000"
  752. }, {
  753. "label": "15万",
  754. "value": "150000"
  755. }, {
  756. "label": "20万",
  757. "value": "200000"
  758. }],
  759. kindCode: "D4",
  760. isMainRisk: true,
  761. kindName: "乘客责任险"
  762. },
  763. {
  764. amount: "0",
  765. coveragePremium: "",
  766. amtList: [{
  767. "label": "2000",
  768. "value": "2000"
  769. }, {
  770. "label": "5000",
  771. "value": "5000"
  772. }, {
  773. "label": "1万",
  774. "value": "10000"
  775. }],
  776. isMainRisk: false,
  777. kindCode: "L",
  778. kindName: "车身划痕险",
  779. mainRiskCodeList: "A"
  780. },
  781. {
  782. amount: "0",
  783. coveragePremium: "",
  784. amtList: [{
  785. "label": "5%",
  786. "value": "5"
  787. }, {
  788. "label": "10%",
  789. "value": "10"
  790. }, {
  791. "label": "15%",
  792. "value": "15"
  793. }, {
  794. "label": "20%",
  795. "value": "20"
  796. }],
  797. isMainRisk: false,
  798. kindCode: "MJ1",
  799. kindName: "绝对免赔率特约险(车损)",
  800. mainRiskCodeList: "A"
  801. },
  802. {
  803. amount: "0",
  804. coveragePremium: "",
  805. amtList: [{
  806. "label": "5%",
  807. "value": "5"
  808. }, {
  809. "label": "10%",
  810. "value": "10"
  811. }, {
  812. "label": "15%",
  813. "value": "15"
  814. }, {
  815. "label": "20%",
  816. "value": "20"
  817. }],
  818. isMainRisk: false,
  819. kindCode: "MJ2",
  820. kindName: "绝对免赔率特约险(三者)",
  821. mainRiskCodeList: "B"
  822. },
  823. {
  824. amount: "0",
  825. coveragePremium: "",
  826. amtList: [{
  827. "label": "5%",
  828. "value": "5"
  829. }, {
  830. "label": "10%",
  831. "value": "10"
  832. }, {
  833. "label": "15%",
  834. "value": "15"
  835. }, {
  836. "label": "20%",
  837. "value": "20"
  838. }],
  839. isMainRisk: false,
  840. kindCode: "MJ3",
  841. kindName: "绝对免赔率特约险(司机)",
  842. mainRiskCodeList: "D3"
  843. },
  844. {
  845. amount: "0",
  846. coveragePremium: "",
  847. amtList: [{
  848. "label": "5%",
  849. "value": "5"
  850. }, {
  851. "label": "10%",
  852. "value": "10"
  853. }, {
  854. "label": "15%",
  855. "value": "15"
  856. }, {
  857. "label": "20%",
  858. "value": "20"
  859. }],
  860. isMainRisk: false,
  861. kindCode: "MJ4",
  862. kindName: "绝对免赔率特约险(乘客)",
  863. mainRiskCodeList: "D4"
  864. },
  865. {
  866. amount: "0",
  867. coveragePremium: "",
  868. amtList: [{
  869. "label": "投保",
  870. "value": "1"
  871. }],
  872. isMainRisk: false,
  873. kindCode: "BD",
  874. kindName: "法定节假日限额翻倍险",
  875. mainRiskCodeList: "B"
  876. },
  877. {
  878. amount: "0",
  879. amountDesc: "不投保",
  880. coveragePremium: "",
  881. amtList: [{
  882. label: "不投保",
  883. value: "0"
  884. },
  885. {
  886. label: "1万",
  887. value: "10000"
  888. },
  889. {
  890. label: "2万",
  891. value: "20000"
  892. },
  893. {
  894. label: "5万",
  895. value: "50000"
  896. },
  897. {
  898. label: "10万",
  899. value: "100000"
  900. }
  901. ],
  902. kindCode: "SY_FJ_YBW1",
  903. isMainRisk: false,
  904. kindName: "附加医保-三者",
  905. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  906. },
  907. {
  908. amount: "0",
  909. amountDesc: "不投保",
  910. coveragePremium: 0,
  911. amtList: [{
  912. label: "不投保",
  913. value: "0"
  914. },
  915. {
  916. label: "1万",
  917. value: "10000"
  918. },
  919. {
  920. label: "2万",
  921. value: "20000"
  922. },
  923. {
  924. label: "5万",
  925. value: "50000"
  926. },
  927. {
  928. label: "10万",
  929. value: "100000"
  930. }
  931. ],
  932. kindCode: "SY_FJ_YBW2",
  933. isMainRisk: false,
  934. kindName: "附加医保-座位险(乘客)",
  935. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  936. },
  937. {
  938. amount: "0",
  939. amountDesc: "不投保",
  940. coveragePremium: 0,
  941. amtList: [{
  942. label: "不投保",
  943. value: "0"
  944. },
  945. {
  946. label: "1万",
  947. value: "10000"
  948. },
  949. {
  950. label: "2万",
  951. value: "20000"
  952. },
  953. {
  954. label: "5万",
  955. value: "50000"
  956. },
  957. {
  958. label: "10万",
  959. value: "100000"
  960. }
  961. ],
  962. kindCode: "SY_FJ_YBW3",
  963. isMainRisk: false,
  964. kindName: "附加医保-座位险(司机)",
  965. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  966. },
  967. ],
  968. bottomData: [
  969. // #ifdef APP-PLUS
  970. {
  971. text: '微信好友',
  972. icon: '/static/image/share/weixinhaoyou.png',
  973. name: 'wx'
  974. },
  975. {
  976. text: '短信发送',
  977. icon: '/static/image/share/shortMessage.png',
  978. name: 'dx'
  979. },
  980. // #endif
  981. {
  982. text: '报价单',
  983. icon: '/static/image/share/shortMessage.png',
  984. name: 'bjd'
  985. }
  986. ],
  987. vehicleModel: {}, //车型信息
  988. showOwerInfo: false, //展示车主信息
  989. showPolicyHolderInfo: false, //展示投保人信息
  990. showInsuredPersonInfo: false, //展示被保人信息
  991. showProposalWay: false, //获取保单方式
  992. showAdvancePayment: false, //展示保费
  993. showAppoint: false, //展示特约
  994. showDistribution: false, //展示快递
  995. showApplyno: false, //展示投保单号
  996. showPolicyno: false, //展示保单号
  997. showPolicyFile: false, //展示电子保单
  998. showPolicybzFile: false, //展示电子保单
  999. policyList: [], //电子保单文件
  1000. policyList1: [], //电子标志文件
  1001. showCarImageInfo: false, //显示车辆影像
  1002. carImageList: [],
  1003. showOwnerImageInfo: false, //显示车主影像
  1004. ownerImageList: [],
  1005. showPolicyImageInfo: false, //显示投保人影像
  1006. policyImageList: [],
  1007. showInsuredImageInfo: false, //显示被保人影像
  1008. insuredImageList: [],
  1009. showCarCheckImageInfo: false, //显示验车照影像
  1010. carCheckImageList: [],
  1011. previewImgs: [],
  1012. dianzibaodan: "",
  1013. jypremium: "",
  1014. quoteno: "",
  1015. extendInfo: {},
  1016. }
  1017. },
  1018. // 监听导航栏的按钮
  1019. onNavigationBarButtonTap(e) {
  1020. if (e.index == 0) {
  1021. this.$refs.showshare.open()
  1022. }
  1023. },
  1024. async onLoad(params) {
  1025. if (!this.token) {
  1026. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1027. }
  1028. if (!!params.companyId) {
  1029. this.companyId = params.companyId;
  1030. let param = {
  1031. companyId: params.companyId
  1032. };
  1033. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1034. if (res.code == 200) {
  1035. //获取前一个页面传过来的信息(车辆信息,人员信息,险种信息)
  1036. this.icon = "";
  1037. this.quoteno = res.data.quoteno;
  1038. this.name = res.data.inscompany;
  1039. this.carInfo = res.data.carinfo;
  1040. this.extendInfo = res.data.extendInfo;
  1041. this.licenseNo = res.data.licenseno;
  1042. if (!!this.carInfo.transferFlag) {
  1043. this.carInfo.transferFlag = 1;
  1044. } else {
  1045. this.carInfo.transferFlag = 0;
  1046. }
  1047. if (!!this.carInfo.loanStatus) {
  1048. this.carInfo.loanStatus = 1;
  1049. } else {
  1050. this.carInfo.loanStatus = 0;
  1051. }
  1052. if (!!this.carInfo.registerDate) {
  1053. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1054. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1055. if (month1 < 10) {
  1056. month1 = '0' + month1;
  1057. }
  1058. let day1 = new Date(this.carInfo.registerDate).getDate()
  1059. if (day1 < 10) {
  1060. day1 = '0' + day1;
  1061. }
  1062. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1063. }
  1064. if (!!this.carInfo.issueDate) {
  1065. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1066. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1067. if (month2 < 10) {
  1068. month2 = '0' + month2;
  1069. }
  1070. let day2 = new Date(this.carInfo.issueDate).getDate()
  1071. if (day2 < 10) {
  1072. day2 = '0' + day2;
  1073. }
  1074. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1075. }
  1076. if (!!this.carInfo.transferDate) {
  1077. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1078. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1079. if (month3 < 10) {
  1080. month3 = '0' + month3;
  1081. }
  1082. let day3 = new Date(this.carInfo.transferDate).getDate()
  1083. if (day3 < 10) {
  1084. day3 = '0' + day3;
  1085. }
  1086. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1087. }
  1088. this.ownerInfo = res.data.ownerinfo;
  1089. this.policyHolderInfo = res.data.applyinfo;
  1090. this.insuredPersonInfo = res.data.insureinfo;
  1091. this.riskList = res.data.riskinfo;
  1092. this.kindList = res.data.kindinfo;
  1093. this.sumPermium = res.data.sumpremium;
  1094. this.taxAmount = res.data.taxamount;
  1095. this.sypremium = res.data.sypremium;
  1096. this.jqpremium = res.data.jqpremium;
  1097. this.jypremium = res.data.jypremium;
  1098. this.orderstatus = res.data.orderstatus;
  1099. this.feerate = res.data.feerate;
  1100. this.disrate = res.data.disrate;
  1101. this.jqdiscountrate = res.data.jqdiscountrate;
  1102. this.sydiscountrate = res.data.sydiscountrate;
  1103. this.syappoint = res.data.syappoint;
  1104. this.orderInfo = {};
  1105. Object.assign(this.orderInfo, res.data)
  1106. this.imageEcho(this.quoteno) // 影像获取完毕
  1107. switch (this.name) {
  1108. case "永安财险":
  1109. this.yonganprint(); //电子保单
  1110. break;
  1111. case "中煤财险":
  1112. this.zmgetPolicyPrint(); //电子保单
  1113. break;
  1114. case "恒邦财险":
  1115. case "安盛天平":
  1116. case "众安财险":
  1117. case "中国人寿":
  1118. this.pythonprint(); //电子保单
  1119. break;
  1120. case "永诚财险":
  1121. this.ycgetPolicyPrint(); //电子保单
  1122. break;
  1123. case "紫金财险":
  1124. this.zjgetPolicyPrint(); //电子保单
  1125. break;
  1126. }
  1127. }
  1128. } else {
  1129. uni.showModal({
  1130. showCancel: false,
  1131. title: "未查询到该订单"
  1132. })
  1133. }
  1134. },
  1135. methods: {
  1136. ...mapMutations(['setOrderStage', 'setOrderType']),
  1137. //影像查询
  1138. async imageEcho(quotenos) {
  1139. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1140. if (imgres.code == "200") {
  1141. Object.keys(imgres.data).forEach((keys) => {
  1142. if (imgres.data[keys].url) {
  1143. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1144. switch (keys) {
  1145. case 'C01':
  1146. case 'D01':
  1147. this.carImageList.push(imgres.data[keys]);
  1148. break;
  1149. case 'C02':
  1150. case 'D02':
  1151. this.ownerImageList.push(imgres.data[keys]);
  1152. break;
  1153. case 'C03':
  1154. case 'D03':
  1155. this.policyImageList.push(imgres.data[keys]);
  1156. break;
  1157. case 'C04':
  1158. case 'D04':
  1159. this.insuredImageList.push(imgres.data[keys]);
  1160. break;
  1161. default:
  1162. break;
  1163. }
  1164. }
  1165. });
  1166. }
  1167. },
  1168. //去选择险种页面
  1169. toInsureItems() {
  1170. this.navigate({
  1171. url: '/pages/carInsure1/insureItems1',
  1172. success: (res) => {
  1173. res.eventChannel.emit("acceptData", {
  1174. carInfo: this.carInfo,
  1175. ownerInfo: this.ownerInfo,
  1176. policyHolderInfo: this.policyHolderInfo,
  1177. insuredPersonInfo: this.insuredPersonInfo,
  1178. riskList: this.riskList,
  1179. kindList: this.kindList
  1180. })
  1181. }
  1182. }, "navigateTo", true);
  1183. },
  1184. //去确认核保页面
  1185. toUnderwriting() {
  1186. this.navigate({
  1187. url: "/pages/carInsure1/underwriting1?companyId=" + this.companyId
  1188. },
  1189. "navigateTo", true);
  1190. },
  1191. //影像预览
  1192. previewImage(e, type) {
  1193. this.previewImgs = this[type + 'ImageList'];
  1194. var current = e.currentTarget.dataset.src;
  1195. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  1196. },
  1197. //查询电子保单
  1198. async yonganprint() {
  1199. this.policyList = [];
  1200. this.policyList1 = [];
  1201. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  1202. companyId: this.companyId,
  1203. policytype: "jq"
  1204. }); //永安
  1205. if (res.data) {
  1206. let result = res.data.replace(/[\r\n]/g, "");
  1207. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1208. base64ToPath(pdfBase64)
  1209. .then(path => {
  1210. this.policyList.push({
  1211. fileTitle: "交强电子保单",
  1212. filename: this.orderInfo.jqpolicyno,
  1213. fileurl: path,
  1214. })
  1215. })
  1216. }
  1217. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1218. companyId: this.companyId,
  1219. policytype: "jq"
  1220. }); //永安
  1221. if (res1.data) {
  1222. let result = res1.data.replace(/[\r\n]/g, "");
  1223. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1224. base64ToPath(pdfBase64)
  1225. .then(path => {
  1226. this.policyList1.push({
  1227. fileTitle: "交强电子标志",
  1228. filename: this.orderInfo.jqpolicyno,
  1229. fileurl: path,
  1230. })
  1231. })
  1232. }
  1233. if (this.orderInfo.sypolicyno) {
  1234. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1235. companyId: this.companyId,
  1236. policytype: "sy"
  1237. }); //永安
  1238. if (res2.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.policyList.push({
  1244. fileTitle: "商业电子保单",
  1245. filename: this.orderInfo.sypolicyno,
  1246. fileurl: path,
  1247. })
  1248. })
  1249. }
  1250. }
  1251. },
  1252. async zmgetPolicyPrint() {
  1253. this.policyList = [];
  1254. this.policyList1 = [];
  1255. if (this.orderInfo.jqpolicyno) {
  1256. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1257. companyId: this.companyId,
  1258. riskCode: "0507",
  1259. type: '2', //2:保单
  1260. });
  1261. if (res.code == '200') {
  1262. this.policyList.push({
  1263. fileTitle: "交强电子保单",
  1264. filename: this.orderInfo.jqpolicyno,
  1265. fileurl: res.data[0],
  1266. })
  1267. }
  1268. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1269. companyId: this.companyId,
  1270. riskCode: "0507",
  1271. type: '1', //1:标志
  1272. });
  1273. if (res1.code == '200') {
  1274. this.policyList1.push({
  1275. fileTitle: "交强电子标志",
  1276. filename: this.orderInfo.jqpolicyno,
  1277. fileurl: res.data[0],
  1278. })
  1279. }
  1280. }
  1281. if (this.orderInfo.sypolicyno) {
  1282. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1283. companyId: this.companyId,
  1284. riskCode: "0510",
  1285. type: '2', //2:标志
  1286. });
  1287. if (res.code == '200') {
  1288. this.policyList.push({
  1289. fileTitle: "商业电子保单",
  1290. filename: this.orderInfo.sypolicyno,
  1291. fileurl: res.data[0],
  1292. })
  1293. }
  1294. }
  1295. },
  1296. async ycgetPolicyPrint() {
  1297. this.policyList = [];
  1298. this.policyList1 = [];
  1299. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1300. companyId: this.companyId,
  1301. riskCode: "0507",
  1302. type: '2', //2:保单
  1303. }); //永诚财险
  1304. if (res.code == '200') {
  1305. this.policyList.push({
  1306. fileTitle: "交强电子保单",
  1307. filename: this.orderInfo.jqpolicyno,
  1308. fileurl: res.data.jqUrl,
  1309. })
  1310. if (res.data.jqFlagUrl) {
  1311. this.policyList1.push({
  1312. fileTitle: "交强电子标志",
  1313. filename: this.orderInfo.jqpolicyno,
  1314. fileurl: res.data.jqFlagUrl,
  1315. })
  1316. }
  1317. }
  1318. if (this.orderInfo.sypolicyno) {
  1319. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1320. companyId: this.companyId,
  1321. riskCode: "0510",
  1322. type: '2', //2:保单
  1323. }); //永诚财险
  1324. if (res.code == '200') {
  1325. this.policyList.push({
  1326. fileTitle: "商业电子保单",
  1327. filename: this.orderInfo.sypolicyno,
  1328. fileurl: res.data.syUrl,
  1329. });
  1330. }
  1331. }
  1332. },
  1333. //爬虫电子保单统一调用
  1334. async pythonprint() {
  1335. let params = {
  1336. subOrderNo: this.companyId,
  1337. };
  1338. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  1339. if (res1.code == '200') {
  1340. this.policyList = [];
  1341. this.policyList1 = [];
  1342. this.policyList.push({
  1343. fileTitle: "交强电子保单",
  1344. filename: this.orderInfo.jqpolicyno,
  1345. fileurl: res1.data.jqxPolicyUrl,
  1346. })
  1347. this.policyList1.push({
  1348. fileTitle: "交强电子标志",
  1349. filename: this.orderInfo.jqpolicyno,
  1350. fileurl: res1.data.jqxFlagUrl,
  1351. })
  1352. if (res.data.syxPolicyUrl) {
  1353. this.policyList.push({
  1354. fileTitle: "商业电子保单",
  1355. filename: this.orderInfo.sypolicyno,
  1356. fileurl: res1.data.syxPolicyUrl,
  1357. });
  1358. }
  1359. if (res.data.jyxPolicyUrl) {
  1360. this.policyList.push({
  1361. fileTitle: "驾意险保单",
  1362. filename: 'xxxxxxxxxxxxxxxxxxxxxx',
  1363. fileurl: res1.data.jyxPolicyUrl,
  1364. });
  1365. }
  1366. }
  1367. },
  1368. async zjgetPolicyPrint() {
  1369. this.policyList = [];
  1370. this.policyList1 = [];
  1371. if (this.orderInfo.jqpolicyno) {
  1372. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1373. companyId: this.companyId,
  1374. riskCode: "0507",
  1375. type: '2', //2:保单
  1376. });
  1377. if (res.code == '200') {
  1378. this.policyList.push({
  1379. fileTitle: "交强电子保单",
  1380. filename: this.orderInfo.jqpolicyno,
  1381. fileurl: res.data,
  1382. })
  1383. }
  1384. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  1385. companyId: this.companyId,
  1386. riskCode: "0507",
  1387. type: '1', //1:标志
  1388. });
  1389. if (res1.code == '200') {
  1390. this.policyList1.push({
  1391. fileTitle: "交强电子标志",
  1392. filename: this.orderInfo.jqpolicyno,
  1393. fileurl: res1.data,
  1394. })
  1395. }
  1396. }
  1397. if (this.orderInfo.sypolicyno) {
  1398. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1399. companyId: this.companyId,
  1400. riskCode: "0510",
  1401. type: '2', //2:标志
  1402. });
  1403. if (res.code == '200') {
  1404. this.policyList.push({
  1405. fileTitle: "商业电子保单",
  1406. filename: this.orderInfo.sypolicyno,
  1407. fileurl: res.data,
  1408. })
  1409. }
  1410. }
  1411. if (this.orderInfo.crossInsurance.length > 0) {
  1412. this.orderInfo.crossInsurance.map(async ele => {
  1413. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1414. companyId: this.companyId,
  1415. policyNumber: ele.policyNumber,
  1416. riskCode: "0513",
  1417. type: '2', //2:保单
  1418. });
  1419. if (res.code == '200') {
  1420. this.policyList.push({
  1421. fileTitle: "驾意险保单",
  1422. filename: ele.policyNumber,
  1423. fileurl: res.data,
  1424. })
  1425. }
  1426. })
  1427. }
  1428. },
  1429. downloadPolicy(file) {
  1430. //#ifdef APP-PLUS
  1431. uni.showLoading({
  1432. title: '文件下载中'
  1433. });
  1434. uni.downloadFile({
  1435. url: file,
  1436. success(val) {
  1437. uni.saveFile({
  1438. tempFilePath: val.tempFilePath, //临时路径
  1439. success: function(res) {
  1440. uni.hideLoading();
  1441. uni.showToast({
  1442. icon: 'none',
  1443. mask: true,
  1444. title: '文件已保存到:' + res.savedFilePath +
  1445. ',正在打开文件', //保存路径
  1446. duration: 3000,
  1447. });
  1448. setTimeout(() => {
  1449. //打开文档查看
  1450. uni.openDocument({
  1451. filePath: res.savedFilePath,
  1452. success: function(res) {}
  1453. });
  1454. }, 1500)
  1455. }
  1456. });
  1457. }
  1458. });
  1459. //#endif
  1460. //#ifdef H5
  1461. var win = window.open();
  1462. win.document.write(
  1463. '<body style="margin:0px;"><object data="' +
  1464. file +
  1465. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  1466. file +
  1467. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  1468. );
  1469. //#endif
  1470. },
  1471. //选择缴费方式
  1472. openPayWay() {
  1473. this.navigate({
  1474. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  1475. }, 'navigateTo', true)
  1476. },
  1477. cancelShare() {
  1478. this.$refs.showshare.close()
  1479. },
  1480. //控制详情的展开和收起
  1481. controlShow(type) {
  1482. this[type] = !this[type];
  1483. },
  1484. //撤销核保
  1485. cancelUnderwriting() {
  1486. uni.showModal({
  1487. content: '是否确认撤销核保?',
  1488. success: async (res) => {
  1489. if (res.confirm) {
  1490. let param = {
  1491. "auditid": this.userInfo.sysUser.id, //核保人会员号
  1492. "auditopinion": '', //核保意见
  1493. "jqapplyno": "", //交强险投保单号
  1494. "jqappoint": "", //交强特别约定
  1495. "jqpolicyno": "", //交强保单号
  1496. "orderno": this.orderno, //订单号
  1497. "orderstatus": "0", //订单类型
  1498. "syapplyno": "", //商业险投保单号
  1499. "syappoint": "", //商业险特别约定
  1500. "sypolicyno": "" //商业保单号
  1501. }
  1502. let res = await this.$http.post('/insOrder/saveAudit', param);
  1503. uni.showToast({
  1504. title: '撤销成功',
  1505. icon: "none",
  1506. duration: 2000
  1507. });
  1508. setTimeout(() => {
  1509. this.setOrderStage(0);
  1510. this.setOrderType(0);
  1511. this.navigate({
  1512. url: "/pages/orders/orders"
  1513. }, "switchTab", true);
  1514. }, 2000);
  1515. } else if (res.cancel) {
  1516. console.log('用户点击取消');
  1517. }
  1518. }
  1519. });
  1520. },
  1521. toChinesNum(num) {
  1522. let changeNum = [
  1523. "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
  1524. ];
  1525. let unit = ["", "0", "00", "000", "0000"];
  1526. num = parseInt(num);
  1527. let getWan = temp => {
  1528. let strArr = temp
  1529. .toString()
  1530. .split("")
  1531. .reverse();
  1532. let newNum = "";
  1533. let newArr = [];
  1534. strArr.forEach((item, index) => {
  1535. newArr.unshift(
  1536. item === "0" ? changeNum[item] : changeNum[item] + unit[index]
  1537. );
  1538. });
  1539. let numArr = [];
  1540. newArr.forEach((m, n) => {
  1541. if (m !== "0") numArr.push(n);
  1542. });
  1543. if (newArr.length > 1) {
  1544. newArr.forEach((m, n) => {
  1545. if (newArr[newArr.length - 1] === "0") {
  1546. if (n <= numArr[numArr.length - 1]) {
  1547. newNum += m;
  1548. }
  1549. } else {
  1550. newNum += m;
  1551. }
  1552. });
  1553. } else {
  1554. newNum = newArr[0];
  1555. }
  1556. return newNum;
  1557. };
  1558. let overWan = Math.floor(num / 10000);
  1559. let noWan = num % 10000;
  1560. if (noWan.toString().length < 4) {
  1561. noWan = "0" + noWan;
  1562. }
  1563. return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
  1564. },
  1565. }
  1566. }
  1567. </script>
  1568. <style lang="scss" scoped>
  1569. @import '@/style/mixin.scss';
  1570. /* 头部车辆信息和特权Start */
  1571. .carInfo {
  1572. height: 280upx;
  1573. background: -webkit-linear-gradient(0deg, rgba($themeColor, 0.6), rgba($themeColor, 0.8));
  1574. background-size: 100% 100%;
  1575. }
  1576. .carInfo .topLeft {
  1577. font-size: 90upx;
  1578. color: #FFFFFF;
  1579. }
  1580. .carInfo .topLeft .license {
  1581. width: 420upx;
  1582. overflow: hidden;
  1583. text-overflow: ellipsis;
  1584. white-space: nowrap;
  1585. }
  1586. .carInfo .topLeft .totalMoney {
  1587. font-size: 40upx;
  1588. font-weight: bold;
  1589. }
  1590. .carInfo .topRight {
  1591. flex-shrink: 0;
  1592. width: 140upx;
  1593. color: #FFFFFF;
  1594. }
  1595. .carInfo .topRight image {
  1596. width: 100upx;
  1597. height: 100upx;
  1598. }
  1599. .carInfo .other {
  1600. background-color: #FFFFFF;
  1601. height: 80upx;
  1602. border-radius: 15upx;
  1603. box-sizing: border-box;
  1604. }
  1605. .carInfo .other .privilege {
  1606. background-color: rgba($themeColor, 0.6);
  1607. font-size: 24upx;
  1608. color: #FFFFFF;
  1609. font-weight: bold;
  1610. }
  1611. .carInfo .other .content {
  1612. width: 460upx;
  1613. margin-left: 15upx;
  1614. overflow: hidden;
  1615. text-overflow: ellipsis;
  1616. white-space: nowrap;
  1617. }
  1618. .carInfo .other .icon {
  1619. width: 30upx;
  1620. }
  1621. /* 头部车辆信息和特权End */
  1622. .header {
  1623. height: 80upx;
  1624. padding: 0 30upx;
  1625. position: relative;
  1626. }
  1627. .header .title {
  1628. font-size: 30upx;
  1629. font-weight: bold;
  1630. padding-left: 10upx;
  1631. }
  1632. .welfare {
  1633. margin-bottom: 20upx;
  1634. width: 100%;
  1635. box-sizing: border-box;
  1636. background: #FFFFFF;
  1637. border-radius: 20upx;
  1638. }
  1639. .welfare .body {
  1640. padding: 0 30upx 30upx;
  1641. box-sizing: border-box;
  1642. flex-wrap: wrap;
  1643. }
  1644. .welfare .body>.welfareItem {
  1645. width: 320upx;
  1646. height: 120upx;
  1647. padding: 10upx 20upx;
  1648. margin: 20upx 10upx 0upx;
  1649. border: 1px solid rgba($themeColor, 0.6);
  1650. box-sizing: border-box;
  1651. background: rgba($themeColor, 0.4);
  1652. border-radius: 10upx;
  1653. }
  1654. .welfare .body>.welfareItem .name {
  1655. color: $themeColor;
  1656. font-size: 30upx;
  1657. width: 210upx;
  1658. overflow: hidden;
  1659. text-overflow: ellipsis;
  1660. white-space: nowrap;
  1661. }
  1662. .welfare .body>.welfareItem .content {
  1663. font-size: 24upx;
  1664. width: 260upx;
  1665. overflow: hidden;
  1666. text-overflow: ellipsis;
  1667. white-space: nowrap;
  1668. }
  1669. /* 报价方案Start */
  1670. .quotePlan {
  1671. margin-bottom: 20upx;
  1672. width: 100%;
  1673. box-sizing: border-box;
  1674. background: #FFFFFF;
  1675. border-radius: 20upx;
  1676. }
  1677. .quotePlan .header .adjustPlan {
  1678. color: $themeColor;
  1679. }
  1680. .quotePlan .body {
  1681. padding: 0 40upx 10upx;
  1682. }
  1683. .quotePlan .body .insurance {
  1684. padding-bottom: 20upx;
  1685. border-bottom: 1px dashed #E6E8EA;
  1686. }
  1687. .quotePlan .body .row {
  1688. height: 70upx;
  1689. }
  1690. .quotePlan .body .row .date {
  1691. color: #A4A4A4;
  1692. font-size: 22upx;
  1693. margin-left: 40upx;
  1694. }
  1695. .quotePlan .body .insurance .kindList {
  1696. background: #F3F3F3;
  1697. padding: 0 10upx;
  1698. }
  1699. .addedServices .kindList {
  1700. background: #F3F3F3;
  1701. padding: 0 10upx;
  1702. }
  1703. .quotePlan .body .insurance .kindList .kindItem {
  1704. padding: 2px 0;
  1705. }
  1706. .quotePlan .body .insurance .kindList .kindItem>view {
  1707. font-size: 24upx;
  1708. }
  1709. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  1710. width: 310upx;
  1711. }
  1712. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  1713. width: 170upx;
  1714. }
  1715. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  1716. width: 170upx;
  1717. }
  1718. .addedServices .kindList .kindItem {
  1719. height: 65upx;
  1720. }
  1721. .addedServices .kindList .kindItem>view {
  1722. font-size: 24upx;
  1723. padding: 0upx 15upx;
  1724. }
  1725. /* 报价方案End */
  1726. .car {
  1727. margin-bottom: 20upx;
  1728. width: 100%;
  1729. box-sizing: border-box;
  1730. background: #FFFFFF;
  1731. }
  1732. .car .body {
  1733. padding: 0upx 30upx 10upx;
  1734. }
  1735. .car .body .row {
  1736. padding: 5px 0;
  1737. border-bottom: 1px solid #F3F3F3;
  1738. }
  1739. /* 预缴费Start */
  1740. .advancePaymentTotal {
  1741. margin-bottom: 20upx;
  1742. width: 100%;
  1743. box-sizing: border-box;
  1744. background: #FFFFFF;
  1745. border-radius: 20upx;
  1746. }
  1747. .advancePaymentTotal .body {
  1748. padding: 0upx 40upx 10upx;
  1749. }
  1750. .advancePaymentTotal .body .row {
  1751. height: 80upx;
  1752. border-bottom: 1px solid #F3F3F3;
  1753. }
  1754. /* 预缴费End */
  1755. /* 底部按钮Start */
  1756. .bottomBtn {
  1757. position: fixed;
  1758. bottom: 0;
  1759. left: 0;
  1760. right: 0;
  1761. border-top: 1px solid #F1F1F1;
  1762. background-color: #FFFFFF;
  1763. height: 90upx;
  1764. }
  1765. .bottomBtn .listener {
  1766. width: 120upx;
  1767. font-size: 20upx;
  1768. line-height: 1.2;
  1769. color: #999;
  1770. }
  1771. .bottomBtn .listener .icon {
  1772. font-size: 40upx;
  1773. padding: 0;
  1774. }
  1775. .bottomBtn .btn {
  1776. font-size: 34upx;
  1777. background-color: $themeColor;
  1778. color: #fff;
  1779. width: 280upx;
  1780. flex-shrink: 0;
  1781. }
  1782. /* 底部按钮End */
  1783. /* 人员信息Start */
  1784. .personInfo,
  1785. .advancePayment,
  1786. .imageInfo,
  1787. .appoint {
  1788. margin-bottom: 20upx;
  1789. background: #FFFFFF;
  1790. padding: 0upx 40upx;
  1791. }
  1792. .personInfo .title,
  1793. .advancePayment .title,
  1794. .imageInfo .title,
  1795. .appoint .title {
  1796. height: 80upx;
  1797. font-size: 32upx;
  1798. box-shadow: inset 0 -3upx 0px #fafafa;
  1799. }
  1800. .showStatus {
  1801. font-size: 26upx;
  1802. color: #007AFF;
  1803. }
  1804. .personInfo .content .row,
  1805. .advancePayment .content .row {
  1806. height: 80upx;
  1807. border-bottom: 1px solid #F9F9F9;
  1808. flex-wrap: nowrap;
  1809. }
  1810. .personInfo .content .row .left,
  1811. .advancePayment .content .row .left {
  1812. width: 170upx;
  1813. flex-shrink: 0;
  1814. font-size: 28upx;
  1815. }
  1816. .appoint .content .row {
  1817. height: auto;
  1818. margin-top: 10upx;
  1819. }
  1820. .appoint .content .row>view {
  1821. width: 240upx;
  1822. flex-shrink: 1;
  1823. font-size: 28upx;
  1824. }
  1825. .appoint .content .row>textarea {
  1826. /* background: #007AFF; */
  1827. padding: 15upx;
  1828. box-sizing: border-box;
  1829. font-size: 26upx;
  1830. min-height: 160upx;
  1831. height: 100upx;
  1832. border: 1px solid #fafafa;
  1833. /* over */
  1834. }
  1835. .personInfo .content .row .right,
  1836. .advancePayment .content .row .right,
  1837. .appoint .content .row .right {
  1838. font-size: 28upx;
  1839. }
  1840. /* 人员信息End */
  1841. .checkButton {
  1842. margin: 0 20upx 0 20upx;
  1843. font-size: 24upx;
  1844. width: 80upx;
  1845. height: 50upx;
  1846. background: $themeColor;
  1847. font-weight: bold;
  1848. color: #FFFFFF;
  1849. border-radius: 5upx;
  1850. }
  1851. .uni-popup__wrapper-box {
  1852. display: block;
  1853. position: relative;
  1854. }
  1855. .uni-share {
  1856. display: flex;
  1857. flex-direction: column;
  1858. background-color: #fff;
  1859. position: fixed;
  1860. bottom: 0;
  1861. left: 0;
  1862. right: 0;
  1863. }
  1864. .uni-share-title {
  1865. line-height: 30px;
  1866. font-size: 12px;
  1867. padding: 7px 0;
  1868. text-align: center;
  1869. }
  1870. .uni-share-content {
  1871. display: flex;
  1872. flex-direction: row;
  1873. flex-wrap: wrap;
  1874. justify-content: center;
  1875. padding: 15px;
  1876. }
  1877. .uni-share-content-box {
  1878. display: flex;
  1879. flex-direction: column;
  1880. align-items: center;
  1881. width: 100px;
  1882. }
  1883. .uni-share-content-image {
  1884. display: flex;
  1885. flex-direction: row;
  1886. justify-content: center;
  1887. align-items: center;
  1888. width: 30px;
  1889. height: 30px;
  1890. overflow: hidden;
  1891. border-radius: 5px;
  1892. }
  1893. .uni-share-content-text {
  1894. font-size: 13px;
  1895. color: #333;
  1896. padding-top: 5px;
  1897. padding-bottom: 10px;
  1898. }
  1899. .uni-share-btn {
  1900. height: 45px;
  1901. line-height: 45px;
  1902. font-size: 14px;
  1903. border-top-color: #f5f5f5;
  1904. border-top-width: 1px;
  1905. border-top-style: solid;
  1906. text-align: center;
  1907. color: #666;
  1908. }
  1909. uni-image>img {
  1910. display: block;
  1911. position: absolute;
  1912. top: 0;
  1913. left: 0;
  1914. opacity: 0;
  1915. }
  1916. uni-image>div,
  1917. uni-image>img {
  1918. width: 100%;
  1919. height: 100%;
  1920. }
  1921. </style>