custormerDetail.vue 91 KB

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