custormerDetail.vue 91 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281
  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. companyId: "", //订单号
  762. orderInfo: {},
  763. licenseNo: "", //车牌号
  764. icon: "", //保险公司logo
  765. name: "", //保险公司名称
  766. carInfo: {}, //车辆信息
  767. ownerInfo: {}, //车主信息
  768. policyHolderInfo: {}, //投保人信息
  769. insuredPersonInfo: {}, //被保人信息
  770. riskList: [], //险种大类信息
  771. kindList: [], //商业险险别
  772. sumPermium: "", //报价金额
  773. taxAmount: "", //车船税金额
  774. jqpremium: "", //交强险金额
  775. sypremium: "", //商业险金额
  776. feerate: "",
  777. disrate: "",
  778. syappoint: "",
  779. orderstatus: "0", //订单状态
  780. CIStartDate: "", //交强险日期
  781. BIStartDate: "", //商业险日期
  782. showCarInfo: false,
  783. showextendInfo: false,
  784. insureList: [{
  785. amount: "0",
  786. coveragePremium: "",
  787. amtList: [{
  788. "label": "投保",
  789. "value": "1"
  790. }],
  791. kindCode: "A",
  792. isMainRisk: true,
  793. kindName: "机动车损失险"
  794. },
  795. {
  796. amount: "0",
  797. coveragePremium: "",
  798. amtList: [{
  799. "label": "10万",
  800. "value": "100000"
  801. }, {
  802. "label": "15万",
  803. "value": "150000"
  804. }, {
  805. "label": "20万",
  806. "value": "200000"
  807. }, {
  808. "label": "30万",
  809. "value": "300000"
  810. }, {
  811. "label": "50万",
  812. "value": "500000"
  813. }, {
  814. "label": "100万",
  815. "value": "1000000"
  816. }, {
  817. "label": "150万",
  818. "value": "1500000"
  819. }, {
  820. "label": "200万",
  821. "value": "2000000"
  822. }, {
  823. "label": "250万",
  824. "value": "2500000"
  825. }, {
  826. "label": "300万",
  827. "value": "3000000"
  828. }, {
  829. "label": "500万",
  830. "value": "5000000"
  831. }, {
  832. "label": "1000万",
  833. "value": "10000000"
  834. }],
  835. kindCode: "B",
  836. isMainRisk: true,
  837. kindName: "第三者责任险"
  838. },
  839. {
  840. amount: "0",
  841. coveragePremium: "",
  842. amtList: [{
  843. "label": "1万",
  844. "value": "10000"
  845. }, {
  846. "label": "2万",
  847. "value": "20000"
  848. }, {
  849. "label": "5万",
  850. "value": "50000"
  851. }, {
  852. "label": "10万",
  853. "value": "100000"
  854. }, {
  855. "label": "15万",
  856. "value": "150000"
  857. }, {
  858. "label": "20万",
  859. "value": "200000"
  860. }],
  861. kindCode: "D3",
  862. isMainRisk: true,
  863. kindName: "司机责任险"
  864. },
  865. {
  866. amount: "0",
  867. coveragePremium: "",
  868. amtList: [{
  869. "label": "1万",
  870. "value": "10000"
  871. }, {
  872. "label": "2万",
  873. "value": "20000"
  874. }, {
  875. "label": "5万",
  876. "value": "50000"
  877. }, {
  878. "label": "10万",
  879. "value": "100000"
  880. }, {
  881. "label": "15万",
  882. "value": "150000"
  883. }, {
  884. "label": "20万",
  885. "value": "200000"
  886. }],
  887. kindCode: "D4",
  888. isMainRisk: true,
  889. kindName: "乘客责任险"
  890. },
  891. {
  892. amount: "0",
  893. coveragePremium: "",
  894. amtList: [{
  895. "label": "2000",
  896. "value": "2000"
  897. }, {
  898. "label": "5000",
  899. "value": "5000"
  900. }, {
  901. "label": "1万",
  902. "value": "10000"
  903. }],
  904. isMainRisk: false,
  905. kindCode: "L",
  906. kindName: "车身划痕险",
  907. mainRiskCodeList: "A"
  908. },
  909. {
  910. amount: "0",
  911. coveragePremium: "",
  912. amtList: [{
  913. "label": "5%",
  914. "value": "5"
  915. }, {
  916. "label": "10%",
  917. "value": "10"
  918. }, {
  919. "label": "15%",
  920. "value": "15"
  921. }, {
  922. "label": "20%",
  923. "value": "20"
  924. }],
  925. isMainRisk: false,
  926. kindCode: "MJ1",
  927. kindName: "绝对免赔率特约险(车损)",
  928. mainRiskCodeList: "A"
  929. },
  930. {
  931. amount: "0",
  932. coveragePremium: "",
  933. amtList: [{
  934. "label": "5%",
  935. "value": "5"
  936. }, {
  937. "label": "10%",
  938. "value": "10"
  939. }, {
  940. "label": "15%",
  941. "value": "15"
  942. }, {
  943. "label": "20%",
  944. "value": "20"
  945. }],
  946. isMainRisk: false,
  947. kindCode: "MJ2",
  948. kindName: "绝对免赔率特约险(三者)",
  949. mainRiskCodeList: "B"
  950. },
  951. {
  952. amount: "0",
  953. coveragePremium: "",
  954. amtList: [{
  955. "label": "5%",
  956. "value": "5"
  957. }, {
  958. "label": "10%",
  959. "value": "10"
  960. }, {
  961. "label": "15%",
  962. "value": "15"
  963. }, {
  964. "label": "20%",
  965. "value": "20"
  966. }],
  967. isMainRisk: false,
  968. kindCode: "MJ3",
  969. kindName: "绝对免赔率特约险(司机)",
  970. mainRiskCodeList: "D3"
  971. },
  972. {
  973. amount: "0",
  974. coveragePremium: "",
  975. amtList: [{
  976. "label": "5%",
  977. "value": "5"
  978. }, {
  979. "label": "10%",
  980. "value": "10"
  981. }, {
  982. "label": "15%",
  983. "value": "15"
  984. }, {
  985. "label": "20%",
  986. "value": "20"
  987. }],
  988. isMainRisk: false,
  989. kindCode: "MJ4",
  990. kindName: "绝对免赔率特约险(乘客)",
  991. mainRiskCodeList: "D4"
  992. },
  993. {
  994. amount: "0",
  995. coveragePremium: "",
  996. amtList: [{
  997. "label": "投保",
  998. "value": "1"
  999. }],
  1000. isMainRisk: false,
  1001. kindCode: "BD",
  1002. kindName: "法定节假日限额翻倍险",
  1003. mainRiskCodeList: "B"
  1004. },
  1005. {
  1006. amount: "0",
  1007. amountDesc: "不投保",
  1008. coveragePremium: "",
  1009. amtList: [{
  1010. label: "不投保",
  1011. value: "0"
  1012. },
  1013. {
  1014. label: "1万",
  1015. value: "10000"
  1016. },
  1017. {
  1018. label: "2万",
  1019. value: "20000"
  1020. },
  1021. {
  1022. label: "5万",
  1023. value: "50000"
  1024. },
  1025. {
  1026. label: "10万",
  1027. value: "100000"
  1028. }
  1029. ],
  1030. kindCode: "SY_FJ_YBW1",
  1031. isMainRisk: false,
  1032. kindName: "附加医保-三者",
  1033. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1034. },
  1035. {
  1036. amount: "0",
  1037. amountDesc: "不投保",
  1038. coveragePremium: 0,
  1039. amtList: [{
  1040. label: "不投保",
  1041. value: "0"
  1042. },
  1043. {
  1044. label: "1万",
  1045. value: "10000"
  1046. },
  1047. {
  1048. label: "2万",
  1049. value: "20000"
  1050. },
  1051. {
  1052. label: "5万",
  1053. value: "50000"
  1054. },
  1055. {
  1056. label: "10万",
  1057. value: "100000"
  1058. }
  1059. ],
  1060. kindCode: "SY_FJ_YBW2",
  1061. isMainRisk: false,
  1062. kindName: "附加医保-座位险(乘客)",
  1063. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1064. },
  1065. {
  1066. amount: "0",
  1067. amountDesc: "不投保",
  1068. coveragePremium: 0,
  1069. amtList: [{
  1070. label: "不投保",
  1071. value: "0"
  1072. },
  1073. {
  1074. label: "1万",
  1075. value: "10000"
  1076. },
  1077. {
  1078. label: "2万",
  1079. value: "20000"
  1080. },
  1081. {
  1082. label: "5万",
  1083. value: "50000"
  1084. },
  1085. {
  1086. label: "10万",
  1087. value: "100000"
  1088. }
  1089. ],
  1090. kindCode: "SY_FJ_YBW3",
  1091. isMainRisk: false,
  1092. kindName: "附加医保-座位险(司机)",
  1093. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1094. },
  1095. ],
  1096. bottomData: [
  1097. // #ifdef APP-PLUS
  1098. {
  1099. text: '微信好友',
  1100. icon: '/static/image/share/weixinhaoyou.png',
  1101. name: 'wx'
  1102. },
  1103. {
  1104. text: '短信发送',
  1105. icon: '/static/image/share/shortMessage.png',
  1106. name: 'dx'
  1107. },
  1108. // #endif
  1109. {
  1110. text: '报价单',
  1111. icon: '/static/image/share/shortMessage.png',
  1112. name: 'bjd'
  1113. }
  1114. ],
  1115. vehicleModel: {}, //车型信息
  1116. showtaxArrears: false, //欠税信息
  1117. showOwerInfo: false, //展示车主信息
  1118. showPolicyHolderInfo: false, //展示投保人信息
  1119. showInsuredPersonInfo: false, //展示被保人信息
  1120. showProposalWay: false, //获取保单方式
  1121. showAdvancePayment: false, //展示保费
  1122. showAppoint: false, //展示特约
  1123. showDistribution: false, //展示快递
  1124. showApplyno: false, //展示投保单号
  1125. showPolicyno: false, //展示保单号
  1126. showPolicyFile: false, //展示电子保单
  1127. showPolicybzFile: false, //展示电子保单
  1128. policyList: [], //电子保单文件
  1129. policyList1: [], //电子标志文件
  1130. showCarImageInfo: false, //显示车辆影像
  1131. carImageListId: [],
  1132. showOwnerImageInfo: false, //显示车主影像
  1133. ownerImageListId: [],
  1134. showPolicyImageInfo: false, //显示投保人影像
  1135. policyImageListId: [],
  1136. showInsuredImageInfo: false, //显示被保人影像
  1137. insuredImageListId: [],
  1138. showCarCheckImageInfo: false, //显示验车照影像
  1139. imgRelationshipid: [],
  1140. showNewCarImageInfo: false, //显示新车影像
  1141. imgNewCarinvoiceId: [],
  1142. imgList1: [],
  1143. imgList2: [],
  1144. imgList3: [],
  1145. imgList4: [],
  1146. imgList5: [],
  1147. imgList6: [],
  1148. imgList7: [],
  1149. imgList8: [],
  1150. imgRelationship: [], //其他证明
  1151. imgNewCarQualified: [], //合格证
  1152. imgNewCarInvoice: [], //发票
  1153. previewImgs: [],
  1154. dianzibaodan: "",
  1155. jypremium: "",
  1156. quoteno: "",
  1157. extendInfo: {},
  1158. routepage: "",
  1159. roadrescueList: [],
  1160. companyUnderwriting: "",
  1161. ziJinengageListData: [],
  1162. ziJinengageList: [],
  1163. huaTaiengageListData: [],
  1164. huaTaiengageList: [],
  1165. natureOfVehicleUseoptions: [],
  1166. vehicleTypeoptions: [],
  1167. trafficManagementVehicleTypeoptions: [],
  1168. energyTypeoptions: [],
  1169. businessVehicleUseoptions: [],
  1170. outOfBusinessVehicleUseoptions: [],
  1171. }
  1172. },
  1173. async onLoad(params) {
  1174. this.getDicType("businessVehicleUse"); //车辆用途(营业)
  1175. this.getDicType("outOfBusinessVehicleUse"); //车辆用途(非营业)
  1176. this.getDicType("natureOfVehicleUse"); //车辆性质
  1177. this.getDicType("vehicleType"); //车辆种类
  1178. this.getDicType("trafficManagementVehicleType"); //车辆类型
  1179. this.getDicType("energyType"); //能源种类
  1180. let pages = getCurrentPages(); // 当前页面路由
  1181. if (pages.length > 1) {
  1182. let beforePage = pages[pages.length - 2].route; // 上一个页面路由
  1183. this.routepage = beforePage;
  1184. }
  1185. if (!this.token) {
  1186. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1187. }
  1188. if (!!params.companyId) {
  1189. this.companyId = params.companyId;
  1190. let param = {
  1191. companyId: params.companyId
  1192. };
  1193. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1194. if (res.code == 200) {
  1195. this.icon = "";
  1196. this.quoteno = res.data.quoteno;
  1197. this.name = res.data.inscompany;
  1198. this.carInfo = res.data.carinfo;
  1199. this.extendInfo = res.data.extendInfo;
  1200. this.licenseNo = res.data.licenseno;
  1201. if (!!this.carInfo.loanStatus) {
  1202. this.carInfo.loanStatus = 1;
  1203. } else {
  1204. this.carInfo.loanStatus = 0;
  1205. }
  1206. if (!!this.carInfo.registerDate) {
  1207. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1208. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1209. if (month1 < 10) {
  1210. month1 = '0' + month1;
  1211. }
  1212. let day1 = new Date(this.carInfo.registerDate).getDate()
  1213. if (day1 < 10) {
  1214. day1 = '0' + day1;
  1215. }
  1216. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1217. }
  1218. if (!!this.carInfo.issueDate) {
  1219. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1220. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1221. if (month2 < 10) {
  1222. month2 = '0' + month2;
  1223. }
  1224. let day2 = new Date(this.carInfo.issueDate).getDate()
  1225. if (day2 < 10) {
  1226. day2 = '0' + day2;
  1227. }
  1228. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1229. }
  1230. if (!!this.carInfo.transferDate) {
  1231. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1232. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1233. if (month3 < 10) {
  1234. month3 = '0' + month3;
  1235. }
  1236. let day3 = new Date(this.carInfo.transferDate).getDate()
  1237. if (day3 < 10) {
  1238. day3 = '0' + day3;
  1239. }
  1240. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1241. }
  1242. this.ownerInfo = res.data.ownerinfo;
  1243. this.policyHolderInfo = res.data.applyinfo;
  1244. this.insuredPersonInfo = res.data.insureinfo;
  1245. this.riskList = res.data.riskinfo;
  1246. this.kindList = res.data.kindinfo;
  1247. this.roadrescueList = this.kindList.filter((val) => {
  1248. return ["TY1", "TY2", "TY3", "TY4"].includes(val.kindCode)
  1249. })
  1250. this.sumPermium = res.data.sumpremium;
  1251. this.taxAmount = res.data.taxamount;
  1252. this.sypremium = res.data.sypremium;
  1253. this.jqpremium = res.data.jqpremium;
  1254. this.jypremium = res.data.jypremium;
  1255. this.orderstatus = res.data.orderstatus;
  1256. this.feerate = res.data.feerate;
  1257. this.disrate = res.data.disrate;
  1258. this.jqdiscountrate = res.data.jqdiscountrate;
  1259. this.sydiscountrate = res.data.sydiscountrate;
  1260. this.syappoint = res.data.syappoint;
  1261. this.orderInfo = {};
  1262. Object.assign(this.orderInfo, res.data)
  1263. this.imageEcho(this.quoteno) // 影像获取完毕
  1264. this.$base.insCompanyList.map(ele => {
  1265. if (ele.name == res.data.inscompany) {
  1266. uni.getImageInfo({
  1267. src: ele.icon,
  1268. success: image => {
  1269. pathToBase64(image.path)
  1270. .then(base64 => {
  1271. this.logoimg = base64;
  1272. })
  1273. .catch(error => {});
  1274. },
  1275. fail: err => {}
  1276. });
  1277. }
  1278. return ele;
  1279. })
  1280. }
  1281. if (this.name == '紫金财险') {
  1282. let Zijinres = await this.$http.post('/order/zijin/queryClauseData', param);
  1283. this.ziJinengageListData = Zijinres.data;
  1284. let data = this.ziJinengageListData.find(val => val.optType == 3)
  1285. if (data) {
  1286. this.ziJinengageList.push({
  1287. clauseCode: data.clauseCode,
  1288. clauseName: data.clauseName,
  1289. clauses: data.clauseContent,
  1290. riskCode: data.riskCode,
  1291. modifyFlag: data.modifyFlag,
  1292. optType: data.optType,
  1293. })
  1294. }
  1295. }
  1296. if (this.name == '华泰财险') {
  1297. let huaTaires = await this.$http.post('/order/huaTaiApi/queryClauseData', param);
  1298. this.huaTaiengageListData = huaTaires.data;
  1299. huaTaires.data.map(val => {
  1300. if (val.optType == '2') {
  1301. this.huaTaiengageList.push({
  1302. engageCode: val.engageCode,
  1303. engageDetail: val.engageDetail,
  1304. engageTitle: val.engageTitle,
  1305. riskCode: val.riskCode,
  1306. modifyFlag: val.modifyFlag,
  1307. })
  1308. }
  1309. })
  1310. }
  1311. } else {
  1312. uni.showModal({
  1313. showCancel: false,
  1314. title: "未查询到该订单"
  1315. })
  1316. }
  1317. },
  1318. methods: {
  1319. ...mapMutations(['setOrderStage', 'setOrderType']),
  1320. //字典name匹配
  1321. dictionaryMatching(list, value) {
  1322. let obj = list.find(val => val.dictValue == value);
  1323. return obj.dictTag;
  1324. },
  1325. async getDicType(type) {
  1326. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  1327. if (res.code == 200) {
  1328. this[type + 'options'] = res.data.ddList;
  1329. // if (type == "trafficManagementVehicleType") {
  1330. //
  1331. // this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  1332. // this
  1333. // .carInfo
  1334. // .cimodelclass)
  1335. // }
  1336. }
  1337. },
  1338. ziJincontributingChange(param) {
  1339. this.ziJinengageList = [];
  1340. param.map(val => {
  1341. let list = this.ziJinengageListData.find(item => item.clauseId == val)
  1342. this.ziJinengageList.push({
  1343. clauseCode: list.clauseCode,
  1344. clauseName: list.clauseName,
  1345. clauses: list.clauseContent,
  1346. riskCode: list.riskCode,
  1347. modifyFlag: list.modifyFlag,
  1348. })
  1349. })
  1350. },
  1351. huaTaicontributingChange(param) {
  1352. this.huaTaiengageList = [];
  1353. param.map(val => {
  1354. let list = this.huaTaiengageListData.find(item => item.engageCode == val)
  1355. this.huaTaiengageList.push({
  1356. engageCode: list.engageCode,
  1357. engageDetail: list.engageDetail,
  1358. engageTitle: list.engageTitle,
  1359. riskCode: list.riskCode,
  1360. modifyFlag: list.modifyFlag,
  1361. })
  1362. })
  1363. },
  1364. //阅读并同意协议
  1365. agreed(e) {
  1366. this.agree = e.value;
  1367. },
  1368. toCarInfo() {
  1369. this.navigate({
  1370. url: '/pages/carInsure/Information',
  1371. success: (res) => {
  1372. res.eventChannel.emit(
  1373. "acceptData", {
  1374. carInfo: this
  1375. .carInfo,
  1376. ownerInfo: this
  1377. .ownerInfo,
  1378. policyHolderInfo: this
  1379. .policyHolderInfo,
  1380. insuredPersonInfo: this
  1381. .insuredPersonInfo,
  1382. riskList: this
  1383. .riskList,
  1384. kindList: this
  1385. .kindList,
  1386. carInfoPositiveList: this
  1387. .carInfoPositiveList, //车辆
  1388. ownerInfoPositiveList: this
  1389. .ownerInfoPositiveList, //车主
  1390. policyHolderInfoPositiveList: this
  1391. .policyHolderInfoPositiveList, //投保
  1392. insuredPersonInfoPositiveList: this
  1393. .insuredPersonInfoPositiveList, //被保人
  1394. })
  1395. }
  1396. }, "navigateTo", true);
  1397. },
  1398. //去选择险种页面
  1399. toInsureItems() {
  1400. this.navigate({
  1401. url: '/pages/carInsure/insureItems',
  1402. success: (res) => {
  1403. res.eventChannel.emit("acceptData", {
  1404. carInfo: this.carInfo,
  1405. ownerInfo: this.ownerInfo,
  1406. policyHolderInfo: this.policyHolderInfo,
  1407. insuredPersonInfo: this.insuredPersonInfo,
  1408. riskList: this.riskList,
  1409. kindList: this.kindList
  1410. })
  1411. }
  1412. }, "navigateTo", true);
  1413. },
  1414. //删除图片
  1415. delCheckImage(param, IdList, srcList) {
  1416. this[IdList].map((ele, index) => {
  1417. if (param.imageId === ele.imageId) {
  1418. this[IdList].splice(index, 1);
  1419. }
  1420. return ele;
  1421. });
  1422. this[srcList].map((ele, index) => {
  1423. if (param.imageId === ele.imageId) {
  1424. this[srcList].splice(index, 1);
  1425. }
  1426. return ele;
  1427. });
  1428. },
  1429. //影像查询
  1430. async imageEcho(quotenos) {
  1431. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1432. if (imgres.code == "200") {
  1433. Object.keys(imgres.data).forEach((keys) => {
  1434. if (imgres.data[keys].url) {
  1435. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1436. switch (keys) {
  1437. case 'C01':
  1438. this.carImageListId.push({
  1439. imageId: imgres.data[keys].imageId,
  1440. imageType: imgres.data[keys].imageType,
  1441. })
  1442. this.imgList1.push(imgres.data[keys]);
  1443. break;
  1444. case 'D01':
  1445. this.carImageListId.push({
  1446. imageId: imgres.data[keys].imageId,
  1447. imageType: imgres.data[keys].imageType,
  1448. })
  1449. this.imgList2.push(imgres.data[keys]);
  1450. break;
  1451. case 'C02':
  1452. this.ownerImageListId.push({
  1453. imageId: imgres.data[keys].imageId,
  1454. imageType: imgres.data[keys].imageType,
  1455. })
  1456. this.imgList3.push(imgres.data[keys]);
  1457. break;
  1458. case 'D02':
  1459. this.ownerImageListId.push({
  1460. imageId: imgres.data[keys].imageId,
  1461. imageType: imgres.data[keys].imageType,
  1462. })
  1463. this.imgList4.push(imgres.data[keys]);
  1464. break;
  1465. case 'C03':
  1466. this.policyImageListId.push({
  1467. imageId: imgres.data[keys].imageId,
  1468. imageType: imgres.data[keys].imageType,
  1469. })
  1470. this.imgList5.push(imgres.data[keys]);
  1471. break;
  1472. case 'D03':
  1473. this.policyImageListId.push({
  1474. imageId: imgres.data[keys].imageId,
  1475. imageType: imgres.data[keys].imageType,
  1476. })
  1477. this.imgList6.push(imgres.data[keys]);
  1478. break;
  1479. case 'C04':
  1480. this.insuredImageListId.push({
  1481. imageId: imgres.data[keys].imageId,
  1482. imageType: imgres.data[keys].imageType,
  1483. })
  1484. this.imgList7.push(imgres.data[keys]);
  1485. break;
  1486. case 'D04':
  1487. this.insuredImageListId.push({
  1488. imageId: imgres.data[keys].imageId,
  1489. imageType: imgres.data[keys].imageType,
  1490. })
  1491. this.imgList8.push(imgres.data[keys]);
  1492. break;
  1493. default:
  1494. break;
  1495. }
  1496. }
  1497. });
  1498. }
  1499. },
  1500. async uploadRetry() {
  1501. const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
  1502. .policyImageListId, ...this.insuredImageListId, ...this
  1503. .imgRelationshipid
  1504. ];
  1505. if (mergedArray.length > 0) {
  1506. await this.$http.post('/ins/taskImage/uploadImages', {
  1507. imageList: mergedArray,
  1508. quoteNo: this.quoteno,
  1509. })
  1510. }
  1511. },
  1512. async auditNextconfirm() {
  1513. if (this.modificationFlag) {
  1514. await this.uploadRetry();
  1515. }
  1516. let pro = this.quotationType.themeCode;
  1517. switch (this.name) {
  1518. case "永安财险":
  1519. let yaimage = await this.$http.post(
  1520. '/order/yongAn/submitImage', {
  1521. companyId: this.companyId
  1522. });
  1523. if (yaimage.code == '200') {
  1524. let yaaudit = await this.$http.post(
  1525. '/order/yongAn/audit', {
  1526. companyId: this.companyId,
  1527. jqappoint: "",
  1528. syappoint: ""
  1529. });
  1530. if (yaaudit.code == '200') {
  1531. uni.showModal({
  1532. content: '订单自核成功',
  1533. cancelText: '暂不缴费',
  1534. confirmText: '立即缴费',
  1535. success: (res1) => {
  1536. if (res1.confirm) {
  1537. if (pro == "QD") {
  1538. uni.navigateTo({
  1539. url: "/pages/orders/paymentCode?companyId=" +
  1540. this
  1541. .companyId
  1542. })
  1543. } else {
  1544. uni.navigateTo({
  1545. url: "/pages/orders/paymentCode1?companyId=" +
  1546. this
  1547. .companyId
  1548. })
  1549. }
  1550. } else {
  1551. this.navigate({
  1552. url: "/pages/orders/orders"
  1553. }, "switchTab",
  1554. true);
  1555. }
  1556. }
  1557. });
  1558. } else {
  1559. uni.showModal({
  1560. content: '核保失败(' + yaaudit.msg + ')',
  1561. cancelText: '返回订单',
  1562. confirmText: '修改',
  1563. success: async (res2) => {
  1564. if (res2.confirm) {
  1565. this.navigate({
  1566. url: "/pages/carInsure/insureItems"
  1567. }, "switchTab",
  1568. true);
  1569. } else {
  1570. this.navigate({
  1571. url: "/pages/orders/orders"
  1572. }, "switchTab",
  1573. true);
  1574. }
  1575. }
  1576. });
  1577. }
  1578. } else {
  1579. uni.showModal({
  1580. content: '影像上传失败(' + yaimage.msg + ')',
  1581. cancelText: '返回订单',
  1582. confirmText: '修改',
  1583. success: async (res3) => {
  1584. if (res3.confirm) {
  1585. } else {
  1586. this.navigate({
  1587. url: "/pages/orders/orders"
  1588. }, "switchTab",
  1589. true);
  1590. }
  1591. }
  1592. });
  1593. }
  1594. break;
  1595. case "中煤财险":
  1596. let zmimage = await this.$http.post(
  1597. '/order/zhongMeiApi/submitImage', {
  1598. companyId: this.companyId
  1599. });
  1600. if (zmimage.code == '200') {
  1601. let zmaudit = await this.$http.post(
  1602. '/order/zhongMeiApi/audit', {
  1603. companyId: this.companyId,
  1604. jqappoint: "",
  1605. syappoint: ""
  1606. });
  1607. if (zmaudit.code == '200') {
  1608. uni.showModal({
  1609. content: '订单自核成功',
  1610. cancelText: '暂不缴费',
  1611. confirmText: '立即缴费',
  1612. success: (res1) => {
  1613. if (res1.confirm) {
  1614. if (pro == "QD") {
  1615. uni.navigateTo({
  1616. url: "/pages/orders/paymentCode?companyId=" +
  1617. this
  1618. .companyId
  1619. })
  1620. } else {
  1621. uni.navigateTo({
  1622. url: "/pages/orders/paymentCode1?companyId=" +
  1623. this
  1624. .companyId
  1625. })
  1626. }
  1627. } else {
  1628. this.navigate({
  1629. url: "/pages/orders/orders"
  1630. }, "switchTab",
  1631. true);
  1632. }
  1633. }
  1634. });
  1635. } else {
  1636. uni.showModal({
  1637. content: '核保失败(' + zmaudit.msg + ')',
  1638. cancelText: '返回订单',
  1639. confirmText: '修改',
  1640. success: async (res2) => {
  1641. if (res2.confirm) {
  1642. this.navigate({
  1643. url: "/pages/carInsure/insureItems"
  1644. }, "switchTab",
  1645. true);
  1646. } else {
  1647. this.navigate({
  1648. url: "/pages/orders/orders"
  1649. }, "switchTab",
  1650. true);
  1651. }
  1652. }
  1653. });
  1654. }
  1655. } else {
  1656. uni.showModal({
  1657. content: '影像上传失败(' + zmimage.msg + ')',
  1658. cancelText: '返回订单',
  1659. confirmText: '修改',
  1660. success: async (res3) => {
  1661. if (res3.confirm) {
  1662. } else {
  1663. this.navigate({
  1664. url: "/pages/orders/orders"
  1665. }, "switchTab",
  1666. true);
  1667. }
  1668. }
  1669. });
  1670. }
  1671. break;
  1672. case "永诚财险":
  1673. let ycimage = await this.$http.post(
  1674. '/api/yongCheng/uploadImage', {
  1675. companyId: this.companyId
  1676. });
  1677. if (ycimage.code == '200') {
  1678. let ycaudit = await this.$http.post(
  1679. '/api/yongCheng/audit', {
  1680. companyId: this.companyId,
  1681. });
  1682. if (ycaudit.code == '200') {
  1683. uni.showModal({
  1684. content: '订单自核成功',
  1685. cancelText: '暂不缴费',
  1686. confirmText: '立即缴费',
  1687. success: (res1) => {
  1688. if (res1.confirm) {
  1689. if (pro == "QD") {
  1690. uni.navigateTo({
  1691. url: "/pages/orders/paymentCode?companyId=" +
  1692. this
  1693. .companyId
  1694. })
  1695. } else {
  1696. uni.navigateTo({
  1697. url: "/pages/orders/paymentCode1?companyId=" +
  1698. this
  1699. .companyId
  1700. })
  1701. }
  1702. } else {
  1703. this.navigate({
  1704. url: "/pages/orders/orders"
  1705. }, "switchTab",
  1706. true);
  1707. }
  1708. }
  1709. });
  1710. } else {
  1711. uni.showModal({
  1712. content: '核保失败(' + ycaudit.msg + ')',
  1713. cancelText: '返回订单',
  1714. confirmText: '修改',
  1715. success: async (res2) => {
  1716. if (res2.confirm) {
  1717. this.navigate({
  1718. url: "/pages/carInsure/insureItems"
  1719. }, "switchTab",
  1720. true);
  1721. } else {
  1722. this.navigate({
  1723. url: "/pages/orders/orders"
  1724. }, "switchTab",
  1725. true);
  1726. }
  1727. }
  1728. });
  1729. }
  1730. } else {
  1731. uni.showModal({
  1732. content: '影像上传失败(' + ycimage.msg + ')',
  1733. cancelText: '返回订单',
  1734. confirmText: '修改',
  1735. success: async (res3) => {
  1736. if (res3.confirm) {
  1737. } else {
  1738. this.navigate({
  1739. url: "/pages/orders/orders"
  1740. }, "switchTab",
  1741. true);
  1742. }
  1743. }
  1744. });
  1745. }
  1746. break;
  1747. case "国任财险":
  1748. let grimage = await this.$http.post(
  1749. '/api/guoRen/uploadImage', {
  1750. companyId: this.companyId
  1751. });
  1752. if (grimage.code == '200') {
  1753. let graudit = await this.$http.post(
  1754. '/api/guoRen/audit', {
  1755. companyId: this.companyId,
  1756. });
  1757. if (graudit.code == '200') {
  1758. uni.showModal({
  1759. content: '订单自核成功',
  1760. cancelText: '暂不缴费',
  1761. confirmText: '立即缴费',
  1762. success: (res1) => {
  1763. if (res1.confirm) {
  1764. if (pro == "QD") {
  1765. uni.navigateTo({
  1766. url: "/pages/orders/paymentCode?companyId=" +
  1767. this
  1768. .companyId
  1769. })
  1770. } else {
  1771. uni.navigateTo({
  1772. url: "/pages/orders/paymentCode1?companyId=" +
  1773. this
  1774. .companyId
  1775. })
  1776. }
  1777. } else {
  1778. this.navigate({
  1779. url: "/pages/orders/orders"
  1780. }, "switchTab",
  1781. true);
  1782. }
  1783. }
  1784. });
  1785. } else {
  1786. uni.showModal({
  1787. content: '核保失败(' + graudit.msg + ')',
  1788. cancelText: '返回订单',
  1789. confirmText: '修改',
  1790. success: async (res2) => {
  1791. if (res2.confirm) {
  1792. this.navigate({
  1793. url: "/pages/carInsure/insureItems"
  1794. }, "switchTab",
  1795. true);
  1796. } else {
  1797. this.navigate({
  1798. url: "/pages/orders/orders"
  1799. }, "switchTab",
  1800. true);
  1801. }
  1802. }
  1803. });
  1804. }
  1805. } else {
  1806. uni.showModal({
  1807. content: '影像上传失败(' + grimage.msg + ')',
  1808. cancelText: '返回订单',
  1809. confirmText: '修改',
  1810. success: async (res3) => {
  1811. if (res3.confirm) {
  1812. } else {
  1813. this.navigate({
  1814. url: "/pages/orders/orders"
  1815. }, "switchTab",
  1816. true);
  1817. }
  1818. }
  1819. });
  1820. }
  1821. break;
  1822. case "大家财险":
  1823. let djimage = await this.$http.post(
  1824. '/api/dajia/submitImage', {
  1825. companyId: this.companyId
  1826. });
  1827. if (djimage.code == '200') {
  1828. let djaudit = await this.$http.post(
  1829. '/api/dajia/audit', {
  1830. companyId: this.companyId,
  1831. });
  1832. if (djaudit.code == '200') {
  1833. uni.showModal({
  1834. content: '订单自核成功',
  1835. cancelText: '暂不缴费',
  1836. confirmText: '立即缴费',
  1837. success: (res1) => {
  1838. if (res1.confirm) {
  1839. if (pro == "QD") {
  1840. uni.navigateTo({
  1841. url: "/pages/orders/paymentCode?companyId=" +
  1842. this
  1843. .companyId
  1844. })
  1845. } else {
  1846. uni.navigateTo({
  1847. url: "/pages/orders/paymentCode1?companyId=" +
  1848. this
  1849. .companyId
  1850. })
  1851. }
  1852. } else {
  1853. this.navigate({
  1854. url: "/pages/orders/orders"
  1855. }, "switchTab",
  1856. true);
  1857. }
  1858. }
  1859. });
  1860. } else {
  1861. uni.showModal({
  1862. content: '核保失败(' + djaudit.msg + ')',
  1863. cancelText: '返回订单',
  1864. confirmText: '修改',
  1865. success: async (res2) => {
  1866. if (res2.confirm) {
  1867. this.navigate({
  1868. url: "/pages/carInsure/insureItems"
  1869. }, "switchTab",
  1870. true);
  1871. } else {
  1872. this.navigate({
  1873. url: "/pages/orders/orders"
  1874. }, "switchTab",
  1875. true);
  1876. }
  1877. }
  1878. });
  1879. }
  1880. } else {
  1881. uni.showModal({
  1882. content: '影像上传失败(' + djimage.msg + ')',
  1883. cancelText: '返回订单',
  1884. confirmText: '修改',
  1885. success: async (res3) => {
  1886. if (res3.confirm) {
  1887. } else {
  1888. this.navigate({
  1889. url: "/pages/orders/orders"
  1890. }, "switchTab",
  1891. true);
  1892. }
  1893. }
  1894. });
  1895. }
  1896. break;
  1897. case "紫金财险":
  1898. let zjimage = await this.$http.post(
  1899. '/order/zijin/submitImage', {
  1900. companyId: this.companyId
  1901. });
  1902. if (zjimage.code == '200') {
  1903. let zjaudit = await this.$http.post(
  1904. '/order/zijin/audit', {
  1905. companyId: this.companyId,
  1906. engageList: this.ziJinengageList,
  1907. });
  1908. if (zjaudit.code == '200') {
  1909. uni.showModal({
  1910. content: '订单自核成功',
  1911. cancelText: '暂不缴费',
  1912. confirmText: '立即缴费',
  1913. success: (res1) => {
  1914. if (res1.confirm) {
  1915. if (pro == "QD") {
  1916. uni.navigateTo({
  1917. url: "/pages/orders/paymentCode?companyId=" +
  1918. this
  1919. .companyId
  1920. })
  1921. } else {
  1922. uni.navigateTo({
  1923. url: "/pages/orders/paymentCode1?companyId=" +
  1924. this
  1925. .companyId
  1926. })
  1927. }
  1928. } else {
  1929. this.navigate({
  1930. url: "/pages/orders/orders"
  1931. }, "switchTab",
  1932. true);
  1933. }
  1934. }
  1935. });
  1936. } else {
  1937. uni.showModal({
  1938. content: '核保失败(' + zjaudit.msg + ')',
  1939. cancelText: '返回订单',
  1940. confirmText: '修改',
  1941. success: async (res2) => {
  1942. if (res2.confirm) {
  1943. this.navigate({
  1944. url: "/pages/carInsure/insureItems"
  1945. }, "switchTab",
  1946. true);
  1947. } else {
  1948. this.navigate({
  1949. url: "/pages/orders/orders"
  1950. }, "switchTab",
  1951. true);
  1952. }
  1953. }
  1954. });
  1955. }
  1956. } else {
  1957. uni.showModal({
  1958. content: '影像上传失败(' + zjimage.msg + ')',
  1959. cancelText: '返回订单',
  1960. confirmText: '修改',
  1961. success: async (res3) => {
  1962. if (res3.confirm) {
  1963. } else {
  1964. this.navigate({
  1965. url: "/pages/orders/orders"
  1966. }, "switchTab",
  1967. true);
  1968. }
  1969. }
  1970. });
  1971. }
  1972. break;
  1973. case "华泰财险":
  1974. let htimage = await this.$http.post(
  1975. '/order/huaTaiApi/submitImage', {
  1976. companyId: this.companyId
  1977. });
  1978. if (htimage.code == '200') {
  1979. let htaudit = await this.$http.post(
  1980. '/order/huaTaiApi/audit', {
  1981. companyId: this.companyId,
  1982. engageList: this.huaTaiengageList,
  1983. });
  1984. if (htaudit.code == '200') {
  1985. uni.showModal({
  1986. content: '订单自核成功',
  1987. cancelText: '暂不缴费',
  1988. confirmText: '立即缴费',
  1989. success: (res1) => {
  1990. if (res1.confirm) {
  1991. if (pro == "QD") {
  1992. uni.navigateTo({
  1993. url: "/pages/orders/paymentCode?companyId=" +
  1994. this
  1995. .companyId
  1996. })
  1997. } else {
  1998. uni.navigateTo({
  1999. url: "/pages/orders/paymentCode1?companyId=" +
  2000. this
  2001. .companyId
  2002. })
  2003. }
  2004. } else {
  2005. this.navigate({
  2006. url: "/pages/orders/orders"
  2007. }, "switchTab",
  2008. true);
  2009. }
  2010. }
  2011. });
  2012. } else {
  2013. uni.showModal({
  2014. content: '核保失败(' + htaudit.msg + ')',
  2015. cancelText: '返回订单',
  2016. confirmText: '修改',
  2017. success: async (res2) => {
  2018. if (res2.confirm) {
  2019. this.navigate({
  2020. url: "/pages/carInsure/insureItems"
  2021. }, "switchTab",
  2022. true);
  2023. } else {
  2024. this.navigate({
  2025. url: "/pages/orders/orders"
  2026. }, "switchTab",
  2027. true);
  2028. }
  2029. }
  2030. });
  2031. }
  2032. } else {
  2033. uni.showModal({
  2034. content: '影像上传失败(' + htimage.msg + ')',
  2035. cancelText: '返回订单',
  2036. confirmText: '修改',
  2037. success: async (res3) => {
  2038. if (res3.confirm) {
  2039. } else {
  2040. this.navigate({
  2041. url: "/pages/orders/orders"
  2042. }, "switchTab",
  2043. true);
  2044. }
  2045. }
  2046. });
  2047. }
  2048. break;
  2049. case "渤海财险":
  2050. let bhimage = await this.$http.post(
  2051. '/order/boHaiApi/submitImage', {
  2052. companyId: this.companyId
  2053. });
  2054. if (bhimage.code == '200') {
  2055. let bhaudit = await this.$http.post(
  2056. '/order/boHaiApi/audit', {
  2057. companyId: this.companyId,
  2058. jqappoint: "",
  2059. syappoint: ""
  2060. });
  2061. if (bhaudit.code == '200') {
  2062. uni.showModal({
  2063. content: '订单自核成功',
  2064. cancelText: '暂不缴费',
  2065. confirmText: '立即缴费',
  2066. success: (res1) => {
  2067. if (res1.confirm) {
  2068. if (pro == "QD") {
  2069. uni.navigateTo({
  2070. url: "/pages/orders/paymentCode?companyId=" +
  2071. this
  2072. .companyId
  2073. })
  2074. } else {
  2075. uni.navigateTo({
  2076. url: "/pages/orders/paymentCode1?companyId=" +
  2077. this
  2078. .companyId
  2079. })
  2080. }
  2081. } else {
  2082. this.navigate({
  2083. url: "/pages/orders/orders"
  2084. }, "switchTab",
  2085. true);
  2086. }
  2087. }
  2088. });
  2089. } else {
  2090. uni.showModal({
  2091. content: '核保失败(' + bhaudit.msg + ')',
  2092. cancelText: '返回订单',
  2093. confirmText: '修改',
  2094. success: async (res2) => {
  2095. if (res2.confirm) {
  2096. this.navigate({
  2097. url: "/pages/carInsure/insureItems"
  2098. }, "switchTab",
  2099. true);
  2100. } else {
  2101. this.navigate({
  2102. url: "/pages/orders/orders"
  2103. }, "switchTab",
  2104. true);
  2105. }
  2106. }
  2107. });
  2108. }
  2109. } else {
  2110. uni.showModal({
  2111. content: '影像上传失败(' + bhimage.msg + ')',
  2112. cancelText: '返回订单',
  2113. confirmText: '修改',
  2114. success: async (res3) => {
  2115. if (res3.confirm) {
  2116. } else {
  2117. this.navigate({
  2118. url: "/pages/orders/orders"
  2119. }, "switchTab",
  2120. true);
  2121. }
  2122. }
  2123. });
  2124. }
  2125. break;
  2126. case "恒邦财险":
  2127. case "安盛天平":
  2128. case "众安财险":
  2129. case "中国人寿":
  2130. case "太平财险":
  2131. case "华农财险":
  2132. let pythonimage = await this.$http.post(
  2133. '/insurance/crawler/submitImage', {
  2134. subOrderNo: this.companyId
  2135. });
  2136. if (pythonimage.code == '200') {
  2137. let pythonaudit = await this.$http.post(
  2138. '/insurance/crawler/audit', {
  2139. subOrderNo: this.companyId,
  2140. });
  2141. if (pythonaudit.code == '200') {
  2142. uni.showModal({
  2143. content: '订单自核成功',
  2144. cancelText: '暂不缴费',
  2145. confirmText: '立即缴费',
  2146. success: (res1) => {
  2147. if (res1.confirm) {
  2148. if (pro == "QD") {
  2149. uni.navigateTo({
  2150. url: "/pages/orders/paymentCode?companyId=" +
  2151. this
  2152. .companyId
  2153. })
  2154. } else {
  2155. uni.navigateTo({
  2156. url: "/pages/orders/paymentCode1?companyId=" +
  2157. this
  2158. .companyId
  2159. })
  2160. }
  2161. } else {
  2162. this.navigate({
  2163. url: "/pages/orders/orders"
  2164. }, "switchTab",
  2165. true);
  2166. }
  2167. }
  2168. });
  2169. } else {
  2170. uni.showModal({
  2171. content: '核保失败(' + pythonaudit.msg + ')',
  2172. cancelText: '返回订单',
  2173. confirmText: '修改',
  2174. success: async (res2) => {
  2175. if (res2.confirm) {
  2176. this.navigate({
  2177. url: "/pages/carInsure/insureItems"
  2178. }, "switchTab",
  2179. true);
  2180. } else {
  2181. this.navigate({
  2182. url: "/pages/orders/orders"
  2183. }, "switchTab",
  2184. true);
  2185. }
  2186. }
  2187. });
  2188. }
  2189. } else {
  2190. uni.showModal({
  2191. content: '影像上传失败(' + pythonimage.msg + ')',
  2192. cancelText: '返回订单',
  2193. confirmText: '修改',
  2194. success: async (res3) => {
  2195. if (res3.confirm) {
  2196. } else {
  2197. this.navigate({
  2198. url: "/pages/orders/orders"
  2199. }, "switchTab",
  2200. true);
  2201. }
  2202. }
  2203. });
  2204. }
  2205. break;
  2206. }
  2207. },
  2208. // 上传影像并提交核保
  2209. async submitAudit() {
  2210. if (!this.agree) {
  2211. return uni.showToast({
  2212. title: '请阅读并同意协议',
  2213. icon: "none",
  2214. duration: 2000
  2215. });
  2216. }
  2217. this.auditNextShow = true;
  2218. },
  2219. async chooseImage(type, imageIdList, imgurl) {
  2220. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  2221. count: 1,
  2222. sizeType: ['compressed']
  2223. });
  2224. chooseImageRes.tempFilePaths.map((ele, index) => {
  2225. uni.uploadFile({
  2226. url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
  2227. filePath: ele,
  2228. name: "multipartFile",
  2229. formData: {
  2230. 'type': 'image',
  2231. },
  2232. header: {
  2233. Authorization: this.token,
  2234. },
  2235. success: async (imgRes) => {
  2236. let data = JSON.parse(imgRes.data);
  2237. data.data.url = this.$base.baseUrl + data.data.url;
  2238. if (data.code == "200") {
  2239. console.log()
  2240. if (this[imageIdList].some(v => v.imageType == type)) {
  2241. this[imageIdList].map(val => {
  2242. if (val.imageType == type) {
  2243. val.imageId = data.data.id;
  2244. }
  2245. })
  2246. } else {
  2247. this[imageIdList].push({
  2248. imageId: data.data.id,
  2249. imageType: type,
  2250. })
  2251. }
  2252. this[imgurl].push(data.data)
  2253. this.modificationFlag = true;
  2254. }
  2255. }
  2256. });
  2257. })
  2258. },
  2259. //影像预览
  2260. previewImage(e, type) {
  2261. this.previewImgs = this[type];
  2262. var current = e.currentTarget.dataset.src;
  2263. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  2264. },
  2265. //查询电子保单
  2266. async yonganprint() {
  2267. this.policyList = [];
  2268. this.policyList1 = [];
  2269. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  2270. companyId: this.companyId,
  2271. policytype: "jq"
  2272. }); //永安
  2273. if (res.data) {
  2274. let result = res.data.replace(/[\r\n]/g, "");
  2275. let pdfBase64 = `data:application/pdf;base64,${result}`;
  2276. base64ToPath(pdfBase64)
  2277. .then(path => {
  2278. this.policyList.push({
  2279. fileTitle: "交强电子保单",
  2280. filename: this.orderInfo.jqpolicyno,
  2281. fileurl: path,
  2282. })
  2283. })
  2284. }
  2285. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  2286. companyId: this.companyId,
  2287. policytype: "jq"
  2288. }); //永安
  2289. if (res1.data) {
  2290. let result = res1.data.replace(/[\r\n]/g, "");
  2291. let pdfBase64 = `data:application/pdf;base64,${result}`;
  2292. base64ToPath(pdfBase64)
  2293. .then(path => {
  2294. this.policyList1.push({
  2295. fileTitle: "交强电子标志",
  2296. filename: this.orderInfo.jqpolicyno,
  2297. fileurl: path,
  2298. })
  2299. })
  2300. }
  2301. if (this.orderInfo.sypolicyno) {
  2302. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  2303. companyId: this.companyId,
  2304. policytype: "sy"
  2305. }); //永安
  2306. if (res2.data) {
  2307. let result = res1.data.replace(/[\r\n]/g, "");
  2308. let pdfBase64 = `data:application/pdf;base64,${result}`;
  2309. base64ToPath(pdfBase64)
  2310. .then(path => {
  2311. this.policyList.push({
  2312. fileTitle: "商业电子保单",
  2313. filename: this.orderInfo.sypolicyno,
  2314. fileurl: path,
  2315. })
  2316. })
  2317. }
  2318. }
  2319. },
  2320. async zhongMeigetPolicyPrint() {
  2321. this.policyList = [];
  2322. this.policyList1 = [];
  2323. if (this.orderInfo.jqpolicyno) {
  2324. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  2325. companyId: this.companyId,
  2326. riskCode: "0507",
  2327. type: '2', //2:保单
  2328. });
  2329. if (res.code == '200') {
  2330. this.policyList.push({
  2331. fileTitle: "交强电子保单",
  2332. filename: this.orderInfo.jqpolicyno,
  2333. fileurl: res.data[0],
  2334. })
  2335. }
  2336. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  2337. companyId: this.companyId,
  2338. riskCode: "0507",
  2339. type: '1', //1:标志
  2340. });
  2341. if (res1.code == '200') {
  2342. this.policyList1.push({
  2343. fileTitle: "交强电子标志",
  2344. filename: this.orderInfo.jqpolicyno,
  2345. fileurl: res1.data[0],
  2346. })
  2347. }
  2348. }
  2349. if (this.orderInfo.sypolicyno) {
  2350. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  2351. companyId: this.companyId,
  2352. riskCode: "0510",
  2353. type: '2', //2:标志
  2354. });
  2355. if (res.code == '200') {
  2356. this.policyList.push({
  2357. fileTitle: "商业电子保单",
  2358. filename: this.orderInfo.sypolicyno,
  2359. fileurl: res.data[0],
  2360. })
  2361. }
  2362. }
  2363. },
  2364. async yongChenggetPolicyPrint() {
  2365. this.policyList = [];
  2366. this.policyList1 = [];
  2367. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  2368. companyId: this.companyId,
  2369. riskCode: "0507",
  2370. type: '2', //2:保单
  2371. }); //永诚财险
  2372. if (res.code == '200') {
  2373. this.policyList.push({
  2374. fileTitle: "交强电子保单",
  2375. filename: this.orderInfo.jqpolicyno,
  2376. fileurl: res.data.jqUrl,
  2377. })
  2378. if (res.data.jqFlagUrl) {
  2379. this.policyList1.push({
  2380. fileTitle: "交强电子标志",
  2381. filename: this.orderInfo.jqpolicyno,
  2382. fileurl: res.data.jqFlagUrl,
  2383. })
  2384. }
  2385. }
  2386. if (this.orderInfo.sypolicyno) {
  2387. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  2388. companyId: this.companyId,
  2389. riskCode: "0510",
  2390. type: '2', //2:保单
  2391. }); //永诚财险
  2392. if (res.code == '200') {
  2393. this.policyList.push({
  2394. fileTitle: "商业电子保单",
  2395. filename: this.orderInfo.sypolicyno,
  2396. fileurl: res.data.syUrl,
  2397. });
  2398. }
  2399. }
  2400. if (this.orderInfo.crossInsurance.length > 0) {
  2401. this.orderInfo.crossInsurance.map(async ele => {
  2402. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  2403. companyId: this.companyId,
  2404. policyNumber: ele.policyNumber,
  2405. riskCode: "0513",
  2406. type: '2', //2:保单
  2407. });
  2408. if (res.code == '200') {
  2409. this.policyList.push({
  2410. fileTitle: "驾意险保单",
  2411. filename: ele.policyNumber,
  2412. fileurl: res.data.jyUrl,
  2413. })
  2414. }
  2415. })
  2416. }
  2417. },
  2418. //爬虫电子保单统一调用
  2419. async pythonprint() {
  2420. if (this.orderInfo.jqpolicyno) {
  2421. let params = {
  2422. subOrderNo: this.companyId,
  2423. };
  2424. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  2425. if (res1.code == '200') {
  2426. this.policyList = [];
  2427. this.policyList1 = [];
  2428. this.policyList.push({
  2429. fileTitle: "交强电子保单",
  2430. filename: this.orderInfo.jqpolicyno,
  2431. fileurl: res1.data.jqxPolicyUrl,
  2432. })
  2433. this.policyList1.push({
  2434. fileTitle: "交强电子标志",
  2435. filename: this.orderInfo.jqpolicyno,
  2436. fileurl: res1.data.jqxFlagUrl,
  2437. })
  2438. if (res1.data.syxPolicyUrl) {
  2439. this.policyList.push({
  2440. fileTitle: "商业电子保单",
  2441. filename: this.orderInfo.sypolicyno,
  2442. fileurl: res1.data.syxPolicyUrl,
  2443. });
  2444. }
  2445. if (res1.data.jyxInfoList.length > 0) {
  2446. res1.data.jyxInfoList.map(ele => {
  2447. this.policyList.push({
  2448. fileTitle: "驾意险保单",
  2449. filename: ele.application,
  2450. fileurl: ele.jyx_policy_url,
  2451. });
  2452. return ele;
  2453. })
  2454. }
  2455. }
  2456. }
  2457. },
  2458. async ziJingetPolicyPrint() {
  2459. this.policyList = [];
  2460. this.policyList1 = [];
  2461. if (this.orderInfo.jqpolicyno) {
  2462. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  2463. companyId: this.companyId,
  2464. riskCode: "0507",
  2465. type: '2', //2:保单
  2466. });
  2467. if (res.code == '200') {
  2468. this.policyList.push({
  2469. fileTitle: "交强电子保单",
  2470. filename: this.orderInfo.jqpolicyno,
  2471. fileurl: res.data,
  2472. })
  2473. }
  2474. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  2475. companyId: this.companyId,
  2476. riskCode: "0507",
  2477. type: '1', //1:标志
  2478. });
  2479. if (res1.code == '200') {
  2480. this.policyList1.push({
  2481. fileTitle: "交强电子标志",
  2482. filename: this.orderInfo.jqpolicyno,
  2483. fileurl: res1.data,
  2484. })
  2485. }
  2486. }
  2487. if (this.orderInfo.sypolicyno) {
  2488. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  2489. companyId: this.companyId,
  2490. riskCode: "0510",
  2491. type: '2', //2:标志
  2492. });
  2493. if (res.code == '200') {
  2494. this.policyList.push({
  2495. fileTitle: "商业电子保单",
  2496. filename: this.orderInfo.sypolicyno,
  2497. fileurl: res.data,
  2498. })
  2499. }
  2500. }
  2501. if (this.orderInfo.crossInsurance.length > 0) {
  2502. this.orderInfo.crossInsurance.map(async ele => {
  2503. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  2504. companyId: this.companyId,
  2505. policyNumber: ele.policyNumber,
  2506. riskCode: "0513",
  2507. type: '2', //2:保单
  2508. });
  2509. if (res.code == '200') {
  2510. this.policyList.push({
  2511. fileTitle: "驾意险保单",
  2512. filename: ele.policyNumber,
  2513. fileurl: res.data,
  2514. })
  2515. }
  2516. })
  2517. }
  2518. },
  2519. async daJiagetPolicyPrint() {
  2520. this.policyList = [];
  2521. this.policyList1 = [];
  2522. if (this.orderInfo.jqpolicyno) {
  2523. let res = await this.$http.post('/api/dajia/obtainWarranty', {
  2524. companyId: this.companyId,
  2525. riskCode: "0507",
  2526. type: '2', //2:保单
  2527. });
  2528. if (res.code == '200') {
  2529. this.policyList.push({
  2530. fileTitle: "交强电子保单",
  2531. filename: this.orderInfo.jqpolicyno,
  2532. fileurl: res.data,
  2533. })
  2534. }
  2535. let res1 = await this.$http.post('/api/dajia/obtainWarranty', {
  2536. companyId: this.companyId,
  2537. riskCode: "0507",
  2538. type: '1', //1:标志
  2539. });
  2540. if (res1.code == '200') {
  2541. this.policyList1.push({
  2542. fileTitle: "交强电子标志",
  2543. filename: this.orderInfo.jqpolicyno,
  2544. fileurl: res1.data,
  2545. })
  2546. }
  2547. if (this.orderInfo.sypolicyno) {
  2548. let res = await this.$http.post('/api/dajia/obtainWarranty', {
  2549. companyId: this.companyId,
  2550. riskCode: "0510",
  2551. type: '2', //2:标志
  2552. });
  2553. if (res.code == '200') {
  2554. this.policyList.push({
  2555. fileTitle: "商业电子保单",
  2556. filename: this.orderInfo.sypolicyno,
  2557. fileurl: res.data,
  2558. })
  2559. }
  2560. }
  2561. }
  2562. },
  2563. async huaTaigetPolicyPrint() {
  2564. this.policyList = [];
  2565. this.policyList1 = [];
  2566. if (this.orderInfo.jqpolicyno) {
  2567. let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
  2568. companyId: this.companyId,
  2569. riskCode: "0507",
  2570. });
  2571. if (res.code == '200') {
  2572. this.policyList = [];
  2573. this.policyList1 = [];
  2574. this.policyList.push({
  2575. fileTitle: "交强电子保单",
  2576. filename: this.orderInfo.jqpolicyno,
  2577. fileurl: res.data.jqxPolicyUrl,
  2578. })
  2579. this.policyList1.push({
  2580. fileTitle: "交强电子标志",
  2581. filename: this.orderInfo.jqpolicyno,
  2582. fileurl: res.data.jqxFlagUrl,
  2583. })
  2584. if (res.data.syxPolicyUrl) {
  2585. this.policyList.push({
  2586. fileTitle: "商业电子保单",
  2587. filename: this.orderInfo.sypolicyno,
  2588. fileurl: res.data.syxPolicyUrl,
  2589. });
  2590. }
  2591. }
  2592. }
  2593. },
  2594. async guoRengetPolicyPrint() {
  2595. this.policyList = [];
  2596. this.policyList1 = [];
  2597. if (this.orderInfo.jqpolicyno) {
  2598. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2599. companyId: this.companyId,
  2600. riskCode: "0507",
  2601. type: '2', //2:保单
  2602. });
  2603. if (res.code == '200') {
  2604. this.policyList.push({
  2605. fileTitle: "交强电子保单",
  2606. filename: this.orderInfo.jqpolicyno,
  2607. fileurl: res.data,
  2608. })
  2609. }
  2610. let res1 = await this.$http.post('/api/guoRen/policyPrint', {
  2611. companyId: this.companyId,
  2612. riskCode: "0507",
  2613. type: '1', //1:标志
  2614. });
  2615. if (res1.code == '200') {
  2616. this.policyList1.push({
  2617. fileTitle: "交强电子标志",
  2618. filename: this.orderInfo.jqpolicyno,
  2619. fileurl: res1.data,
  2620. })
  2621. }
  2622. }
  2623. if (this.orderInfo.sypolicyno) {
  2624. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2625. companyId: this.companyId,
  2626. riskCode: "0510",
  2627. type: '2', //2:标志
  2628. });
  2629. if (res.code == '200') {
  2630. this.policyList.push({
  2631. fileTitle: "商业电子保单",
  2632. filename: this.orderInfo.sypolicyno,
  2633. fileurl: res.data,
  2634. })
  2635. }
  2636. }
  2637. if (this.orderInfo.crossInsurance.length > 0) {
  2638. this.orderInfo.crossInsurance.map(async ele => {
  2639. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2640. companyId: this.companyId,
  2641. policyNumber: ele.policyNumber,
  2642. riskCode: "0513",
  2643. type: '2', //2:保单
  2644. });
  2645. if (res.code == '200') {
  2646. this.policyList.push({
  2647. fileTitle: "驾意险保单",
  2648. filename: ele.policyNumber,
  2649. fileurl: res.data,
  2650. })
  2651. }
  2652. })
  2653. }
  2654. },
  2655. downloadPolicy(file) {
  2656. //#ifdef APP-PLUS
  2657. uni.showLoading({
  2658. title: '文件下载中'
  2659. });
  2660. let index = file.lastIndexOf("\/")
  2661. let licensename = file.substring(index + 1, file.length)
  2662. let dtask = plus.downloader.createDownload(file, {
  2663. filename: "_downloads/" + this.name + '-' + this.insuredPersonInfo.name + '-' + licensename
  2664. }, function(d, status) {
  2665. if (status == 200) {
  2666. uni.hideLoading()
  2667. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  2668. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  2669. plus.runtime.openFile(d.filename); //选择软件打开文件
  2670. } else {
  2671. uni.hideLoading()
  2672. //下载失败
  2673. plus.downloader.clear(); //清除下载任务
  2674. }
  2675. })
  2676. dtask.start();
  2677. //#endif
  2678. //#ifdef H5
  2679. var win = window.open();
  2680. win.document.write(
  2681. '<body style="margin:0px;"><object data="' +
  2682. file +
  2683. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  2684. file +
  2685. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  2686. );
  2687. //#endif
  2688. },
  2689. //选择缴费方式
  2690. openPayWay() {
  2691. this.navigate({
  2692. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  2693. }, 'navigateTo', true)
  2694. },
  2695. cancelShare() {
  2696. this.$refs.showshare.close()
  2697. },
  2698. //控制详情的展开和收起
  2699. controlShow(type) {
  2700. this[type] = !this[type];
  2701. },
  2702. //撤销核保
  2703. cancelUnderwriting() {
  2704. uni.showModal({
  2705. content: '是否确认撤销核保?',
  2706. success: async (res) => {
  2707. if (res.confirm) {
  2708. let param = {
  2709. "auditid": this.userInfo.sysUser.id, //核保人会员号
  2710. "auditopinion": '', //核保意见
  2711. "jqapplyno": "", //交强险投保单号
  2712. "jqappoint": "", //交强特别约定
  2713. "jqpolicyno": "", //交强保单号
  2714. "orderno": this.orderno, //订单号
  2715. "orderstatus": "0", //订单类型
  2716. "syapplyno": "", //商业险投保单号
  2717. "syappoint": "", //商业险特别约定
  2718. "sypolicyno": "" //商业保单号
  2719. }
  2720. let res = await this.$http.post('/insOrder/saveAudit', param);
  2721. uni.showToast({
  2722. title: '撤销成功',
  2723. icon: "none",
  2724. duration: 2000
  2725. });
  2726. setTimeout(() => {
  2727. this.setOrderStage(0);
  2728. this.setOrderType(0);
  2729. this.navigate({
  2730. url: "/pages/orders/orders"
  2731. }, "switchTab", true);
  2732. }, 2000);
  2733. } else if (res.cancel) {
  2734. console.log('用户点击取消');
  2735. }
  2736. }
  2737. });
  2738. },
  2739. toChinesNum(num) {
  2740. let overWan = Math.floor(num / 10000);
  2741. let result = overWan + "万";
  2742. return result;
  2743. },
  2744. }
  2745. }
  2746. </script>
  2747. <style lang="scss" scoped>
  2748. @import '@/style/mixin.scss';
  2749. .page {
  2750. background: #F8FAFE;
  2751. padding: 0 16px 100px 16px;
  2752. }
  2753. .headers {
  2754. width: 100%;
  2755. height: auto;
  2756. background: linear-gradient(180deg, #0052FF 0%, #F8FAFE 110%);
  2757. padding: 16px 16px 0 16px;
  2758. .price {
  2759. width: 100%;
  2760. height: 40px;
  2761. background: #FFFFFF;
  2762. border-radius: 6px 6px 0px 0px;
  2763. }
  2764. }
  2765. .header {
  2766. height: 80upx;
  2767. position: relative;
  2768. }
  2769. .header .title {
  2770. font-size: 30upx;
  2771. font-weight: bold;
  2772. }
  2773. .welfare {
  2774. margin-bottom: 20upx;
  2775. width: 100%;
  2776. box-sizing: border-box;
  2777. background: #FFFFFF;
  2778. border-radius: 20upx;
  2779. }
  2780. .welfare .body {
  2781. padding: 0 30upx 30upx;
  2782. box-sizing: border-box;
  2783. flex-wrap: wrap;
  2784. }
  2785. .welfare .body>.welfareItem {
  2786. width: 320upx;
  2787. height: 120upx;
  2788. padding: 10upx 20upx;
  2789. margin: 20upx 10upx 0upx;
  2790. border: 1px solid rgba($themeColor, 0.6);
  2791. box-sizing: border-box;
  2792. background: rgba($themeColor, 0.4);
  2793. border-radius: 10upx;
  2794. }
  2795. .welfare .body>.welfareItem .name {
  2796. color: $themeColor;
  2797. font-size: 30upx;
  2798. width: 210upx;
  2799. overflow: hidden;
  2800. text-overflow: ellipsis;
  2801. white-space: nowrap;
  2802. }
  2803. .welfare .body>.welfareItem .content {
  2804. font-size: 24upx;
  2805. width: 260upx;
  2806. overflow: hidden;
  2807. text-overflow: ellipsis;
  2808. white-space: nowrap;
  2809. }
  2810. /* 报价方案Start */
  2811. .quotePlan {
  2812. margin-bottom: 20upx;
  2813. width: 100%;
  2814. }
  2815. .quotePlan .header .adjustPlan {
  2816. color: $themeColor;
  2817. }
  2818. .quotePlan .body {
  2819. background-color: #fff;
  2820. padding: 10px;
  2821. border-radius: 6px;
  2822. .kindList {
  2823. background-color: #F9F9F9;
  2824. padding: 10px;
  2825. height: auto;
  2826. width: 100%;
  2827. border-radius: 10px;
  2828. font-size: 13px;
  2829. color: rgba(35, 40, 50, 0.8);
  2830. }
  2831. }
  2832. .quotePlan .body .insurance {
  2833. padding-bottom: 20upx;
  2834. }
  2835. .quotePlan .body .row {
  2836. padding: 5px;
  2837. border-bottom: 1px solid #F3F3F3;
  2838. }
  2839. .quotePlan .body .row:last-child {
  2840. border: none;
  2841. }
  2842. .quotePlan .body .row .date {
  2843. color: #A4A4A4;
  2844. font-size: 22upx;
  2845. }
  2846. .quotePlan .body .insurance .kindList {
  2847. background: #F3F3F3;
  2848. padding: 0 10upx;
  2849. }
  2850. .addedServices .kindList {
  2851. background: #F3F3F3;
  2852. padding: 0 10upx;
  2853. }
  2854. .quotePlan .body .insurance .kindList .kindItem {
  2855. padding: 2px 0;
  2856. }
  2857. .quotePlan .body .insurance .kindList .kindItem>view {
  2858. font-size: 24upx;
  2859. }
  2860. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  2861. width: 310upx;
  2862. }
  2863. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  2864. width: 170upx;
  2865. }
  2866. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  2867. width: 170upx;
  2868. }
  2869. .addedServices .kindList .kindItem {
  2870. height: 65upx;
  2871. }
  2872. .addedServices .kindList .kindItem>view {
  2873. font-size: 24upx;
  2874. padding: 0upx 15upx;
  2875. }
  2876. /* 报价方案End */
  2877. .car {
  2878. width: 100%;
  2879. .body {
  2880. padding: 0upx 30upx 0;
  2881. background-color: #fff;
  2882. border-radius: 6px;
  2883. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2884. .row {
  2885. padding: 5px;
  2886. border-bottom: 1px solid #F3F3F3;
  2887. }
  2888. .row:last-child {
  2889. border: none;
  2890. }
  2891. }
  2892. }
  2893. /* 预缴费Start */
  2894. .advancePaymentTotal {
  2895. margin-bottom: 20upx;
  2896. width: 100%;
  2897. box-sizing: border-box;
  2898. background: #FFFFFF;
  2899. border-radius: 20upx;
  2900. }
  2901. .advancePaymentTotal .body {
  2902. padding: 0upx 40upx 10upx;
  2903. }
  2904. .advancePaymentTotal .body .row {
  2905. height: 80upx;
  2906. border-bottom: 1px solid #F3F3F3;
  2907. }
  2908. /* 预缴费End */
  2909. /* 底部按钮Start */
  2910. .bottomBtn {
  2911. position: fixed;
  2912. bottom: 0;
  2913. left: 0;
  2914. right: 0;
  2915. height: auto;
  2916. z-index: 999;
  2917. background-color: #fff;
  2918. .agree {
  2919. padding: 4px 8px;
  2920. font-size: 22rpx;
  2921. color: #858585;
  2922. .tip {
  2923. color: #FF5600;
  2924. margin: 0upx 10upx;
  2925. }
  2926. }
  2927. .btnView {
  2928. width: 100%;
  2929. height: 38px;
  2930. background-color: #fff;
  2931. .btn {
  2932. height: 100%;
  2933. }
  2934. .btn:nth-child(1) {
  2935. width: 50%;
  2936. background-color: #E6EEFF;
  2937. color: #0052FF;
  2938. padding: 8px;
  2939. font-size: 13px;
  2940. }
  2941. .btn:nth-child(2) {
  2942. width: 50%;
  2943. color: #fff;
  2944. background-color: #0038AF;
  2945. font-weight: bold;
  2946. }
  2947. }
  2948. }
  2949. .tool {
  2950. padding: 10px;
  2951. view {
  2952. width: 100%;
  2953. padding: 8px 0;
  2954. border-bottom: 1px solid #f2f2f2;
  2955. font-size: 14px;
  2956. color: #232832;
  2957. }
  2958. }
  2959. .cancell {
  2960. width: 100%;
  2961. height: 46px;
  2962. background-color: #E6EEFF;
  2963. font-size: 16px;
  2964. color: #0052FF;
  2965. }
  2966. /* 底部按钮End */
  2967. .contributing {
  2968. width: 100%;
  2969. margin: 4px 0;
  2970. font-size: 14px;
  2971. text:nth-child(1) {
  2972. font-weight: bold;
  2973. color: #ff9000;
  2974. }
  2975. }
  2976. /* 人员信息Start */
  2977. .personInfo,
  2978. .advancePayment,
  2979. .imageInfo,
  2980. .appoint {}
  2981. .personInfo,
  2982. .advancePayment,
  2983. .imageInfo,
  2984. .appoint {
  2985. .title {
  2986. height: 80upx;
  2987. font-size: 15px;
  2988. box-shadow: inset 0 -3upx 0px #fafafa;
  2989. }
  2990. .content {
  2991. padding: 0px 5px 0;
  2992. background-color: #fff;
  2993. border-radius: 6px;
  2994. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2995. }
  2996. .uni-uploader {
  2997. padding: 8px;
  2998. background-color: #fff;
  2999. border-radius: 6px;
  3000. height: auto;
  3001. box-shadow: 0px 4px 10px 0px #DAE3F4;
  3002. }
  3003. }
  3004. .uni-uploader__file {
  3005. position: relative;
  3006. }
  3007. .delImgIcon {
  3008. width: 40upx;
  3009. height: 40upx;
  3010. position: absolute;
  3011. right: 0upx;
  3012. top: 0upx;
  3013. color: #FFFFFF;
  3014. }
  3015. .showStatus {
  3016. font-size: 26upx;
  3017. color: #007AFF;
  3018. }
  3019. .personInfo .content .row,
  3020. .advancePayment .content .row {
  3021. height: 80upx;
  3022. border-bottom: 1px solid #F9F9F9;
  3023. flex-wrap: nowrap;
  3024. }
  3025. .personInfo .content .row .left,
  3026. .advancePayment .content .row .left {
  3027. width: 170upx;
  3028. flex-shrink: 0;
  3029. font-size: 28upx;
  3030. }
  3031. .appoint .content .row {
  3032. height: auto;
  3033. margin-top: 10upx;
  3034. }
  3035. .appoint .content .row>view {
  3036. width: 240upx;
  3037. flex-shrink: 1;
  3038. font-size: 28upx;
  3039. }
  3040. .appoint .content .row>textarea {
  3041. /* background: #007AFF; */
  3042. padding: 15upx;
  3043. box-sizing: border-box;
  3044. font-size: 26upx;
  3045. min-height: 160upx;
  3046. height: 100upx;
  3047. border: 1px solid #fafafa;
  3048. /* over */
  3049. }
  3050. .personInfo .content .row .right,
  3051. .advancePayment .content .row .right,
  3052. .appoint .content .row .right {
  3053. font-size: 28upx;
  3054. }
  3055. /* 人员信息End */
  3056. .checkButton {
  3057. margin: 0 20upx 0 20upx;
  3058. font-size: 24upx;
  3059. width: 80upx;
  3060. height: 50upx;
  3061. background: $themeColor;
  3062. font-weight: bold;
  3063. color: #FFFFFF;
  3064. border-radius: 5upx;
  3065. }
  3066. .uni-popup__wrapper-box {
  3067. display: block;
  3068. position: relative;
  3069. }
  3070. .uni-share {
  3071. display: flex;
  3072. flex-direction: column;
  3073. background-color: #fff;
  3074. position: fixed;
  3075. bottom: 0;
  3076. left: 0;
  3077. right: 0;
  3078. }
  3079. .uni-share-title {
  3080. line-height: 30px;
  3081. font-size: 12px;
  3082. padding: 7px 0;
  3083. text-align: center;
  3084. }
  3085. .uni-share-content {
  3086. display: flex;
  3087. flex-direction: row;
  3088. flex-wrap: wrap;
  3089. justify-content: center;
  3090. padding: 15px;
  3091. }
  3092. .uni-share-content-box {
  3093. display: flex;
  3094. flex-direction: column;
  3095. align-items: center;
  3096. width: 100px;
  3097. }
  3098. .uni-share-content-image {
  3099. display: flex;
  3100. flex-direction: row;
  3101. justify-content: center;
  3102. align-items: center;
  3103. width: 30px;
  3104. height: 30px;
  3105. overflow: hidden;
  3106. border-radius: 5px;
  3107. }
  3108. .uni-share-content-text {
  3109. font-size: 13px;
  3110. color: #333;
  3111. padding-top: 5px;
  3112. padding-bottom: 10px;
  3113. }
  3114. .uni-share-btn {
  3115. height: 45px;
  3116. line-height: 45px;
  3117. font-size: 14px;
  3118. border-top-color: #f5f5f5;
  3119. border-top-width: 1px;
  3120. border-top-style: solid;
  3121. text-align: center;
  3122. color: #666;
  3123. }
  3124. uni-image>img {
  3125. display: block;
  3126. position: absolute;
  3127. top: 0;
  3128. left: 0;
  3129. opacity: 0;
  3130. }
  3131. uni-image>div,
  3132. uni-image>img {
  3133. width: 100%;
  3134. height: 100%;
  3135. }
  3136. .Discount {
  3137. image {
  3138. width: 16px;
  3139. height: 16px;
  3140. }
  3141. text {
  3142. font-size: 12px;
  3143. color: #333333;
  3144. }
  3145. }
  3146. .costDetails {
  3147. width: 100%;
  3148. height: auto;
  3149. background-color: #F9F9F9;
  3150. border-radius: 10px;
  3151. .text1 {
  3152. font-size: 22rpx;
  3153. }
  3154. .text2 {
  3155. font-size: 24rpx;
  3156. }
  3157. .text2-color {
  3158. color: rgba(0, 82, 255, 0.8);
  3159. }
  3160. }
  3161. </style>