custormerDetail.vue 93 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337
  1. <template>
  2. <view :style="getHeight">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <!-- 头部 -->
  6. <view class="headers dis f-c j-end">
  7. <view class="price dis a-c j-c">
  8. <image :src="logoimg" mode="" style="width: 20px;height: 20px;">
  9. </image>
  10. <text style="font-weight: bold;margin-left: 6px;font-size: 15px;">{{orderInfo.inscompany}}</text>
  11. </view>
  12. <view style="background-color: #fff;box-shadow: inset rgb(218, 227, 244) 0px 1px 4px 0px;"
  13. class="dis f-c p-2 ">
  14. <view class="" style="border-bottom: 1px dashed #EFEFEF;padding-bottom: 10px;">
  15. <view style="font-size: 16px;" class="dis j-s a-c ">
  16. <text style="color: #232832;font-weight: bold;">{{this.licenseNo}}</text>
  17. <text style="color: #FF5600;">¥{{sumPermium}}</text>
  18. </view>
  19. <text style="color: rgba(51,51,51,0.8);font-size: 14px;">{{carInfo.modelcname}}</text>
  20. </view>
  21. <view class="dis Circle" style="padding-top: 10px;">
  22. <view style="width: 49%;border-right: 1px dashed #EFEFEF;" class="dis f-c a-start ">
  23. <text style="font-weight: bold;" v-if="orderInfo.jqstartdate">{{ orderInfo.jqstartdate }}</text>
  24. <text v-else>-</text>
  25. <text style="font-size: 14px;color: rgba(51,51,51,0.8);">交强险起保日期</text>
  26. </view>
  27. <view style="width: 49%;" class="dis f-c a-end">
  28. <text style="font-weight: bold;" v-if="orderInfo.systartdate">{{ orderInfo.systartdate }}</text>
  29. <text v-else>-</text>
  30. <text style="font-size: 14px;color: rgba(51,51,51,0.8);">商业险起保日期</text>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="page">
  36. <view class="quotePlan">
  37. <view class="header d-flex a-center">
  38. <view class="title">报价方案</view>
  39. <!-- <view class="Discount dis a-c " style="margin-left: 10px;">
  40. <image src="/static/image/car-insure/youhui.png" mode=""></image>
  41. <text style="margin-left: 3px;">优惠金额</text>
  42. </view> -->
  43. </view>
  44. <view class="body" style="box-shadow: 0px 4px 10px 0px #DAE3F4;">
  45. <view class="row d-flex a-center j-sb">
  46. <view v-if="sumPermium">总额:</view>
  47. <view class="dis a-c">
  48. <text> ¥{{sumPermium}}</text>
  49. </view>
  50. </view>
  51. <view v-if="jqpremium" class="row d-flex a-center j-sb">
  52. <view>交强险:</view>
  53. <view class="dis a-c">
  54. <text> ¥{{jqpremium}}</text>
  55. </view>
  56. </view>
  57. <view class="row d-flex a-center j-sb">
  58. <view>车船税:</view>
  59. <view>{{taxAmount}}</view>
  60. </view>
  61. <view v-if="jypremium" class="row d-flex a-center j-sb">
  62. <view>驾意险:</view>
  63. <view class="dis a-c">
  64. <text> ¥{{jypremium}}</text>
  65. </view>
  66. </view>
  67. <view v-if="sypremium" class="row dis f-c">
  68. <view class="dis a-c j-s" style="width: 100%;">
  69. <view>商业险:</view>
  70. <view class="dis a-c">
  71. <text> ¥{{sypremium}}</text>
  72. </view>
  73. </view>
  74. <view class="kindList mt-3">
  75. <view class="dis j-s" style="color: rgba(35,40,50,0.6);font-size: 24rpx;border-bottom: 1px silid
  76. #232832">
  77. <view class="dis j-start" style="width: 33.33%;">
  78. <text>险别/名称</text>
  79. </view>
  80. <view class="dis j-c" style="width: 33.33%;">
  81. <text>保额</text>
  82. </view>
  83. <view class="dis j-end" style="width: 33.33%;">
  84. <text>保费(元)</text>
  85. </view>
  86. </view>
  87. <block v-for="(item,index) in kindList" :key="index">
  88. <template v-if="item.coveragePremium">
  89. <view class="kindItem dis">
  90. <view class="dis j-start" style="width: 33.33%;">
  91. <text>{{item.kindName}}</text>
  92. </view>
  93. <view class="dis a-c j-c" v-if="['A'].includes(item.kindCode)"
  94. style="width: 33.33%;"><text>
  95. {{item.amount}}</text>
  96. </view>
  97. <view class="dis a-c j-c"
  98. v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)"
  99. style="width: 33.33%;">
  100. <text>{{toChinesNum(item.unitAmount)}}/座*{{orderInfo.carinfo.seatCount-1}}</text>
  101. </view>
  102. <view class="dis a-c j-c"
  103. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)"
  104. style="width: 33.33%;">
  105. <text>{{item.deductibleRate}}%</text>
  106. </view>
  107. <view class="dis a-c j-c" v-else style="width: 33.33%;">
  108. <text>{{toChinesNum(item.amount)}}</text>
  109. </view>
  110. <view class="dis a-c j-end" style="width: 33.33%;">
  111. <text>¥{{item.coveragePremium}}</text>
  112. </view>
  113. </view>
  114. </template>
  115. </block>
  116. </view>
  117. </view>
  118. <view class="addedServices" v-if="roadrescueList.length>0">
  119. <view class="row d-flex a-center j-sb">
  120. <view class="d-flex">增值服务<view class="d-flex a-center"
  121. style="color:#999;margin-left: 10upx;font-size: 24upx;">
  122. 不收费,使用不影响明年保费</view>
  123. </view>
  124. <view>赠送</view>
  125. </view>
  126. <view class="kindList">
  127. <view class="kindItem d-flex a-center j-sb" v-for="(item,index) in roadrescueList"
  128. :key="index">
  129. <view>{{item.kindName}}</view>
  130. <view class="d-flex j-end">{{item.serviceTimes}}次</view>
  131. </view>
  132. </view>
  133. </view>
  134. </view>
  135. </view>
  136. <view class="car">
  137. <view class="header d-flex a-center j-sb" @tap="showextendInfo = !showextendInfo">
  138. <view class="title">保费因素</view>
  139. <view class="adjustPlan d-flex">
  140. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  141. </view>
  142. </view>
  143. </view>
  144. <view class="body" v-if="showextendInfo">
  145. <view class="row d-flex a-center j-sb">
  146. <view>评分</view>
  147. <view>{{extendInfo.score?extendInfo.score:"无"}}</view>
  148. </view>
  149. <view class="row d-flex a-center j-sb">
  150. <view>鼎然-车辆风险评分:</view>
  151. <view>{{orderInfo.ubiPredictedInfoScore?orderInfo.ubiPredictedInfoScore:"无"}}</view>
  152. </view>
  153. <view class="row d-flex a-center j-sb">
  154. <view>交强评分</view>
  155. <view style="color: #ff9000;">{{extendInfo.jqScore?extendInfo.jqScore:"无"}}</view>
  156. </view>
  157. <view class="row d-flex a-center j-sb">
  158. <view>商业评分</view>
  159. <view style="color: #ff9000;">{{extendInfo.syScore?extendInfo.syScore:"无"}}</view>
  160. </view>
  161. <view class="row d-flex a-center j-sb">
  162. <view>出险信息</view>
  163. <view style="width: 200px;text-align: right;">
  164. {{extendInfo.accidentInfoStr?extendInfo.accidentInfoStr:"无"}}
  165. </view>
  166. </view>
  167. <view class="row d-flex a-center j-sb">
  168. <view>总赔付率</view>
  169. <view>{{extendInfo.lossRation}}</view>
  170. </view>
  171. <view class="row d-flex a-center j-sb">
  172. <view>交强赔付率</view>
  173. <view>{{extendInfo.jqLossRation}}</view>
  174. </view>
  175. <view class="row d-flex a-center j-sb">
  176. <view>商业赔付率</view>
  177. <view>{{extendInfo.syLossRation}}</view>
  178. </view>
  179. <view class="row d-flex a-center j-sb">
  180. <view>总折扣率</view>
  181. <view>{{extendInfo.totalAdjustRate}}</view>
  182. </view>
  183. <view class="row d-flex a-center j-sb">
  184. <view>交强险折扣</view>
  185. <view>{{extendInfo.jqAdjustRate}}</view>
  186. </view>
  187. <view class="row d-flex a-center j-sb">
  188. <view>商业险折扣</view>
  189. <view>{{extendInfo.syAdjustRate}}</view>
  190. </view>
  191. </view>
  192. </view>
  193. <view class="car">
  194. <view class="header d-flex a-center j-sb" @tap="showCarInfo = !showCarInfo">
  195. <view class="title">车辆信息</view>
  196. <view class="adjustPlan d-flex">
  197. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  198. </view>
  199. </view>
  200. </view>
  201. <view class="body" v-if="showCarInfo">
  202. <view class="row d-flex a-center j-sb">
  203. <view>车牌号</view>
  204. <view>{{carInfo.licenseNo}}</view>
  205. </view>
  206. <view class="row d-flex a-center j-sb">
  207. <view>品牌型号</view>
  208. <view>{{carInfo.modelcname}}</view>
  209. </view>
  210. <view class="row d-flex a-center j-sb">
  211. <view>车辆识别代码</view>
  212. <view>{{carInfo.vinNo}}</view>
  213. </view>
  214. <view class="row d-flex a-center j-sb">
  215. <view>发动机号</view>
  216. <view>{{carInfo.engineNo}}</view>
  217. </view>
  218. <view class="row d-flex a-center j-sb">
  219. <view>年款</view>
  220. <view>{{carInfo.caryear}}</view>
  221. </view>
  222. <view class="row d-flex a-center j-sb">
  223. <view>座位数</view>
  224. <view>{{carInfo.seatCount}}</view>
  225. </view>
  226. <view class="row d-flex a-center j-sb">
  227. <view>整备质量</view>
  228. <view>{{carInfo.completeKerbMass}}</view>
  229. </view>
  230. <view class="row d-flex a-center j-sb" v-if="carInfo.limitLoad">
  231. <view>核定载质量</view>
  232. <view>{{carInfo.limitLoad}}</view>
  233. </view>
  234. <view class="row d-flex a-center j-sb">
  235. <view>排量</view>
  236. <view>{{carInfo.enginedesc}}</view>
  237. </view>
  238. <view class="row d-flex a-center j-sb">
  239. <view>功率</view>
  240. <view>{{carInfo.powerScale}}</view>
  241. </view>
  242. <view class="row d-flex a-center j-sb">
  243. <view>新车购置价</view>
  244. <view>{{carInfo.purchasePrice}}</view>
  245. </view>
  246. <view class="row d-flex a-center j-sb">
  247. <view>使用性质</view>
  248. <view>{{carInfo.carnature}}</view>
  249. </view>
  250. <view class="row d-flex a-center j-sb">
  251. <view>车辆用途</view>
  252. <view>{{carInfo.vehicleUse}}</view>
  253. </view>
  254. <view class="row d-flex a-center j-sb">
  255. <view>车辆类型</view>
  256. <view>{{carInfo.cartype}}</view>
  257. </view>
  258. <view class="row d-flex a-center j-sb">
  259. <view>车辆种类</view>
  260. <view>{{carInfo.cimodelclass}}</view>
  261. </view>
  262. <view class="row d-flex a-center j-sb">
  263. <view>能源种类</view>
  264. <view>{{carInfo.energyType}}</view>
  265. </view>
  266. <view class="row d-flex a-center j-sb">
  267. <view>注册日期</view>
  268. <view>{{carInfo.registerDate }}</view>
  269. </view>
  270. <view class="row d-flex a-center j-sb">
  271. <view>发证日期</view>
  272. <view>{{carInfo.issueDate }}</view>
  273. </view>
  274. <view class="row d-flex a-center j-sb">
  275. <view>是否过户</view>
  276. <view>{{carInfo.transferFlag?'是':'否' }}</view>
  277. </view>
  278. <view class="row d-flex a-center j-sb" v-if="carInfo.transferFlag">
  279. <view>转移登记日期</view>
  280. <view>{{carInfo.transferDate }}</view>
  281. </view>
  282. <view class="row d-flex a-center j-sb">
  283. <view>商业是否过户</view>
  284. <view>{{carInfo.transferFlagBi?'是':'否' }}</view>
  285. </view>
  286. <view class="row d-flex a-center j-sb">
  287. <view>是否脱保</view>
  288. <view>{{carInfo.outOfInsurance?'是':'否' }}</view>
  289. </view>
  290. <view class="row d-flex a-center j-sb">
  291. <view>是否二手车</view>
  292. <view>{{carInfo.usedCar?'是':'否' }}</view>
  293. </view>
  294. </view>
  295. </view>
  296. <view class="car">
  297. <view class="header d-flex a-center j-sb" @tap="showtaxArrears = !showtaxArrears"
  298. v-if="orderInfo.taxArrears && orderInfo.taxArrears.length>0">
  299. <view class="title">欠税信息</view>
  300. <view class="adjustPlan d-flex">
  301. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  302. </view>
  303. </view>
  304. </view>
  305. <view class="body" style="padding: 10px 5px;" v-if="showtaxArrears">
  306. <u-table :th-style="{color:'#ff9000'}">
  307. <u-tr>
  308. <u-th style="font-size: 20rpx;">当年应缴(元)</u-th>
  309. <u-th style="font-size: 20rpx;">去年补缴(元)</u-th>
  310. <u-th style="font-size: 20rpx;">滞纳金(元)</u-th>
  311. <u-th style="font-size: 20rpx;">总计</u-th>
  312. </u-tr>
  313. <u-tr v-for="(item,index) in orderInfo.taxArrears" :key="index">
  314. <u-td>{{item.dayYearTax}}</u-td>
  315. <u-td>{{item.taxDefault}}</u-td>
  316. <u-td>{{item.lateFee}}</u-td>
  317. <u-td>{{orderInfo.taxamount}}</u-td>
  318. </u-tr>
  319. </u-table>
  320. </view>
  321. </view>
  322. <view class="personInfo">
  323. <view class="title d-flex a-center j-sb" @tap="showOwerInfo=!showOwerInfo">
  324. <text style="font-weight: bold;">车主</text>
  325. <view class="adjustPlan d-flex">
  326. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  327. </view>
  328. </view>
  329. </view>
  330. <view class="content" v-if="showOwerInfo">
  331. <view class="row d-flex a-center">
  332. <view class="left">姓名:</view>
  333. <view class="right d-flex flex-1">{{ownerInfo.name}}</view>
  334. </view>
  335. <view class="row d-flex a-center">
  336. <view class="left">证件类型:</view>
  337. <view class="right flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}</view>
  338. </view>
  339. <view class="row d-flex a-center">
  340. <view class="left">手机号:</view>
  341. <view class="right flex-1">{{ownerInfo.mobile}}</view>
  342. </view>
  343. <view class="row d-flex a-center">
  344. <view class="left">证件号:</view>
  345. <view class="right flex-1">{{ownerInfo.identifyNumber}}</view>
  346. </view>
  347. <view class="row d-flex a-center"
  348. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  349. <view class="left">地址:</view>
  350. <view class="right flex-1">{{ownerInfo.addr}}</view>
  351. </view>
  352. </view>
  353. </view>
  354. <!-- 投保人信息 -->
  355. <view class="personInfo">
  356. <view class="title d-flex a-center j-sb" @tap="showPolicyHolderInfo=!showPolicyHolderInfo">
  357. <text style="font-weight: bold;">投保人</text>
  358. <view class="adjustPlan d-flex">
  359. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  360. </view>
  361. </view>
  362. </view>
  363. <view class="content" v-if="showPolicyHolderInfo">
  364. <view class="row d-flex a-center">
  365. <view class="left">姓名:</view>
  366. <view class="right d-flex flex-1">{{policyHolderInfo.name}}</view>
  367. </view>
  368. <view class="row d-flex a-center">
  369. <view class="left">证件类型:</view>
  370. <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
  371. </view>
  372. </view>
  373. <view class="row d-flex a-center">
  374. <view class="left">手机号:</view>
  375. <view class="right d-flex flex-1">{{policyHolderInfo.mobile}}</view>
  376. </view>
  377. <view class="row d-flex a-center">
  378. <view class="left">证件号:</view>
  379. <view class="right d-flex flex-1">{{policyHolderInfo.identifyNumber}}</view>
  380. </view>
  381. <view class="row d-flex a-center"
  382. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  383. <view class="left">地址:</view>
  384. <view class="right d-flex flex-1">{{policyHolderInfo.addr}}</view>
  385. </view>
  386. </view>
  387. </view>
  388. <!-- 被保人信息 -->
  389. <view class="personInfo">
  390. <view class="title d-flex a-center j-sb" @tap="showInsuredPersonInfo=!showInsuredPersonInfo">
  391. <text style="font-weight: bold;">被保人</text>
  392. <view class="adjustPlan d-flex">
  393. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  394. </view>
  395. </view>
  396. </view>
  397. <view class="content" v-if="showInsuredPersonInfo">
  398. <view class="row d-flex a-center">
  399. <view class="left">姓名:</view>
  400. <view class="right d-flex flex-1">{{insuredPersonInfo.name}}</view>
  401. </view>
  402. <view class="row d-flex a-center">
  403. <view class="left">证件类型:</view>
  404. <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
  405. </view>
  406. </view>
  407. <view class="row d-flex a-center">
  408. <view class="left">手机号:</view>
  409. <view class="right d-flex flex-1">{{insuredPersonInfo.mobile}}</view>
  410. </view>
  411. <view class="row d-flex a-center">
  412. <view class="left">证件号:</view>
  413. <view class="right d-flex flex-1">{{insuredPersonInfo.identifyNumber}}</view>
  414. </view>
  415. <view class="row d-flex a-center"
  416. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  417. <view class="left">地址:</view>
  418. <view class="right d-flex flex-1">{{insuredPersonInfo.addr}}</view>
  419. </view>
  420. </view>
  421. </view>
  422. <view class="imageInfo">
  423. <view class="title d-flex a-center j-sb" @tap="showCarImageInfo=!showCarImageInfo">
  424. <text style="font-weight: bold;">车辆影像信息</text>
  425. <view class="adjustPlan d-flex">
  426. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  427. </view>
  428. </view>
  429. </view>
  430. <view class="uni-uploader" v-if="showCarImageInfo">
  431. <view class="uni-uploader-body dis j-s a-c">
  432. <view class="uni-uploader__files dis f-c a-c">
  433. <text>行驶证主页</text>
  434. <block v-for="(image,index) in imgList1" :key="index">
  435. <view class="uni-uploader__file">
  436. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  437. @tap="previewImage($event,'imgList1')"></image>
  438. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  439. @tap="delCheckImage(image,'carImageListId','imgList1')"></view>
  440. </view>
  441. </block>
  442. <view v-if="imgList1.length==0" class="uni-uploader__input-box"
  443. style="box-sizing: border-box;">
  444. <view class="uni-uploader__input" @tap="chooseImage('C01','carImageListId','imgList1')">
  445. </view>
  446. </view>
  447. </view>
  448. <view class="uni-uploader__files dis f-c a-c">
  449. <text>行驶证副本</text>
  450. <block v-for="(image,index) in imgList2" :key="index">
  451. <view class="uni-uploader__file">
  452. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  453. @tap="previewImage($event,'imgList2')"></image>
  454. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  455. @tap="delCheckImage(image,'carImageListId','imgList2')"></view>
  456. </view>
  457. </block>
  458. <view v-if="imgList2.length==0" class="uni-uploader__input-box"
  459. style="box-sizing: border-box;">
  460. <view class="uni-uploader__input" @tap="chooseImage('D01','carImageListId','imgList2')">
  461. </view>
  462. </view>
  463. </view>
  464. </view>
  465. </view>
  466. </view>
  467. <!-- 车辆影像信息End -->
  468. <!-- 车主影像信息Start -->
  469. <view class="imageInfo">
  470. <view class="title d-flex a-center j-sb" @tap="showOwnerImageInfo=!showOwnerImageInfo">
  471. <text style="font-weight: bold;">车主影像信息</text>
  472. <view class="adjustPlan d-flex">
  473. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  474. </view>
  475. </view>
  476. </view>
  477. <view class="uni-uploader" v-if="showOwnerImageInfo">
  478. <view class="uni-uploader-body dis j-s a-c">
  479. <view class="uni-uploader__files dis f-c a-c">
  480. <text>正面</text>
  481. <block v-for="(image,index) in imgList3" :key="index">
  482. <view class="uni-uploader__file">
  483. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  484. @tap="previewImage($event,'imgList3')"></image>
  485. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  486. @tap="delCheckImage(image,'ownerImageListId','imgList3')"></view>
  487. </view>
  488. </block>
  489. <view v-if="imgList3.length==0" class="uni-uploader__input-box"
  490. style="box-sizing: border-box;">
  491. <view class="uni-uploader__input"
  492. @tap="chooseImage('C02','ownerImageListId','imgList3')"></view>
  493. </view>
  494. </view>
  495. <view class="uni-uploader__files dis f-c a-c">
  496. <text>反面</text>
  497. <block v-for="(image,index) in imgList4" :key="index">
  498. <view class="uni-uploader__file">
  499. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  500. @tap="previewImage($event,'imgList4')"></image>
  501. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  502. @tap="delCheckImage(image,'ownerImageListId','imgList4')"></view>
  503. </view>
  504. </block>
  505. <view v-if="imgList4.length==0" class="uni-uploader__input-box"
  506. style="box-sizing: border-box;">
  507. <view class="uni-uploader__input"
  508. @tap="chooseImage('D02','ownerImageListId','imgList4')"></view>
  509. </view>
  510. </view>
  511. </view>
  512. </view>
  513. </view>
  514. <!-- 车主影像信息End -->
  515. <!-- 投保人影像信息Start -->
  516. <view class="imageInfo">
  517. <view class="title d-flex a-center j-sb" @tap="showPolicyImageInfo=!showPolicyImageInfo">
  518. <text style="font-weight: bold;">投保人影像信息</text>
  519. <view class="adjustPlan d-flex">
  520. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  521. </view>
  522. </view>
  523. </view>
  524. <view class="uni-uploader" v-if="showPolicyImageInfo">
  525. <view class="uni-uploader-body dis j-s a-c">
  526. <view class="uni-uploader__files dis f-c a-c">
  527. <text>正面</text>
  528. <block v-for="(image,index) in imgList5" :key="index">
  529. <view class="uni-uploader__file">
  530. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  531. @tap="previewImage($event,'imgList5')"></image>
  532. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  533. @tap="delCheckImage(image,'policyImageListId','imgList5')"></view>
  534. </view>
  535. </block>
  536. <view v-if="imgList5.length==0" class="uni-uploader__input-box"
  537. style="box-sizing: border-box;">
  538. <view class="uni-uploader__input"
  539. @tap="chooseImage('C03','policyImageListId','imgList5')"></view>
  540. </view>
  541. </view>
  542. <view class="uni-uploader__files dis f-c a-c">
  543. <text>反面</text>
  544. <block v-for="(image,index) in imgList6" :key="index">
  545. <view class="uni-uploader__file">
  546. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  547. @tap="previewImage($event,'imgList6')"></image>
  548. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  549. @tap="delCheckImage(image,'policyImageListId','imgList6')"></view>
  550. </view>
  551. </block>
  552. <view v-if="imgList6.length==0" class="uni-uploader__input-box"
  553. style="box-sizing: border-box;">
  554. <view class="uni-uploader__input"
  555. @tap="chooseImage('D03','policyImageListId','imgList6')"></view>
  556. </view>
  557. </view>
  558. </view>
  559. </view>
  560. </view>
  561. <!-- 投保人影像信息End -->
  562. <!-- 被保人影像信息Start -->
  563. <view class="imageInfo">
  564. <view class="title d-flex a-center j-sb" @tap="showInsuredImageInfo=!showInsuredImageInfo">
  565. <text style="font-weight: bold;">被保人影像信息</text>
  566. <view class="adjustPlan d-flex">
  567. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  568. </view>
  569. </view>
  570. </view>
  571. <view class="uni-uploader" v-if="showInsuredImageInfo">
  572. <view class="uni-uploader-body dis j-s a-c">
  573. <view class="uni-uploader__files dis f-c a-c">
  574. <text>正面</text>
  575. <block v-for="(image,index) in imgList7" :key="index">
  576. <view class="uni-uploader__file">
  577. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  578. @tap="previewImage($event,'imgList7')"></image>
  579. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  580. @tap="delCheckImage(image,'insuredImageListId','imgList7')"></view>
  581. </view>
  582. </block>
  583. <view v-if="imgList7.length==0" class="uni-uploader__input-box"
  584. style="box-sizing: border-box;">
  585. <view class="uni-uploader__input"
  586. @tap="chooseImage('C04','insuredImageListId','imgList7')"></view>
  587. </view>
  588. </view>
  589. <view class="uni-uploader__files dis f-c a-c">
  590. <text>反面</text>
  591. <block v-for="(image,index) in imgList8" :key="index">
  592. <view class="uni-uploader__file">
  593. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  594. @tap="previewImage($event,'imgList8')"></image>
  595. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  596. @tap="delCheckImage(image,'insuredImageListId','imgList8')"></view>
  597. </view>
  598. </block>
  599. <view v-if="imgList8.length==0" class="uni-uploader__input-box"
  600. style="box-sizing: border-box;">
  601. <view class="uni-uploader__input"
  602. @tap="chooseImage('D04','insuredImageListId','imgList8')"></view>
  603. </view>
  604. </view>
  605. </view>
  606. </view>
  607. </view>
  608. <!-- 被保人影像信息End -->
  609. <!-- 新车影像信息Start -->
  610. <view class="imageInfo">
  611. <view class="title d-flex a-center j-sb" @tap="showNewCarImageInfo=!showNewCarImageInfo">
  612. <text style="font-weight: bold;">新车照片</text>
  613. <view class="adjustPlan d-flex">
  614. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  615. </view>
  616. </view>
  617. </view>
  618. <view class="uni-uploader" v-if="showNewCarImageInfo">
  619. <view class="uni-uploader-body dis j-s a-c">
  620. <view class="uni-uploader__files dis f-c a-c">
  621. <text>新车合格证</text>
  622. <block v-for="(image,index) in imgNewCarQualified" :key="index">
  623. <view class="uni-uploader__file">
  624. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  625. @tap="previewImage($event,'imgNewCarQualified')"></image>
  626. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  627. @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarQualified')">
  628. </view>
  629. </view>
  630. </block>
  631. <view v-if="imgNewCarQualified.length==0" class="uni-uploader__input-box"
  632. style="box-sizing: border-box;">
  633. <view class="uni-uploader__input"
  634. @tap="chooseImage('XC00','imgNewCarinvoiceId','imgNewCarQualified')"></view>
  635. </view>
  636. </view>
  637. <view class="uni-uploader__files dis f-c a-c">
  638. <text>购车发票</text>
  639. <block v-for="(image,index) in imgNewCarInvoice" :key="index">
  640. <view class="uni-uploader__file">
  641. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  642. @tap="previewImage($event,'imgNewCarInvoice')"></image>
  643. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  644. @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarInvoice')"></view>
  645. </view>
  646. </block>
  647. <view v-if="imgNewCarInvoice.length==0" class="uni-uploader__input-box"
  648. style="box-sizing: border-box;">
  649. <view class="uni-uploader__input"
  650. @tap="chooseImage('GC00','imgNewCarinvoiceId','imgNewCarInvoice')"></view>
  651. </view>
  652. </view>
  653. </view>
  654. </view>
  655. </view>
  656. <!-- 新车影像信息End -->
  657. <!-- 验车照Start -->
  658. <view class="imageInfo">
  659. <view class="title d-flex a-center j-sb" @tap="showCarCheckImageInfo=!showCarCheckImageInfo">
  660. <text style="font-weight: bold;">其他关系证明</text>
  661. <view class="adjustPlan d-flex">
  662. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  663. </view>
  664. </view>
  665. </view>
  666. <view class="uni-uploader" v-if="showCarCheckImageInfo">
  667. <view class="uni-uploader-body dis j-s a-c">
  668. <view class="uni-uploader__files">
  669. <block v-for="(image,index) in imgRelationship" :key="index">
  670. <view class="uni-uploader__file">
  671. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  672. @tap="previewImage($event,'imgRelationship')"></image>
  673. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center "
  674. @tap="delCheckImage('imgRelationship',index)"></view>
  675. </view>
  676. </block>
  677. <view class="uni-uploader__input-box" style="box-sizing: border-box;">
  678. <view class="uni-uploader__input"
  679. @tap="chooseImage('GX00','imgRelationshipid','imgRelationship')"></view>
  680. </view>
  681. </view>
  682. </view>
  683. </view>
  684. </view>
  685. <view class="personInfo" v-if="!!orderInfo.jqapplyno">
  686. <view class="title d-flex a-center j-sb" @tap="showApplyno=!showApplyno">
  687. <text style="font-weight: bold;">投保单号</text>
  688. <view class="adjustPlan d-flex">
  689. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  690. </view>
  691. </view>
  692. </view>
  693. <view class="content" v-if="showApplyno">
  694. <view v-if="!!orderInfo.jqapplyno" style="padding: 8px 0 ;border-bottom: 1px solid #f2f2f2;">
  695. <text>交强险:</text>
  696. <text>{{orderInfo.jqapplyno}}</text>
  697. </view>
  698. <view v-if="!!orderInfo.syapplyno" style="padding: 8px 0 ;">
  699. <text>商业险:</text>
  700. <text>{{orderInfo.syapplyno}}</text>
  701. </view>
  702. </view>
  703. </view>
  704. <view class="personInfo" v-if="!!orderInfo.jqpolicyno">
  705. <view class="title d-flex a-center j-sb" @tap="showPolicyno=!showPolicyno">
  706. <text style="font-weight: bold;">保单号</text>
  707. <view class="adjustPlan d-flex">
  708. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  709. </view>
  710. </view>
  711. </view>
  712. <view class="content" v-if="showPolicyno">
  713. <view class="row d-flex a-center" v-if="!!orderInfo.jqpolicyno">
  714. <view class="left">交强险:</view>
  715. <view class="right d-flex flex-1">{{orderInfo.jqpolicyno}}</view>
  716. </view>
  717. <view class="row d-flex a-center" v-if="!!orderInfo.sypolicyno">
  718. <view class="left">商业险:</view>
  719. <view class="right d-flex flex-1">{{orderInfo.sypolicyno}}</view>
  720. </view>
  721. </view>
  722. </view>
  723. </view>
  724. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  725. </view>
  726. </template>
  727. <script>
  728. import {
  729. mapState,
  730. mapMutations
  731. } from "vuex"
  732. import {
  733. pathToBase64,
  734. base64ToPath
  735. } from '@/common/pdf.js'
  736. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  737. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  738. export default {
  739. components: {
  740. uniPopup,
  741. previewImage
  742. },
  743. computed: {
  744. ...mapState(['userInfo', 'token', 'quotationType']),
  745. getHeight() {
  746. let height = uni.getSystemInfoSync().windowHeight;
  747. return `minHeight: ${height}px;`;
  748. }
  749. },
  750. data() {
  751. return {
  752. auditNextShow: false, //核保确认标识
  753. auditReturnInfoShow: false, //核保信息返回标识
  754. auditReturnInfoContent: "", //核保返回信息
  755. modificationFlag: false, //影响修改标识
  756. ziJinshow: false, //紫金特约
  757. huaTaishow: false, //紫金特约
  758. toolPopupshow: false, //底部弹窗
  759. agree: false,
  760. logoimg: "",
  761. insCompanyList: [{
  762. name: "中煤财险",
  763. icon: "../../static/insuranceicon/zhongmei.png"
  764. }, //华农
  765. {
  766. name: "恒邦财险",
  767. icon: "../../static/insuranceicon/hengbang.png"
  768. },
  769. {
  770. name: "安盛天平",
  771. icon: "../../static/insuranceicon/ansheng.png"
  772. },
  773. {
  774. name: "中国人寿",
  775. icon: "../../static/insuranceicon/renshou.png"
  776. },
  777. {
  778. name: "众安财险",
  779. icon: "../../static/insuranceicon/zhongan.png"
  780. },
  781. {
  782. name: "永诚财险",
  783. icon: "../../static/insuranceicon/yongcheng.png"
  784. },
  785. {
  786. name: "永安财险",
  787. icon: "../../static/insuranceicon/yongan.png"
  788. },
  789. {
  790. name: "紫金财险",
  791. icon: "../../static/insuranceicon/zijin.png"
  792. },
  793. {
  794. name: "国任财险",
  795. icon: "../../static/insuranceicon/guoren.png"
  796. },
  797. {
  798. name: "华泰财险",
  799. icon: "../../static/insuranceicon/huatai.png"
  800. },
  801. {
  802. name: "大家财险",
  803. icon: "../../static/insuranceicon/dajia.png"
  804. },
  805. {
  806. name: "太平财险",
  807. icon: "../../static/insuranceicon/taiping.png"
  808. },
  809. {
  810. name: "华农财险",
  811. icon: "../../static/insuranceicon/huanong.png"
  812. },
  813. {
  814. name: "渤海财险",
  815. icon: "../../static/insuranceicon/bohai.png"
  816. },
  817. ],
  818. companyId: "", //订单号
  819. orderInfo: {},
  820. licenseNo: "", //车牌号
  821. icon: "", //保险公司logo
  822. name: "", //保险公司名称
  823. carInfo: {}, //车辆信息
  824. ownerInfo: {}, //车主信息
  825. policyHolderInfo: {}, //投保人信息
  826. insuredPersonInfo: {}, //被保人信息
  827. riskList: [], //险种大类信息
  828. kindList: [], //商业险险别
  829. sumPermium: "", //报价金额
  830. taxAmount: "", //车船税金额
  831. jqpremium: "", //交强险金额
  832. sypremium: "", //商业险金额
  833. feerate: "",
  834. disrate: "",
  835. syappoint: "",
  836. orderstatus: "0", //订单状态
  837. CIStartDate: "", //交强险日期
  838. BIStartDate: "", //商业险日期
  839. showCarInfo: false,
  840. showextendInfo: false,
  841. insureList: [{
  842. amount: "0",
  843. coveragePremium: "",
  844. amtList: [{
  845. "label": "投保",
  846. "value": "1"
  847. }],
  848. kindCode: "A",
  849. isMainRisk: true,
  850. kindName: "机动车损失险"
  851. },
  852. {
  853. amount: "0",
  854. coveragePremium: "",
  855. amtList: [{
  856. "label": "10万",
  857. "value": "100000"
  858. }, {
  859. "label": "15万",
  860. "value": "150000"
  861. }, {
  862. "label": "20万",
  863. "value": "200000"
  864. }, {
  865. "label": "30万",
  866. "value": "300000"
  867. }, {
  868. "label": "50万",
  869. "value": "500000"
  870. }, {
  871. "label": "100万",
  872. "value": "1000000"
  873. }, {
  874. "label": "150万",
  875. "value": "1500000"
  876. }, {
  877. "label": "200万",
  878. "value": "2000000"
  879. }, {
  880. "label": "250万",
  881. "value": "2500000"
  882. }, {
  883. "label": "300万",
  884. "value": "3000000"
  885. }, {
  886. "label": "500万",
  887. "value": "5000000"
  888. }, {
  889. "label": "1000万",
  890. "value": "10000000"
  891. }],
  892. kindCode: "B",
  893. isMainRisk: true,
  894. kindName: "第三者责任险"
  895. },
  896. {
  897. amount: "0",
  898. coveragePremium: "",
  899. amtList: [{
  900. "label": "1万",
  901. "value": "10000"
  902. }, {
  903. "label": "2万",
  904. "value": "20000"
  905. }, {
  906. "label": "5万",
  907. "value": "50000"
  908. }, {
  909. "label": "10万",
  910. "value": "100000"
  911. }, {
  912. "label": "15万",
  913. "value": "150000"
  914. }, {
  915. "label": "20万",
  916. "value": "200000"
  917. }],
  918. kindCode: "D3",
  919. isMainRisk: true,
  920. kindName: "司机责任险"
  921. },
  922. {
  923. amount: "0",
  924. coveragePremium: "",
  925. amtList: [{
  926. "label": "1万",
  927. "value": "10000"
  928. }, {
  929. "label": "2万",
  930. "value": "20000"
  931. }, {
  932. "label": "5万",
  933. "value": "50000"
  934. }, {
  935. "label": "10万",
  936. "value": "100000"
  937. }, {
  938. "label": "15万",
  939. "value": "150000"
  940. }, {
  941. "label": "20万",
  942. "value": "200000"
  943. }],
  944. kindCode: "D4",
  945. isMainRisk: true,
  946. kindName: "乘客责任险"
  947. },
  948. {
  949. amount: "0",
  950. coveragePremium: "",
  951. amtList: [{
  952. "label": "2000",
  953. "value": "2000"
  954. }, {
  955. "label": "5000",
  956. "value": "5000"
  957. }, {
  958. "label": "1万",
  959. "value": "10000"
  960. }],
  961. isMainRisk: false,
  962. kindCode: "L",
  963. kindName: "车身划痕险",
  964. mainRiskCodeList: "A"
  965. },
  966. {
  967. amount: "0",
  968. coveragePremium: "",
  969. amtList: [{
  970. "label": "5%",
  971. "value": "5"
  972. }, {
  973. "label": "10%",
  974. "value": "10"
  975. }, {
  976. "label": "15%",
  977. "value": "15"
  978. }, {
  979. "label": "20%",
  980. "value": "20"
  981. }],
  982. isMainRisk: false,
  983. kindCode: "MJ1",
  984. kindName: "绝对免赔率特约险(车损)",
  985. mainRiskCodeList: "A"
  986. },
  987. {
  988. amount: "0",
  989. coveragePremium: "",
  990. amtList: [{
  991. "label": "5%",
  992. "value": "5"
  993. }, {
  994. "label": "10%",
  995. "value": "10"
  996. }, {
  997. "label": "15%",
  998. "value": "15"
  999. }, {
  1000. "label": "20%",
  1001. "value": "20"
  1002. }],
  1003. isMainRisk: false,
  1004. kindCode: "MJ2",
  1005. kindName: "绝对免赔率特约险(三者)",
  1006. mainRiskCodeList: "B"
  1007. },
  1008. {
  1009. amount: "0",
  1010. coveragePremium: "",
  1011. amtList: [{
  1012. "label": "5%",
  1013. "value": "5"
  1014. }, {
  1015. "label": "10%",
  1016. "value": "10"
  1017. }, {
  1018. "label": "15%",
  1019. "value": "15"
  1020. }, {
  1021. "label": "20%",
  1022. "value": "20"
  1023. }],
  1024. isMainRisk: false,
  1025. kindCode: "MJ3",
  1026. kindName: "绝对免赔率特约险(司机)",
  1027. mainRiskCodeList: "D3"
  1028. },
  1029. {
  1030. amount: "0",
  1031. coveragePremium: "",
  1032. amtList: [{
  1033. "label": "5%",
  1034. "value": "5"
  1035. }, {
  1036. "label": "10%",
  1037. "value": "10"
  1038. }, {
  1039. "label": "15%",
  1040. "value": "15"
  1041. }, {
  1042. "label": "20%",
  1043. "value": "20"
  1044. }],
  1045. isMainRisk: false,
  1046. kindCode: "MJ4",
  1047. kindName: "绝对免赔率特约险(乘客)",
  1048. mainRiskCodeList: "D4"
  1049. },
  1050. {
  1051. amount: "0",
  1052. coveragePremium: "",
  1053. amtList: [{
  1054. "label": "投保",
  1055. "value": "1"
  1056. }],
  1057. isMainRisk: false,
  1058. kindCode: "BD",
  1059. kindName: "法定节假日限额翻倍险",
  1060. mainRiskCodeList: "B"
  1061. },
  1062. {
  1063. amount: "0",
  1064. amountDesc: "不投保",
  1065. coveragePremium: "",
  1066. amtList: [{
  1067. label: "不投保",
  1068. value: "0"
  1069. },
  1070. {
  1071. label: "1万",
  1072. value: "10000"
  1073. },
  1074. {
  1075. label: "2万",
  1076. value: "20000"
  1077. },
  1078. {
  1079. label: "5万",
  1080. value: "50000"
  1081. },
  1082. {
  1083. label: "10万",
  1084. value: "100000"
  1085. }
  1086. ],
  1087. kindCode: "SY_FJ_YBW1",
  1088. isMainRisk: false,
  1089. kindName: "附加医保-三者",
  1090. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1091. },
  1092. {
  1093. amount: "0",
  1094. amountDesc: "不投保",
  1095. coveragePremium: 0,
  1096. amtList: [{
  1097. label: "不投保",
  1098. value: "0"
  1099. },
  1100. {
  1101. label: "1万",
  1102. value: "10000"
  1103. },
  1104. {
  1105. label: "2万",
  1106. value: "20000"
  1107. },
  1108. {
  1109. label: "5万",
  1110. value: "50000"
  1111. },
  1112. {
  1113. label: "10万",
  1114. value: "100000"
  1115. }
  1116. ],
  1117. kindCode: "SY_FJ_YBW2",
  1118. isMainRisk: false,
  1119. kindName: "附加医保-座位险(乘客)",
  1120. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1121. },
  1122. {
  1123. amount: "0",
  1124. amountDesc: "不投保",
  1125. coveragePremium: 0,
  1126. amtList: [{
  1127. label: "不投保",
  1128. value: "0"
  1129. },
  1130. {
  1131. label: "1万",
  1132. value: "10000"
  1133. },
  1134. {
  1135. label: "2万",
  1136. value: "20000"
  1137. },
  1138. {
  1139. label: "5万",
  1140. value: "50000"
  1141. },
  1142. {
  1143. label: "10万",
  1144. value: "100000"
  1145. }
  1146. ],
  1147. kindCode: "SY_FJ_YBW3",
  1148. isMainRisk: false,
  1149. kindName: "附加医保-座位险(司机)",
  1150. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1151. },
  1152. ],
  1153. bottomData: [
  1154. // #ifdef APP-PLUS
  1155. {
  1156. text: '微信好友',
  1157. icon: '/static/image/share/weixinhaoyou.png',
  1158. name: 'wx'
  1159. },
  1160. {
  1161. text: '短信发送',
  1162. icon: '/static/image/share/shortMessage.png',
  1163. name: 'dx'
  1164. },
  1165. // #endif
  1166. {
  1167. text: '报价单',
  1168. icon: '/static/image/share/shortMessage.png',
  1169. name: 'bjd'
  1170. }
  1171. ],
  1172. vehicleModel: {}, //车型信息
  1173. showtaxArrears: false, //欠税信息
  1174. showOwerInfo: false, //展示车主信息
  1175. showPolicyHolderInfo: false, //展示投保人信息
  1176. showInsuredPersonInfo: false, //展示被保人信息
  1177. showProposalWay: false, //获取保单方式
  1178. showAdvancePayment: false, //展示保费
  1179. showAppoint: false, //展示特约
  1180. showDistribution: false, //展示快递
  1181. showApplyno: false, //展示投保单号
  1182. showPolicyno: false, //展示保单号
  1183. showPolicyFile: false, //展示电子保单
  1184. showPolicybzFile: false, //展示电子保单
  1185. policyList: [], //电子保单文件
  1186. policyList1: [], //电子标志文件
  1187. showCarImageInfo: false, //显示车辆影像
  1188. carImageListId: [],
  1189. showOwnerImageInfo: false, //显示车主影像
  1190. ownerImageListId: [],
  1191. showPolicyImageInfo: false, //显示投保人影像
  1192. policyImageListId: [],
  1193. showInsuredImageInfo: false, //显示被保人影像
  1194. insuredImageListId: [],
  1195. showCarCheckImageInfo: false, //显示验车照影像
  1196. imgRelationshipid: [],
  1197. showNewCarImageInfo: false, //显示新车影像
  1198. imgNewCarinvoiceId: [],
  1199. imgList1: [],
  1200. imgList2: [],
  1201. imgList3: [],
  1202. imgList4: [],
  1203. imgList5: [],
  1204. imgList6: [],
  1205. imgList7: [],
  1206. imgList8: [],
  1207. imgRelationship: [], //其他证明
  1208. imgNewCarQualified: [], //合格证
  1209. imgNewCarInvoice: [], //发票
  1210. previewImgs: [],
  1211. dianzibaodan: "",
  1212. jypremium: "",
  1213. quoteno: "",
  1214. extendInfo: {},
  1215. routepage: "",
  1216. roadrescueList: [],
  1217. companyUnderwriting: "",
  1218. ziJinengageListData: [],
  1219. ziJinengageList: [],
  1220. huaTaiengageListData: [],
  1221. huaTaiengageList: [],
  1222. natureOfVehicleUseoptions: [],
  1223. vehicleTypeoptions: [],
  1224. trafficManagementVehicleTypeoptions: [],
  1225. energyTypeoptions: [],
  1226. businessVehicleUseoptions: [],
  1227. outOfBusinessVehicleUseoptions: [],
  1228. }
  1229. },
  1230. async onLoad(params) {
  1231. this.getDicType("businessVehicleUse"); //车辆用途(营业)
  1232. this.getDicType("outOfBusinessVehicleUse"); //车辆用途(非营业)
  1233. this.getDicType("natureOfVehicleUse"); //车辆性质
  1234. this.getDicType("vehicleType"); //车辆种类
  1235. this.getDicType("trafficManagementVehicleType"); //车辆类型
  1236. this.getDicType("energyType"); //能源种类
  1237. let pages = getCurrentPages(); // 当前页面路由
  1238. if (pages.length > 1) {
  1239. let beforePage = pages[pages.length - 2].route; // 上一个页面路由
  1240. this.routepage = beforePage;
  1241. }
  1242. if (!this.token) {
  1243. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1244. }
  1245. if (!!params.companyId) {
  1246. this.companyId = params.companyId;
  1247. let param = {
  1248. companyId: params.companyId
  1249. };
  1250. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1251. if (res.code == 200) {
  1252. this.icon = "";
  1253. this.quoteno = res.data.quoteno;
  1254. this.name = res.data.inscompany;
  1255. this.carInfo = res.data.carinfo;
  1256. this.extendInfo = res.data.extendInfo;
  1257. this.licenseNo = res.data.licenseno;
  1258. if (!!this.carInfo.loanStatus) {
  1259. this.carInfo.loanStatus = 1;
  1260. } else {
  1261. this.carInfo.loanStatus = 0;
  1262. }
  1263. if (!!this.carInfo.registerDate) {
  1264. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1265. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1266. if (month1 < 10) {
  1267. month1 = '0' + month1;
  1268. }
  1269. let day1 = new Date(this.carInfo.registerDate).getDate()
  1270. if (day1 < 10) {
  1271. day1 = '0' + day1;
  1272. }
  1273. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1274. }
  1275. if (!!this.carInfo.issueDate) {
  1276. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1277. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1278. if (month2 < 10) {
  1279. month2 = '0' + month2;
  1280. }
  1281. let day2 = new Date(this.carInfo.issueDate).getDate()
  1282. if (day2 < 10) {
  1283. day2 = '0' + day2;
  1284. }
  1285. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1286. }
  1287. if (!!this.carInfo.transferDate) {
  1288. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1289. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1290. if (month3 < 10) {
  1291. month3 = '0' + month3;
  1292. }
  1293. let day3 = new Date(this.carInfo.transferDate).getDate()
  1294. if (day3 < 10) {
  1295. day3 = '0' + day3;
  1296. }
  1297. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1298. }
  1299. this.ownerInfo = res.data.ownerinfo;
  1300. this.policyHolderInfo = res.data.applyinfo;
  1301. this.insuredPersonInfo = res.data.insureinfo;
  1302. this.riskList = res.data.riskinfo;
  1303. this.kindList = res.data.kindinfo;
  1304. this.roadrescueList = this.kindList.filter((val) => {
  1305. return ["TY1", "TY2", "TY3", "TY4"].includes(val.kindCode)
  1306. })
  1307. this.sumPermium = res.data.sumpremium;
  1308. this.taxAmount = res.data.taxamount;
  1309. this.sypremium = res.data.sypremium;
  1310. this.jqpremium = res.data.jqpremium;
  1311. this.jypremium = res.data.jypremium;
  1312. this.orderstatus = res.data.orderstatus;
  1313. this.feerate = res.data.feerate;
  1314. this.disrate = res.data.disrate;
  1315. this.jqdiscountrate = res.data.jqdiscountrate;
  1316. this.sydiscountrate = res.data.sydiscountrate;
  1317. this.syappoint = res.data.syappoint;
  1318. this.orderInfo = {};
  1319. Object.assign(this.orderInfo, res.data)
  1320. this.imageEcho(this.quoteno) // 影像获取完毕
  1321. this.insCompanyList.map(ele => {
  1322. if (ele.name == res.data.inscompany) {
  1323. uni.getImageInfo({
  1324. src: ele.icon,
  1325. success: image => {
  1326. pathToBase64(image.path)
  1327. .then(base64 => {
  1328. this.logoimg = base64;
  1329. })
  1330. .catch(error => {});
  1331. },
  1332. fail: err => {}
  1333. });
  1334. }
  1335. return ele;
  1336. })
  1337. }
  1338. if (this.name == '紫金财险') {
  1339. let Zijinres = await this.$http.post('/order/zijin/queryClauseData', param);
  1340. this.ziJinengageListData = Zijinres.data;
  1341. let data = this.ziJinengageListData.find(val => val.optType == 3)
  1342. if (data) {
  1343. this.ziJinengageList.push({
  1344. clauseCode: data.clauseCode,
  1345. clauseName: data.clauseName,
  1346. clauses: data.clauseContent,
  1347. riskCode: data.riskCode,
  1348. modifyFlag: data.modifyFlag,
  1349. optType: data.optType,
  1350. })
  1351. }
  1352. }
  1353. if (this.name == '华泰财险') {
  1354. let huaTaires = await this.$http.post('/order/huaTaiApi/queryClauseData', param);
  1355. this.huaTaiengageListData = huaTaires.data;
  1356. huaTaires.data.map(val => {
  1357. if (val.optType == '2') {
  1358. this.huaTaiengageList.push({
  1359. engageCode: val.engageCode,
  1360. engageDetail: val.engageDetail,
  1361. engageTitle: val.engageTitle,
  1362. riskCode: val.riskCode,
  1363. modifyFlag: val.modifyFlag,
  1364. })
  1365. }
  1366. })
  1367. }
  1368. } else {
  1369. uni.showModal({
  1370. showCancel: false,
  1371. title: "未查询到该订单"
  1372. })
  1373. }
  1374. },
  1375. methods: {
  1376. ...mapMutations(['setOrderStage', 'setOrderType']),
  1377. //字典name匹配
  1378. dictionaryMatching(list, value) {
  1379. let obj = list.find(val => val.dictValue == value);
  1380. return obj.dictTag;
  1381. },
  1382. async getDicType(type) {
  1383. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  1384. if (res.code == 200) {
  1385. this[type + 'options'] = res.data.ddList;
  1386. // if (type == "trafficManagementVehicleType") {
  1387. //
  1388. // this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  1389. // this
  1390. // .carInfo
  1391. // .cimodelclass)
  1392. // }
  1393. }
  1394. },
  1395. ziJincontributingChange(param) {
  1396. this.ziJinengageList = [];
  1397. param.map(val => {
  1398. let list = this.ziJinengageListData.find(item => item.clauseId == val)
  1399. this.ziJinengageList.push({
  1400. clauseCode: list.clauseCode,
  1401. clauseName: list.clauseName,
  1402. clauses: list.clauseContent,
  1403. riskCode: list.riskCode,
  1404. modifyFlag: list.modifyFlag,
  1405. })
  1406. })
  1407. },
  1408. huaTaicontributingChange(param) {
  1409. this.huaTaiengageList = [];
  1410. param.map(val => {
  1411. let list = this.huaTaiengageListData.find(item => item.engageCode == val)
  1412. this.huaTaiengageList.push({
  1413. engageCode: list.engageCode,
  1414. engageDetail: list.engageDetail,
  1415. engageTitle: list.engageTitle,
  1416. riskCode: list.riskCode,
  1417. modifyFlag: list.modifyFlag,
  1418. })
  1419. })
  1420. },
  1421. //阅读并同意协议
  1422. agreed(e) {
  1423. this.agree = e.value;
  1424. },
  1425. toCarInfo() {
  1426. this.navigate({
  1427. url: '/pages/carInsure2/Information',
  1428. success: (res) => {
  1429. res.eventChannel.emit(
  1430. "acceptData", {
  1431. carInfo: this
  1432. .carInfo,
  1433. ownerInfo: this
  1434. .ownerInfo,
  1435. policyHolderInfo: this
  1436. .policyHolderInfo,
  1437. insuredPersonInfo: this
  1438. .insuredPersonInfo,
  1439. riskList: this
  1440. .riskList,
  1441. kindList: this
  1442. .kindList,
  1443. carInfoPositiveList: this
  1444. .carInfoPositiveList, //车辆
  1445. ownerInfoPositiveList: this
  1446. .ownerInfoPositiveList, //车主
  1447. policyHolderInfoPositiveList: this
  1448. .policyHolderInfoPositiveList, //投保
  1449. insuredPersonInfoPositiveList: this
  1450. .insuredPersonInfoPositiveList, //被保人
  1451. })
  1452. }
  1453. }, "navigateTo", true);
  1454. },
  1455. //去选择险种页面
  1456. toInsureItems() {
  1457. this.navigate({
  1458. url: '/pages/carInsure2/insureItems',
  1459. success: (res) => {
  1460. res.eventChannel.emit("acceptData", {
  1461. carInfo: this.carInfo,
  1462. ownerInfo: this.ownerInfo,
  1463. policyHolderInfo: this.policyHolderInfo,
  1464. insuredPersonInfo: this.insuredPersonInfo,
  1465. riskList: this.riskList,
  1466. kindList: this.kindList
  1467. })
  1468. }
  1469. }, "navigateTo", true);
  1470. },
  1471. //删除图片
  1472. delCheckImage(param, IdList, srcList) {
  1473. this[IdList].map((ele, index) => {
  1474. if (param.imageId === ele.imageId) {
  1475. this[IdList].splice(index, 1);
  1476. }
  1477. return ele;
  1478. });
  1479. this[srcList].map((ele, index) => {
  1480. if (param.imageId === ele.imageId) {
  1481. this[srcList].splice(index, 1);
  1482. }
  1483. return ele;
  1484. });
  1485. },
  1486. //影像查询
  1487. async imageEcho(quotenos) {
  1488. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1489. if (imgres.code == "200") {
  1490. Object.keys(imgres.data).forEach((keys) => {
  1491. if (imgres.data[keys].url) {
  1492. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1493. switch (keys) {
  1494. case 'C01':
  1495. this.carImageListId.push({
  1496. imageId: imgres.data[keys].imageId,
  1497. imageType: imgres.data[keys].imageType,
  1498. })
  1499. this.imgList1.push(imgres.data[keys]);
  1500. break;
  1501. case 'D01':
  1502. this.carImageListId.push({
  1503. imageId: imgres.data[keys].imageId,
  1504. imageType: imgres.data[keys].imageType,
  1505. })
  1506. this.imgList2.push(imgres.data[keys]);
  1507. break;
  1508. case 'C02':
  1509. this.ownerImageListId.push({
  1510. imageId: imgres.data[keys].imageId,
  1511. imageType: imgres.data[keys].imageType,
  1512. })
  1513. this.imgList3.push(imgres.data[keys]);
  1514. break;
  1515. case 'D02':
  1516. this.ownerImageListId.push({
  1517. imageId: imgres.data[keys].imageId,
  1518. imageType: imgres.data[keys].imageType,
  1519. })
  1520. this.imgList4.push(imgres.data[keys]);
  1521. break;
  1522. case 'C03':
  1523. this.policyImageListId.push({
  1524. imageId: imgres.data[keys].imageId,
  1525. imageType: imgres.data[keys].imageType,
  1526. })
  1527. this.imgList5.push(imgres.data[keys]);
  1528. break;
  1529. case 'D03':
  1530. this.policyImageListId.push({
  1531. imageId: imgres.data[keys].imageId,
  1532. imageType: imgres.data[keys].imageType,
  1533. })
  1534. this.imgList6.push(imgres.data[keys]);
  1535. break;
  1536. case 'C04':
  1537. this.insuredImageListId.push({
  1538. imageId: imgres.data[keys].imageId,
  1539. imageType: imgres.data[keys].imageType,
  1540. })
  1541. this.imgList7.push(imgres.data[keys]);
  1542. break;
  1543. case 'D04':
  1544. this.insuredImageListId.push({
  1545. imageId: imgres.data[keys].imageId,
  1546. imageType: imgres.data[keys].imageType,
  1547. })
  1548. this.imgList8.push(imgres.data[keys]);
  1549. break;
  1550. default:
  1551. break;
  1552. }
  1553. }
  1554. });
  1555. }
  1556. },
  1557. async uploadRetry() {
  1558. const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
  1559. .policyImageListId, ...this.insuredImageListId, ...this
  1560. .imgRelationshipid
  1561. ];
  1562. if (mergedArray.length > 0) {
  1563. await this.$http.post('/ins/taskImage/uploadImages', {
  1564. imageList: mergedArray,
  1565. quoteNo: this.quoteno,
  1566. })
  1567. }
  1568. },
  1569. async auditNextconfirm() {
  1570. if (this.modificationFlag) {
  1571. await this.uploadRetry();
  1572. }
  1573. let pro = this.quotationType.themeCode;
  1574. switch (this.name) {
  1575. case "永安财险":
  1576. let yaimage = await this.$http.post(
  1577. '/order/yongAn/submitImage', {
  1578. companyId: this.companyId
  1579. });
  1580. if (yaimage.code == '200') {
  1581. let yaaudit = await this.$http.post(
  1582. '/order/yongAn/audit', {
  1583. companyId: this.companyId,
  1584. jqappoint: "",
  1585. syappoint: ""
  1586. });
  1587. if (yaaudit.code == '200') {
  1588. uni.showModal({
  1589. content: '订单自核成功',
  1590. cancelText: '暂不缴费',
  1591. confirmText: '立即缴费',
  1592. success: (res1) => {
  1593. if (res1.confirm) {
  1594. if (pro == "QD") {
  1595. uni.navigateTo({
  1596. url: "/pages/orders1/paymentCode?companyId=" +
  1597. this
  1598. .companyId
  1599. })
  1600. } else {
  1601. uni.navigateTo({
  1602. url: "/pages/orders1/paymentCode1?companyId=" +
  1603. this
  1604. .companyId
  1605. })
  1606. }
  1607. } else {
  1608. this.navigate({
  1609. url: "/pages/orders1/orders"
  1610. }, "switchTab",
  1611. true);
  1612. }
  1613. }
  1614. });
  1615. } else {
  1616. uni.showModal({
  1617. content: '核保失败(' + yaaudit.msg + ')',
  1618. cancelText: '返回订单',
  1619. confirmText: '修改',
  1620. success: async (res2) => {
  1621. if (res2.confirm) {
  1622. this.navigate({
  1623. url: "/pages/carInsure2/insureItems"
  1624. }, "switchTab",
  1625. true);
  1626. } else {
  1627. this.navigate({
  1628. url: "/pages/orders1/orders"
  1629. }, "switchTab",
  1630. true);
  1631. }
  1632. }
  1633. });
  1634. }
  1635. } else {
  1636. uni.showModal({
  1637. content: '影像上传失败(' + yaimage.msg + ')',
  1638. cancelText: '返回订单',
  1639. confirmText: '修改',
  1640. success: async (res3) => {
  1641. if (res3.confirm) {
  1642. } else {
  1643. this.navigate({
  1644. url: "/pages/orders1/orders"
  1645. }, "switchTab",
  1646. true);
  1647. }
  1648. }
  1649. });
  1650. }
  1651. break;
  1652. case "中煤财险":
  1653. let zmimage = await this.$http.post(
  1654. '/order/zhongMeiApi/submitImage', {
  1655. companyId: this.companyId
  1656. });
  1657. if (zmimage.code == '200') {
  1658. let zmaudit = await this.$http.post(
  1659. '/order/zhongMeiApi/audit', {
  1660. companyId: this.companyId,
  1661. jqappoint: "",
  1662. syappoint: ""
  1663. });
  1664. if (zmaudit.code == '200') {
  1665. uni.showModal({
  1666. content: '订单自核成功',
  1667. cancelText: '暂不缴费',
  1668. confirmText: '立即缴费',
  1669. success: (res1) => {
  1670. if (res1.confirm) {
  1671. if (pro == "QD") {
  1672. uni.navigateTo({
  1673. url: "/pages/orders1/paymentCode?companyId=" +
  1674. this
  1675. .companyId
  1676. })
  1677. } else {
  1678. uni.navigateTo({
  1679. url: "/pages/orders1/paymentCode1?companyId=" +
  1680. this
  1681. .companyId
  1682. })
  1683. }
  1684. } else {
  1685. this.navigate({
  1686. url: "/pages/orders1/orders"
  1687. }, "switchTab",
  1688. true);
  1689. }
  1690. }
  1691. });
  1692. } else {
  1693. uni.showModal({
  1694. content: '核保失败(' + zmaudit.msg + ')',
  1695. cancelText: '返回订单',
  1696. confirmText: '修改',
  1697. success: async (res2) => {
  1698. if (res2.confirm) {
  1699. this.navigate({
  1700. url: "/pages/carInsure2/insureItems"
  1701. }, "switchTab",
  1702. true);
  1703. } else {
  1704. this.navigate({
  1705. url: "/pages/orders1/orders"
  1706. }, "switchTab",
  1707. true);
  1708. }
  1709. }
  1710. });
  1711. }
  1712. } else {
  1713. uni.showModal({
  1714. content: '影像上传失败(' + zmimage.msg + ')',
  1715. cancelText: '返回订单',
  1716. confirmText: '修改',
  1717. success: async (res3) => {
  1718. if (res3.confirm) {
  1719. } else {
  1720. this.navigate({
  1721. url: "/pages/orders1/orders"
  1722. }, "switchTab",
  1723. true);
  1724. }
  1725. }
  1726. });
  1727. }
  1728. break;
  1729. case "永诚财险":
  1730. let ycimage = await this.$http.post(
  1731. '/api/yongCheng/uploadImage', {
  1732. companyId: this.companyId
  1733. });
  1734. if (ycimage.code == '200') {
  1735. let ycaudit = await this.$http.post(
  1736. '/api/yongCheng/audit', {
  1737. companyId: this.companyId,
  1738. });
  1739. if (ycaudit.code == '200') {
  1740. uni.showModal({
  1741. content: '订单自核成功',
  1742. cancelText: '暂不缴费',
  1743. confirmText: '立即缴费',
  1744. success: (res1) => {
  1745. if (res1.confirm) {
  1746. if (pro == "QD") {
  1747. uni.navigateTo({
  1748. url: "/pages/orders1/paymentCode?companyId=" +
  1749. this
  1750. .companyId
  1751. })
  1752. } else {
  1753. uni.navigateTo({
  1754. url: "/pages/orders1/paymentCode1?companyId=" +
  1755. this
  1756. .companyId
  1757. })
  1758. }
  1759. } else {
  1760. this.navigate({
  1761. url: "/pages/orders1/orders"
  1762. }, "switchTab",
  1763. true);
  1764. }
  1765. }
  1766. });
  1767. } else {
  1768. uni.showModal({
  1769. content: '核保失败(' + ycaudit.msg + ')',
  1770. cancelText: '返回订单',
  1771. confirmText: '修改',
  1772. success: async (res2) => {
  1773. if (res2.confirm) {
  1774. this.navigate({
  1775. url: "/pages/carInsure2/insureItems"
  1776. }, "switchTab",
  1777. true);
  1778. } else {
  1779. this.navigate({
  1780. url: "/pages/orders1/orders"
  1781. }, "switchTab",
  1782. true);
  1783. }
  1784. }
  1785. });
  1786. }
  1787. } else {
  1788. uni.showModal({
  1789. content: '影像上传失败(' + ycimage.msg + ')',
  1790. cancelText: '返回订单',
  1791. confirmText: '修改',
  1792. success: async (res3) => {
  1793. if (res3.confirm) {
  1794. } else {
  1795. this.navigate({
  1796. url: "/pages/orders1/orders"
  1797. }, "switchTab",
  1798. true);
  1799. }
  1800. }
  1801. });
  1802. }
  1803. break;
  1804. case "国任财险":
  1805. let grimage = await this.$http.post(
  1806. '/api/guoRen/uploadImage', {
  1807. companyId: this.companyId
  1808. });
  1809. if (grimage.code == '200') {
  1810. let graudit = await this.$http.post(
  1811. '/api/guoRen/audit', {
  1812. companyId: this.companyId,
  1813. });
  1814. if (graudit.code == '200') {
  1815. uni.showModal({
  1816. content: '订单自核成功',
  1817. cancelText: '暂不缴费',
  1818. confirmText: '立即缴费',
  1819. success: (res1) => {
  1820. if (res1.confirm) {
  1821. if (pro == "QD") {
  1822. uni.navigateTo({
  1823. url: "/pages/orders1/paymentCode?companyId=" +
  1824. this
  1825. .companyId
  1826. })
  1827. } else {
  1828. uni.navigateTo({
  1829. url: "/pages/orders1/paymentCode1?companyId=" +
  1830. this
  1831. .companyId
  1832. })
  1833. }
  1834. } else {
  1835. this.navigate({
  1836. url: "/pages/orders1/orders"
  1837. }, "switchTab",
  1838. true);
  1839. }
  1840. }
  1841. });
  1842. } else {
  1843. uni.showModal({
  1844. content: '核保失败(' + graudit.msg + ')',
  1845. cancelText: '返回订单',
  1846. confirmText: '修改',
  1847. success: async (res2) => {
  1848. if (res2.confirm) {
  1849. this.navigate({
  1850. url: "/pages/carInsure2/insureItems"
  1851. }, "switchTab",
  1852. true);
  1853. } else {
  1854. this.navigate({
  1855. url: "/pages/orders1/orders"
  1856. }, "switchTab",
  1857. true);
  1858. }
  1859. }
  1860. });
  1861. }
  1862. } else {
  1863. uni.showModal({
  1864. content: '影像上传失败(' + grimage.msg + ')',
  1865. cancelText: '返回订单',
  1866. confirmText: '修改',
  1867. success: async (res3) => {
  1868. if (res3.confirm) {
  1869. } else {
  1870. this.navigate({
  1871. url: "/pages/orders1/orders"
  1872. }, "switchTab",
  1873. true);
  1874. }
  1875. }
  1876. });
  1877. }
  1878. break;
  1879. case "大家财险":
  1880. let djimage = await this.$http.post(
  1881. '/api/dajia/submitImage', {
  1882. companyId: this.companyId
  1883. });
  1884. if (djimage.code == '200') {
  1885. let djaudit = await this.$http.post(
  1886. '/api/dajia/audit', {
  1887. companyId: this.companyId,
  1888. });
  1889. if (djaudit.code == '200') {
  1890. uni.showModal({
  1891. content: '订单自核成功',
  1892. cancelText: '暂不缴费',
  1893. confirmText: '立即缴费',
  1894. success: (res1) => {
  1895. if (res1.confirm) {
  1896. if (pro == "QD") {
  1897. uni.navigateTo({
  1898. url: "/pages/orders1/paymentCode?companyId=" +
  1899. this
  1900. .companyId
  1901. })
  1902. } else {
  1903. uni.navigateTo({
  1904. url: "/pages/orders1/paymentCode1?companyId=" +
  1905. this
  1906. .companyId
  1907. })
  1908. }
  1909. } else {
  1910. this.navigate({
  1911. url: "/pages/orders1/orders"
  1912. }, "switchTab",
  1913. true);
  1914. }
  1915. }
  1916. });
  1917. } else {
  1918. uni.showModal({
  1919. content: '核保失败(' + djaudit.msg + ')',
  1920. cancelText: '返回订单',
  1921. confirmText: '修改',
  1922. success: async (res2) => {
  1923. if (res2.confirm) {
  1924. this.navigate({
  1925. url: "/pages/carInsure2/insureItems"
  1926. }, "switchTab",
  1927. true);
  1928. } else {
  1929. this.navigate({
  1930. url: "/pages/orders1/orders"
  1931. }, "switchTab",
  1932. true);
  1933. }
  1934. }
  1935. });
  1936. }
  1937. } else {
  1938. uni.showModal({
  1939. content: '影像上传失败(' + djimage.msg + ')',
  1940. cancelText: '返回订单',
  1941. confirmText: '修改',
  1942. success: async (res3) => {
  1943. if (res3.confirm) {
  1944. } else {
  1945. this.navigate({
  1946. url: "/pages/orders1/orders"
  1947. }, "switchTab",
  1948. true);
  1949. }
  1950. }
  1951. });
  1952. }
  1953. break;
  1954. case "紫金财险":
  1955. let zjimage = await this.$http.post(
  1956. '/order/zijin/submitImage', {
  1957. companyId: this.companyId
  1958. });
  1959. if (zjimage.code == '200') {
  1960. let zjaudit = await this.$http.post(
  1961. '/order/zijin/audit', {
  1962. companyId: this.companyId,
  1963. engageList: this.ziJinengageList,
  1964. });
  1965. if (zjaudit.code == '200') {
  1966. uni.showModal({
  1967. content: '订单自核成功',
  1968. cancelText: '暂不缴费',
  1969. confirmText: '立即缴费',
  1970. success: (res1) => {
  1971. if (res1.confirm) {
  1972. if (pro == "QD") {
  1973. uni.navigateTo({
  1974. url: "/pages/orders1/paymentCode?companyId=" +
  1975. this
  1976. .companyId
  1977. })
  1978. } else {
  1979. uni.navigateTo({
  1980. url: "/pages/orders1/paymentCode1?companyId=" +
  1981. this
  1982. .companyId
  1983. })
  1984. }
  1985. } else {
  1986. this.navigate({
  1987. url: "/pages/orders1/orders"
  1988. }, "switchTab",
  1989. true);
  1990. }
  1991. }
  1992. });
  1993. } else {
  1994. uni.showModal({
  1995. content: '核保失败(' + zjaudit.msg + ')',
  1996. cancelText: '返回订单',
  1997. confirmText: '修改',
  1998. success: async (res2) => {
  1999. if (res2.confirm) {
  2000. this.navigate({
  2001. url: "/pages/carInsure2/insureItems"
  2002. }, "switchTab",
  2003. true);
  2004. } else {
  2005. this.navigate({
  2006. url: "/pages/orders1/orders"
  2007. }, "switchTab",
  2008. true);
  2009. }
  2010. }
  2011. });
  2012. }
  2013. } else {
  2014. uni.showModal({
  2015. content: '影像上传失败(' + zjimage.msg + ')',
  2016. cancelText: '返回订单',
  2017. confirmText: '修改',
  2018. success: async (res3) => {
  2019. if (res3.confirm) {
  2020. } else {
  2021. this.navigate({
  2022. url: "/pages/orders1/orders"
  2023. }, "switchTab",
  2024. true);
  2025. }
  2026. }
  2027. });
  2028. }
  2029. break;
  2030. case "华泰财险":
  2031. let htimage = await this.$http.post(
  2032. '/order/huaTaiApi/submitImage', {
  2033. companyId: this.companyId
  2034. });
  2035. if (htimage.code == '200') {
  2036. let htaudit = await this.$http.post(
  2037. '/order/huaTaiApi/audit', {
  2038. companyId: this.companyId,
  2039. engageList: this.huaTaiengageList,
  2040. });
  2041. if (htaudit.code == '200') {
  2042. uni.showModal({
  2043. content: '订单自核成功',
  2044. cancelText: '暂不缴费',
  2045. confirmText: '立即缴费',
  2046. success: (res1) => {
  2047. if (res1.confirm) {
  2048. if (pro == "QD") {
  2049. uni.navigateTo({
  2050. url: "/pages/orders1/paymentCode?companyId=" +
  2051. this
  2052. .companyId
  2053. })
  2054. } else {
  2055. uni.navigateTo({
  2056. url: "/pages/orders1/paymentCode1?companyId=" +
  2057. this
  2058. .companyId
  2059. })
  2060. }
  2061. } else {
  2062. this.navigate({
  2063. url: "/pages/orders1/orders"
  2064. }, "switchTab",
  2065. true);
  2066. }
  2067. }
  2068. });
  2069. } else {
  2070. uni.showModal({
  2071. content: '核保失败(' + htaudit.msg + ')',
  2072. cancelText: '返回订单',
  2073. confirmText: '修改',
  2074. success: async (res2) => {
  2075. if (res2.confirm) {
  2076. this.navigate({
  2077. url: "/pages/carInsure2/insureItems"
  2078. }, "switchTab",
  2079. true);
  2080. } else {
  2081. this.navigate({
  2082. url: "/pages/orders1/orders"
  2083. }, "switchTab",
  2084. true);
  2085. }
  2086. }
  2087. });
  2088. }
  2089. } else {
  2090. uni.showModal({
  2091. content: '影像上传失败(' + htimage.msg + ')',
  2092. cancelText: '返回订单',
  2093. confirmText: '修改',
  2094. success: async (res3) => {
  2095. if (res3.confirm) {
  2096. } else {
  2097. this.navigate({
  2098. url: "/pages/orders1/orders"
  2099. }, "switchTab",
  2100. true);
  2101. }
  2102. }
  2103. });
  2104. }
  2105. break;
  2106. case "渤海财险":
  2107. let bhimage = await this.$http.post(
  2108. '/order/boHaiApi/submitImage', {
  2109. companyId: this.companyId
  2110. });
  2111. if (bhimage.code == '200') {
  2112. let bhaudit = await this.$http.post(
  2113. '/order/boHaiApi/audit', {
  2114. companyId: this.companyId,
  2115. jqappoint: "",
  2116. syappoint: ""
  2117. });
  2118. if (bhaudit.code == '200') {
  2119. uni.showModal({
  2120. content: '订单自核成功',
  2121. cancelText: '暂不缴费',
  2122. confirmText: '立即缴费',
  2123. success: (res1) => {
  2124. if (res1.confirm) {
  2125. if (pro == "QD") {
  2126. uni.navigateTo({
  2127. url: "/pages/orders1/paymentCode?companyId=" +
  2128. this
  2129. .companyId
  2130. })
  2131. } else {
  2132. uni.navigateTo({
  2133. url: "/pages/orders1/paymentCode1?companyId=" +
  2134. this
  2135. .companyId
  2136. })
  2137. }
  2138. } else {
  2139. this.navigate({
  2140. url: "/pages/orders1/orders"
  2141. }, "switchTab",
  2142. true);
  2143. }
  2144. }
  2145. });
  2146. } else {
  2147. uni.showModal({
  2148. content: '核保失败(' + bhaudit.msg + ')',
  2149. cancelText: '返回订单',
  2150. confirmText: '修改',
  2151. success: async (res2) => {
  2152. if (res2.confirm) {
  2153. this.navigate({
  2154. url: "/pages/carInsure2/insureItems"
  2155. }, "switchTab",
  2156. true);
  2157. } else {
  2158. this.navigate({
  2159. url: "/pages/orders1/orders"
  2160. }, "switchTab",
  2161. true);
  2162. }
  2163. }
  2164. });
  2165. }
  2166. } else {
  2167. uni.showModal({
  2168. content: '影像上传失败(' + bhimage.msg + ')',
  2169. cancelText: '返回订单',
  2170. confirmText: '修改',
  2171. success: async (res3) => {
  2172. if (res3.confirm) {
  2173. } else {
  2174. this.navigate({
  2175. url: "/pages/orders1/orders"
  2176. }, "switchTab",
  2177. true);
  2178. }
  2179. }
  2180. });
  2181. }
  2182. break;
  2183. case "恒邦财险":
  2184. case "安盛天平":
  2185. case "众安财险":
  2186. case "中国人寿":
  2187. case "太平财险":
  2188. case "华农财险":
  2189. let pythonimage = await this.$http.post(
  2190. '/insurance/crawler/submitImage', {
  2191. subOrderNo: this.companyId
  2192. });
  2193. if (pythonimage.code == '200') {
  2194. let pythonaudit = await this.$http.post(
  2195. '/insurance/crawler/audit', {
  2196. subOrderNo: this.companyId,
  2197. });
  2198. if (pythonaudit.code == '200') {
  2199. uni.showModal({
  2200. content: '订单自核成功',
  2201. cancelText: '暂不缴费',
  2202. confirmText: '立即缴费',
  2203. success: (res1) => {
  2204. if (res1.confirm) {
  2205. if (pro == "QD") {
  2206. uni.navigateTo({
  2207. url: "/pages/orders1/paymentCode?companyId=" +
  2208. this
  2209. .companyId
  2210. })
  2211. } else {
  2212. uni.navigateTo({
  2213. url: "/pages/orders1/paymentCode1?companyId=" +
  2214. this
  2215. .companyId
  2216. })
  2217. }
  2218. } else {
  2219. this.navigate({
  2220. url: "/pages/orders1/orders"
  2221. }, "switchTab",
  2222. true);
  2223. }
  2224. }
  2225. });
  2226. } else {
  2227. uni.showModal({
  2228. content: '核保失败(' + pythonaudit.msg + ')',
  2229. cancelText: '返回订单',
  2230. confirmText: '修改',
  2231. success: async (res2) => {
  2232. if (res2.confirm) {
  2233. this.navigate({
  2234. url: "/pages/carInsure2/insureItems"
  2235. }, "switchTab",
  2236. true);
  2237. } else {
  2238. this.navigate({
  2239. url: "/pages/orders1/orders"
  2240. }, "switchTab",
  2241. true);
  2242. }
  2243. }
  2244. });
  2245. }
  2246. } else {
  2247. uni.showModal({
  2248. content: '影像上传失败(' + pythonimage.msg + ')',
  2249. cancelText: '返回订单',
  2250. confirmText: '修改',
  2251. success: async (res3) => {
  2252. if (res3.confirm) {
  2253. } else {
  2254. this.navigate({
  2255. url: "/pages/orders1/orders"
  2256. }, "switchTab",
  2257. true);
  2258. }
  2259. }
  2260. });
  2261. }
  2262. break;
  2263. }
  2264. },
  2265. // 上传影像并提交核保
  2266. async submitAudit() {
  2267. if (!this.agree) {
  2268. return uni.showToast({
  2269. title: '请阅读并同意协议',
  2270. icon: "none",
  2271. duration: 2000
  2272. });
  2273. }
  2274. this.auditNextShow = true;
  2275. },
  2276. async chooseImage(type, imageIdList, imgurl) {
  2277. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  2278. count: 1,
  2279. sizeType: ['compressed']
  2280. });
  2281. chooseImageRes.tempFilePaths.map((ele, index) => {
  2282. uni.uploadFile({
  2283. url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
  2284. filePath: ele,
  2285. name: "multipartFile",
  2286. formData: {
  2287. 'type': 'image',
  2288. },
  2289. header: {
  2290. Authorization: this.token,
  2291. },
  2292. success: async (imgRes) => {
  2293. let data = JSON.parse(imgRes.data);
  2294. data.data.url = this.$base.baseUrl + data.data.url;
  2295. if (data.code == "200") {
  2296. console.log()
  2297. if (this[imageIdList].some(v => v.imageType == type)) {
  2298. this[imageIdList].map(val => {
  2299. if (val.imageType == type) {
  2300. val.imageId = data.data.id;
  2301. }
  2302. })
  2303. } else {
  2304. this[imageIdList].push({
  2305. imageId: data.data.id,
  2306. imageType: type,
  2307. })
  2308. }
  2309. this[imgurl].push(data.data)
  2310. this.modificationFlag = true;
  2311. }
  2312. }
  2313. });
  2314. })
  2315. },
  2316. //影像预览
  2317. previewImage(e, type) {
  2318. this.previewImgs = this[type];
  2319. var current = e.currentTarget.dataset.src;
  2320. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  2321. },
  2322. //查询电子保单
  2323. async yonganprint() {
  2324. this.policyList = [];
  2325. this.policyList1 = [];
  2326. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  2327. companyId: this.companyId,
  2328. policytype: "jq"
  2329. }); //永安
  2330. if (res.data) {
  2331. let result = res.data.replace(/[\r\n]/g, "");
  2332. let pdfBase64 = `data:application/pdf;base64,${result}`;
  2333. base64ToPath(pdfBase64)
  2334. .then(path => {
  2335. this.policyList.push({
  2336. fileTitle: "交强电子保单",
  2337. filename: this.orderInfo.jqpolicyno,
  2338. fileurl: path,
  2339. })
  2340. })
  2341. }
  2342. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  2343. companyId: this.companyId,
  2344. policytype: "jq"
  2345. }); //永安
  2346. if (res1.data) {
  2347. let result = res1.data.replace(/[\r\n]/g, "");
  2348. let pdfBase64 = `data:application/pdf;base64,${result}`;
  2349. base64ToPath(pdfBase64)
  2350. .then(path => {
  2351. this.policyList1.push({
  2352. fileTitle: "交强电子标志",
  2353. filename: this.orderInfo.jqpolicyno,
  2354. fileurl: path,
  2355. })
  2356. })
  2357. }
  2358. if (this.orderInfo.sypolicyno) {
  2359. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  2360. companyId: this.companyId,
  2361. policytype: "sy"
  2362. }); //永安
  2363. if (res2.data) {
  2364. let result = res1.data.replace(/[\r\n]/g, "");
  2365. let pdfBase64 = `data:application/pdf;base64,${result}`;
  2366. base64ToPath(pdfBase64)
  2367. .then(path => {
  2368. this.policyList.push({
  2369. fileTitle: "商业电子保单",
  2370. filename: this.orderInfo.sypolicyno,
  2371. fileurl: path,
  2372. })
  2373. })
  2374. }
  2375. }
  2376. },
  2377. async zhongMeigetPolicyPrint() {
  2378. this.policyList = [];
  2379. this.policyList1 = [];
  2380. if (this.orderInfo.jqpolicyno) {
  2381. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  2382. companyId: this.companyId,
  2383. riskCode: "0507",
  2384. type: '2', //2:保单
  2385. });
  2386. if (res.code == '200') {
  2387. this.policyList.push({
  2388. fileTitle: "交强电子保单",
  2389. filename: this.orderInfo.jqpolicyno,
  2390. fileurl: res.data[0],
  2391. })
  2392. }
  2393. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  2394. companyId: this.companyId,
  2395. riskCode: "0507",
  2396. type: '1', //1:标志
  2397. });
  2398. if (res1.code == '200') {
  2399. this.policyList1.push({
  2400. fileTitle: "交强电子标志",
  2401. filename: this.orderInfo.jqpolicyno,
  2402. fileurl: res1.data[0],
  2403. })
  2404. }
  2405. }
  2406. if (this.orderInfo.sypolicyno) {
  2407. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  2408. companyId: this.companyId,
  2409. riskCode: "0510",
  2410. type: '2', //2:标志
  2411. });
  2412. if (res.code == '200') {
  2413. this.policyList.push({
  2414. fileTitle: "商业电子保单",
  2415. filename: this.orderInfo.sypolicyno,
  2416. fileurl: res.data[0],
  2417. })
  2418. }
  2419. }
  2420. },
  2421. async yongChenggetPolicyPrint() {
  2422. this.policyList = [];
  2423. this.policyList1 = [];
  2424. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  2425. companyId: this.companyId,
  2426. riskCode: "0507",
  2427. type: '2', //2:保单
  2428. }); //永诚财险
  2429. if (res.code == '200') {
  2430. this.policyList.push({
  2431. fileTitle: "交强电子保单",
  2432. filename: this.orderInfo.jqpolicyno,
  2433. fileurl: res.data.jqUrl,
  2434. })
  2435. if (res.data.jqFlagUrl) {
  2436. this.policyList1.push({
  2437. fileTitle: "交强电子标志",
  2438. filename: this.orderInfo.jqpolicyno,
  2439. fileurl: res.data.jqFlagUrl,
  2440. })
  2441. }
  2442. }
  2443. if (this.orderInfo.sypolicyno) {
  2444. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  2445. companyId: this.companyId,
  2446. riskCode: "0510",
  2447. type: '2', //2:保单
  2448. }); //永诚财险
  2449. if (res.code == '200') {
  2450. this.policyList.push({
  2451. fileTitle: "商业电子保单",
  2452. filename: this.orderInfo.sypolicyno,
  2453. fileurl: res.data.syUrl,
  2454. });
  2455. }
  2456. }
  2457. if (this.orderInfo.crossInsurance.length > 0) {
  2458. this.orderInfo.crossInsurance.map(async ele => {
  2459. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  2460. companyId: this.companyId,
  2461. policyNumber: ele.policyNumber,
  2462. riskCode: "0513",
  2463. type: '2', //2:保单
  2464. });
  2465. if (res.code == '200') {
  2466. this.policyList.push({
  2467. fileTitle: "驾意险保单",
  2468. filename: ele.policyNumber,
  2469. fileurl: res.data.jyUrl,
  2470. })
  2471. }
  2472. })
  2473. }
  2474. },
  2475. //爬虫电子保单统一调用
  2476. async pythonprint() {
  2477. if (this.orderInfo.jqpolicyno) {
  2478. let params = {
  2479. subOrderNo: this.companyId,
  2480. };
  2481. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  2482. if (res1.code == '200') {
  2483. this.policyList = [];
  2484. this.policyList1 = [];
  2485. this.policyList.push({
  2486. fileTitle: "交强电子保单",
  2487. filename: this.orderInfo.jqpolicyno,
  2488. fileurl: res1.data.jqxPolicyUrl,
  2489. })
  2490. this.policyList1.push({
  2491. fileTitle: "交强电子标志",
  2492. filename: this.orderInfo.jqpolicyno,
  2493. fileurl: res1.data.jqxFlagUrl,
  2494. })
  2495. if (res1.data.syxPolicyUrl) {
  2496. this.policyList.push({
  2497. fileTitle: "商业电子保单",
  2498. filename: this.orderInfo.sypolicyno,
  2499. fileurl: res1.data.syxPolicyUrl,
  2500. });
  2501. }
  2502. if (res1.data.jyxInfoList.length > 0) {
  2503. res1.data.jyxInfoList.map(ele => {
  2504. this.policyList.push({
  2505. fileTitle: "驾意险保单",
  2506. filename: ele.application,
  2507. fileurl: ele.jyx_policy_url,
  2508. });
  2509. return ele;
  2510. })
  2511. }
  2512. }
  2513. }
  2514. },
  2515. async ziJingetPolicyPrint() {
  2516. this.policyList = [];
  2517. this.policyList1 = [];
  2518. if (this.orderInfo.jqpolicyno) {
  2519. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  2520. companyId: this.companyId,
  2521. riskCode: "0507",
  2522. type: '2', //2:保单
  2523. });
  2524. if (res.code == '200') {
  2525. this.policyList.push({
  2526. fileTitle: "交强电子保单",
  2527. filename: this.orderInfo.jqpolicyno,
  2528. fileurl: res.data,
  2529. })
  2530. }
  2531. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  2532. companyId: this.companyId,
  2533. riskCode: "0507",
  2534. type: '1', //1:标志
  2535. });
  2536. if (res1.code == '200') {
  2537. this.policyList1.push({
  2538. fileTitle: "交强电子标志",
  2539. filename: this.orderInfo.jqpolicyno,
  2540. fileurl: res1.data,
  2541. })
  2542. }
  2543. }
  2544. if (this.orderInfo.sypolicyno) {
  2545. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  2546. companyId: this.companyId,
  2547. riskCode: "0510",
  2548. type: '2', //2:标志
  2549. });
  2550. if (res.code == '200') {
  2551. this.policyList.push({
  2552. fileTitle: "商业电子保单",
  2553. filename: this.orderInfo.sypolicyno,
  2554. fileurl: res.data,
  2555. })
  2556. }
  2557. }
  2558. if (this.orderInfo.crossInsurance.length > 0) {
  2559. this.orderInfo.crossInsurance.map(async ele => {
  2560. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  2561. companyId: this.companyId,
  2562. policyNumber: ele.policyNumber,
  2563. riskCode: "0513",
  2564. type: '2', //2:保单
  2565. });
  2566. if (res.code == '200') {
  2567. this.policyList.push({
  2568. fileTitle: "驾意险保单",
  2569. filename: ele.policyNumber,
  2570. fileurl: res.data,
  2571. })
  2572. }
  2573. })
  2574. }
  2575. },
  2576. async daJiagetPolicyPrint() {
  2577. this.policyList = [];
  2578. this.policyList1 = [];
  2579. if (this.orderInfo.jqpolicyno) {
  2580. let res = await this.$http.post('/api/dajia/obtainWarranty', {
  2581. companyId: this.companyId,
  2582. riskCode: "0507",
  2583. type: '2', //2:保单
  2584. });
  2585. if (res.code == '200') {
  2586. this.policyList.push({
  2587. fileTitle: "交强电子保单",
  2588. filename: this.orderInfo.jqpolicyno,
  2589. fileurl: res.data,
  2590. })
  2591. }
  2592. let res1 = await this.$http.post('/api/dajia/obtainWarranty', {
  2593. companyId: this.companyId,
  2594. riskCode: "0507",
  2595. type: '1', //1:标志
  2596. });
  2597. if (res1.code == '200') {
  2598. this.policyList1.push({
  2599. fileTitle: "交强电子标志",
  2600. filename: this.orderInfo.jqpolicyno,
  2601. fileurl: res1.data,
  2602. })
  2603. }
  2604. if (this.orderInfo.sypolicyno) {
  2605. let res = await this.$http.post('/api/dajia/obtainWarranty', {
  2606. companyId: this.companyId,
  2607. riskCode: "0510",
  2608. type: '2', //2:标志
  2609. });
  2610. if (res.code == '200') {
  2611. this.policyList.push({
  2612. fileTitle: "商业电子保单",
  2613. filename: this.orderInfo.sypolicyno,
  2614. fileurl: res.data,
  2615. })
  2616. }
  2617. }
  2618. }
  2619. },
  2620. async huaTaigetPolicyPrint() {
  2621. this.policyList = [];
  2622. this.policyList1 = [];
  2623. if (this.orderInfo.jqpolicyno) {
  2624. let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
  2625. companyId: this.companyId,
  2626. riskCode: "0507",
  2627. });
  2628. if (res.code == '200') {
  2629. this.policyList = [];
  2630. this.policyList1 = [];
  2631. this.policyList.push({
  2632. fileTitle: "交强电子保单",
  2633. filename: this.orderInfo.jqpolicyno,
  2634. fileurl: res.data.jqxPolicyUrl,
  2635. })
  2636. this.policyList1.push({
  2637. fileTitle: "交强电子标志",
  2638. filename: this.orderInfo.jqpolicyno,
  2639. fileurl: res.data.jqxFlagUrl,
  2640. })
  2641. if (res.data.syxPolicyUrl) {
  2642. this.policyList.push({
  2643. fileTitle: "商业电子保单",
  2644. filename: this.orderInfo.sypolicyno,
  2645. fileurl: res.data.syxPolicyUrl,
  2646. });
  2647. }
  2648. }
  2649. }
  2650. },
  2651. async guoRengetPolicyPrint() {
  2652. this.policyList = [];
  2653. this.policyList1 = [];
  2654. if (this.orderInfo.jqpolicyno) {
  2655. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2656. companyId: this.companyId,
  2657. riskCode: "0507",
  2658. type: '2', //2:保单
  2659. });
  2660. if (res.code == '200') {
  2661. this.policyList.push({
  2662. fileTitle: "交强电子保单",
  2663. filename: this.orderInfo.jqpolicyno,
  2664. fileurl: res.data,
  2665. })
  2666. }
  2667. let res1 = await this.$http.post('/api/guoRen/policyPrint', {
  2668. companyId: this.companyId,
  2669. riskCode: "0507",
  2670. type: '1', //1:标志
  2671. });
  2672. if (res1.code == '200') {
  2673. this.policyList1.push({
  2674. fileTitle: "交强电子标志",
  2675. filename: this.orderInfo.jqpolicyno,
  2676. fileurl: res1.data,
  2677. })
  2678. }
  2679. }
  2680. if (this.orderInfo.sypolicyno) {
  2681. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2682. companyId: this.companyId,
  2683. riskCode: "0510",
  2684. type: '2', //2:标志
  2685. });
  2686. if (res.code == '200') {
  2687. this.policyList.push({
  2688. fileTitle: "商业电子保单",
  2689. filename: this.orderInfo.sypolicyno,
  2690. fileurl: res.data,
  2691. })
  2692. }
  2693. }
  2694. if (this.orderInfo.crossInsurance.length > 0) {
  2695. this.orderInfo.crossInsurance.map(async ele => {
  2696. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2697. companyId: this.companyId,
  2698. policyNumber: ele.policyNumber,
  2699. riskCode: "0513",
  2700. type: '2', //2:保单
  2701. });
  2702. if (res.code == '200') {
  2703. this.policyList.push({
  2704. fileTitle: "驾意险保单",
  2705. filename: ele.policyNumber,
  2706. fileurl: res.data,
  2707. })
  2708. }
  2709. })
  2710. }
  2711. },
  2712. downloadPolicy(file) {
  2713. //#ifdef APP-PLUS
  2714. uni.showLoading({
  2715. title: '文件下载中'
  2716. });
  2717. let index = file.lastIndexOf("\/")
  2718. let licensename = file.substring(index + 1, file.length)
  2719. let dtask = plus.downloader.createDownload(file, {
  2720. filename: "_downloads/" + this.name + '-' + this.insuredPersonInfo.name + '-' + licensename
  2721. }, function(d, status) {
  2722. if (status == 200) {
  2723. uni.hideLoading()
  2724. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  2725. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  2726. plus.runtime.openFile(d.filename); //选择软件打开文件
  2727. } else {
  2728. uni.hideLoading()
  2729. //下载失败
  2730. plus.downloader.clear(); //清除下载任务
  2731. }
  2732. })
  2733. dtask.start();
  2734. //#endif
  2735. //#ifdef H5
  2736. var win = window.open();
  2737. win.document.write(
  2738. '<body style="margin:0px;"><object data="' +
  2739. file +
  2740. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  2741. file +
  2742. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  2743. );
  2744. //#endif
  2745. },
  2746. //选择缴费方式
  2747. openPayWay() {
  2748. this.navigate({
  2749. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  2750. }, 'navigateTo', true)
  2751. },
  2752. cancelShare() {
  2753. this.$refs.showshare.close()
  2754. },
  2755. //控制详情的展开和收起
  2756. controlShow(type) {
  2757. this[type] = !this[type];
  2758. },
  2759. //撤销核保
  2760. cancelUnderwriting() {
  2761. uni.showModal({
  2762. content: '是否确认撤销核保?',
  2763. success: async (res) => {
  2764. if (res.confirm) {
  2765. let param = {
  2766. "auditid": this.userInfo.sysUser.id, //核保人会员号
  2767. "auditopinion": '', //核保意见
  2768. "jqapplyno": "", //交强险投保单号
  2769. "jqappoint": "", //交强特别约定
  2770. "jqpolicyno": "", //交强保单号
  2771. "orderno": this.orderno, //订单号
  2772. "orderstatus": "0", //订单类型
  2773. "syapplyno": "", //商业险投保单号
  2774. "syappoint": "", //商业险特别约定
  2775. "sypolicyno": "" //商业保单号
  2776. }
  2777. let res = await this.$http.post('/insOrder/saveAudit', param);
  2778. uni.showToast({
  2779. title: '撤销成功',
  2780. icon: "none",
  2781. duration: 2000
  2782. });
  2783. setTimeout(() => {
  2784. this.setOrderStage(0);
  2785. this.setOrderType(0);
  2786. this.navigate({
  2787. url: "/pages/orders1/orders"
  2788. }, "switchTab", true);
  2789. }, 2000);
  2790. } else if (res.cancel) {
  2791. console.log('用户点击取消');
  2792. }
  2793. }
  2794. });
  2795. },
  2796. toChinesNum(num) {
  2797. let overWan = Math.floor(num / 10000);
  2798. let result = overWan + "万";
  2799. return result;
  2800. },
  2801. }
  2802. }
  2803. </script>
  2804. <style lang="scss" scoped>
  2805. @import '@/style/mixin.scss';
  2806. .page {
  2807. background: #F8FAFE;
  2808. padding: 0 16px 100px 16px;
  2809. }
  2810. .headers {
  2811. width: 100%;
  2812. height: auto;
  2813. background: linear-gradient(180deg, #0052FF 0%, #F8FAFE 110%);
  2814. padding: 16px 16px 0 16px;
  2815. .price {
  2816. width: 100%;
  2817. height: 40px;
  2818. background: #FFFFFF;
  2819. border-radius: 6px 6px 0px 0px;
  2820. }
  2821. }
  2822. .header {
  2823. height: 80upx;
  2824. position: relative;
  2825. }
  2826. .header .title {
  2827. font-size: 30upx;
  2828. font-weight: bold;
  2829. }
  2830. .welfare {
  2831. margin-bottom: 20upx;
  2832. width: 100%;
  2833. box-sizing: border-box;
  2834. background: #FFFFFF;
  2835. border-radius: 20upx;
  2836. }
  2837. .welfare .body {
  2838. padding: 0 30upx 30upx;
  2839. box-sizing: border-box;
  2840. flex-wrap: wrap;
  2841. }
  2842. .welfare .body>.welfareItem {
  2843. width: 320upx;
  2844. height: 120upx;
  2845. padding: 10upx 20upx;
  2846. margin: 20upx 10upx 0upx;
  2847. border: 1px solid rgba($themeColor, 0.6);
  2848. box-sizing: border-box;
  2849. background: rgba($themeColor, 0.4);
  2850. border-radius: 10upx;
  2851. }
  2852. .welfare .body>.welfareItem .name {
  2853. color: $themeColor;
  2854. font-size: 30upx;
  2855. width: 210upx;
  2856. overflow: hidden;
  2857. text-overflow: ellipsis;
  2858. white-space: nowrap;
  2859. }
  2860. .welfare .body>.welfareItem .content {
  2861. font-size: 24upx;
  2862. width: 260upx;
  2863. overflow: hidden;
  2864. text-overflow: ellipsis;
  2865. white-space: nowrap;
  2866. }
  2867. /* 报价方案Start */
  2868. .quotePlan {
  2869. margin-bottom: 20upx;
  2870. width: 100%;
  2871. }
  2872. .quotePlan .header .adjustPlan {
  2873. color: $themeColor;
  2874. }
  2875. .quotePlan .body {
  2876. background-color: #fff;
  2877. padding: 10px;
  2878. border-radius: 6px;
  2879. .kindList {
  2880. background-color: #F9F9F9;
  2881. padding: 10px;
  2882. height: auto;
  2883. width: 100%;
  2884. border-radius: 10px;
  2885. font-size: 13px;
  2886. color: rgba(35, 40, 50, 0.8);
  2887. }
  2888. }
  2889. .quotePlan .body .insurance {
  2890. padding-bottom: 20upx;
  2891. }
  2892. .quotePlan .body .row {
  2893. padding: 5px;
  2894. border-bottom: 1px solid #F3F3F3;
  2895. }
  2896. .quotePlan .body .row:last-child {
  2897. border: none;
  2898. }
  2899. .quotePlan .body .row .date {
  2900. color: #A4A4A4;
  2901. font-size: 22upx;
  2902. }
  2903. .quotePlan .body .insurance .kindList {
  2904. background: #F3F3F3;
  2905. padding: 0 10upx;
  2906. }
  2907. .addedServices .kindList {
  2908. background: #F3F3F3;
  2909. padding: 0 10upx;
  2910. }
  2911. .quotePlan .body .insurance .kindList .kindItem {
  2912. padding: 2px 0;
  2913. }
  2914. .quotePlan .body .insurance .kindList .kindItem>view {
  2915. font-size: 24upx;
  2916. }
  2917. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  2918. width: 310upx;
  2919. }
  2920. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  2921. width: 170upx;
  2922. }
  2923. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  2924. width: 170upx;
  2925. }
  2926. .addedServices .kindList .kindItem {
  2927. height: 65upx;
  2928. }
  2929. .addedServices .kindList .kindItem>view {
  2930. font-size: 24upx;
  2931. padding: 0upx 15upx;
  2932. }
  2933. /* 报价方案End */
  2934. .car {
  2935. width: 100%;
  2936. .body {
  2937. padding: 0upx 30upx 0;
  2938. background-color: #fff;
  2939. border-radius: 6px;
  2940. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2941. .row {
  2942. padding: 5px;
  2943. border-bottom: 1px solid #F3F3F3;
  2944. }
  2945. .row:last-child {
  2946. border: none;
  2947. }
  2948. }
  2949. }
  2950. /* 预缴费Start */
  2951. .advancePaymentTotal {
  2952. margin-bottom: 20upx;
  2953. width: 100%;
  2954. box-sizing: border-box;
  2955. background: #FFFFFF;
  2956. border-radius: 20upx;
  2957. }
  2958. .advancePaymentTotal .body {
  2959. padding: 0upx 40upx 10upx;
  2960. }
  2961. .advancePaymentTotal .body .row {
  2962. height: 80upx;
  2963. border-bottom: 1px solid #F3F3F3;
  2964. }
  2965. /* 预缴费End */
  2966. /* 底部按钮Start */
  2967. .bottomBtn {
  2968. position: fixed;
  2969. bottom: 0;
  2970. left: 0;
  2971. right: 0;
  2972. height: auto;
  2973. z-index: 999;
  2974. background-color: #fff;
  2975. .agree {
  2976. padding: 4px 8px;
  2977. font-size: 22rpx;
  2978. color: #858585;
  2979. .tip {
  2980. color: #FF5600;
  2981. margin: 0upx 10upx;
  2982. }
  2983. }
  2984. .btnView {
  2985. width: 100%;
  2986. height: 38px;
  2987. background-color: #fff;
  2988. .btn {
  2989. height: 100%;
  2990. }
  2991. .btn:nth-child(1) {
  2992. width: 50%;
  2993. background-color: #E6EEFF;
  2994. color: #0052FF;
  2995. padding: 8px;
  2996. font-size: 13px;
  2997. }
  2998. .btn:nth-child(2) {
  2999. width: 50%;
  3000. color: #fff;
  3001. background-color: #0038AF;
  3002. font-weight: bold;
  3003. }
  3004. }
  3005. }
  3006. .tool {
  3007. padding: 10px;
  3008. view {
  3009. width: 100%;
  3010. padding: 8px 0;
  3011. border-bottom: 1px solid #f2f2f2;
  3012. font-size: 14px;
  3013. color: #232832;
  3014. }
  3015. }
  3016. .cancell {
  3017. width: 100%;
  3018. height: 46px;
  3019. background-color: #E6EEFF;
  3020. font-size: 16px;
  3021. color: #0052FF;
  3022. }
  3023. /* 底部按钮End */
  3024. .contributing {
  3025. width: 100%;
  3026. margin: 4px 0;
  3027. font-size: 14px;
  3028. text:nth-child(1) {
  3029. font-weight: bold;
  3030. color: #ff9000;
  3031. }
  3032. }
  3033. /* 人员信息Start */
  3034. .personInfo,
  3035. .advancePayment,
  3036. .imageInfo,
  3037. .appoint {}
  3038. .personInfo,
  3039. .advancePayment,
  3040. .imageInfo,
  3041. .appoint {
  3042. .title {
  3043. height: 80upx;
  3044. font-size: 15px;
  3045. box-shadow: inset 0 -3upx 0px #fafafa;
  3046. }
  3047. .content {
  3048. padding: 0px 5px 0;
  3049. background-color: #fff;
  3050. border-radius: 6px;
  3051. box-shadow: 0px 4px 10px 0px #DAE3F4;
  3052. }
  3053. .uni-uploader {
  3054. padding: 8px;
  3055. background-color: #fff;
  3056. border-radius: 6px;
  3057. height: auto;
  3058. box-shadow: 0px 4px 10px 0px #DAE3F4;
  3059. }
  3060. }
  3061. .uni-uploader__file {
  3062. position: relative;
  3063. }
  3064. .delImgIcon {
  3065. width: 40upx;
  3066. height: 40upx;
  3067. position: absolute;
  3068. right: 0upx;
  3069. top: 0upx;
  3070. color: #FFFFFF;
  3071. }
  3072. .showStatus {
  3073. font-size: 26upx;
  3074. color: #007AFF;
  3075. }
  3076. .personInfo .content .row,
  3077. .advancePayment .content .row {
  3078. height: 80upx;
  3079. border-bottom: 1px solid #F9F9F9;
  3080. flex-wrap: nowrap;
  3081. }
  3082. .personInfo .content .row .left,
  3083. .advancePayment .content .row .left {
  3084. width: 170upx;
  3085. flex-shrink: 0;
  3086. font-size: 28upx;
  3087. }
  3088. .appoint .content .row {
  3089. height: auto;
  3090. margin-top: 10upx;
  3091. }
  3092. .appoint .content .row>view {
  3093. width: 240upx;
  3094. flex-shrink: 1;
  3095. font-size: 28upx;
  3096. }
  3097. .appoint .content .row>textarea {
  3098. /* background: #007AFF; */
  3099. padding: 15upx;
  3100. box-sizing: border-box;
  3101. font-size: 26upx;
  3102. min-height: 160upx;
  3103. height: 100upx;
  3104. border: 1px solid #fafafa;
  3105. /* over */
  3106. }
  3107. .personInfo .content .row .right,
  3108. .advancePayment .content .row .right,
  3109. .appoint .content .row .right {
  3110. font-size: 28upx;
  3111. }
  3112. /* 人员信息End */
  3113. .checkButton {
  3114. margin: 0 20upx 0 20upx;
  3115. font-size: 24upx;
  3116. width: 80upx;
  3117. height: 50upx;
  3118. background: $themeColor;
  3119. font-weight: bold;
  3120. color: #FFFFFF;
  3121. border-radius: 5upx;
  3122. }
  3123. .uni-popup__wrapper-box {
  3124. display: block;
  3125. position: relative;
  3126. }
  3127. .uni-share {
  3128. display: flex;
  3129. flex-direction: column;
  3130. background-color: #fff;
  3131. position: fixed;
  3132. bottom: 0;
  3133. left: 0;
  3134. right: 0;
  3135. }
  3136. .uni-share-title {
  3137. line-height: 30px;
  3138. font-size: 12px;
  3139. padding: 7px 0;
  3140. text-align: center;
  3141. }
  3142. .uni-share-content {
  3143. display: flex;
  3144. flex-direction: row;
  3145. flex-wrap: wrap;
  3146. justify-content: center;
  3147. padding: 15px;
  3148. }
  3149. .uni-share-content-box {
  3150. display: flex;
  3151. flex-direction: column;
  3152. align-items: center;
  3153. width: 100px;
  3154. }
  3155. .uni-share-content-image {
  3156. display: flex;
  3157. flex-direction: row;
  3158. justify-content: center;
  3159. align-items: center;
  3160. width: 30px;
  3161. height: 30px;
  3162. overflow: hidden;
  3163. border-radius: 5px;
  3164. }
  3165. .uni-share-content-text {
  3166. font-size: 13px;
  3167. color: #333;
  3168. padding-top: 5px;
  3169. padding-bottom: 10px;
  3170. }
  3171. .uni-share-btn {
  3172. height: 45px;
  3173. line-height: 45px;
  3174. font-size: 14px;
  3175. border-top-color: #f5f5f5;
  3176. border-top-width: 1px;
  3177. border-top-style: solid;
  3178. text-align: center;
  3179. color: #666;
  3180. }
  3181. uni-image>img {
  3182. display: block;
  3183. position: absolute;
  3184. top: 0;
  3185. left: 0;
  3186. opacity: 0;
  3187. }
  3188. uni-image>div,
  3189. uni-image>img {
  3190. width: 100%;
  3191. height: 100%;
  3192. }
  3193. .Discount {
  3194. image {
  3195. width: 16px;
  3196. height: 16px;
  3197. }
  3198. text {
  3199. font-size: 12px;
  3200. color: #333333;
  3201. }
  3202. }
  3203. .costDetails {
  3204. width: 100%;
  3205. height: auto;
  3206. background-color: #F9F9F9;
  3207. border-radius: 10px;
  3208. .text1 {
  3209. font-size: 22rpx;
  3210. }
  3211. .text2 {
  3212. font-size: 24rpx;
  3213. }
  3214. .text2-color {
  3215. color: rgba(0, 82, 255, 0.8);
  3216. }
  3217. }
  3218. </style>