quoteDetail.vue 101 KB

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