premiumCalc.vue 207 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891
  1. <template>
  2. <view class="">
  3. <service-widget @btnClick="btn_click"></service-widget>
  4. <image src="/static/image/car-insure/Quotablebanner.png" mode=""
  5. style="width: 100%;height: 110px;position: absolute;"></image>
  6. <view class="page">
  7. <view class="car-header dis a-c mt-2">
  8. <image src="/static/image/car-insure/Group.png" mode="" style="width: 40px;height: 40px;"></image>
  9. <view class="dis f-c head-name">
  10. <text>{{carInfo.licenseNo}} <text style="color: rgba(35,40,50,0.65);">丨</text> <text
  11. style="font-weight: 400;"> {{insuredPersonInfo.name}} (被保人)</text> </text>
  12. <view class="name1">
  13. <text>{{carInfo.modelcname}}</text>
  14. </view>
  15. </view>
  16. <view class="carJump" @tap="toCarInfo">修改信息</view>
  17. </view>
  18. <view class="" style="position: relative;">
  19. <view class=" dis f-c" v-if="['0330','0330034002','0330034001'].includes(productId)">
  20. <text class="plan-ins-title">交强险</text>
  21. <view class="quotePlan">
  22. <view class=" dis a-c j-s modelformcss">
  23. <text>即时投保</text>
  24. <view class="dis a-c j-c">
  25. <view class="status-data" :class="item.value==jqimmediately? 'active':''"
  26. v-for="(item,index) in jqimmediatelyList"
  27. @tap="datelyClick(item.value,'jqimmediately','jqstartDate','jqendDate')"
  28. :key="index">
  29. {{item.label}}
  30. </view>
  31. </view>
  32. </view>
  33. <u-form ref="uForm" label-width="120px">
  34. <u-form-item label="交强险投保日期" class="modelformcss">
  35. <u-input type="select" :select-open="jqstartShow" :custom-style="{textAlign:'right'}"
  36. v-model="jqstartDate" placeholder="请选择开始时间" @click="jqstartShow = true"></u-input>
  37. <u-picker v-model="jqstartShow" mode="time" :params="params"
  38. @confirm="jqstartconfirm"></u-picker>
  39. </u-form-item>
  40. <u-form-item label="交强险终保日期" class="modelformcss">
  41. <u-input type="select" :select-open="jqendShow" :custom-style="{textAlign:'right'}"
  42. v-model="jqendDate" placeholder="请选择结束时间" @click="jqendShow = true"></u-input>
  43. <u-picker v-model="jqendShow" mode="time" :params="params"
  44. @confirm="jqendconfirm"></u-picker>
  45. </u-form-item>
  46. </u-form>
  47. </view>
  48. </view>
  49. <view class=" dis f-c " v-if="['034001','034002','0330034002','0330034001'].includes(productId)">
  50. <text class="plan-ins-title">商业险</text>
  51. <view class="quotePlan">
  52. <view class=" dis a-c j-s modelformcss">
  53. <text>即时投保</text>
  54. <view class="dis a-c j-c">
  55. <view class="status-data" :class="item.value==syimmediately? 'active':''"
  56. v-for="(item,index) in syimmediatelyList"
  57. @tap="datelyClick(item.value,'syimmediately','systartDate','syendDate')"
  58. :key="index">
  59. {{item.label}}
  60. </view>
  61. </view>
  62. </view>
  63. <u-form ref="uForm" label-width="120px">
  64. <u-form-item label="商业险投保日期" class="modelformcss">
  65. <u-input type="select" :select-open="systartShow" :custom-style="{textAlign:'right'}"
  66. v-model="systartDate" placeholder="请选择开始时间" @click="systartShow = true"></u-input>
  67. <u-picker v-model="systartShow" mode="time" :params="params"
  68. @confirm="systartconfirm"></u-picker>
  69. </u-form-item>
  70. <u-form-item label="商业险终保日期" class="modelformcss">
  71. <u-input type="select" :select-open="syendShow" :custom-style="{textAlign:'right'}"
  72. v-model="syendDate" placeholder="请选择结束时间" @click="syendShow = true"></u-input>
  73. <u-picker v-model="syendShow" mode="time" :params="params"
  74. @confirm="syendconfirm"></u-picker>
  75. </u-form-item>
  76. </u-form>
  77. </view>
  78. </view>
  79. </view>
  80. <view class=" dis a-c j-s mt-3" style="position: relative;">
  81. <view style="color:#FF5600;font-size: 15px;font-weight: bold;">投保注意:</view>
  82. <view class="dis a-c f-wrap">
  83. <view class="status-data" :class="carInfo.transferFlag? 'active1':''"
  84. @tap="immediatelyClick('transferFlag')">
  85. 过户车
  86. </view>
  87. <view class="status-data" v-if="['034001','0330034002','0330034001'].includes(productId)"
  88. :class="carInfo.transferFlagBi? 'active1':''" @tap="immediatelyClick('transferFlagBi')">
  89. 商业险过户
  90. </view>
  91. <view class="status-data" :class="carInfo.outOfInsurance? 'active1':''"
  92. @tap="immediatelyClick('outOfInsurance')">
  93. 脱保
  94. </view>
  95. <view class="status-data" :class="carInfo.usedCar? 'active1':''" @tap="immediatelyClick('usedCar')">
  96. 二手车
  97. </view>
  98. </view>
  99. </view>
  100. <view class="quotePlan dis a-c j-s mt-2 " style="padding: 5px 10px;" v-if="carInfo.transferFlag">
  101. <view>转移登记日期:</view>
  102. <u-input type="select" :select-open="transferDateShow" :custom-style="{textAlign:'right'}"
  103. v-model="carInfo.transferDate" @click="transferDateShow = true" style="width: 100px;"></u-input>
  104. <u-picker v-model="transferDateShow" mode="time" :params="params1"
  105. @confirm="transferconfirm"></u-picker>
  106. </view>
  107. <view class="quoteCompany mt-3">
  108. <view class="header dis a-c">
  109. <view class="title d-flex" style="font-family: jiangxizhuokai, jiangxizhuokai;">保险公司</view>
  110. <text style="color:#0052FF;font-size: 13px;">(请选择任意一家保险公司投保)</text>
  111. </view>
  112. <block v-for="(totalitem,totalindex) in quotableCompanyList" :key="totalindex">
  113. <template>
  114. <view class="quoteCompanyItem dis f-c j-s ">
  115. <view class="headers dis a-c"
  116. :style="{backgroundImage:totalitem.quoteCode=='3' ? `url('../../static/image/car-insure/baojiashibai.png')` :!totalitem.insurancePlanInfo? `url('../../static/image/car-insure/weixuanfangan.png')` : `url('../../static/image/car-insure/yixuanfangan.png')`}">
  117. <view class="logo dis a-c j-c">
  118. <image :src="totalitem.logo"></image>
  119. <view class="companyName">{{totalitem.namesimple}}</view>
  120. </view>
  121. <view class="insuranceGuide dis a-c j-c "
  122. :style="{background:totalitem.quoteCode=='3' ? '#FD9159' :!totalitem.insurancePlanInfo? '#FD9159' : '#548EFF'}"
  123. @click.stop="InsureGuideclick(totalitem)">
  124. 投保指引
  125. </view>
  126. </view>
  127. <view class="top dis f-c "
  128. :class="[totalitem.quoteCode=='3' ?'':!totalitem.insurancePlanInfo?'':'selectedPlanBackground']">
  129. <view v-if="totalitem.quoteCode"
  130. :class="[totalitem.quoteCode=='200'?'j-start':'j-end','companyIcon','dis','a-c']"
  131. :style="{borderBottom:totalitem.quoteCode=='3' ?'1px solid #FFCFC0':!totalitem.insurancePlanInfo?'none':'1px solid #C0E4FF'}">
  132. <view class="dis a-c">
  133. <view class="" @click.stop>
  134. <u-checkbox @change="priceComparisonChange(totalindex,totalitem)"
  135. v-if="totalitem.isComparableshowHide"
  136. v-model="totalitem.isComparableShow" active-color="#23C1CB"
  137. :disabled='totalitem.isComparableDisabled'></u-checkbox>
  138. </view>
  139. </view>
  140. <view class="dis a-c" v-if="totalitem.quoteCode=='200'">
  141. <text class="sum">总保费:¥{{totalitem.result.sumPermium}}</text>
  142. <view class="dis a-c" style="margin-left: 10px;"
  143. v-if="totalitem.result.feeDisplay">
  144. <text style="color: #FF4D4D;font-size: 12px;"
  145. v-if="totalitem.result.sumExportFee">{{totalitem.result.feeView?'掌柜科技币':'优惠金额¥'}}{{totalitem.result.sumExportFee}}</text>
  146. </view>
  147. </view>
  148. <ls-loading v-if="totalitem.quoteCode ==1" text="掌柜正在为您报价,请稍等......"
  149. :animation="animation" fontSize="22" />
  150. <text v-if="totalitem.quoteCode=='3'" class="quoteFailed"
  151. @tap.stop.prevent="ErrorMsg(totalitem.msg,totalitem.namesimple)">报价失败,查看原因</text>
  152. </view>
  153. <view class=" dis j-end a-c mt-2 f-wrap">
  154. <view class="ml-2 mb-1 "
  155. v-if="totalitem.namesimple=='诚泰财险' && totalitem.result.companyId"
  156. style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
  157. @click="CTadjustmentCoefficient(totalindex)">调整系数</view>
  158. <view class="ml-2 mb-1 "
  159. v-if="totalitem.namesimple=='紫金财险' && totalitem.result.companyId"
  160. style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
  161. @click="ZJadjustmentCoefficient(totalindex)">调整系数</view>
  162. <view class="ml-2 mb-1"
  163. v-if="totalitem.namesimple=='国任财险' && totalitem.insurancePlanInfo"
  164. style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
  165. @click="specialAgreementSelection(totalitem.id)">调整特约</view>
  166. <view class="ml-2 mb-1"
  167. v-if="totalitem.namesimple=='紫金财险' && totalitem.result.orderstatus"
  168. style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
  169. @click="zijinspecialAgreementSelection(totalitem.result.companyId)">调整特约</view>
  170. <view class="ml-2 mb-1"
  171. v-if="totalitem.namesimple=='华泰财险' && totalitem.result.orderstatus"
  172. style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
  173. @click="huataispecialAgreementSelection(totalitem.result.companyId)">调整特约</view>
  174. <view class="ml-2 mb-1"
  175. style="border: 1px solid #FF5600;border-radius: 2px;padding:1px 6px;color:#FF5600;font-size: 24rpx;"
  176. @click="SchemeSelection(totalitem)">
  177. {{!totalitem.insurancePlanInfo?'选择方案':'重选方案'}}
  178. </view>
  179. <view class="ml-2 mb-1" v-if="totalitem.insurancePlanInfo"
  180. style="border: 1px solid #0052FF;border-radius: 2px;padding:1px 6px;color:#0052FF;font-size: 24rpx;"
  181. @click="checkSelection(totalitem)">查看方案</view>
  182. <view class="ml-2 mb-1" v-if="totalitem.insurancePlanInfo"
  183. style="background:#FF4D4D;color: #fff;border: 1px solid #FF4D4D;border-radius: 2px;padding:1px 6px;font-size: 24rpx;"
  184. @click="individualQuote(totalitem)">单独报价</view>
  185. </view>
  186. <view class="Premium dis f-c mb-2 " v-if="totalitem.quoteCode=='200'">
  187. <view class="dis price" v-if="totalitem.result.feeNoDescription">
  188. <text>该车未匹配销管费用,不建议投保!</text>
  189. <u-icon name="chat-fill" color="#ff0000" size="40"
  190. @click="discountErrorMessageMsg(totalitem.result.feeNoDescription,totalitem.namesimple)"></u-icon>
  191. </view>
  192. <view class="dis a-c f-wrap price">
  193. <text
  194. v-if="totalitem.result.jqPremium">交强险:¥{{totalitem.result.jqPremium}}</text>
  195. <text
  196. v-if="totalitem.result.syPremium">商业险:¥{{totalitem.result.syPremium}}</text>
  197. <text
  198. v-if="totalitem.result.taxAmount">车船税:¥{{totalitem.result.taxAmount}}</text>
  199. <text
  200. v-if="totalitem.result.jyPremium">驾意险:¥{{totalitem.result.jyPremium}}</text>
  201. </view>
  202. <view class="dis a-c f-wrap price" style="font-size: 20rpx;color: #FF4D4D;"
  203. v-if="totalitem.result.feeDisplay">
  204. <text>{{totalitem.result.feeView?'掌柜科技币:【':'优惠金额:【'}}
  205. <text
  206. v-if="totalitem.result.jqPremium">交强险:{{totalitem.result.jqExportFee?totalitem.result.jqExportFee:'无'}}</text>
  207. <text
  208. v-if="totalitem.result.syPremium">商业险:{{totalitem.result.syExportFee?totalitem.result.syExportFee:'无'}}</text>
  209. <text
  210. v-if="totalitem.result.jyPremium">驾意险:{{totalitem.result.noExportFee?totalitem.result.noExportFee:"无"}}</text>
  211. 】</text>
  212. </view>
  213. <view class="dis a-c j-s ">
  214. <view class="dis f-c time">
  215. <text
  216. v-if="totalitem.result.jqPremium">交强起保时间:{{totalitem.result.startDateJq}}
  217. </text>
  218. <text
  219. v-if="totalitem.result.jqPremium">交强终保时间:{{totalitem.result.endDateJq}}
  220. </text>
  221. <text
  222. v-if="totalitem.result.syPremium">商业起保时间:{{totalitem.result.startDateSy}}
  223. </text>
  224. <text
  225. v-if="totalitem.result.syPremium">商业终保时间:{{totalitem.result.endDateSy}}
  226. </text>
  227. </view>
  228. <image src="/static/image/car-insure/Group30.png" mode=""
  229. style="width: 14px;height: 14px;" @click="syncData(totalitem.result)">
  230. </image>
  231. </view>
  232. <view class="dis a-c f-wrap time">
  233. <text v-if="totalitem.namesimple == '永诚财险'">光博分:{{ totalitem.result.ilogPreUdwMess ?
  234. totalitem.result.ilogPreUdwMess : '无' }}</text>
  235. <text v-else>评分:{{ totalitem.result.ilogPreUdwMess ?
  236. totalitem.result.ilogPreUdwMess : '无' }}</text>
  237. <text v-if="totalitem.result.jqScore">交强类型评分:{{ totalitem.result.jqScore ?
  238. totalitem.result.jqScore : '无' }}</text>
  239. <text v-if="totalitem.result.syScore">商业类型评分:{{ totalitem.result.syScore ?
  240. totalitem.result.syScore : '无' }}</text>
  241. <text v-if="totalitem.result.lossRation">总赔付率:{{ totalitem.result.lossRation ?
  242. totalitem.result.lossRation : '无' }}</text>
  243. <text v-if="totalitem.result.jqLossRation">交强赔付率:{{ totalitem.result.jqLossRation ?
  244. totalitem.result.jqLossRation : '无' }}</text>
  245. <text v-if="totalitem.result.syLossRation">商业赔付率:{{ totalitem.result.syLossRation ?
  246. totalitem.result.syLossRation : '无' }}</text>
  247. <text
  248. v-if="totalitem.namesimple == '紫金财险'">鼎然-车辆风险评分:{{totalitem.result.ubiPredictedInfoScore ?
  249. totalitem.result.ubiPredictedInfoScore : '无'}}</text>
  250. <text v-if="totalitem.result.jqRenewal">交强续保:{{ totalitem.result.jqRenewal ?
  251. totalitem.result.jqRenewal : '无' }}</text>
  252. <text v-if="totalitem.result.syRenewal">商业续保:{{ totalitem.result.syRenewal ?
  253. totalitem.result.syRenewal : '无' }}</text>
  254. <text v-if="totalitem.result.jqClaims">交强出险次数:{{ totalitem.result.jqClaims ?
  255. totalitem.result.jqClaims : '无' }}</text>
  256. <text v-if="totalitem.result.syClaims">商业出险次数:{{ totalitem.result.syClaims ?
  257. totalitem.result.syClaims : '无' }}</text>
  258. </view>
  259. <template v-if="totalitem.result.iszdj !=null && totalitem.result.iszdj!=''">
  260. <text v-if="totalitem.result.iszdj==0" style="color: red;">假单交</text>
  261. <text v-if="totalitem.result.iszdj==1" style="color: red;">真单交</text>
  262. </template>
  263. <view class="dis j-end f-c lastyear">
  264. <view class="dis a-c j-end ">
  265. <view class=" left dis j-c a-c" v-if="totalitem.lastYearMsg"
  266. @click="YearMsg(totalitem.lastYearMsg,totalitem.namesimple)">
  267. <text>上年信息</text>
  268. </view>
  269. <view class=" right ml-2 dis j-c a-c" v-if='totalitem.result.predictInfo'
  270. @click="preUnderwriting(totalitem.result.predictInfo)">
  271. <text>预核保信息</text>
  272. </view>
  273. </view>
  274. <view class="dis a-c j-end mt-1">
  275. <u-button class="ml-2" type="error" size="mini"
  276. :custom-style="{borderRadius:'2px'}"
  277. style="background: linear-gradient( 90deg, #10D8D8 0%, #00CBE6 100%);"
  278. @click="resubmitImage(totalitem.result.companyId)">补传影像</u-button>
  279. <u-button class="ml-2" type="error" size="mini"
  280. :custom-style="{borderRadius:'2px'}"
  281. style="background: linear-gradient( 90deg, #FF4D4D 0%, #FF784D 100%);"
  282. @click="bjdpreview(totalitem.result.companyId)">报价单</u-button>
  283. <u-button class="ml-2" type="primary" size="mini"
  284. :custom-style="{borderRadius:'2px'}"
  285. style="background: linear-gradient( 90deg, #FF9415 0%, #FFB525 100%);"
  286. @click="querydetial(totalitem.result.companyId,totalitem.cnName)">查看详情</u-button>
  287. <u-button class="ml-2" type="primary" size="mini"
  288. v-if="totalitem.result.orderstatus==0"
  289. :custom-style="{borderRadius:'2px'}"
  290. style="background: linear-gradient( 90deg, #0052FF 0%, #0D8BFF 100%);"
  291. @click="submitUnderwriting(totalitem.result.companyId,totalitem.result.apiType ,totalitem.namesimple)">提交核保</u-button>
  292. </view>
  293. </view>
  294. </view>
  295. </view>
  296. </view>
  297. </template>
  298. </block>
  299. </view>
  300. </view>
  301. <view class="footer-btn dis a-c j-s">
  302. <u-button type="primary" style="background:#E6EEFF;color: #0052FF; width: 20%;" @tap="back">上一步</u-button>
  303. <u-button type="primary" style="background:#FF9900;width: 20%;" @tap="tempSave">暂存</u-button>
  304. <u-button type="primary" style="background:#C9C9C9;width: 20%;" @click="priceComparison"
  305. v-if="comparableQuantity<2 ">查最优</u-button>
  306. <u-button type="primary" style="background:#1DB1E0;width: 20%;" @click="priceComparison1"
  307. v-if="comparableQuantity>=2 && selectedCount<2">查最优</u-button>
  308. <u-button type="primary" class="priceComparison" @click="priceComparison2"
  309. v-if="selectedCount>=2">查最优</u-button>
  310. <u-button type="primary" style="background:#0052FF; width: 30%;" @tap="toNext">多家报价</u-button>
  311. </view>
  312. <u-popup v-model="genericPlanPopup" mode="center" width="100%" border-radius="6">
  313. <view class="">
  314. <image src="/static/image/car-insure/SchemeSelection.png" mode="" style="width: 100%;height: 40px;">
  315. </image>
  316. <scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y">
  317. <view class="Plancontent dis f-c ">
  318. <text class="title ">方案选择</text>
  319. <view class="dis a-c f-wrap modelformcss">
  320. <view class="status-data" :class="item.schemeId==SelectedPlanId? 'active':''"
  321. style="margin:4px 10px;" v-for="(item,index) in planDataExpansion.genericPlanList"
  322. @tap.stop.prevent="statusclick(item.schemeId)" :key="index">
  323. {{item.schemeName}}
  324. </view>
  325. </view>
  326. </view>
  327. <view class="Plancontent dis j-s a-c " style="padding: 8px 14px;">
  328. <view class="selectedCoverage dis a-c j-s">
  329. <view class="title-before"></view>
  330. <text class="title1">已选险种</text>
  331. <view class="product dis a-c j-s">
  332. <image src="../../static/image/car-insure/duigou.png" mode=""
  333. style="width: 15px;height: 15px;"></image>
  334. <text style="font-size: 14px;color: #FF5600;">{{productName}}</text>
  335. </view>
  336. </view>
  337. </view>
  338. <view class="">
  339. <view class="Plancontent dis f-c " v-if="planDataExpansion.genericPlanInfo.isJq=='1'">
  340. <text class="title mb-1">交强险</text>
  341. <text style="margin-left: 10px;">{{jqstartDate}} - {{jqendDate}}</text>
  342. <view style="padding:4px 10px;">
  343. <u-table border-color="#E3E9F8" align="left">
  344. <u-tr class="jq">
  345. <u-th>保险产品 </u-th>
  346. </u-tr>
  347. <u-tr class="jq">
  348. <u-td>
  349. <view class="dis a-c">
  350. <view class="circle dis a-c j-c"></view>
  351. <text style="margin-left: 10px;"> 交通事故强制责任险</text>
  352. </view>
  353. </u-td>
  354. </u-tr>
  355. </u-table>
  356. </view>
  357. </view>
  358. <view class="Plancontent dis f-c ">
  359. <text class="title mb-1">车船税</text>
  360. <view class="">
  361. <u-form ref="uForm" :model="vehicleAndVesselTaxForm" label-width="130px">
  362. <u-form-item label="纳税类型" prop="taxRelifFlag" class="modelformcss">
  363. <u-input type="select" :select-open="taxRelifFlagShow"
  364. v-model="model.taxRelifFlag" :custom-style="{textAlign:'right'}"
  365. placeholder="请选择纳税类型" @click="taxRelifFlagShow = true"></u-input>
  366. <u-select mode="single-column" :list="taxRelifFlagoptions"
  367. v-model="taxRelifFlagShow" label-name="dictTag" value-name="dictValue"
  368. @confirm="taxRelifFlagConfirm($event,'taxRelifFlag')"></u-select>
  369. </u-form-item>
  370. <u-form-item
  371. v-show="vehicleAndVesselTaxForm.taxRelifFlag == 2 || vehicleAndVesselTaxForm.taxRelifFlag == 3"
  372. label="减免税凭证号" prop="extendChar2" class="modelformcss">
  373. <u-input placeholder="请输入减免税凭证号" :custom-style="{textAlign:'right'}"
  374. v-model="vehicleAndVesselTaxForm.extendChar2" type="text"></u-input>
  375. </u-form-item>
  376. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证号"
  377. prop="paidFreeCertificate" class="modelformcss">
  378. <u-input placeholder="请输入完税凭证号" :custom-style="{textAlign:'right'}"
  379. v-model="vehicleAndVesselTaxForm.paidFreeCertificate" type="text"></u-input>
  380. </u-form-item>
  381. <u-form-item
  382. v-show="vehicleAndVesselTaxForm.taxRelifFlag == 2 || vehicleAndVesselTaxForm.taxRelifFlag == 3"
  383. label="减免税原因" prop="relifReason" class="modelformcss">
  384. <u-input type="select" :select-open="relifReasonShow"
  385. v-model="model.relifReason" :custom-style="{textAlign:'right'}"
  386. placeholder="请选择减免税原因" @click="relifReasonShow = true"></u-input>
  387. <u-select mode="single-column" :list="relifReasonoptions"
  388. v-model="relifReasonShow" label-name="dictTag" value-name="dictValue"
  389. @confirm="taxRelifFlagConfirm($event,'relifReason')"></u-select>
  390. </u-form-item>
  391. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag != 1" label="税务机关代码"
  392. prop="taxComCode" class="modelformcss">
  393. <u-input placeholder="请输入税务机关代码" :custom-style="{textAlign:'right'}"
  394. v-model="vehicleAndVesselTaxForm.taxComCode" type="text"></u-input>
  395. </u-form-item>
  396. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag != 1" label="税务机关名称"
  397. prop="taxComName" class="modelformcss">
  398. <u-input placeholder="请输入税务机关名称" :custom-style="{textAlign:'right'}"
  399. v-model="vehicleAndVesselTaxForm.taxComName" type="text"></u-input>
  400. </u-form-item>
  401. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证填发日期"
  402. prop="taxDocumentDate" class="modelformcss">
  403. <u-input type="select" :select-open="taxDocumentDateShow"
  404. :custom-style="{textAlign:'right'}"
  405. v-model="vehicleAndVesselTaxForm.taxDocumentDate" placeholder="请选择时间"
  406. @click="taxDocumentDateShow = true"></u-input>
  407. <u-picker v-model="taxDocumentDateShow" mode="time" :params="params1"
  408. @confirm="taxDocumentDateconfirm"></u-picker>
  409. </u-form-item>
  410. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证地区"
  411. prop="taxPaidAreaCode" class="modelformcss">
  412. <u-input type="select" :select-open="taxPaidAreaCodeShow"
  413. :custom-style="{textAlign:'right'}" v-model="model.taxPaidAreaCode"
  414. placeholder="请选择地区" @click="taxPaidAreaCodeShow = true"></u-input>
  415. <u-picker mode="region" v-model="taxPaidAreaCodeShow" :params="params2"
  416. @confirm="taxPaidAreaCodeconfirm"></u-picker>
  417. </u-form-item>
  418. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 3" label="减税比例"
  419. prop="taxRelief" class="modelformcss">
  420. <u-input placeholder="请输入0~1的小数" :custom-style="{textAlign:'right'}"
  421. v-model="vehicleAndVesselTaxForm.taxRelief" type="text"></u-input>
  422. </u-form-item>
  423. </u-form>
  424. </view>
  425. </view>
  426. <view class="Plancontent dis f-c " v-if="planDataExpansion.genericPlanInfo.isSy=='1'">
  427. <text class="title mb-1">商业险</text>
  428. <text style="margin-left: 10px;">{{systartDate}} - {{syendDate}}</text>
  429. <view class="insuranceType" v-if="planDataExpansion.genericPlanInfo.schemeName !=='自选方案'">
  430. <u-table border-color="#E3E9F8">
  431. <u-tr class="sy">
  432. <u-th width="70%" style="text-align: left;padding: 5px 10px !important">险种
  433. </u-th>
  434. <u-th>保额 </u-th>
  435. </u-tr>
  436. <u-tr v-for="(item,index) in planDataExpansion.genericPlanInfo.kinds" :key="index">
  437. <u-td width="70%" style="text-align: left;padding: 5px 10px !important">
  438. <view class="dis a-c">
  439. <view class="circle dis a-c j-c"></view>
  440. <text style="margin-left: 10px;">{{item.kindName}}</text>
  441. </view>
  442. </u-td>
  443. <u-td v-if="['A'].includes(item.kindCode)">投保</u-td>
  444. <u-td
  445. v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)">{{convertedValue(item.unitAmount)}}</u-td>
  446. <u-td
  447. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)">{{item.deductibleRate}}%</u-td>
  448. <u-td
  449. v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)">{{item.serviceTimes}}次</u-td>
  450. <u-td v-else>{{convertedValue(item.amount)}}</u-td>
  451. </u-tr>
  452. </u-table>
  453. </view>
  454. <template v-else>
  455. <view class="immediately">
  456. <view class="dis f-c" style="background: #F9F9F9;border-radius: 10px;">
  457. <u-table border-color="#E3E9F8">
  458. <u-tr class="sy">
  459. <u-th width="70%"
  460. style="text-align: left;padding: 5px 10px !important">险种</u-th>
  461. <u-th>保额</u-th>
  462. </u-tr>
  463. <u-tr v-for="(insureItem,index) in planDataExpansion.genericPlanInfo.kinds"
  464. :key="index">
  465. <template v-if="insureItem.amount != 0">
  466. <u-td width="70%"
  467. style="text-align: left;padding: 5px 10px !important">
  468. <view class="dis a-c">
  469. <view class="circle dis a-c j-c"></view>
  470. <text
  471. style="margin-left: 10px;">{{insureItem.kindName}}</text>
  472. </view>
  473. </u-td>
  474. <u-td>
  475. <view class="dis a-c j-c" @tap="adjustBIItem(index)">
  476. <text>{{insureItem.amountDesc}}</text>
  477. <u-icon name="arrow-right" color="#333" size="28"
  478. style="margin-left: 5px;"></u-icon>
  479. </view>
  480. </u-td>
  481. </template>
  482. </u-tr>
  483. </u-table>
  484. </view>
  485. </view>
  486. <view class="compulsory-insurance">
  487. <block v-for="(insureItem,index) in planDataExpansion.genericPlanInfo.kinds"
  488. :key="index">
  489. <template v-if="insureItem.amount == 0">
  490. <view class="car-ins-cell d-flex j-sb common-ins-cell"
  491. @tap="adjustBIItem(index)">
  492. <view class="cell-title d-flex a-center j-center">
  493. {{insureItem.kindName}}
  494. </view>
  495. <view class="cell-desc d-flex a-center j-center">
  496. {{insureItem.amountDesc}}
  497. <view class="icon iconfont icon-youjiantou"
  498. style="font-size: 40rpx;margin-left: 20upx;color: #C7C6CA;">
  499. </view>
  500. </view>
  501. </view>
  502. </template>
  503. </block>
  504. </view>
  505. </template>
  506. </view>
  507. <template v-if="planDataExpansion.genericPlanInfo.schemeName !=='自选方案'">
  508. <view class="Plancontent dis f-c policyInfo"
  509. v-if=" planDataExpansion.genericPlanInfo && planDataExpansion.genericPlanInfo.drivingList && planDataExpansion.genericPlanInfo.drivingList.length">
  510. <text class="title mb-1">意外险</text>
  511. <view class=" modelformcss"
  512. v-for="(drivingsitem,risksindex) in planDataExpansion.genericPlanInfo.drivingList"
  513. :key="risksindex">
  514. <view class="dis f-c ">
  515. <text class="tagHeader dis a-c">
  516. <text>{{drivingsitem.alias}}
  517. <view class="tag"></view>
  518. </text>
  519. </text>
  520. </view>
  521. <u-table border-color="#E3E9F8" class="mt-2"
  522. v-if="drivingsitem.insDrivingIntentionInsuranceSon && drivingsitem.insDrivingIntentionInsuranceSon.length>0">
  523. <u-tr class="sy">
  524. <u-th width="50%"
  525. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  526. <u-th>保额</u-th>
  527. <u-th>保费(元)</u-th>
  528. </u-tr>
  529. <view class="dis">
  530. <view class="accident dis f-c">
  531. <view class="diss dis"
  532. v-for="(Sonitem,Sonindex) in drivingsitem.insDrivingIntentionInsuranceSon"
  533. :key="Sonindex">
  534. <view style="width: 67%;padding: 5px 10px " class="boss">
  535. <view class="dis a-c ">
  536. <view class="circle dis a-c j-c"></view>
  537. <view style="margin-left: 5px;width: 80%;"
  538. class="dis j-start">
  539. {{Sonitem.name}}
  540. </view>
  541. </view>
  542. </view>
  543. <view class="boss dis a-c j-c" style="width: 33%;">
  544. {{Sonitem.amount}}
  545. </view>
  546. </view>
  547. </view>
  548. <view class="right dis j-c a-c">
  549. {{drivingsitem.sumPremium}}
  550. </view>
  551. </view>
  552. </u-table>
  553. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  554. <text>份数</text>
  555. <text>{{drivingsitem.quantity}}份</text>
  556. </view>
  557. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  558. <text>总保费</text>
  559. <text>¥{{drivingsitem.sumPremium?drivingsitem.sumPremium:0}}</text>
  560. </view>
  561. </view>
  562. </view>
  563. </template>
  564. <view class="Plancontent dis f-c " v-else>
  565. <text class="title mb-1">意外险</text>
  566. <view class="dis a-c f-wrap modelformcss">
  567. <view class="status-data" :class="item.checked? 'active':''" style="margin-right: 10px;"
  568. v-for="(item,index) in accidentInsuranceCategoryList"
  569. @tap.stop.prevent="accidentCategoryclick(item,planDataExpansion,index)"
  570. :key="index">
  571. {{item.typeName}}
  572. </view>
  573. </view>
  574. <template
  575. v-if=" planDataExpansion.namesimple=='安盛天平' && anshengaccidentalDrivingVo.typeName ">
  576. <view class="drivingSelection policyInfo">
  577. <view class="dis a-c j-s " @click="anshengPopupshow=true">
  578. <text class="tagHeader dis a-c">
  579. <text>{{anshengaccidentalDrivingVo.alias}}
  580. <view class="tag"></view>
  581. </text>
  582. </text>
  583. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  584. </view>
  585. <view>
  586. <u-table border-color="#E3E9F8"
  587. v-if="anshengaccidentalDrivingVo.insDrivingIntentionInsuranceSon && anshengaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  588. <u-tr class="sy">
  589. <u-th width="50%"
  590. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  591. <u-th>保额</u-th>
  592. <u-th>保费(元)</u-th>
  593. </u-tr>
  594. <view class="dis">
  595. <view class="accident dis f-c">
  596. <view class="diss dis"
  597. v-for="(Sonitem,Sonindex) in anshengaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  598. :key="Sonindex">
  599. <view style="width: 67%;padding: 5px 10px " class="boss">
  600. <view class="dis a-c ">
  601. <view class="circle dis a-c j-c"></view>
  602. <view style="margin-left: 5px;width: 80%;"
  603. class="dis j-start">
  604. {{Sonitem.name}}
  605. </view>
  606. </view>
  607. </view>
  608. <view class="boss dis a-c j-c" style="width: 33%;">
  609. {{Sonitem.amount}}
  610. </view>
  611. </view>
  612. </view>
  613. <view class="right dis j-c a-c">
  614. {{anshengaccidentalDrivingVo.sumPremium}}
  615. </view>
  616. </view>
  617. </u-table>
  618. </view>
  619. <view class="dis a-c j-s">
  620. <text>份数</text>
  621. <u-number-box v-model="anshengaccidentalDrivingVo.quantity" :min="1" :max="10"
  622. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  623. :long-press="false"></u-number-box>
  624. </view>
  625. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  626. <text>总保费</text>
  627. <text>¥{{anshengaccidentalDrivingVo.sumPremium*anshengaccidentalDrivingVo.quantity}}</text>
  628. </view>
  629. </view>
  630. </template>
  631. <template
  632. v-if=" planDataExpansion.namesimple=='国任财险' && guoRenaccidentalDrivingVo.typeName ">
  633. <view class="drivingSelection policyInfo">
  634. <view class="dis a-c j-s " @click="guoRenPopupshow=true">
  635. <text class="tagHeader dis a-c">
  636. <text>{{guoRenaccidentalDrivingVo.alias}}
  637. <view class="tag"></view>
  638. </text>
  639. </text>
  640. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  641. </view>
  642. <view>
  643. <u-table border-color="#E3E9F8"
  644. v-if="guoRenaccidentalDrivingVo.insDrivingIntentionInsuranceSon && guoRenaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  645. <u-tr class="sy">
  646. <u-th width="50%"
  647. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  648. <u-th>保额</u-th>
  649. <u-th>保费(元)</u-th>
  650. </u-tr>
  651. <view class="dis">
  652. <view class="accident dis f-c">
  653. <view class="diss dis"
  654. v-for="(Sonitem,Sonindex) in guoRenaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  655. :key="Sonindex">
  656. <view style="width: 67%;padding: 5px 10px " class="boss">
  657. <view class="dis a-c ">
  658. <view class="circle dis a-c j-c"></view>
  659. <view style="margin-left: 5px;width: 80%;"
  660. class="dis j-start">
  661. {{Sonitem.name}}
  662. </view>
  663. </view>
  664. </view>
  665. <view class="boss dis a-c j-c" style="width: 33%;">
  666. {{Sonitem.amount}}
  667. </view>
  668. </view>
  669. </view>
  670. <view class="right dis j-c a-c">
  671. {{guoRenaccidentalDrivingVo.sumPremium}}
  672. </view>
  673. </view>
  674. </u-table>
  675. </view>
  676. <view class="dis a-c j-s">
  677. <text>份数</text>
  678. <u-number-box v-model="guoRenaccidentalDrivingVo.quantity" :min="1" :max="10"
  679. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  680. :long-press="false"></u-number-box>
  681. </view>
  682. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  683. <text>总保费</text>
  684. <text>¥{{guoRenaccidentalDrivingVo.sumPremium*guoRenaccidentalDrivingVo.quantity}}</text>
  685. </view>
  686. </view>
  687. </template>
  688. <template
  689. v-if=" planDataExpansion.namesimple=='大家财险' && dajiaaccidentalDrivingVo.typeName ">
  690. <view class="drivingSelection policyInfo">
  691. <view class="dis a-c j-s " @click="dajiaPopupshow=true">
  692. <text class="tagHeader dis a-c">
  693. <text>{{dajiaaccidentalDrivingVo.alias}}
  694. <view class="tag"></view>
  695. </text>
  696. </text>
  697. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  698. </view>
  699. <view>
  700. <u-table border-color="#E3E9F8"
  701. v-if="dajiaaccidentalDrivingVo.insDrivingIntentionInsuranceSon && dajiaaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  702. <u-tr class="sy">
  703. <u-th width="50%"
  704. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  705. <u-th>保额</u-th>
  706. <u-th>保费(元)</u-th>
  707. </u-tr>
  708. <view class="dis">
  709. <view class="accident dis f-c">
  710. <view class="diss dis"
  711. v-for="(Sonitem,Sonindex) in dajiaaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  712. :key="Sonindex">
  713. <view style="width: 67%;padding: 5px 10px " class="boss">
  714. <view class="dis a-c ">
  715. <view class="circle dis a-c j-c"></view>
  716. <view style="margin-left: 5px;width: 80%;"
  717. class="dis j-start">
  718. {{Sonitem.name}}
  719. </view>
  720. </view>
  721. </view>
  722. <view class="boss dis a-c j-c" style="width: 33%;">
  723. {{Sonitem.amount}}
  724. </view>
  725. </view>
  726. </view>
  727. <view class="right dis j-c a-c">
  728. {{dajiaaccidentalDrivingVo.sumPremium}}
  729. </view>
  730. </view>
  731. </u-table>
  732. </view>
  733. <view class="dis a-c j-s">
  734. <text>份数</text>
  735. <u-number-box v-model="dajiaaccidentalDrivingVo.quantity" :min="1" :max="10"
  736. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  737. :long-press="false"></u-number-box>
  738. </view>
  739. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  740. <text>总保费</text>
  741. <text>¥{{dajiaaccidentalDrivingVo.sumPremium*dajiaaccidentalDrivingVo.quantity}}</text>
  742. </view>
  743. </view>
  744. </template>
  745. <template v-if=" planDataExpansion.namesimple=='紫金财险' && zijinInsuranceData.length>0">
  746. <view class="p-1">
  747. <text @click="zijinPopupshow=true"
  748. style="color: #FF5600;font-size: 14px;">意外险选择</text>
  749. <view class="" v-for="(item,index) in zijinaccidentalDrivingVo" :key="index">
  750. <view class="policyInfo">
  751. <text class="tagHeader dis a-c">
  752. <text>{{item.alias}}
  753. <view class="tag"></view>
  754. </text>
  755. </text>
  756. </view>
  757. <view class=" dis j-s a-c">
  758. <view class="">
  759. <text>保费:</text>
  760. <text
  761. style="color: #ee7000;">¥{{item.sumPremium*item.quantity}}.00</text>
  762. </view>
  763. <view class="">
  764. <text>份数:</text>
  765. <u-number-box v-model="item.quantity" :min="1" :max="10"
  766. :input-width="70" :input-height="44" size="26"
  767. :long-press="false"></u-number-box>
  768. </view>
  769. </view>
  770. <!-- <view class="Accident mt-2" v-if="item.insDrivingIntentionInsuranceSon">
  771. <view class="dis a-c j-s">
  772. <view class="head dis a-c j-c">保险责任</view>
  773. <view class="head dis a-c j-c">保险金额</view>
  774. <view class="head dis a-c j-c">保费(元)</view>
  775. </view>
  776. <view class="dis a-c j-s"
  777. v-for="(Sonitem,Sonindex) in item.insDrivingIntentionInsuranceSon"
  778. :key="Sonindex">
  779. <view class="tr dis a-c j-c"> {{Sonitem.name}}</view>
  780. <view class="tr dis a-c j-c"> {{Sonitem.amount}}/座</view>
  781. <view class="tr dis a-c j-c">¥{{Sonitem.premium}}</view>
  782. </view>
  783. </view> -->
  784. </view>
  785. </view>
  786. </template>
  787. <template
  788. v-if=" planDataExpansion.namesimple=='众安财险' && zhonganaccidentalDrivingVo.typeName ">
  789. <view class="drivingSelection policyInfo">
  790. <view class="dis a-c j-s " @click="zhonganPopupshow=true">
  791. <text class="tagHeader dis a-c">
  792. <text>{{zhonganaccidentalDrivingVo.alias}}
  793. <view class="tag"></view>
  794. </text>
  795. </text>
  796. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  797. </view>
  798. <view>
  799. <u-table border-color="#E3E9F8"
  800. v-if="zhonganaccidentalDrivingVo.insDrivingIntentionInsuranceSon && zhonganaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  801. <u-tr class="sy">
  802. <u-th width="50%"
  803. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  804. <u-th>保额</u-th>
  805. <u-th>保费(元)</u-th>
  806. </u-tr>
  807. <view class="dis">
  808. <view class="accident dis f-c">
  809. <view class="diss dis"
  810. v-for="(Sonitem,Sonindex) in zhonganaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  811. :key="Sonindex">
  812. <view style="width: 67%;padding: 5px 10px " class="boss">
  813. <view class="dis a-c ">
  814. <view class="circle dis a-c j-c"></view>
  815. <view style="margin-left: 5px;width: 80%;"
  816. class="dis j-start">
  817. {{Sonitem.name}}
  818. </view>
  819. </view>
  820. </view>
  821. <view class="boss dis a-c j-c" style="width: 33%;">
  822. {{Sonitem.amount}}
  823. </view>
  824. </view>
  825. </view>
  826. <view class="right dis j-c a-c">
  827. {{zhonganaccidentalDrivingVo.sumPremium}}
  828. </view>
  829. </view>
  830. </u-table>
  831. </view>
  832. <view class="dis a-c j-s">
  833. <text>份数</text>
  834. <u-number-box v-model="zhonganaccidentalDrivingVo.quantity" :min="1" :max="10"
  835. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  836. :long-press="false"></u-number-box>
  837. </view>
  838. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  839. <text>总保费</text>
  840. <text>¥{{zhonganaccidentalDrivingVo.sumPremium*zhonganaccidentalDrivingVo.quantity}}</text>
  841. </view>
  842. </view>
  843. </template>
  844. <template
  845. v-if=" planDataExpansion.namesimple=='永诚财险' && yongchengaccidentalDrivingVo.typeName ">
  846. <view class="drivingSelection policyInfo">
  847. <view class="dis a-c j-s " @click="yongchengPopupshow=true">
  848. <text class="tagHeader dis a-c">
  849. <text>{{yongchengaccidentalDrivingVo.alias}}
  850. <view class="tag"></view>
  851. </text>
  852. </text>
  853. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  854. </view>
  855. <view>
  856. <u-table border-color="#E3E9F8"
  857. v-if="yongchengaccidentalDrivingVo.insDrivingIntentionInsuranceSon && yongchengaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  858. <u-tr class="sy">
  859. <u-th width="50%"
  860. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  861. <u-th>保额</u-th>
  862. <u-th>保费(元)</u-th>
  863. </u-tr>
  864. <view class="dis">
  865. <view class="accident dis f-c">
  866. <view class="diss dis"
  867. v-for="(Sonitem,Sonindex) in yongchengaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  868. :key="Sonindex">
  869. <view style="width: 67%;padding: 5px 10px " class="boss">
  870. <view class="dis a-c ">
  871. <view class="circle dis a-c j-c"></view>
  872. <view style="margin-left: 5px;width: 80%;"
  873. class="dis j-start">
  874. {{Sonitem.name}}
  875. </view>
  876. </view>
  877. </view>
  878. <view class="boss dis a-c j-c" style="width: 33%;">
  879. {{Sonitem.amount}}
  880. </view>
  881. </view>
  882. </view>
  883. <view class="right dis j-c a-c">
  884. {{yongchengaccidentalDrivingVo.sumPremium}}
  885. </view>
  886. </view>
  887. </u-table>
  888. </view>
  889. <view class="dis a-c j-s">
  890. <text>份数</text>
  891. <u-number-box v-model="yongchengaccidentalDrivingVo.quantity" :min="1" :max="10"
  892. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  893. :long-press="false"></u-number-box>
  894. </view>
  895. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  896. <text>总保费</text>
  897. <text>¥{{yongchengaccidentalDrivingVo.sumPremium*yongchengaccidentalDrivingVo.quantity}}</text>
  898. </view>
  899. </view>
  900. </template>
  901. <template
  902. v-if=" planDataExpansion.namesimple=='恒邦财险' && hengbangaccidentalDrivingVo.typeName ">
  903. <view class="drivingSelection policyInfo">
  904. <view class="dis a-c j-s " @click="hengbangPopupshow=true">
  905. <text class="tagHeader dis a-c">
  906. <text>{{hengbangaccidentalDrivingVo.alias}}
  907. <view class="tag"></view>
  908. </text>
  909. </text>
  910. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  911. </view>
  912. <view>
  913. <u-table border-color="#E3E9F8"
  914. v-if="hengbangaccidentalDrivingVo.insDrivingIntentionInsuranceSon && hengbangaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  915. <u-tr class="sy">
  916. <u-th width="50%"
  917. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  918. <u-th>保额</u-th>
  919. <u-th>保费(元)</u-th>
  920. </u-tr>
  921. <view class="dis">
  922. <view class="accident dis f-c">
  923. <view class="diss dis"
  924. v-for="(Sonitem,Sonindex) in hengbangaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  925. :key="Sonindex">
  926. <view style="width: 67%;padding: 5px 10px " class="boss">
  927. <view class="dis a-c ">
  928. <view class="circle dis a-c j-c"></view>
  929. <view style="margin-left: 5px;width: 80%;"
  930. class="dis j-start">
  931. {{Sonitem.name}}
  932. </view>
  933. </view>
  934. </view>
  935. <view class="boss dis a-c j-c" style="width: 33%;">
  936. {{Sonitem.amount}}
  937. </view>
  938. </view>
  939. </view>
  940. <view class="right dis j-c a-c">
  941. {{hengbangaccidentalDrivingVo.sumPremium}}
  942. </view>
  943. </view>
  944. </u-table>
  945. </view>
  946. <view class="dis a-c j-s">
  947. <text>份数</text>
  948. <u-number-box v-model="hengbangaccidentalDrivingVo.quantity" :min="1" :max="10"
  949. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  950. :long-press="false"></u-number-box>
  951. </view>
  952. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  953. <text>总保费</text>
  954. <text>¥{{hengbangaccidentalDrivingVo.sumPremium*hengbangaccidentalDrivingVo.quantity}}</text>
  955. </view>
  956. </view>
  957. </template>
  958. <template
  959. v-if=" planDataExpansion.namesimple=='诚泰财险' && chengtaiaccidentalDrivingVo.typeName">
  960. <view class="drivingSelection policyInfo">
  961. <view class="dis a-c j-s " @click="chengtaiPopupshow=true">
  962. <text class="tagHeader dis a-c">
  963. <text>{{chengtaiaccidentalDrivingVo.alias}}
  964. <view class="tag"></view>
  965. </text>
  966. </text>
  967. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  968. </view>
  969. <view>
  970. <u-table border-color="#E3E9F8"
  971. v-if="chengtaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon && chengtaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  972. <u-tr class="sy">
  973. <u-th width="50%"
  974. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  975. <u-th>保额</u-th>
  976. <u-th>保费(元)</u-th>
  977. </u-tr>
  978. <view class="dis">
  979. <view class="accident dis f-c">
  980. <view class="diss dis"
  981. v-for="(Sonitem,Sonindex) in chengtaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  982. :key="Sonindex">
  983. <view style="width: 67%;padding: 5px 10px " class="boss">
  984. <view class="dis a-c ">
  985. <view class="circle dis a-c j-c"></view>
  986. <view style="margin-left: 5px;width: 80%;"
  987. class="dis j-start">
  988. {{Sonitem.name}}
  989. </view>
  990. </view>
  991. </view>
  992. <view class="boss dis a-c j-c" style="width: 33%;">
  993. {{Sonitem.amount}}
  994. </view>
  995. </view>
  996. </view>
  997. <view class="right dis j-c a-c">
  998. {{chengtaiaccidentalDrivingVo.sumPremium}}
  999. </view>
  1000. </view>
  1001. </u-table>
  1002. </view>
  1003. <view class="dis a-c j-s">
  1004. <text>份数</text>
  1005. <u-number-box v-model="chengtaiaccidentalDrivingVo.quantity" :min="1" :max="10"
  1006. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  1007. :long-press="false"></u-number-box>
  1008. </view>
  1009. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  1010. <text>总保费</text>
  1011. <text>¥{{chengtaiaccidentalDrivingVo.sumPremium*chengtaiaccidentalDrivingVo.quantity}}</text>
  1012. </view>
  1013. </view>
  1014. </template>
  1015. <template
  1016. v-if=" planDataExpansion.namesimple=='中煤财险' && zhongmeiaccidentalDrivingVo.typeName ">
  1017. <view class="drivingSelection policyInfo">
  1018. <view class="dis a-c j-s " @click="zhongmeiPopupshow=true">
  1019. <text class="tagHeader dis a-c">
  1020. <text>{{zhongmeiaccidentalDrivingVo.alias}}
  1021. <view class="tag"></view>
  1022. </text>
  1023. </text>
  1024. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  1025. </view>
  1026. <view>
  1027. <u-table border-color="#E3E9F8"
  1028. v-if="zhongmeiaccidentalDrivingVo.insDrivingIntentionInsuranceSon && zhongmeiaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  1029. <u-tr class="sy">
  1030. <u-th width="50%"
  1031. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  1032. <u-th>保额</u-th>
  1033. <u-th>保费(元)</u-th>
  1034. </u-tr>
  1035. <view class="dis">
  1036. <view class="accident dis f-c">
  1037. <view class="diss dis"
  1038. v-for="(Sonitem,Sonindex) in zhongmeiaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  1039. :key="Sonindex">
  1040. <view style="width: 67%;padding: 5px 10px " class="boss">
  1041. <view class="dis a-c ">
  1042. <view class="circle dis a-c j-c"></view>
  1043. <view style="margin-left: 5px;width: 80%;"
  1044. class="dis j-start">
  1045. {{Sonitem.name}}
  1046. </view>
  1047. </view>
  1048. </view>
  1049. <view class="boss dis a-c j-c" style="width: 33%;">
  1050. {{Sonitem.amount}}
  1051. </view>
  1052. </view>
  1053. </view>
  1054. <view class="right dis j-c a-c">
  1055. {{zhongmeiaccidentalDrivingVo.sumPremium}}
  1056. </view>
  1057. </view>
  1058. </u-table>
  1059. </view>
  1060. <view class="dis a-c j-s">
  1061. <text>份数</text>
  1062. <u-number-box v-model="zhongmeiaccidentalDrivingVo.quantity" :min="1" :max="10"
  1063. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  1064. :long-press="false"></u-number-box>
  1065. </view>
  1066. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  1067. <text>总保费</text>
  1068. <text>¥{{zhongmeiaccidentalDrivingVo.sumPremium*zhongmeiaccidentalDrivingVo.quantity}}</text>
  1069. </view>
  1070. </view>
  1071. </template>
  1072. <template
  1073. v-if=" planDataExpansion.namesimple=='泰康财险' && taikangaccidentalDrivingVo.typeName ">
  1074. <view class="drivingSelection policyInfo">
  1075. <view class="dis a-c j-s " @click="taikangPopupshow=true">
  1076. <text class="tagHeader dis a-c">
  1077. <text>{{taikangaccidentalDrivingVo.alias}}
  1078. <view class="tag"></view>
  1079. </text>
  1080. </text>
  1081. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  1082. </view>
  1083. <view>
  1084. <u-table border-color="#E3E9F8"
  1085. v-if="taikangaccidentalDrivingVo.insDrivingIntentionInsuranceSon && taikangaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  1086. <u-tr class="sy">
  1087. <u-th width="50%"
  1088. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  1089. <u-th>保额</u-th>
  1090. <u-th>保费(元)</u-th>
  1091. </u-tr>
  1092. <view class="dis">
  1093. <view class="accident dis f-c">
  1094. <view class="diss dis"
  1095. v-for="(Sonitem,Sonindex) in taikangaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  1096. :key="Sonindex">
  1097. <view style="width: 67%;padding: 5px 10px " class="boss">
  1098. <view class="dis a-c ">
  1099. <view class="circle dis a-c j-c"></view>
  1100. <view style="margin-left: 5px;width: 80%;"
  1101. class="dis j-start">
  1102. {{Sonitem.name}}
  1103. </view>
  1104. </view>
  1105. </view>
  1106. <view class="boss dis a-c j-c" style="width: 33%;">
  1107. {{Sonitem.amount}}
  1108. </view>
  1109. </view>
  1110. </view>
  1111. <view class="right dis j-c a-c">
  1112. {{taikangaccidentalDrivingVo.sumPremium}}
  1113. </view>
  1114. </view>
  1115. </u-table>
  1116. </view>
  1117. <view class="dis a-c j-s">
  1118. <text>份数</text>
  1119. <u-number-box v-model="taikangaccidentalDrivingVo.quantity" :min="1" :max="10"
  1120. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  1121. :long-press="false"></u-number-box>
  1122. </view>
  1123. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  1124. <text>总保费</text>
  1125. <text>¥{{taikangaccidentalDrivingVo.sumPremium*taikangaccidentalDrivingVo.quantity}}</text>
  1126. </view>
  1127. </view>
  1128. </template>
  1129. <template
  1130. v-if=" planDataExpansion.namesimple=='渤海财险' && bohaiaccidentalDrivingVo.typeName ">
  1131. <view class="drivingSelection policyInfo">
  1132. <view class="dis a-c j-s " @click="bohaiPopupshow=true">
  1133. <text class="tagHeader dis a-c">
  1134. <text>{{bohaiaccidentalDrivingVo.alias}}
  1135. <view class="tag"></view>
  1136. </text>
  1137. </text>
  1138. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  1139. </view>
  1140. <view>
  1141. <u-table border-color="#E3E9F8"
  1142. v-if="bohaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon && bohaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  1143. <u-tr class="sy">
  1144. <u-th width="50%"
  1145. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  1146. <u-th>保额</u-th>
  1147. <u-th>保费(元)</u-th>
  1148. </u-tr>
  1149. <view class="dis">
  1150. <view class="accident dis f-c">
  1151. <view class="diss dis"
  1152. v-for="(Sonitem,Sonindex) in bohaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  1153. :key="Sonindex">
  1154. <view style="width: 67%;padding: 5px 10px " class="boss">
  1155. <view class="dis a-c ">
  1156. <view class="circle dis a-c j-c"></view>
  1157. <view style="margin-left: 5px;width: 80%;"
  1158. class="dis j-start">
  1159. {{Sonitem.name}}
  1160. </view>
  1161. </view>
  1162. </view>
  1163. <view class="boss dis a-c j-c" style="width: 33%;">
  1164. {{Sonitem.amount}}
  1165. </view>
  1166. </view>
  1167. </view>
  1168. <view class="right dis j-c a-c">
  1169. {{bohaiaccidentalDrivingVo.sumPremium}}
  1170. </view>
  1171. </view>
  1172. </u-table>
  1173. </view>
  1174. <view class="dis a-c j-s">
  1175. <text>份数</text>
  1176. <u-number-box v-model="bohaiaccidentalDrivingVo.quantity" :min="1" :max="10"
  1177. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  1178. :long-press="false"></u-number-box>
  1179. </view>
  1180. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  1181. <text>总保费</text>
  1182. <text>¥{{bohaiaccidentalDrivingVo.sumPremium*bohaiaccidentalDrivingVo.quantity}}</text>
  1183. </view>
  1184. </view>
  1185. </template>
  1186. <template
  1187. v-if=" planDataExpansion.namesimple=='太平财险' && taipingaccidentalDrivingVo.typeName ">
  1188. <view class="drivingSelection policyInfo">
  1189. <view class="dis a-c j-s " @click="taipingPopupshow=true">
  1190. <text class="tagHeader dis a-c">
  1191. <text>{{taipingaccidentalDrivingVo.alias}}
  1192. <view class="tag"></view>
  1193. </text>
  1194. </text>
  1195. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  1196. </view>
  1197. <view>
  1198. <u-table border-color="#E3E9F8"
  1199. v-if="taipingaccidentalDrivingVo.insDrivingIntentionInsuranceSon && taipingaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  1200. <u-tr class="sy">
  1201. <u-th width="50%"
  1202. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  1203. <u-th>保额</u-th>
  1204. <u-th>保费(元)</u-th>
  1205. </u-tr>
  1206. <view class="dis">
  1207. <view class="accident dis f-c">
  1208. <view class="diss dis"
  1209. v-for="(Sonitem,Sonindex) in taipingaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  1210. :key="Sonindex">
  1211. <view style="width: 67%;padding: 5px 10px " class="boss">
  1212. <view class="dis a-c ">
  1213. <view class="circle dis a-c j-c"></view>
  1214. <view style="margin-left: 5px;width: 80%;"
  1215. class="dis j-start">
  1216. {{Sonitem.name}}
  1217. </view>
  1218. </view>
  1219. </view>
  1220. <view class="boss dis a-c j-c" style="width: 33%;">
  1221. {{Sonitem.amount}}
  1222. </view>
  1223. </view>
  1224. </view>
  1225. <view class="right dis j-c a-c">
  1226. {{taipingaccidentalDrivingVo.sumPremium}}
  1227. </view>
  1228. </view>
  1229. </u-table>
  1230. </view>
  1231. <view class="dis a-c j-s">
  1232. <text>份数</text>
  1233. <u-number-box v-model="taipingaccidentalDrivingVo.quantity" :min="1" :max="10"
  1234. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  1235. :long-press="false"></u-number-box>
  1236. </view>
  1237. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  1238. <text>总保费</text>
  1239. <text>¥{{taipingaccidentalDrivingVo.sumPremium*taipingaccidentalDrivingVo.quantity}}</text>
  1240. </view>
  1241. </view>
  1242. </template>
  1243. <template
  1244. v-if=" planDataExpansion.namesimple=='华农财险' && huanongaccidentalDrivingVo.typeName ">
  1245. <view class="drivingSelection policyInfo">
  1246. <view class="dis a-c j-s " @click="huanongPopupshow=true">
  1247. <text class="tagHeader dis a-c">
  1248. <text>{{huanongaccidentalDrivingVo.alias}}
  1249. <view class="tag"></view>
  1250. </text>
  1251. </text>
  1252. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  1253. </view>
  1254. <view>
  1255. <u-table border-color="#E3E9F8"
  1256. v-if="huanongaccidentalDrivingVo.insDrivingIntentionInsuranceSon && huanongaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  1257. <u-tr class="sy">
  1258. <u-th width="50%"
  1259. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  1260. <u-th>保额</u-th>
  1261. <u-th>保费(元)</u-th>
  1262. </u-tr>
  1263. <view class="dis">
  1264. <view class="accident dis f-c">
  1265. <view class="diss dis"
  1266. v-for="(Sonitem,Sonindex) in huanongaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  1267. :key="Sonindex">
  1268. <view style="width: 67%;padding: 5px 10px " class="boss">
  1269. <view class="dis a-c ">
  1270. <view class="circle dis a-c j-c"></view>
  1271. <view style="margin-left: 5px;width: 80%;"
  1272. class="dis j-start">
  1273. {{Sonitem.name}}
  1274. </view>
  1275. </view>
  1276. </view>
  1277. <view class="boss dis a-c j-c" style="width: 33%;">
  1278. {{Sonitem.amount}}
  1279. </view>
  1280. </view>
  1281. </view>
  1282. <view class="right dis j-c a-c">
  1283. {{huanongaccidentalDrivingVo.sumPremium}}
  1284. </view>
  1285. </view>
  1286. </u-table>
  1287. </view>
  1288. <view class="dis a-c j-s">
  1289. <text>份数</text>
  1290. <u-number-box v-model="huanongaccidentalDrivingVo.quantity" :min="1" :max="10"
  1291. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  1292. :long-press="false"></u-number-box>
  1293. </view>
  1294. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  1295. <text>总保费</text>
  1296. <text>¥{{huanongaccidentalDrivingVo.sumPremium*huanongaccidentalDrivingVo.quantity}}</text>
  1297. </view>
  1298. </view>
  1299. </template>
  1300. <template
  1301. v-if=" planDataExpansion.namesimple=='中国人寿' && renshouaccidentalDrivingVo.typeName ">
  1302. <view class="drivingSelection policyInfo">
  1303. <view class="dis a-c j-s" @click="renshouPopupshow=true">
  1304. <text class="tagHeader dis a-c">
  1305. <text>{{renshouaccidentalDrivingVo.alias}}
  1306. <view class="tag"></view>
  1307. </text>
  1308. </text>
  1309. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  1310. </view>
  1311. <view>
  1312. <u-table border-color="#E3E9F8"
  1313. v-if="renshouaccidentalDrivingVo.insDrivingIntentionInsuranceSon && renshouaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  1314. <u-tr class="sy">
  1315. <u-th width="50%"
  1316. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  1317. <u-th>保额</u-th>
  1318. <u-th>保费(元)</u-th>
  1319. </u-tr>
  1320. <view class="dis">
  1321. <view class="accident dis f-c">
  1322. <view class="diss dis"
  1323. v-for="(Sonitem,Sonindex) in renshouaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  1324. :key="Sonindex">
  1325. <view style="width: 67%;padding: 5px 10px " class="boss">
  1326. <view class="dis a-c ">
  1327. <view class="circle dis a-c j-c"></view>
  1328. <view style="margin-left: 5px;width: 80%;"
  1329. class="dis j-start">
  1330. {{Sonitem.name}}
  1331. </view>
  1332. </view>
  1333. </view>
  1334. <view class="boss dis a-c j-c" style="width: 33%;">
  1335. {{Sonitem.amount}}
  1336. </view>
  1337. </view>
  1338. </view>
  1339. <view class="right dis j-c a-c">
  1340. {{renshouaccidentalDrivingVo.sumPremium}}
  1341. </view>
  1342. </view>
  1343. </u-table>
  1344. </view>
  1345. <view class="dis a-c j-s">
  1346. <text>份数</text>
  1347. <u-number-box v-model="renshouaccidentalDrivingVo.quantity" :min="1" :max="10"
  1348. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  1349. :long-press="false"></u-number-box>
  1350. </view>
  1351. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  1352. <text>总保费</text>
  1353. <text>¥{{renshouaccidentalDrivingVo.sumPremium*renshouaccidentalDrivingVo.quantity}}</text>
  1354. </view>
  1355. </view>
  1356. </template>
  1357. </view>
  1358. </view>
  1359. </scroll-view>
  1360. <view class="PlanPopup-btn dis a-c j-c">
  1361. <button size="mini" type="default"
  1362. style="margin-right:50px;border: 1px solid #C9C9C9;border-radius: 50px;width: 100px;"
  1363. @click="genericPlanPopup=false">取消</button>
  1364. <button type="primary" size="mini"
  1365. style="background: linear-gradient( 90deg, #0052FF 0%, #0D8BFF 100%);border-radius: 50px;width: 100px;"
  1366. @click="confirmPlan(planDataExpansion.cnName)">确定方案</button>
  1367. </view>
  1368. </view>
  1369. </u-popup>
  1370. <!-- 商业选择方案 -->
  1371. <wyb-popup ref="popupBI" type="bottom" mode="size-fixed" height="900" radius="6" :showCloseIcon="true">
  1372. <view class="popup-content">
  1373. <view class="popHeader d-flex a-center j-center">
  1374. 选择方案
  1375. </view>
  1376. <scroll-view scroll-top="0" scroll-y="true" class="popContent">
  1377. <view class="popContentTitle">{{insureItem.kindName}}</view>
  1378. <view style="color: #999;font-size: 24upx;">{{insureItem.desc}}</view>
  1379. <view class="dis a-c j-s p-3" v-if="['TY2','TY3','TY4'].includes(insureItem.kindCode)">
  1380. <text>自定义次数</text>
  1381. <u-number-box v-model="insureItem.amount" :input-width="100" :input-height="60" :min="0"
  1382. color="#fff" size="30" @change="numberBoxChange"></u-number-box>
  1383. </view>
  1384. <view v-else style="margin-top: 10px;">
  1385. <block v-for="(amt,index) in insureItem.amtList" :key="index">
  1386. <view class="amtSingle" @tap="adjustBIItemLabel(index)"
  1387. :class="(amt.label== insureItem.amountDesc)?'active':''">
  1388. {{amt.label}}
  1389. </view>
  1390. </block>
  1391. </view>
  1392. </scroll-view>
  1393. <view class="popBottom">
  1394. <button type="primary" style="background-color: #0052FF;"
  1395. @tap="adjustBIItemLabelSubmit()">完成</button>
  1396. </view>
  1397. </view>
  1398. </wyb-popup>
  1399. <!-- 安盛驾意险弹框 -->
  1400. <u-modal v-model="anshengPopupshow" title="驾意险"
  1401. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1402. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1403. <view class="slot-content p-2">
  1404. <u-radio-group size="30" wrap>
  1405. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ASradioChange" shape="square"
  1406. v-for="(item, index) in anshengInsuranceData" :key="index" :name="item.projectCode">
  1407. {{item.alias}}
  1408. </u-radio>
  1409. </u-radio-group>
  1410. </view>
  1411. </u-modal>
  1412. <!-- 人寿驾意险弹框 -->
  1413. <u-modal v-model="renshouPopupshow" title="驾意险"
  1414. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1415. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1416. <view class="slot-content p-2">
  1417. <u-radio-group size="30" wrap>
  1418. <u-radio style="margin: 4px 0; align-items: flex-start;" label-size="30" shape="square"
  1419. @change="RSradioChange" v-for="(item, index) in renshouInsuranceData" :key="index"
  1420. :name="item.projectCode">
  1421. {{item.alias}}
  1422. </u-radio>
  1423. </u-radio-group>
  1424. </view>
  1425. </u-modal>
  1426. <!-- 中煤驾意险弹框 -->
  1427. <u-modal v-model="zhongmeiPopupshow" title="驾意险"
  1428. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1429. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1430. <view class="slot-content p-2">
  1431. <u-radio-group size="30" wrap>
  1432. <u-radio style="margin: 4px 0;" label-size="30" @change="ZMradioChange" shape="square"
  1433. v-for="(item, index) in zhongmeiInsuranceData" :key="index" :name="item.projectCode">
  1434. {{item.alias}}
  1435. </u-radio>
  1436. </u-radio-group>
  1437. </view>
  1438. </u-modal>
  1439. <!-- 恒邦驾意险弹框 -->
  1440. <u-modal v-model="hengbangPopupshow" title="驾意险"
  1441. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1442. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1443. <view class="slot-content p-2">
  1444. <u-radio-group size="30" wrap>
  1445. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="HBradioChange" shape="square"
  1446. v-for="(item, index) in hengbangInsuranceData" :key="index" :name="item.projectCode">
  1447. {{item.alias}}
  1448. </u-radio>
  1449. </u-radio-group>
  1450. </view>
  1451. </u-modal>
  1452. <!-- 众安驾意险弹框 -->
  1453. <u-modal v-model="zhonganPopupshow" title="驾意险"
  1454. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1455. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1456. <view class="slot-content p-2">
  1457. <u-radio-group size="30" wrap>
  1458. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ZAradioChange" shape="square"
  1459. v-for="(item, index) in zhonganInsuranceData" :key="index" :name="item.projectCode">
  1460. {{item.alias}}
  1461. </u-radio>
  1462. </u-radio-group>
  1463. </view>
  1464. </u-modal>
  1465. <!-- 华农驾意险弹框 -->
  1466. <u-modal v-model="huanongPopupshow" title="驾意险"
  1467. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1468. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1469. <view class="slot-content p-2">
  1470. <u-radio-group size="30" wrap>
  1471. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="HNradioChange" shape="square"
  1472. v-for="(item, index) in huanongInsuranceData" :key="index" :name="item.projectCode">
  1473. {{item.alias}}
  1474. </u-radio>
  1475. </u-radio-group>
  1476. </view>
  1477. </u-modal>
  1478. <!-- 泰康驾意险弹框 -->
  1479. <u-modal v-model="taikangPopupshow" title="驾意险"
  1480. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1481. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1482. <view class="slot-content p-2">
  1483. <u-radio-group size="30" wrap>
  1484. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="TkradioChange" shape="square"
  1485. v-for="(item, index) in taikangInsuranceData" :key="index" :name="item.projectCode">
  1486. {{item.alias}}
  1487. </u-radio>
  1488. </u-radio-group>
  1489. </view>
  1490. </u-modal>
  1491. <u-modal v-model="yongchengPopupshow" title="驾意险"
  1492. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1493. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1494. <view class="slot-content p-2">
  1495. <u-radio-group size="30" wrap>
  1496. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="YCradioChange" shape="square"
  1497. v-for="(item, index) in yongchengInsuranceData" :key="index" :name="item.projectCode">
  1498. {{item.alias}}
  1499. </u-radio>
  1500. </u-radio-group>
  1501. </view>
  1502. </u-modal>
  1503. <!-- 太平驾意险弹框 -->
  1504. <u-modal v-model="taipingPopupshow" title="驾意险"
  1505. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1506. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1507. <view class="slot-content p-2">
  1508. <u-radio-group size="30" wrap>
  1509. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="TPradioChange" shape="square"
  1510. v-for="(item, index) in taipingInsuranceData" :key="index" :name="item.projectCode">
  1511. {{item.alias}}
  1512. </u-radio>
  1513. </u-radio-group>
  1514. </view>
  1515. </u-modal>
  1516. <!-- 渤海驾意险弹框 -->
  1517. <u-modal v-model="bohaiPopupshow" title="驾意险"
  1518. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1519. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1520. <view class="slot-content p-2">
  1521. <u-radio-group size="30" style="" wrap>
  1522. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="BHradioChange" shape="square"
  1523. v-for="(item, index) in bohaiInsuranceData" :key="index" :name="item.projectCode">
  1524. {{item.alias}}
  1525. </u-radio>
  1526. </u-radio-group>
  1527. </view>
  1528. </u-modal>
  1529. <u-modal v-model="priceComparisonShow" title="比价提醒"
  1530. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1531. :show-cancel-button="false"
  1532. :confirm-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}"
  1533. @confirm="priceComparisonShow=false">
  1534. <view class="slot-content dis j-c a-c ">
  1535. <view class="p-2">
  1536. <text>可选择有报价结果的公司进行比价,最少选择两家,最多可选择三家</text>
  1537. </view>
  1538. </view>
  1539. </u-modal>
  1540. <!-- 紫金驾意弹框 -->
  1541. <u-popup v-model="zijinPopupshow" mode="bottom" border-radius="10" height="1000">
  1542. <view class="ZJcheckboxGroup dis f-c">
  1543. <view class="title dis a-c j-c">
  1544. <text>意外险选择</text>
  1545. </view>
  1546. <scroll-view scroll-y="true" class="scolcentent">
  1547. <u-checkbox-group @change="ZJcheckboxGroupChange">
  1548. <u-checkbox style="margin: 8px 0;flex: auto;" active-color="#FF4D4D" label-size="28"
  1549. v-model="item.checked" v-for="(item, index) in zijinInsuranceData" :key="index"
  1550. :name="item.projectCode">{{item.alias}}</u-checkbox>
  1551. </u-checkbox-group>
  1552. </scroll-view>
  1553. <view class="operateBtn dis ">
  1554. <view class="cancel dis a-c j-c" @click="zijinPopupshow=false">
  1555. 取消
  1556. </view>
  1557. <view class="confirm dis a-c j-c" @click="zijinPopupshow=false">
  1558. 确定
  1559. </view>
  1560. </view>
  1561. </view>
  1562. </u-popup>
  1563. <!-- 国任特约 -->
  1564. <u-popup v-model="guoRencontributingshow" mode="bottom" border-radius="10" height="1200" :closeable="true">
  1565. <view class="ZJcheckboxGroup dis f-c">
  1566. <view class="headers dis a-start f-c mb-2">
  1567. <text class="title">调整特约</text>
  1568. <u-tabs :list="list" :is-scroll="false" :current="GRcurrent" @change="change($event,'GR')"
  1569. active-color="#06A8DC" inactive-color="#81869B"
  1570. style="background: transparent;width: 100px;"></u-tabs>
  1571. </view>
  1572. <scroll-view scroll-y="true" class="scolcentent ">
  1573. <u-checkbox-group @change="guoRencontributingChange" style="display: contents;" class="mb-4">
  1574. <view v-show="GRcurrent==0 && ['0330','0330034002','0330034001'].includes(productId)">
  1575. <u-checkbox v-model="item.checked" v-for="(item, index) in guoRenSpecialAgreementDatajq"
  1576. :key="index" :name="item.clauseCode" active-color="#06A8DC"
  1577. style="align-items: baseline;">
  1578. <view class="dis f-c ">
  1579. <text>{{item.clauseCode}}{{item.clauses}}</text>
  1580. <text style="font-size: 20rpx;color: #999;">{{item.clausesContext}}</text>
  1581. </view>
  1582. </u-checkbox>
  1583. </view>
  1584. <view v-show="GRcurrent==1 && ['034001','0330034002','0330034001'].includes(productId)">
  1585. <u-checkbox v-model="item.checked" v-for="(item, index) in guoRenSpecialAgreementDatasy"
  1586. :key="index" :name="item.clauseCode" active-color="#06A8DC"
  1587. style="align-items: baseline;">
  1588. <view class="dis f-c ">
  1589. <text>{{item.clauseCode}}{{item.clauses}}</text>
  1590. <text style="font-size: 20rpx;color: #999;">{{item.clausesContext}}</text>
  1591. </view>
  1592. </u-checkbox>
  1593. </view>
  1594. </u-checkbox-group>
  1595. </scroll-view>
  1596. <view class="operateBtn dis ">
  1597. <view class="cancel dis a-c j-c" @click="guoRencontributingshow=false">
  1598. 取消
  1599. </view>
  1600. <view class="confirm dis a-c j-c" @click="guoRencontributingshow=false">
  1601. 确定
  1602. </view>
  1603. </view>
  1604. </view>
  1605. </u-popup>
  1606. <!-- 紫金特约 -->
  1607. <u-popup v-model="zijincontributingshow" mode="bottom" border-radius="10" height="1200" :closeable="true">
  1608. <view class="ZJcheckboxGroup dis f-c">
  1609. <view class="headers dis a-start f-c mb-2">
  1610. <text class="title">调整特约</text>
  1611. <u-tabs :list="list" :is-scroll="false" :current="ZJcurrent" @change="change($event,'ZJ')"
  1612. active-color="#06A8DC" inactive-color="#81869B"
  1613. style="background: transparent;width: 100px;"></u-tabs>
  1614. </view>
  1615. <view class="hint dis a-c ">
  1616. <image src="../../static/image/car-insure/tishi.png" mode=""></image>
  1617. <text>带有输入框的条款为可编辑内容,含*号内容可替换!</text>
  1618. </view>
  1619. <scroll-view scroll-y="true" class="scolcentent mt-2">
  1620. <u-checkbox-group @change="ziJincontributingChange" class="dis f-c">
  1621. <view v-show="ZJcurrent==0">
  1622. <u-checkbox v-model="item.checked" v-for="(item, index) in ziJinengageListDatajq"
  1623. :key="index" :name="item.clauseId" active-color="#06A8DCs"
  1624. style="align-items: baseline;">
  1625. <view class="dis f-c " style="width:calc(100vw - 70px);">
  1626. <text>{{item.clauseCode}}{{item.clauseName}}</text>
  1627. <u-input style="width: 100%;" v-if="item.modifyFlag==1" :border="true"
  1628. v-model="item.clauseContent" size="mini" type="textarea"
  1629. :custom-style="{fontSize:'12px'}" />
  1630. <text v-else style="font-size: 20rpx;color: #999;">{{item.clauseContent}}</text>
  1631. </view>
  1632. </u-checkbox>
  1633. </view>
  1634. <view v-show="ZJcurrent==1">
  1635. <u-checkbox v-model="item.checked" v-for="(item, index) in ziJinengageListDatasy"
  1636. :key="index" :name="item.clauseId" active-color="#06A8DCs"
  1637. style="align-items: baseline;">
  1638. <view class="dis f-c " style="width:calc(100vw - 70px);">
  1639. <text>{{item.clauseCode}}{{item.clauseName}}</text>
  1640. <u-input style="width: 100%;" v-if="item.modifyFlag==1" :border="true"
  1641. v-model="item.clauseContent" size="mini" type="textarea"
  1642. :custom-style="{fontSize:'12px'}" />
  1643. <text v-else style="font-size: 20rpx;color: #999;">{{item.clauseContent}}</text>
  1644. </view>
  1645. </u-checkbox>
  1646. </view>
  1647. </u-checkbox-group>
  1648. </scroll-view>
  1649. <view class="operateBtn dis ">
  1650. <view class="cancel dis a-c j-c" @click="zijincontributingshow=false">
  1651. 取消
  1652. </view>
  1653. <view class="confirm dis a-c j-c" @click="zijincontributingshow=false">
  1654. 确定
  1655. </view>
  1656. </view>
  1657. </view>
  1658. </u-popup>
  1659. <!-- 华泰特约 -->
  1660. <u-popup v-model="huataicontributingshow" mode="bottom" border-radius="10" height="1200" :closeable="true">
  1661. <view class="ZJcheckboxGroup dis f-c">
  1662. <view class="headers dis a-start f-c mb-2">
  1663. <text class="title">调整特约</text>
  1664. <u-tabs :list="list" :is-scroll="false" :current="HTcurrent" @change="change($event,'HT')"
  1665. active-color="#06A8DC" inactive-color="#81869B"
  1666. style="background: transparent;width: 100px;"></u-tabs>
  1667. </view>
  1668. <view class="hint dis a-c ">
  1669. <image src="../../static/image/car-insure/tishi.png" mode=""></image>
  1670. <text>带有输入框的条款为可编辑内容,含x号内容可替换!</text>
  1671. </view>
  1672. <scroll-view scroll-y="true" class="scolcentent mt-2">
  1673. <u-checkbox-group @change="huaTaicontributingChange" class="dis f-c" style="display: contents;">
  1674. <view v-show="HTcurrent==0">
  1675. <u-checkbox v-model="item.checked" v-for="(item, index) in huaTaiengageListDatajq"
  1676. :key="index" :name="item.engageCode" active-color="#06A8DCs"
  1677. style="align-items: baseline;">
  1678. <view class="dis f-c " style="width:calc(100vw - 70px);">
  1679. <text>{{item.engageTitle}}</text>
  1680. <u-input style="width: 100%;" v-if="item.modifyFlag==1" :border="true"
  1681. v-model="item.engageDetail" size="mini" type="textarea"
  1682. :custom-style="{fontSize:'12px'}" />
  1683. <text v-else style="font-size: 20rpx;color: #999;">{{item.engageDetail}}</text>
  1684. </view>
  1685. </u-checkbox>
  1686. </view>
  1687. <view v-show="HTcurrent==1">
  1688. <u-checkbox v-model="item.checked" v-for="(item, index) in huaTaiengageListDatasy"
  1689. :key="index" :name="item.engageCode" active-color="#06A8DCs"
  1690. style="align-items: baseline;">
  1691. <view class="dis f-c " style="width:calc(100vw - 70px);">
  1692. <text>{{item.engageTitle}}</text>
  1693. <u-input style="width: 100%;" v-if="item.modifyFlag==1" :border="true"
  1694. v-model="item.engageDetail" size="mini" type="textarea"
  1695. :custom-style="{fontSize:'12px'}" />
  1696. <text style="font-size: 20rpx;color: #999;">{{item.engageDetail}}</text>
  1697. </view>
  1698. </u-checkbox>
  1699. </view>
  1700. </u-checkbox-group>
  1701. </scroll-view>
  1702. <view class="operateBtn dis ">
  1703. <view class="cancel dis a-c j-c" @click="huataicontributingshow=false">
  1704. 取消
  1705. </view>
  1706. <view class="confirm dis a-c j-c" @click="huataicontributingshow=false">
  1707. 确定
  1708. </view>
  1709. </view>
  1710. </view>
  1711. </u-popup>
  1712. <!-- 诚泰系数 -->
  1713. <u-popup v-model="CTcoefficientShow" mode="bottom" border-radius="10" height="600" :closeable="true">
  1714. <view class="ZJcheckboxGroup dis f-c">
  1715. <view class="headers dis a-start f-c mb-2">
  1716. <text class="title">调整系数</text>
  1717. </view>
  1718. <scroll-view scroll-y="true" class="scolcentent mt-2">
  1719. <view class="dis j-s f-c" style="width: 90%;">
  1720. <text>扩展内容</text>
  1721. <view class="dis a-c j-s">
  1722. <text>自主定价系数</text>
  1723. <u-input type="number" v-model="CTcoefficientForm.coefficient"
  1724. :custom-style="{textAlign:'right',width:'50px',marginRight:'10px'}"
  1725. placeholder="请输入"></u-input>
  1726. </view>
  1727. <view class="dis a-c j-s">
  1728. <text>商业险折扣</text>
  1729. <u-input type="number" v-model="CTcoefficientForm.discount"
  1730. :custom-style="{textAlign:'right',width:'50px',marginRight:'10px'}"
  1731. placeholder="请输入"></u-input>
  1732. </view>
  1733. <view class="dis a-c j-s">
  1734. <text>是否验车</text>
  1735. <u-switch v-model="isInspectchange" active-color="#0052FF" inactive-color="#eee"
  1736. size='30'></u-switch>
  1737. </view>
  1738. </view>
  1739. </scroll-view>
  1740. <view class="operateBtn dis ">
  1741. <view class="cancel dis a-c j-c" @click="CTcoefficientShow=false">
  1742. 取消
  1743. </view>
  1744. <view class="confirm dis a-c j-c" @click="CTcoefficientSubmit">
  1745. 确定
  1746. </view>
  1747. </view>
  1748. </view>
  1749. </u-popup>
  1750. <!-- 紫金系数 -->
  1751. <u-popup v-model="ZJcoefficientShow" mode="bottom" border-radius="10" height="500" :closeable="true">
  1752. <view class="ZJcheckboxGroup dis f-c">
  1753. <view class="headers dis a-start f-c mb-2">
  1754. <text class="title">调整系数</text>
  1755. </view>
  1756. <scroll-view scroll-y="true" class="scolcentent mt-2">
  1757. <view class="dis j-s f-c" style="width: 90%;">
  1758. <text>扩展内容</text>
  1759. <view class="dis a-c j-end">
  1760. <text>自主定价系数</text>
  1761. <u-input type="number" v-model="ZJcoefficientForm.coefficient"
  1762. :custom-style="{textAlign:'right',width:'50px',marginRight:'10px'}"
  1763. placeholder="请输入"></u-input>
  1764. </view>
  1765. </view>
  1766. </scroll-view>
  1767. <view class="operateBtn dis ">
  1768. <view class="cancel dis a-c j-c" @click="ZJcoefficientShow=false">
  1769. 取消
  1770. </view>
  1771. <view class="confirm dis a-c j-c" @click="ZJcoefficientSubmit">
  1772. 确定
  1773. </view>
  1774. </view>
  1775. </view>
  1776. </u-popup>
  1777. <u-modal v-model="guoRenPopupshow" title="驾意险"
  1778. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1779. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1780. <view class="slot-content p-2">
  1781. <u-radio-group size="30" wrap>
  1782. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="GRradioChange" shape="square"
  1783. v-for="(item, index) in guoRenInsuranceData" :key="index" :name="item.projectCode">
  1784. {{item.alias}}
  1785. </u-radio>
  1786. </u-radio-group>
  1787. </view>
  1788. </u-modal>
  1789. <u-modal v-model="dajiaPopupshow" title="驾意险"
  1790. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1791. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1792. <view class="slot-content p-2">
  1793. <u-radio-group size="30" wrap>
  1794. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="DJradioChange" shape="square"
  1795. v-for="(item, index) in dajiaInsuranceData" :key="index" :name="item.projectCode">
  1796. {{item.alias}}
  1797. </u-radio>
  1798. </u-radio-group>
  1799. </view>
  1800. </u-modal>
  1801. <u-modal v-model="Generateshow" content="是否生成新的订单?" :content-style="{fontWeight: 'bold'}"
  1802. :show-cancel-button="true" :show-title="false" :confirm-style="{color: '#ff9000'}"
  1803. @confirm="GenerateModalConfirm"></u-modal>
  1804. <u-modal v-model="preUnderwritingshow" width="72%" title="预核保信息" :title-style="{fontWeight: 'bold'}">
  1805. <view class="" style="padding: 10px;overflow-y:auto;height: 400px;">
  1806. <view v-for="(item,index) in RSpreUnderwritingList" :key="index">
  1807. <view class="dis f-c " style="background-color: #FFEEEE;">
  1808. <text style="font-weight: bold;">审核意见</text>
  1809. <text style="font-size: 12px;">{{item.opinion}}</text>
  1810. </view>
  1811. <view class="dis f-c" style="background-color: #FFEEEE;">
  1812. <text style="font-weight: bold;">备注</text>
  1813. <text style="font-size: 12px;">{{item.description}}</text>
  1814. </view>
  1815. </view>
  1816. </view>
  1817. </u-modal>
  1818. <!-- 优惠信息弹窗 -->
  1819. <u-popup v-model="discountInfoPopup" mode="center" width="78%" border-radius="6">
  1820. <view class="">
  1821. <view class="p-2 dis j-c a-c">
  1822. <text class="font-weight">{{discountInfoPopupTitle}}优惠信息</text>
  1823. </view>
  1824. <view style="padding: 0 20px;">
  1825. <scroll-view :scroll-top="scrollTop" scroll-y="true" class="discountInfoscroll">
  1826. <rich-text :nodes="discountInfoPopupContent"></rich-text>
  1827. </scroll-view>
  1828. </view>
  1829. <view class="PlanPopup-btn dis a-c j-c">
  1830. <u-button shape="circle" size="medium" @click="discountInfoPopup=false">取消</u-button>
  1831. </view>
  1832. </view>
  1833. </u-popup>
  1834. <u-modal v-model="InsureGuidePopup" ref="uModal" :show-title="false" border-radius="12" confirm-color="#FF5600"
  1835. :confirm-style="{background:'#FFEFE6',height:'36px',lineHeight:'36px'}">
  1836. <view class="">
  1837. <image src="/static/image/car-insure/InsureGuide.png" mode="" style="width: 100%;height: 40px;"></image>
  1838. <scroll-view class="scrollBar" scroll-y="true"
  1839. style="max-height: 500px; padding: 10px; box-sizing: border-box;">
  1840. <view class="dis a-c ">
  1841. <image src="../../static/image/car-insure/duigou1.png" mode=""
  1842. style="width: 16px;height: 16px;">
  1843. </image>
  1844. <text class="font-weight"
  1845. style="font-size: 14px;color: #FF5600;font-family: Source Han Sans SC, Source Han Sans SC;">{{insGuideTitle}}-{{productName}}</text>
  1846. </view>
  1847. <rich-text :nodes="insGuide"></rich-text>
  1848. </scroll-view>
  1849. </view>
  1850. </u-modal>
  1851. <!-- 确认核保弹窗 -->
  1852. <u-modal v-model="auditNextShow" content="是否确认提交核保" :show-title="false"
  1853. :confirm-style="{background:'#0052FF',color:'#fff'}" :mask-close-able='true' @confirm="auditNextconfirm"
  1854. :show-cancel-button="true" :async-close="true">
  1855. </u-modal>
  1856. <!-- 核保提示弹窗 -->
  1857. <u-modal v-model="underwriteShow" :title="underwriteTitle" :title-style="{fontWeight:'bold'}"
  1858. :confirm-text="confirmText" :cancel-text="cancelText" :confirm-style="{background:'#0052FF',color:'#fff'}"
  1859. :show-cancel-button="true" @confirm="underwriteconfirm" @cancel="underwritecancel">
  1860. <view class="slot-content">
  1861. <scroll-view class="scrollBar" scroll-y="true"
  1862. style="max-height: 300px; padding: 10px 20px; box-sizing: border-box;">
  1863. <view class="content">
  1864. <rich-text :nodes="underwriteMsg"></rich-text>
  1865. </view>
  1866. </scroll-view>
  1867. </view>
  1868. </u-modal>
  1869. <!-- 华泰特约 -->
  1870. <u-popup v-model="resubmitDocumentsShow" mode="bottom" border-radius="10" height="1300" :closeable="true"
  1871. width="90%">
  1872. <view class="ZJcheckboxGroup dis f-c">
  1873. <view class="headers dis a-start f-c mb-2"
  1874. :style="{backgroundImage: `url('../../static/image/car-insure/buluimgheader.png')`,borderBottom:'none'}">
  1875. <text class="title">补录影像</text>
  1876. <u-tabs :list="imagelist" :is-scroll="false" :current="imagecurrent" @change="imagechange"
  1877. active-color="#06A8DC" inactive-color="#81869B"
  1878. style="background: transparent;width: 200px;"></u-tabs>
  1879. </view>
  1880. <scroll-view scroll-y="true" class="scolcentent mt-2"
  1881. style=" padding: 0 20px 0; box-sizing: border-box;">
  1882. <view class="content">
  1883. <view v-show="imagecurrent==0">
  1884. <view class="uni-uploader mb-2">
  1885. <view class="uni-uploader-body dis j-s a-c">
  1886. <view class="uni-uploader__files dis f-c a-start ">
  1887. <block v-for="(image,index) in imgList1" :key="index">
  1888. <view class="uni-uploader__file">
  1889. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  1890. @tap="previewImage($event,'imgList1')"></image>
  1891. <view class="delImgIcon d-flex a-center j-center"
  1892. @tap="delCheckImage(image,'carImageListId','imgList1')">
  1893. <image src="../../static/image/car-insure/imgdel.png" mode=""
  1894. style="width: 100%;height: 100%;"></image>
  1895. </view>
  1896. <view class="imgtitle dis a-c j-c">行驶证主页</view>
  1897. </view>
  1898. </block>
  1899. <view v-if="imgList1.length==0 " class="uni-uploader__input-box"
  1900. style="box-sizing: border-box;">
  1901. <view class="imgtitle dis a-c j-c">行驶证主页</view>
  1902. <view class="uni-uploader__input"
  1903. @tap="chooseImage('C01','carImageListId','imgList1')">
  1904. </view>
  1905. </view>
  1906. </view>
  1907. <view class="uni-uploader__files dis f-c a-start">
  1908. <block v-for="(image,index) in imgList2" :key="index">
  1909. <view class="uni-uploader__file">
  1910. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  1911. @tap="previewImage($event,'imgList2')"></image>
  1912. <view class="delImgIcon d-flex a-center j-center"
  1913. @tap="delCheckImage(image,'carImageListId','imgList2')">
  1914. <image src="../../static/image/car-insure/imgdel.png" mode=""
  1915. style="width: 100%;height: 100%;"></image>
  1916. </view>
  1917. <view class="imgtitle dis a-c j-c">行驶证副本</view>
  1918. </view>
  1919. </block>
  1920. <view v-if="imgList2.length==0" class="uni-uploader__input-box"
  1921. style="box-sizing: border-box;">
  1922. <view class="imgtitle dis a-c j-c">行驶证副本</view>
  1923. <view class="uni-uploader__input"
  1924. @tap="chooseImage('D01','carImageListId','imgList2')">
  1925. </view>
  1926. </view>
  1927. </view>
  1928. </view>
  1929. </view>
  1930. <view class="uni-uploader mb-2">
  1931. <view class="uni-uploader-body dis j-s a-c">
  1932. <view class="uni-uploader__files dis f-c a-start">
  1933. <block v-for="(image,index) in imgList3" :key="index">
  1934. <view class="uni-uploader__file">
  1935. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  1936. @tap="previewImage($event,'imgList3')"></image>
  1937. <view class="delImgIcon d-flex a-center j-center"
  1938. @tap="delCheckImage(image,'ownerImageListId','imgList3')">
  1939. <image src="../../static/image/car-insure/imgdel.png" mode=""
  1940. style="width: 100%;height: 100%;"></image>
  1941. </view>
  1942. <view class="imgtitle dis a-c j-c">车主身份证正面</view>
  1943. </view>
  1944. </block>
  1945. <view v-if="imgList3.length==0" class="uni-uploader__input-box"
  1946. style="box-sizing: border-box;">
  1947. <view class="imgtitle dis a-c j-c">车主身份证正面</view>
  1948. <view class="uni-uploader__input"
  1949. @tap="chooseImage('C02','ownerImageListId','imgList3')"></view>
  1950. </view>
  1951. </view>
  1952. <view class="uni-uploader__files dis f-c a-start">
  1953. <block v-for="(image,index) in imgList4" :key="index">
  1954. <view class="uni-uploader__file">
  1955. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  1956. @tap="previewImage($event,'imgList4')"></image>
  1957. <view class="delImgIcon d-flex a-center j-center"
  1958. @tap="delCheckImage(image,'ownerImageListId','imgList4')">
  1959. <image src="../../static/image/car-insure/imgdel.png" mode=""
  1960. style="width: 100%;height: 100%;"></image>
  1961. </view>
  1962. <view class="imgtitle dis a-c j-c">车主身份证反面</view>
  1963. </view>
  1964. </block>
  1965. <view v-if="imgList4.length==0" class="uni-uploader__input-box"
  1966. style="box-sizing: border-box;">
  1967. <view class="imgtitle dis a-c j-c">车主身份证反面</view>
  1968. <view class="uni-uploader__input"
  1969. @tap="chooseImage('D02','ownerImageListId','imgList4')"></view>
  1970. </view>
  1971. </view>
  1972. </view>
  1973. </view>
  1974. <view class="uni-uploader mb-2">
  1975. <view class="uni-uploader-body dis j-s a-c">
  1976. <view class="uni-uploader__files dis f-c a-start">
  1977. <block v-for="(image,index) in imgList5" :key="index">
  1978. <view class="uni-uploader__file">
  1979. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  1980. @tap="previewImage($event,'imgList5')"></image>
  1981. <view class="delImgIcon d-flex a-center j-center"
  1982. @tap="delCheckImage(image,'policyImageListId','imgList5')">
  1983. <image src="../../static/image/car-insure/imgdel.png" mode=""
  1984. style="width: 100%;height: 100%;"></image>
  1985. </view>
  1986. <view class="imgtitle dis a-c j-c">投保人身份证正面</view>
  1987. </view>
  1988. </block>
  1989. <view v-if="imgList5.length==0" class="uni-uploader__input-box"
  1990. style="box-sizing: border-box;">
  1991. <view class="imgtitle dis a-c j-c">投保人身份证正面</view>
  1992. <view class="uni-uploader__input"
  1993. @tap="chooseImage('C03','policyImageListId','imgList5')"></view>
  1994. </view>
  1995. </view>
  1996. <view class="uni-uploader__files dis f-c a-start">
  1997. <block v-for="(image,index) in imgList6" :key="index">
  1998. <view class="uni-uploader__file">
  1999. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2000. @tap="previewImage($event,'imgList6')"></image>
  2001. <view class="delImgIcon d-flex a-center j-center"
  2002. @tap="delCheckImage(image,'policyImageListId','imgList6')">
  2003. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2004. style="width: 100%;height: 100%;"></image>
  2005. </view>
  2006. <view class="imgtitle dis a-c j-c">投保人身份证反面</view>
  2007. </view>
  2008. </block>
  2009. <view v-if="imgList6.length==0" class="uni-uploader__input-box"
  2010. style="box-sizing: border-box;">
  2011. <view class="imgtitle dis a-c j-c">投保人身份证反面</view>
  2012. <view class="uni-uploader__input"
  2013. @tap="chooseImage('D03','policyImageListId','imgList6')"></view>
  2014. </view>
  2015. </view>
  2016. </view>
  2017. </view>
  2018. <view class="uni-uploader mb-2">
  2019. <view class="uni-uploader-body dis j-s a-c">
  2020. <view class="uni-uploader__files dis f-c a-start">
  2021. <block v-for="(image,index) in imgList7" :key="index">
  2022. <view class="uni-uploader__file">
  2023. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2024. @tap="previewImage($event,'imgList7')"></image>
  2025. <view class="delImgIcon d-flex a-center j-center"
  2026. @tap="delCheckImage(image,'insuredImageListId','imgList7')">
  2027. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2028. style="width: 100%;height: 100%;"></image>
  2029. </view>
  2030. <view class="imgtitle dis a-c j-c">被保人身份证正面</view>
  2031. </view>
  2032. </block>
  2033. <view v-if="imgList7.length==0" class="uni-uploader__input-box"
  2034. style="box-sizing: border-box;">
  2035. <view class="imgtitle dis a-c j-c">被保人身份证正面</view>
  2036. <view class="uni-uploader__input"
  2037. @tap="chooseImage('C04','insuredImageListId','imgList7')"></view>
  2038. </view>
  2039. </view>
  2040. <view class="uni-uploader__files dis f-c a-start">
  2041. <block v-for="(image,index) in imgList8" :key="index">
  2042. <view class="uni-uploader__file">
  2043. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2044. @tap="previewImage($event,'imgList8')"></image>
  2045. <view class="delImgIcon d-flex a-center j-center"
  2046. @tap="delCheckImage(image,'insuredImageListId','imgList8')">
  2047. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2048. style="width: 100%;height: 100%;"></image>
  2049. </view>
  2050. <view class="imgtitle dis a-c j-c">被保人身份证反面</view>
  2051. </view>
  2052. </block>
  2053. <view v-if="imgList8.length==0" class="uni-uploader__input-box"
  2054. style="box-sizing: border-box;">
  2055. <view class="imgtitle dis a-c j-c">被保人身份证反面</view>
  2056. <view class="uni-uploader__input"
  2057. @tap="chooseImage('D04','insuredImageListId','imgList8')"></view>
  2058. </view>
  2059. </view>
  2060. </view>
  2061. </view>
  2062. <view class="uni-uploader mb-2">
  2063. <view class="uni-uploader-body dis j-s a-c">
  2064. <view class="uni-uploader__files dis f-c a-start">
  2065. <block v-for="(image,index) in imgNewCarQualified" :key="index">
  2066. <view class="uni-uploader__file">
  2067. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2068. @tap="previewImage($event,'imgNewCarQualified')"></image>
  2069. <view class="delImgIcon d-flex a-center j-center"
  2070. @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarQualified')">
  2071. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2072. style="width: 100%;height: 100%;"></image>
  2073. </view>
  2074. <view class="imgtitle dis a-c j-c">新车合格证</view>
  2075. </view>
  2076. </block>
  2077. <view v-if="imgNewCarQualified.length==0" class="uni-uploader__input-box"
  2078. style="box-sizing: border-box;">
  2079. <view class="imgtitle dis a-c j-c">新车合格证</view>
  2080. <view class="uni-uploader__input"
  2081. @tap="chooseImage('XC00','imgNewCarinvoiceId','imgNewCarQualified')">
  2082. </view>
  2083. </view>
  2084. </view>
  2085. <view class="uni-uploader__files dis f-c a-start">
  2086. <block v-for="(image,index) in imgNewCarInvoice" :key="index">
  2087. <view class="uni-uploader__file">
  2088. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2089. @tap="previewImage($event,'imgNewCarInvoice')"></image>
  2090. <view class="delImgIcon d-flex a-center j-center"
  2091. @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarInvoice')">
  2092. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2093. style="width: 100%;height: 100%;"></image>
  2094. </view>
  2095. <view class="imgtitle dis a-c j-c">购车发票</view>
  2096. </view>
  2097. </block>
  2098. <view v-if="imgNewCarInvoice.length==0" class="uni-uploader__input-box"
  2099. style="box-sizing: border-box;">
  2100. <view class="imgtitle dis a-c j-c">购车发票</view>
  2101. <view class="uni-uploader__input"
  2102. @tap="chooseImage('GC00','imgNewCarinvoiceId','imgNewCarInvoice')">
  2103. </view>
  2104. </view>
  2105. </view>
  2106. </view>
  2107. </view>
  2108. <view class="uni-uploader">
  2109. <view class="uni-uploader-body dis j-s a-c">
  2110. <view class="uni-uploader__files dis f-c a-start">
  2111. <block v-for="(image,index) in imgRelationship" :key="index">
  2112. <view class="uni-uploader__file">
  2113. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2114. @tap="previewImage($event,'imgRelationship')"></image>
  2115. <view class="delImgIcon d-flex a-center j-center "
  2116. @tap="delCheckImage('imgRelationship',index)">
  2117. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2118. style="width: 100%;height: 100%;"></image>
  2119. </view>
  2120. <view class="imgtitle dis a-c j-c">其他关系证明</view>
  2121. </view>
  2122. </block>
  2123. <view class="uni-uploader__input-box" style="box-sizing: border-box;">
  2124. <view class="imgtitle dis a-c j-c">其他关系证明</view>
  2125. <view class="uni-uploader__input"
  2126. @tap="chooseImage('GX00','imgRelationshipid','imgRelationship')"></view>
  2127. </view>
  2128. </view>
  2129. </view>
  2130. </view>
  2131. </view>
  2132. <view v-show="imagecurrent==1">
  2133. <view class="uni-uploader mb-2">
  2134. <view class="uni-uploader-body dis j-s a-c">
  2135. <view class="uni-uploader__files dis f-c a-start ">
  2136. <block v-for="(image,index) in imgList9" :key="index">
  2137. <view class="uni-uploader__file">
  2138. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2139. @tap="previewImage($event,'imgList9')"></image>
  2140. <view class="delImgIcon d-flex a-center j-center"
  2141. @tap="delCheckImage(image,'carInspectionImage','imgList9')">
  2142. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2143. style="width: 100%;height: 100%;"></image>
  2144. </view>
  2145. <view class="imgtitle dis a-c j-c">验车照(车架)</view>
  2146. </view>
  2147. </block>
  2148. <view v-if="imgList9.length==0 " class="uni-uploader__input-box"
  2149. style="box-sizing: border-box;">
  2150. <view class="imgtitle dis a-c j-c">验车照(车架)</view>
  2151. <view class="uni-uploader__input"
  2152. @tap="chooseImage('C0500','carInspectionImage','imgList9')">
  2153. </view>
  2154. </view>
  2155. </view>
  2156. <view class="uni-uploader__files dis f-c a-start">
  2157. <block v-for="(image,index) in imgList10" :key="index">
  2158. <view class="uni-uploader__file">
  2159. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2160. @tap="previewImage($event,'imgList10')"></image>
  2161. <view class="delImgIcon d-flex a-center j-center"
  2162. @tap="delCheckImage(image,'carInspectionImage','imgList10')">
  2163. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2164. style="width: 100%;height: 100%;"></image>
  2165. </view>
  2166. <view class="imgtitle dis a-c j-c">验车照(后左)</view>
  2167. </view>
  2168. </block>
  2169. <view v-if="imgList10.length==0" class="uni-uploader__input-box"
  2170. style="box-sizing: border-box;">
  2171. <view class="imgtitle dis a-c j-c">验车照(后左)</view>
  2172. <view class="uni-uploader__input"
  2173. @tap="chooseImage('C0501','carInspectionImage','imgList10')">
  2174. </view>
  2175. </view>
  2176. </view>
  2177. </view>
  2178. </view>
  2179. <view class="uni-uploader mb-2">
  2180. <view class="uni-uploader-body dis j-s a-c">
  2181. <view class="uni-uploader__files dis f-c a-start ">
  2182. <block v-for="(image,index) in imgList11" :key="index">
  2183. <view class="uni-uploader__file">
  2184. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2185. @tap="previewImage($event,'imgList11')"></image>
  2186. <view class="delImgIcon d-flex a-center j-center"
  2187. @tap="delCheckImage(image,'carInspectionImage','imgList11')">
  2188. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2189. style="width: 100%;height: 100%;"></image>
  2190. </view>
  2191. <view class="imgtitle dis a-c j-c">验车照(后右)</view>
  2192. </view>
  2193. </block>
  2194. <view v-if="imgList11.length==0 " class="uni-uploader__input-box"
  2195. style="box-sizing: border-box;">
  2196. <view class="imgtitle dis a-c j-c">验车照(后右)</view>
  2197. <view class="uni-uploader__input"
  2198. @tap="chooseImage('C0502','carInspectionImage','imgList11')">
  2199. </view>
  2200. </view>
  2201. </view>
  2202. <view class="uni-uploader__files dis f-c a-start">
  2203. <block v-for="(image,index) in imgList12" :key="index">
  2204. <view class="uni-uploader__file">
  2205. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2206. @tap="previewImage($event,'imgList12')"></image>
  2207. <view class="delImgIcon d-flex a-center j-center"
  2208. @tap="delCheckImage(image,'carInspectionImage','imgList12')">
  2209. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2210. style="width: 100%;height: 100%;"></image>
  2211. </view>
  2212. <view class="imgtitle dis a-c j-c">验车照(前右)</view>
  2213. </view>
  2214. </block>
  2215. <view v-if="imgList12.length==0" class="uni-uploader__input-box"
  2216. style="box-sizing: border-box;">
  2217. <view class="imgtitle dis a-c j-c">验车照(前右)</view>
  2218. <view class="uni-uploader__input"
  2219. @tap="chooseImage('C0503','carInspectionImage','imgList12')">
  2220. </view>
  2221. </view>
  2222. </view>
  2223. </view>
  2224. </view>
  2225. <view class="uni-uploader mb-2">
  2226. <view class="uni-uploader-body dis j-s a-c">
  2227. <view class="uni-uploader__files dis f-c a-start ">
  2228. <block v-for="(image,index) in imgList13" :key="index">
  2229. <view class="uni-uploader__file">
  2230. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2231. @tap="previewImage($event,'imgList13')"></image>
  2232. <view class="delImgIcon d-flex a-center j-center"
  2233. @tap="delCheckImage(image,'carInspectionImage','imgList13')">
  2234. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2235. style="width: 100%;height: 100%;"></image>
  2236. </view>
  2237. <view class="imgtitle dis a-c j-c">验车照(前左)</view>
  2238. </view>
  2239. </block>
  2240. <view v-if="imgList13.length==0 " class="uni-uploader__input-box"
  2241. style="box-sizing: border-box;">
  2242. <view class="imgtitle dis a-c j-c">验车照(前左)</view>
  2243. <view class="uni-uploader__input"
  2244. @tap="chooseImage('C0504','carInspectionImage','imgList13')">
  2245. </view>
  2246. </view>
  2247. </view>
  2248. <view class="uni-uploader__files dis f-c a-start">
  2249. <block v-for="(image,index) in imgList14" :key="index">
  2250. <view class="uni-uploader__file">
  2251. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2252. @tap="previewImage($event,'imgList14')"></image>
  2253. <view class="delImgIcon d-flex a-center j-center"
  2254. @tap="delCheckImage(image,'carInspectionImage','imgList14')">
  2255. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2256. style="width: 100%;height: 100%;"></image>
  2257. </view>
  2258. <view class="imgtitle dis a-c j-c">验车照(人车合影)</view>
  2259. </view>
  2260. </block>
  2261. <view v-if="imgList14.length==0" class="uni-uploader__input-box"
  2262. style="box-sizing: border-box;">
  2263. <view class="imgtitle dis a-c j-c">验车照(人车合影)</view>
  2264. <view class="uni-uploader__input"
  2265. @tap="chooseImage('C0505','carInspectionImage','imgList14')">
  2266. </view>
  2267. </view>
  2268. </view>
  2269. </view>
  2270. </view>
  2271. <view class="uni-uploader mb-2">
  2272. <view class="uni-uploader-body dis j-s a-c">
  2273. <view class="uni-uploader__files dis f-c a-start ">
  2274. <block v-for="(image,index) in imgList15" :key="index">
  2275. <view class="uni-uploader__file">
  2276. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2277. @tap="previewImage($event,'imgList15')"></image>
  2278. <view class="delImgIcon d-flex a-center j-center"
  2279. @tap="delCheckImage(image,'carInspectionImage','imgList15')">
  2280. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2281. style="width: 100%;height: 100%;"></image>
  2282. </view>
  2283. <view class="imgtitle dis a-c j-c">验车照(正前)</view>
  2284. </view>
  2285. </block>
  2286. <view v-if="imgList15.length==0 " class="uni-uploader__input-box"
  2287. style="box-sizing: border-box;">
  2288. <view class="imgtitle dis a-c j-c">验车照(正前)</view>
  2289. <view class="uni-uploader__input"
  2290. @tap="chooseImage('C0506','carInspectionImage','imgList15')">
  2291. </view>
  2292. </view>
  2293. </view>
  2294. <view class="uni-uploader__files dis f-c a-start">
  2295. <block v-for="(image,index) in imgList16" :key="index">
  2296. <view class="uni-uploader__file">
  2297. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2298. @tap="previewImage($event,'imgList16')"></image>
  2299. <view class="delImgIcon d-flex a-center j-center"
  2300. @tap="delCheckImage(image,'carInspectionImage','imgList16')">
  2301. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2302. style="width: 100%;height: 100%;"></image>
  2303. </view>
  2304. <view class="imgtitle dis a-c j-c">验车照(正后)</view>
  2305. </view>
  2306. </block>
  2307. <view v-if="imgList16.length==0" class="uni-uploader__input-box"
  2308. style="box-sizing: border-box;">
  2309. <view class="imgtitle dis a-c j-c">验车照(正后)</view>
  2310. <view class="uni-uploader__input"
  2311. @tap="chooseImage('C0507','carInspectionImage','imgList16')">
  2312. </view>
  2313. </view>
  2314. </view>
  2315. </view>
  2316. </view>
  2317. <view class="uni-uploader mb-2">
  2318. <view class="uni-uploader-body dis j-s a-c">
  2319. <view class="uni-uploader__files dis f-c a-start ">
  2320. <block v-for="(image,index) in imgList17" :key="index">
  2321. <view class="uni-uploader__file">
  2322. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2323. @tap="previewImage($event,'imgList17')"></image>
  2324. <view class="delImgIcon d-flex a-center j-center"
  2325. @tap="delCheckImage(image,'carInspectionImage','imgList17')">
  2326. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2327. style="width: 100%;height: 100%;"></image>
  2328. </view>
  2329. <view class="imgtitle dis a-c j-c">验车照(地标合影)</view>
  2330. </view>
  2331. </block>
  2332. <view v-if="imgList17.length==0 " class="uni-uploader__input-box"
  2333. style="box-sizing: border-box;">
  2334. <view class="imgtitle dis a-c j-c">验车照(地标合影)</view>
  2335. <view class="uni-uploader__input"
  2336. @tap="chooseImage('C0508','carInspectionImage','imgList17')">
  2337. </view>
  2338. </view>
  2339. </view>
  2340. <view class="uni-uploader__files dis f-c a-start">
  2341. <block v-for="(image,index) in imgList18" :key="index">
  2342. <view class="uni-uploader__file">
  2343. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2344. @tap="previewImage($event,'imgList18')"></image>
  2345. <view class="delImgIcon d-flex a-center j-center"
  2346. @tap="delCheckImage(image,'carInspectionImage','imgList18')">
  2347. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2348. style="width: 100%;height: 100%;"></image>
  2349. </view>
  2350. <view class="imgtitle dis a-c j-c">验车照(工作台)</view>
  2351. </view>
  2352. </block>
  2353. <view v-if="imgList18.length==0" class="uni-uploader__input-box"
  2354. style="box-sizing: border-box;">
  2355. <view class="imgtitle dis a-c j-c">验车照(工作台)</view>
  2356. <view class="uni-uploader__input"
  2357. @tap="chooseImage('C0509','carInspectionImage','imgList18')">
  2358. </view>
  2359. </view>
  2360. </view>
  2361. </view>
  2362. </view>
  2363. <view class="uni-uploader mb-2">
  2364. <view class="uni-uploader-body dis j-s a-c">
  2365. <view class="uni-uploader__files dis f-c a-start ">
  2366. <block v-for="(image,index) in imgList19" :key="index">
  2367. <view class="uni-uploader__file">
  2368. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  2369. @tap="previewImage($event,'imgList19')"></image>
  2370. <view class="delImgIcon d-flex a-center j-center"
  2371. @tap="delCheckImage(image,'carInspectionImage','imgList19')">
  2372. <image src="../../static/image/car-insure/imgdel.png" mode=""
  2373. style="width: 100%;height: 100%;"></image>
  2374. </view>
  2375. <view class="imgtitle dis a-c j-c">验车照(天窗)</view>
  2376. </view>
  2377. </block>
  2378. <view v-if="imgList19.length==0 " class="uni-uploader__input-box"
  2379. style="box-sizing: border-box;">
  2380. <view class="imgtitle dis a-c j-c">验车照(天窗)</view>
  2381. <view class="uni-uploader__input"
  2382. @tap="chooseImage('C0510','carInspectionImage','imgList19')">
  2383. </view>
  2384. </view>
  2385. </view>
  2386. </view>
  2387. </view>
  2388. </view>
  2389. </view>
  2390. </scroll-view>
  2391. <view class="operateBtn1 dis a-c j-c">
  2392. <view class="cancel dis a-c j-c" @click="resubmitDocumentsShow=false">
  2393. 取消
  2394. </view>
  2395. <view class="confirm dis a-c j-c" @click="resubmitImageconfirm">
  2396. 确定
  2397. </view>
  2398. </view>
  2399. </view>
  2400. </u-popup>
  2401. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  2402. </view>
  2403. </template>
  2404. <script>
  2405. import {
  2406. mapState
  2407. } from "vuex"
  2408. import lsLoading from '@/components/common/ls-loading/ls-loading.vue';
  2409. import wybPopup from '@/components/modules/carInsure/wyb-popup/wyb-popup.vue'
  2410. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  2411. export default {
  2412. components: {
  2413. wybPopup,
  2414. lsLoading,
  2415. previewImage
  2416. },
  2417. watch: {
  2418. comparableQuantity: {
  2419. handler(val) {
  2420. console.log(val);
  2421. },
  2422. },
  2423. },
  2424. computed: {
  2425. ...mapState(['userInfo', 'token', 'quotationType']),
  2426. guoRenSpecialAgreementDatajq() {
  2427. return this.guoRenSpecialAgreementData.filter(item => item.riskCode === "0507");
  2428. },
  2429. guoRenSpecialAgreementDatasy() {
  2430. return this.guoRenSpecialAgreementData.filter(item => item.riskCode === "0510");
  2431. },
  2432. ziJinengageListDatajq() {
  2433. return this.ziJinengageListData.filter(item => item.riskCode === "0507");
  2434. },
  2435. ziJinengageListDatasy() {
  2436. return this.ziJinengageListData.filter(item => item.riskCode === "0510");
  2437. },
  2438. huaTaiengageListDatajq() {
  2439. return this.huaTaiengageListData.filter(item => item.riskCode === "0507");
  2440. },
  2441. huaTaiengageListDatasy() {
  2442. return this.huaTaiengageListData.filter(item => item.riskCode === "0510");
  2443. }
  2444. },
  2445. // 监听导航栏的按钮
  2446. onNavigationBarButtonTap(e) {
  2447. if (e.index == 0) {
  2448. this.navigate({
  2449. url: '/pages/index/index'
  2450. }, "switchTab", true);
  2451. }
  2452. },
  2453. data() {
  2454. return {
  2455. imagelist: [{
  2456. name: '车辆/人员信息'
  2457. },
  2458. {
  2459. name: '验车照'
  2460. }
  2461. ],
  2462. imagecurrent: 0,
  2463. //特约分类
  2464. list: [{
  2465. name: '交强'
  2466. }, {
  2467. name: '商业'
  2468. }],
  2469. ZJcurrent: 0,
  2470. GRcurrent: 0,
  2471. HTcurrent: 0,
  2472. //特约分类
  2473. CTcoefficientForm: {
  2474. coefficient: null, //系数
  2475. discount: null, //折扣
  2476. },
  2477. ZJcoefficientForm: {
  2478. coefficient: null, //系数
  2479. },
  2480. CTcoefficientIndex: "",
  2481. ZJcoefficientIndex: "",
  2482. CTcoefficientShow: false, //诚泰系数
  2483. ZJcoefficientShow: false, //紫金系数
  2484. previewImgs: [],
  2485. carImageListId: [],
  2486. ownerImageListId: [],
  2487. policyImageListId: [],
  2488. insuredImageListId: [],
  2489. imgRelationshipid: [], //其他关系
  2490. imgNewCarinvoiceId: [], //购车发票
  2491. imgRelationship: [], //其他证明
  2492. imgNewCarQualified: [], //合格证
  2493. imgNewCarInvoice: [], //发票
  2494. carInspectionImage: [], //验车照
  2495. imgList1: [],
  2496. imgList2: [],
  2497. imgList3: [],
  2498. imgList4: [],
  2499. imgList5: [],
  2500. imgList6: [],
  2501. imgList7: [],
  2502. imgList8: [],
  2503. imgList9: [],
  2504. imgList10: [],
  2505. imgList11: [],
  2506. imgList12: [],
  2507. imgList13: [],
  2508. imgList14: [],
  2509. imgList15: [],
  2510. imgList16: [],
  2511. imgList17: [],
  2512. imgList18: [],
  2513. imgList19: [],
  2514. resubmitDocumentsShow: false,
  2515. insuranceCompanyName: "", //保险公司简称
  2516. companyId: "", //子订单ID
  2517. apiType: "", //区分核保接口请求类型
  2518. auditNextShow: false, //核保确认弹窗
  2519. //核保提示
  2520. underwriteShow: false,
  2521. underwriteTitle: "订单自核成功", //核保状态
  2522. confirmText: "立即缴费", //核保提示自定义按钮
  2523. cancelText: "暂不缴费",
  2524. underwriteMsg: "",
  2525. //核保提示
  2526. /* 优惠信息弹窗*/
  2527. discountInfoPopup: false,
  2528. discountInfoPopupTitle: "",
  2529. discountInfoPopupContent: ``,
  2530. /* 优惠信息弹窗*/
  2531. /* 投保指引*/
  2532. insGuide: "",
  2533. insGuideTitle: "",
  2534. /* 投保指引*/
  2535. guoRenSpecialAgreementData: [],
  2536. guoRenSpecialAgreementVo: [],
  2537. ziJinengageListData: [], //紫金特约list
  2538. huaTaiengageListData: [], //华泰特约list
  2539. huaTaiengageList: [],
  2540. ziJinengageList: [],
  2541. preUnderwritingshow: false, //预核保信息弹窗
  2542. Generateshow: false,
  2543. guoRencontributingshow: false, //国任特约弹窗
  2544. zijincontributingshow: false, //紫金特约弹窗
  2545. huataicontributingshow: false, //华泰特约弹窗
  2546. priceComparisonShow: false, //比价弹窗
  2547. comparableQuantity: 0, //报价成功总数
  2548. selectedCount: 0, //比价勾选数量
  2549. riskList: [], //险种大类
  2550. model: {
  2551. taxRelifFlag: "正常交税",
  2552. taxpayerIdentifier: "身份证",
  2553. relifReason: "",
  2554. taxPaidAreaCode: "",
  2555. },
  2556. //车船税form
  2557. vehicleAndVesselTaxForm: {
  2558. taxRelifFlag: "1", //类型
  2559. identifyNumber: "", //纳税人识别号
  2560. taxpayerIdentifier: "01", //纳税人证件类型
  2561. taxpayerName: "", //纳税人名称
  2562. extendChar2: "", //减免税凭证号
  2563. paidFreeCertificate: "", //完税凭证号
  2564. relifReason: "", //减免税原因
  2565. taxComCode: "", //税务机关代码
  2566. taxComName: "", ///税务机关名称
  2567. taxDocumentDate: "", //完税日期
  2568. taxPaidAreaCode: "", //完税凭证地区代码
  2569. taxRelief: "", //减税比例
  2570. },
  2571. taxRelifFlagoptions: [],
  2572. taxpayerIdentifieroptions: [],
  2573. relifReasonoptions: [],
  2574. taxPaidAreaCodeShow: false, //完税凭证地区
  2575. taxDocumentDateShow: false, //完税凭证填发日期
  2576. taxRelifFlagShow: false, //车船税类型
  2577. taxpayerIdentifierShow: false, //纳税人证件类型
  2578. relifReasonShow: false, //减免税原因代码
  2579. params: {
  2580. year: true, //年
  2581. month: true, //月
  2582. day: true, //日
  2583. hour: true, //时
  2584. minute: true, //分
  2585. second: true, //秒
  2586. },
  2587. jqimmediately: "0",
  2588. jqimmediatelyList: [{
  2589. label: '是',
  2590. value: "1",
  2591. },
  2592. {
  2593. label: '否',
  2594. value: "0",
  2595. },
  2596. ],
  2597. syimmediately: "0",
  2598. syimmediatelyList: [{
  2599. label: '是',
  2600. value: "1",
  2601. },
  2602. {
  2603. label: '否',
  2604. value: "0",
  2605. },
  2606. ],
  2607. jqchecked: false,
  2608. sychecked: false,
  2609. jqstartShow: false,
  2610. jqendShow: false,
  2611. systartShow: false,
  2612. syendShow: false,
  2613. jqstartDate: "",
  2614. jqendDate: "",
  2615. systartDate: "",
  2616. syendDate: "",
  2617. scrollTop: 0,
  2618. carInfo: {},
  2619. ownerInfo: {},
  2620. policyHolderInfo: {},
  2621. insuredPersonInfo: {},
  2622. carInfoPositiveList: [],
  2623. ownerInfoPositiveList: [],
  2624. policyHolderInfoPositiveList: [],
  2625. insuredPersonInfoPositiveList: [],
  2626. transferDateShow: false,
  2627. params1: {
  2628. year: true, //年
  2629. month: true, //月
  2630. day: true, //日
  2631. hour: false, //时
  2632. minute: false, //分
  2633. second: false, //秒
  2634. },
  2635. params2: {
  2636. province: true,
  2637. city: false,
  2638. area: false
  2639. },
  2640. quotableCompanyList: [],
  2641. RSpreUnderwritingList: [],
  2642. productId: "",
  2643. productName: "",
  2644. animation: 'twinkle', //动画类型
  2645. InsureGuidePopup: false,
  2646. /* 投保指引弹窗*/
  2647. InsureGuideContent: "", // 指引内容
  2648. SelectedPlanId: "2", //已选方案id
  2649. genericPlanPopup: false, //方案选择弹窗
  2650. planDataExpansion: { //方案综合数据
  2651. id: "",
  2652. namesimple: "",
  2653. cnName: "",
  2654. genericPlanList: [], //方案通用列表
  2655. genericPlanInfo: {}, //方案展示信息
  2656. },
  2657. insureItem: {},
  2658. orderno: "", //订单号
  2659. quoteno: "", //报价号
  2660. accidentInsuranceCategoryList: [],
  2661. accidentCategoryId: "",
  2662. /* 安盛 */
  2663. anshengPopupshow: false,
  2664. anshengInsuranceData: [],
  2665. anshengaccidentalDrivingVo: {},
  2666. /* 国任 */
  2667. guoRenPopupshow: false,
  2668. guoRenInsuranceData: [],
  2669. guoRenaccidentalDrivingVo: {},
  2670. /* 大家 */
  2671. dajiaPopupshow: false,
  2672. dajiaInsuranceData: [],
  2673. dajiaaccidentalDrivingVo: {},
  2674. /* 永诚 */
  2675. yongchengPopupshow: false,
  2676. yongchengInsuranceData: [],
  2677. yongchengaccidentalDrivingVo: {},
  2678. /* 恒邦 */
  2679. hengbangPopupshow: false,
  2680. hengbangInsuranceData: [],
  2681. hengbangaccidentalDrivingVo: {},
  2682. /* 诚泰 */
  2683. chengtaiPopupshow: false,
  2684. chengtaiInsuranceData: [],
  2685. chengtaiaccidentalDrivingVo: {},
  2686. /* 中煤 */
  2687. zhongmeiPopupshow: false,
  2688. zhongmeiInsuranceData: [],
  2689. zhongmeiaccidentalDrivingVo: {},
  2690. /* 泰康 */
  2691. taikangPopupshow: false,
  2692. taikangInsuranceData: [],
  2693. taikangaccidentalDrivingVo: {},
  2694. /* 渤海 */
  2695. bohaiPopupshow: false,
  2696. bohaiInsuranceData: [],
  2697. bohaiaccidentalDrivingVo: {},
  2698. /* 众安 */
  2699. zhonganPopupshow: false,
  2700. zhonganInsuranceData: [],
  2701. zhonganaccidentalDrivingVo: {},
  2702. /* 太平 */
  2703. taipingPopupshow: false,
  2704. taipingInsuranceData: [],
  2705. taipingaccidentalDrivingVo: {},
  2706. /* 华农 */
  2707. huanongPopupshow: false,
  2708. huanongInsuranceData: [],
  2709. huanongaccidentalDrivingVo: {},
  2710. /* 人寿 */
  2711. renshouPopupshow: false,
  2712. renshouInsuranceData: [],
  2713. renshouaccidentalDrivingVo: {},
  2714. /* 紫金 */
  2715. zijinPopupshow: false,
  2716. zijinInsuranceData: [],
  2717. zijinaccidentalDrivingVo: [],
  2718. isInspectchange: false,
  2719. }
  2720. },
  2721. onShow() {
  2722. },
  2723. async onLoad(params) {
  2724. console.log(params);
  2725. if (params.orderno) {
  2726. let res = await this.$http.post('/insurance/order/reviseApp', {
  2727. orderNo: params.orderno
  2728. });
  2729. this.productId = res.data.productid; //险种id
  2730. this.productName = res.data.product; //险种name
  2731. this.quotableCompanyList = JSON.parse(JSON.stringify(res.data.companyDtos));
  2732. this.commpanyList();
  2733. this.carInfo = res.data.carinfo; //车辆信息
  2734. this.ownerInfo = res.data.ownerinfo; //车主信息
  2735. this.policyHolderInfo = res.data.applyinfo; //投保人信息
  2736. this.insuredPersonInfo = res.data.insureinfo; //被保人信息
  2737. this.riskList = res.data.risk; //险种大类
  2738. this.vehicleAndVesselTaxForm = res.data.vehicleAndVesselTax; //车船税信息
  2739. this.orderno = res.data.orderno;
  2740. this.quoteno = res.data.quoteno;
  2741. this.imageEcho(res.data.quoteno) // 影像获取完毕
  2742. if (this.riskList.length > 0) {
  2743. for (let i = 0; i < this.riskList.length; i++) {
  2744. if (this.riskList[i].riskCode == '0507') {
  2745. if (this.isDateBeforeToday(this.riskList[i].startDate)) {
  2746. this.jqstartDate = this.nextday();
  2747. this.jqendDate = this.oneYearPast(this.jqstartDate)
  2748. this.riskList[i].startDate = this.nextday()
  2749. this.riskList[i].endDate = this.oneYearPast(this.jqstartDate)
  2750. } else {
  2751. this.jqstartDate = this.riskList[i].startDate;
  2752. this.jqendDate = this.riskList[i].endDate;
  2753. }
  2754. }
  2755. if (this.riskList[i].riskCode == '0510') {
  2756. if (this.isDateBeforeToday(this.riskList[i].startDate)) {
  2757. this.systartDate = this.nextday();
  2758. this.syendDate = this.oneYearPast(this.systartDate)
  2759. this.riskList[i].startDate = this.nextday()
  2760. this.riskList[i].endDate = this.oneYearPast(this.systartDate)
  2761. } else {
  2762. this.systartDate = this.riskList[i].startDate;
  2763. this.syendDate = this.riskList[i].endDate;
  2764. }
  2765. }
  2766. }
  2767. }
  2768. } else {
  2769. this.jqstartDate = this.nextday();
  2770. this.jqendDate = this.oneYearPast(this.jqstartDate);
  2771. this.systartDate = this.nextday();
  2772. this.syendDate = this.oneYearPast(this.jqstartDate);
  2773. const eventChannel = this.getOpenerEventChannel()
  2774. // 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
  2775. await eventChannel.on('acceptData', (data) => {
  2776. console.log(data);
  2777. this.carInfo = data.carInfo; //车辆信息
  2778. this.ownerInfo = data.ownerInfo; //车主信息
  2779. this.policyHolderInfo = data.policyHolderInfo; //投保人信息
  2780. this.insuredPersonInfo = data.insuredPersonInfo; //被保人信息
  2781. this.carInfoPositiveList = data.carInfoPositiveList; //车辆
  2782. this.ownerInfoPositiveList = data.ownerInfoPositiveList; //车主
  2783. this.policyHolderInfoPositiveList = data.policyHolderInfoPositiveList; //投保
  2784. this.insuredPersonInfoPositiveList = data.insuredPersonInfoPositiveList; //被保人
  2785. this.productId = data.productId; //险种id
  2786. this.productName = data.productName; //险种name
  2787. this.riskTypeEchoProcessing(this.productId)
  2788. this.quotableCompanyList = JSON.parse(JSON.stringify(data.quotableCompanyList)); //可报价公司
  2789. this.commpanyList();
  2790. })
  2791. }
  2792. this.getDicType("taxRelifFlag"); //车船税类型
  2793. this.getDicType("taxpayerIdentifier"); //纳税人证件类型
  2794. this.getDicType("relifReason"); //减免税原因代码
  2795. },
  2796. methods: {
  2797. CTcoefficientSubmit() {
  2798. this.quotableCompanyList[this.CTcoefficientIndex].coefficient = this.CTcoefficientForm.coefficient;
  2799. this.quotableCompanyList[this.CTcoefficientIndex].discount = this.CTcoefficientForm.discount;
  2800. this.CTcoefficientShow = false;
  2801. },
  2802. ZJcoefficientSubmit() {
  2803. this.quotableCompanyList[this.ZJcoefficientIndex].coefficient = this.ZJcoefficientForm.coefficient;
  2804. this.ZJcoefficientShow = false;
  2805. },
  2806. CTadjustmentCoefficient(index) {
  2807. this.CTcoefficientIndex = index;
  2808. this.CTcoefficientShow = true;
  2809. },
  2810. ZJadjustmentCoefficient(index) {
  2811. this.ZJcoefficientIndex = index;
  2812. this.ZJcoefficientShow = true;
  2813. },
  2814. change(index, name) {
  2815. this[name + 'current'] = index;
  2816. },
  2817. imagechange(index) {
  2818. this.imagecurrent = index;
  2819. },
  2820. btn_click() {
  2821. uni.navigateTo({
  2822. url: '/pages/chat/chat'
  2823. })
  2824. },
  2825. isDateBeforeToday(date) {
  2826. const inputDate = new Date(date); // 将输入的日期转换为 Date 对象
  2827. const today = new Date(); // 获取当前日期
  2828. // 比较日期是否小于当前日期
  2829. if (inputDate < today) {
  2830. return true; // 输入日期小于当前日期
  2831. } else {
  2832. return false; // 输入日期大于等于当前日期
  2833. }
  2834. },
  2835. //影像查询
  2836. async imageEcho(quotenos) {
  2837. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  2838. if (imgres.code == "200") {
  2839. Object.keys(imgres.data).forEach((keys) => {
  2840. if (imgres.data[keys].url) {
  2841. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  2842. switch (keys) {
  2843. case 'C01':
  2844. this.carInfoPositiveList.push({
  2845. imageId: imgres.data[keys].imageId,
  2846. imageType: imgres.data[keys].imageType,
  2847. })
  2848. break;
  2849. case 'D01':
  2850. this.carInfoPositiveList.push({
  2851. imageId: imgres.data[keys].imageId,
  2852. imageType: imgres.data[keys].imageType,
  2853. })
  2854. break;
  2855. case 'C02':
  2856. this.ownerInfoPositiveList.push({
  2857. imageId: imgres.data[keys].imageId,
  2858. imageType: imgres.data[keys].imageType,
  2859. });
  2860. break;
  2861. case 'D02':
  2862. this.ownerInfoPositiveList.push({
  2863. imageId: imgres.data[keys].imageId,
  2864. imageType: imgres.data[keys].imageType,
  2865. });
  2866. break;
  2867. case 'C03':
  2868. this.policyHolderInfoPositiveList.push({
  2869. imageId: imgres.data[keys].imageId,
  2870. imageType: imgres.data[keys].imageType,
  2871. });
  2872. break;
  2873. case 'D03':
  2874. this.policyHolderInfoPositiveList.push({
  2875. imageId: imgres.data[keys].imageId,
  2876. imageType: imgres.data[keys].imageType,
  2877. });
  2878. break;
  2879. case 'C04':
  2880. this.insuredPersonInfoPositiveList.push({
  2881. imageId: imgres.data[keys].imageId,
  2882. imageType: imgres.data[keys].imageType,
  2883. });
  2884. break;
  2885. case 'D04':
  2886. this.insuredPersonInfoPositiveList.push({
  2887. imageId: imgres.data[keys].imageId,
  2888. imageType: imgres.data[keys].imageType,
  2889. });
  2890. break;
  2891. default:
  2892. break;
  2893. }
  2894. }
  2895. });
  2896. }
  2897. },
  2898. //影像查询
  2899. async imageEcho1(quotenos) {
  2900. this.imgList1 = [];
  2901. this.imgList2 = [];
  2902. this.imgList3 = [];
  2903. this.imgList4 = [];
  2904. this.imgList5 = [];
  2905. this.imgList6 = [];
  2906. this.imgList7 = [];
  2907. this.imgList8 = [];
  2908. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  2909. if (imgres.code == "200") {
  2910. Object.keys(imgres.data).forEach((keys) => {
  2911. if (imgres.data[keys].url) {
  2912. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  2913. switch (keys) {
  2914. case 'C01':
  2915. this.carImageListId.push({
  2916. imageId: imgres.data[keys].imageId,
  2917. imageType: imgres.data[keys].imageType,
  2918. })
  2919. this.imgList1.push(imgres.data[keys]);
  2920. break;
  2921. case 'D01':
  2922. this.carImageListId.push({
  2923. imageId: imgres.data[keys].imageId,
  2924. imageType: imgres.data[keys].imageType,
  2925. })
  2926. this.imgList2.push(imgres.data[keys]);
  2927. break;
  2928. case 'C02':
  2929. this.ownerImageListId.push({
  2930. imageId: imgres.data[keys].imageId,
  2931. imageType: imgres.data[keys].imageType,
  2932. })
  2933. this.imgList3.push(imgres.data[keys]);
  2934. break;
  2935. case 'D02':
  2936. this.ownerImageListId.push({
  2937. imageId: imgres.data[keys].imageId,
  2938. imageType: imgres.data[keys].imageType,
  2939. })
  2940. this.imgList4.push(imgres.data[keys]);
  2941. break;
  2942. case 'C03':
  2943. this.policyImageListId.push({
  2944. imageId: imgres.data[keys].imageId,
  2945. imageType: imgres.data[keys].imageType,
  2946. })
  2947. this.imgList5.push(imgres.data[keys]);
  2948. break;
  2949. case 'D03':
  2950. this.policyImageListId.push({
  2951. imageId: imgres.data[keys].imageId,
  2952. imageType: imgres.data[keys].imageType,
  2953. })
  2954. this.imgList6.push(imgres.data[keys]);
  2955. break;
  2956. case 'C04':
  2957. this.insuredImageListId.push({
  2958. imageId: imgres.data[keys].imageId,
  2959. imageType: imgres.data[keys].imageType,
  2960. })
  2961. this.imgList7.push(imgres.data[keys]);
  2962. break;
  2963. case 'D04':
  2964. this.insuredImageListId.push({
  2965. imageId: imgres.data[keys].imageId,
  2966. imageType: imgres.data[keys].imageType,
  2967. })
  2968. this.imgList8.push(imgres.data[keys]);
  2969. break;
  2970. default:
  2971. break;
  2972. }
  2973. }
  2974. });
  2975. }
  2976. },
  2977. back() {
  2978. uni.navigateBack(1)
  2979. },
  2980. //-------------驾意险处理开始
  2981. //国任
  2982. GRradioChange(id) {
  2983. let obj = this.guoRenInsuranceData.find((val => val.projectCode == id))
  2984. Object.assign(this.guoRenaccidentalDrivingVo, obj);
  2985. this.guoRenPopupshow = false;
  2986. },
  2987. //大家
  2988. DJradioChange(id) {
  2989. let obj = this.dajiaInsuranceData.find((val => val.projectCode == id))
  2990. Object.assign(this.dajiaaccidentalDrivingVo, obj);
  2991. this.dajiaPopupshow = false;
  2992. },
  2993. //紫金意外险
  2994. ZJcheckboxGroupChange(detail) {
  2995. this.zijinaccidentalDrivingVo = [];
  2996. detail.map(val => {
  2997. let list = this.zijinInsuranceData.find(item => item.projectCode == val)
  2998. this.zijinaccidentalDrivingVo.push(list)
  2999. })
  3000. },
  3001. //安盛
  3002. ASradioChange(id) {
  3003. let obj = this.anshengInsuranceData.find((val => val.projectCode == id))
  3004. Object.assign(this.anshengaccidentalDrivingVo, obj);
  3005. this.anshengPopupshow = false;
  3006. },
  3007. //太平
  3008. TPradioChange(id) {
  3009. let obj = this.taipingInsuranceData.find(val => val.projectCode == id)
  3010. Object.assign(this.taipingaccidentalDrivingVo, obj);
  3011. this.taipingPopupshow = false;
  3012. },
  3013. //泰康
  3014. TkradioChange(id) {
  3015. let obj = this.taikangInsuranceData.find(val => val.projectCode == id)
  3016. Object.assign(this.taikangaccidentalDrivingVo, obj);
  3017. this.taikangPopupshow = false;
  3018. },
  3019. //永诚
  3020. YCradioChange(id) {
  3021. let obj = this.yongchengInsuranceData.find(val => val.projectCode == id)
  3022. Object.assign(this.yongchengaccidentalDrivingVo, obj);
  3023. this.yongchengPopupshow = false;
  3024. },
  3025. //中煤
  3026. ZMradioChange(id) {
  3027. let obj = this.zhongmeiInsuranceData.find(val => val.projectCode == id)
  3028. Object.assign(this.zhongmeiaccidentalDrivingVo, obj);
  3029. this.zhongmeiPopupshow = false;
  3030. },
  3031. //渤海意外险
  3032. BHradioChange(id) {
  3033. let info = this.bohaiInsuranceData.find(val => val.projectCode == id)
  3034. Object.assign(this.bohaiaccidentalDrivingVo, obj);
  3035. this.bohaiPopupshow = false;
  3036. },
  3037. //人寿意外险
  3038. RSradioChange(id) {
  3039. let obj = this.renshouInsuranceData.find(val => val.projectCode == id)
  3040. Object.assign(this.renshouaccidentalDrivingVo, obj);
  3041. this.renshouPopupshow = false;
  3042. },
  3043. //恒邦意外险
  3044. HBradioChange(id) {
  3045. let obj = this.hengbangInsuranceData.find(val => val.projectCode ==
  3046. id)
  3047. Object.assign(this.hengbangaccidentalDrivingVo, obj);
  3048. this.hengbangPopupshow = false;
  3049. },
  3050. //众安意外险
  3051. ZAradioChange(id) {
  3052. let obj = this.zhonganInsuranceData.find(val => val.projectCode == id)
  3053. Object.assign(this.zhonganaccidentalDrivingVo, obj);
  3054. this.zhonganPopupshow = false;
  3055. },
  3056. //华农驾意险
  3057. HNradioChange(id) {
  3058. let obj = this.huanongInsuranceData.find(val => val.projectCode == id);
  3059. Object.assign(this.huanongaccidentalDrivingVo, obj);
  3060. this.huanongaccidentalDrivingVo.accidentType = this.huanongaccidentalDrivingVo.planCode;
  3061. this.huanongPopupshow = false;
  3062. },
  3063. //-------------驾意险处理结束
  3064. adjustBIItemLabelSubmit() {
  3065. for (let i = 0; i < this.planDataExpansion.genericPlanInfo.kinds.length; i++) {
  3066. if (this.insureItem.kindCode == this.planDataExpansion.genericPlanInfo.kinds[i].kindCode) {
  3067. this.planDataExpansion.genericPlanInfo.kinds[i].amount = this.insureItem.amount; /* 保额 */
  3068. this.planDataExpansion.genericPlanInfo.kinds[i].amountDesc = this.insureItem.amountDesc; /* 保额名称 */
  3069. }
  3070. }
  3071. this.$refs.popupBI.hide();
  3072. },
  3073. numberBoxChange(val) {
  3074. if (val.value > 0) {
  3075. this.insureItem.amount = val.value;
  3076. this.insureItem.amountDesc = val.value + '次';
  3077. } else {
  3078. this.insureItem.amount = 0;
  3079. this.insureItem.amountDesc = '不投保';
  3080. }
  3081. },
  3082. //弹出popup框并显示基本信息
  3083. adjustBIItem(index) {
  3084. var a = {};
  3085. Object.assign(a, this.planDataExpansion.genericPlanInfo.kinds[index])
  3086. this.insureItem = a;
  3087. this.$refs.popupBI.show() // 显示
  3088. },
  3089. //popup内容的label改变
  3090. adjustBIItemLabel(index) {
  3091. this.insureItem.amount = this.insureItem.amtList[index].value;
  3092. this.insureItem.amountDesc = this.insureItem.amtList[index].label;
  3093. },
  3094. jqterms() {
  3095. let file = 'https://sxzgkj.baoxianzhanggui.com/web-api/upload/specification/commercialInsurance.pdf';
  3096. //#ifdef APP-PLUS
  3097. uni.showLoading({
  3098. title: '正在打开'
  3099. });
  3100. let dtask = plus.downloader.createDownload(file, {
  3101. filename: "_downloads/" + '交强条款.pdf'
  3102. }, function(d, status) {
  3103. if (status == 200) {
  3104. uni.hideLoading()
  3105. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  3106. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  3107. plus.runtime.openFile(d.filename); //选择软件打开文件
  3108. } else {
  3109. uni.hideLoading()
  3110. //下载失败
  3111. plus.downloader.clear(); //清除下载任务
  3112. }
  3113. })
  3114. dtask.start();
  3115. //#endif
  3116. //#ifdef H5
  3117. var win = window.open();
  3118. win.document.write(
  3119. '<body style="margin:0px;"><object data="' +
  3120. file +
  3121. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  3122. file +
  3123. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  3124. );
  3125. //#endif
  3126. },
  3127. syterms() {
  3128. let file = 'https://sxzgkj.baoxianzhanggui.com/web-api/upload/specification/compulsoryInsurance.pdf';
  3129. //#ifdef APP-PLUS
  3130. uni.showLoading({
  3131. title: '正在打开'
  3132. });
  3133. let dtask = plus.downloader.createDownload(file, {
  3134. filename: "_downloads/" + '商业条款.pdf'
  3135. }, function(d, status) {
  3136. if (status == 200) {
  3137. uni.hideLoading()
  3138. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  3139. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  3140. plus.runtime.openFile(d.filename); //选择软件打开文件
  3141. } else {
  3142. uni.hideLoading()
  3143. //下载失败
  3144. plus.downloader.clear(); //清除下载任务
  3145. }
  3146. })
  3147. dtask.start();
  3148. //#endif
  3149. //#ifdef H5
  3150. var win = window.open();
  3151. win.document.write(
  3152. '<body style="margin:0px;"><object data="' +
  3153. file +
  3154. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  3155. file +
  3156. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  3157. );
  3158. //#endif
  3159. },
  3160. //国任特约
  3161. async specialAgreementSelection(id) {
  3162. let guoRen = await this.$http.post('/api/guoRen/queryClauseDataCompany', {
  3163. companyId: id,
  3164. });
  3165. this.guoRenSpecialAgreementData = guoRen.data;
  3166. this.guoRencontributingshow = true;
  3167. },
  3168. //紫金特约
  3169. async zijinspecialAgreementSelection(id) {
  3170. let Zijinres = await this.$http.post('/order/zijin/queryClauseData', {
  3171. companyId: id,
  3172. });
  3173. this.ziJinengageListData = Zijinres.data;
  3174. this.zijincontributingshow = true;
  3175. let data = this.ziJinengageListData.find(val => val.optType == 3)
  3176. if (data) {
  3177. this.ziJinengageList.push({
  3178. clauseCode: data.clauseCode,
  3179. clauseName: data.clauseName,
  3180. clauses: data.clauseContent,
  3181. riskCode: data.riskCode,
  3182. modifyFlag: data.modifyFlag,
  3183. optType: data.optType,
  3184. })
  3185. }
  3186. },
  3187. //华泰特约
  3188. async huataispecialAgreementSelection(id) {
  3189. let huaTaires = await this.$http.post('/order/huaTaiApi/queryClauseData', {
  3190. companyId: id,
  3191. });
  3192. this.huaTaiengageListData = huaTaires.data;
  3193. this.huataicontributingshow = true;
  3194. huaTaires.data.map(val => {
  3195. if (val.optType == '2') {
  3196. this.huaTaiengageList.push({
  3197. engageCode: val.engageCode,
  3198. engageDetail: val.engageDetail,
  3199. engageTitle: val.engageTitle,
  3200. riskCode: val.riskCode,
  3201. modifyFlag: val.modifyFlag,
  3202. })
  3203. }
  3204. })
  3205. },
  3206. guoRencontributingChange(param) {
  3207. console.log(param);
  3208. this.guoRenSpecialAgreementVo = [];
  3209. param.map(val => {
  3210. let list = this.guoRenSpecialAgreementData.find(item => item.clauseCode == val)
  3211. this.guoRenSpecialAgreementVo.push({
  3212. clauseCode: list.clauseCode,
  3213. clauses: list.clauses,
  3214. clausesContext: list.clausesContext,
  3215. riskCode: list.riskCode,
  3216. riskName: list.riskName,
  3217. })
  3218. })
  3219. },
  3220. ziJincontributingChange(param) {
  3221. this.ziJinengageList = [];
  3222. param.map(val => {
  3223. let list = this.ziJinengageListData.find(item => item.clauseId == val)
  3224. this.ziJinengageList.push({
  3225. clauseCode: list.clauseCode,
  3226. clauseName: list.clauseName,
  3227. clauses: list.clauseContent,
  3228. riskCode: list.riskCode,
  3229. modifyFlag: list.modifyFlag,
  3230. })
  3231. })
  3232. },
  3233. huaTaicontributingChange(param) {
  3234. this.huaTaiengageList = [];
  3235. param.map(val => {
  3236. let list = this.huaTaiengageListData.find(item => item.engageCode == val)
  3237. this.huaTaiengageList.push({
  3238. engageCode: list.engageCode,
  3239. engageDetail: list.engageDetail,
  3240. engageTitle: list.engageTitle,
  3241. riskCode: list.riskCode,
  3242. modifyFlag: list.modifyFlag,
  3243. })
  3244. })
  3245. },
  3246. //--------比价
  3247. priceComparison() {
  3248. this.priceComparisonShow = true;
  3249. },
  3250. priceComparison1() {
  3251. this.quotableCompanyList.map((ele, index) => {
  3252. if (ele.quoteCode == 200) {
  3253. const updatedItem = {
  3254. ...this.quotableCompanyList[index],
  3255. isComparableshowHide: true
  3256. };
  3257. this.quotableCompanyList.splice(index, 1, updatedItem);
  3258. }
  3259. return ele;
  3260. })
  3261. },
  3262. priceComparison2() {
  3263. let subOrderNoslist = [];
  3264. this.quotableCompanyList.map(ele => {
  3265. if (ele.isComparableShow) {
  3266. subOrderNoslist.push(ele.result.companyId);
  3267. }
  3268. return ele;
  3269. })
  3270. uni.navigateTo({
  3271. url: `/pages/orders/priceComparison?subOrderNoslist=${JSON.stringify(subOrderNoslist)}`
  3272. })
  3273. },
  3274. //--------比价
  3275. //重新生成订单
  3276. GenerateModalConfirm() {
  3277. this.orderno = "";
  3278. this.quoteno = "";
  3279. this.toNext();
  3280. },
  3281. async toNext() {
  3282. var allAreFalse = this.quotableCompanyList.every(function(element) {
  3283. return element.insurancePlanInfo == null;
  3284. });
  3285. if (!allAreFalse) {
  3286. this.comparableQuantity = 0; //报价成功总数
  3287. this.selectedCount = 0; //比价勾选数量
  3288. this.quotableCompanyList.map((ele) => {
  3289. ele.isComparableShow = false;
  3290. ele.isComparableshowHide = false;
  3291. return ele;
  3292. })
  3293. this.riskList.map(val => {
  3294. if (val.riskCode == '0507') {
  3295. val.startDate = this.jqstartDate;
  3296. val.endDate = this.jqendDate;
  3297. }
  3298. if (val.riskCode == '0510') {
  3299. val.startDate = this.systartDate;
  3300. val.endDate = this.syendDate;
  3301. }
  3302. return val;
  3303. })
  3304. let param = {
  3305. userId: this.userInfo.sysUser.id,
  3306. quoteno: this.quoteno ? this.quoteno : "",
  3307. orderNo: this.orderno ? this.orderno : "",
  3308. riskList: this.riskList,
  3309. carInfo: this.carInfo,
  3310. insuredPersonInfo: this.insuredPersonInfo,
  3311. ownerInfo: this.ownerInfo,
  3312. policyHolderInfo: this.policyHolderInfo,
  3313. vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
  3314. productId: this.productId,
  3315. orderSource: "1",
  3316. };
  3317. let orders = await this.$http.post('/insurance/order/generateOrder', param);
  3318. if (orders.code == '200') {
  3319. this.orderno = orders.data.orderno;
  3320. this.quoteno = orders.data.quoteno;
  3321. let mergedArray = [];
  3322. let mergedArrayList = mergedArray.concat(this.carInfoPositiveList, this
  3323. .ownerInfoPositiveList, this
  3324. .policyHolderInfoPositiveList, this.insuredPersonInfoPositiveList)
  3325. if (mergedArrayList.length > 0) {
  3326. await this.$http.post('/ins/taskImage/uploadImages', {
  3327. imageList: mergedArrayList,
  3328. quoteNo: this.quoteno,
  3329. })
  3330. }
  3331. this.quotableCompanyList = this.quotableCompanyList.map((ele, index) => {
  3332. if (ele.insurancePlanInfo !== null) {
  3333. // 动态调用报价接口
  3334. ele.quoteCode = '1';
  3335. this.ToolClickFun(ele.cnName, index, ele.id);
  3336. }
  3337. return ele
  3338. });
  3339. } else if (orders.code == '1001') {
  3340. this.Generateshow = true;
  3341. } else {
  3342. uni.showToast({
  3343. title: orders.msg,
  3344. icon: 'none',
  3345. });
  3346. }
  3347. } else {
  3348. uni.showToast({
  3349. title: "请选择方案后,在进行报价",
  3350. icon: 'none',
  3351. });
  3352. }
  3353. },
  3354. async tempSave() {
  3355. let param = {
  3356. userId: this.userInfo.sysUser.id,
  3357. quoteno: this.quoteno ? this.quoteno : "",
  3358. orderNo: this.orderno ? this.orderno : "",
  3359. riskList: this.riskList,
  3360. carInfo: this.carInfo,
  3361. insuredPersonInfo: this.insuredPersonInfo,
  3362. ownerInfo: this.ownerInfo,
  3363. policyHolderInfo: this.policyHolderInfo,
  3364. vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
  3365. productId: this.productId,
  3366. orderSource: "1",
  3367. };
  3368. let orders = await this.$http.post('/insurance/order/generateOrder', param);
  3369. if (orders.code == '200') {
  3370. uni.showToast({
  3371. title: '暂存成功',
  3372. icon: 'none',
  3373. });
  3374. } else {
  3375. uni.showToast({
  3376. title: res.msg,
  3377. icon: 'none',
  3378. });
  3379. }
  3380. },
  3381. async individualQuote(item) {
  3382. if (!item.insurancePlanInfo) {
  3383. uni.showToast({
  3384. title: "请选择方案后,在进行报价",
  3385. icon: 'none',
  3386. });
  3387. } else {
  3388. this.riskList.map(val => {
  3389. if (val.riskCode == '0507') {
  3390. val.startDate = this.jqstartDate;
  3391. val.endDate = this.jqendDate;
  3392. }
  3393. if (val.riskCode == '0510') {
  3394. val.startDate = this.systartDate;
  3395. val.endDate = this.syendDate;
  3396. }
  3397. return val;
  3398. })
  3399. let param = {
  3400. userId: this.userInfo.sysUser.id,
  3401. quoteno: this.quoteno ? this.quoteno : "",
  3402. orderNo: this.orderno ? this.orderno : "",
  3403. riskList: this.riskList,
  3404. carInfo: this.carInfo,
  3405. insuredPersonInfo: this.insuredPersonInfo,
  3406. ownerInfo: this.ownerInfo,
  3407. policyHolderInfo: this.policyHolderInfo,
  3408. vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
  3409. productId: this.productId,
  3410. orderSource: "1",
  3411. };
  3412. let orders = await this.$http.post('/insurance/order/generateOrder', param);
  3413. if (orders.code == '200') {
  3414. this.orderno = orders.data.orderno;
  3415. this.quoteno = orders.data.quoteno;
  3416. let mergedArray = [];
  3417. let mergedArrayList = mergedArray.concat(this.carInfoPositiveList, this
  3418. .ownerInfoPositiveList, this
  3419. .policyHolderInfoPositiveList, this.insuredPersonInfoPositiveList)
  3420. if (mergedArrayList.length > 0) {
  3421. await this.$http.post('/ins/taskImage/uploadImages', {
  3422. imageList: mergedArrayList,
  3423. quoteNo: this.quoteno,
  3424. })
  3425. }
  3426. this.quotableCompanyList = this.quotableCompanyList.map((ele, index) => {
  3427. if (ele.id == item.id) {
  3428. // 动态调用报价接口
  3429. ele.quoteCode = '1';
  3430. this.ToolClickFun(ele.cnName, index, ele.id);
  3431. }
  3432. return ele
  3433. });
  3434. } else if (orders.code == '1001') {
  3435. this.Generateshow = true;
  3436. } else {
  3437. uni.showToast({
  3438. title: orders.msg,
  3439. icon: 'none',
  3440. });
  3441. }
  3442. }
  3443. },
  3444. async ToolClickFun(MethodName, Parameter, companyId) {
  3445. await this[`${MethodName}`](Parameter, companyId)
  3446. //获取已报价成功个数
  3447. let filteredObjects = [];
  3448. this.quotableCompanyList.map(ele => {
  3449. if (ele.quoteCode == 200) {
  3450. filteredObjects.push(ele.result.companyId)
  3451. }
  3452. return ele;
  3453. })
  3454. this.comparableQuantity = filteredObjects.length;
  3455. },
  3456. //永诚报价
  3457. async yongcheng(num, id) {
  3458. let isTaxSource = this.quotableCompanyList[num].isTaxSource;
  3459. let ccidenttype = this.quotableCompanyList[num].cnName;
  3460. let params = {
  3461. accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
  3462. .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
  3463. orderNo: this.orderno,
  3464. companyId: id,
  3465. kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
  3466. risks: this.riskList,
  3467. cqryCdeJq: this.cqryCdeJq,
  3468. cqryCdeSy: this.cqryCdeSy,
  3469. renewalCodeJq: this.renewalCodeJq,
  3470. renewalCodeSy: this.renewalCodeSy,
  3471. isTaxSource: isTaxSource == 1 ? isTaxSource : null,
  3472. agreementId: this.quotableCompanyList[num].agreement[0].id,
  3473. systemType: '2'
  3474. };
  3475. try {
  3476. let res = await this.$http.post('/quote/quote', params);
  3477. this.quotableCompanyList[num].msg = res.msg;
  3478. if (res.code == "200") {
  3479. if (res.data.warnMessageList != null && res.data
  3480. .warnMessageList[0] != null && res.data
  3481. .warnMessageList[
  3482. 0] != "") {
  3483. this.quotableCompanyList[num].lastYearMsg = "";
  3484. let dat = res.data.warnMessageList;
  3485. dat.map(ele => {
  3486. this.quotableCompanyList[num].lastYearMsg += ele +
  3487. '<br>';
  3488. })
  3489. }
  3490. const updatedItem = {
  3491. ...this.quotableCompanyList[num],
  3492. quoteCode: 200
  3493. };
  3494. this.quotableCompanyList.splice(num, 1, updatedItem);
  3495. this.quotableCompanyList[num].result = res.data;
  3496. this.subOrderId = res.data.companyId;
  3497. } else {
  3498. const updatedItem = {
  3499. ...this.quotableCompanyList[num],
  3500. quoteCode: '3'
  3501. };
  3502. this.quotableCompanyList.splice(num, 1, updatedItem);
  3503. this.quotableCompanyList[num].msg = res.msg;
  3504. return;
  3505. }
  3506. } catch (error) {
  3507. const updatedItem = {
  3508. ...this.quotableCompanyList[num],
  3509. quoteCode: '3'
  3510. };
  3511. this.quotableCompanyList.splice(num, 1, updatedItem);
  3512. this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
  3513. }
  3514. },
  3515. //中煤报价
  3516. async zhongmei(num, id) {
  3517. let isTaxSource = this.quotableCompanyList[num].isTaxSource;
  3518. let params = {
  3519. accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
  3520. .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
  3521. orderNo: this.orderno,
  3522. companyId: id,
  3523. kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
  3524. risks: this.riskList,
  3525. agreementId: this.quotableCompanyList[num].agreement[0].id,
  3526. isTaxSource: isTaxSource == 1 ? isTaxSource : null,
  3527. systemType: '2'
  3528. };
  3529. try {
  3530. let res = await this.$http.post("/quote/quote", params);
  3531. this.quotableCompanyList[num].msg = res.msg;
  3532. if (res.code == '200') {
  3533. if (res.data.warnMessageList != null && res.data.warnMessageList[
  3534. 0] != null && res.data
  3535. .warnMessageList[
  3536. 0] != "") {
  3537. this.quotableCompanyList[num].lastYearMsg = "";
  3538. let dat = res.data.warnMessageList;
  3539. dat.map(ele => {
  3540. this.quotableCompanyList[num].lastYearMsg += ele +
  3541. '<br>';
  3542. })
  3543. }
  3544. const updatedItem = {
  3545. ...this.quotableCompanyList[num],
  3546. quoteCode: 200
  3547. };
  3548. this.quotableCompanyList.splice(num, 1, updatedItem);
  3549. this.quotableCompanyList[num].result = res.data;
  3550. this.subOrderId = res.data.companyId;
  3551. } else {
  3552. const updatedItem = {
  3553. ...this.quotableCompanyList[num],
  3554. quoteCode: '3'
  3555. };
  3556. this.quotableCompanyList.splice(num, 1, updatedItem);
  3557. this.quotableCompanyList[num].msg = res.msg;
  3558. return;
  3559. }
  3560. } catch (error) {
  3561. const updatedItem = {
  3562. ...this.quotableCompanyList[num],
  3563. quoteCode: '3'
  3564. };
  3565. this.quotableCompanyList.splice(num, 1, updatedItem);
  3566. this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
  3567. }
  3568. },
  3569. //渤海报价
  3570. async bohai(num, id) {
  3571. let isTaxSource = this.quotableCompanyList[num].isTaxSource;
  3572. let params = {
  3573. accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
  3574. .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
  3575. orderNo: this.orderno,
  3576. companyId: id,
  3577. kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
  3578. risks: this.riskList,
  3579. agreementId: this.quotableCompanyList[num].agreement[0].id,
  3580. isTaxSource: isTaxSource == 1 ? isTaxSource : null,
  3581. systemType: '2'
  3582. };
  3583. try {
  3584. let res = await this.$http.post('/quote/quote', params);
  3585. this.quotableCompanyList[num].msg = res.msg;
  3586. if (res.code == '200') {
  3587. if (res.data.warnMessageList != null && res.data.warnMessageList[
  3588. 0] != null && res.data
  3589. .warnMessageList[
  3590. 0] != "") {
  3591. this.quotableCompanyList[num].lastYearMsg = "";
  3592. let dat = res.data.warnMessageList;
  3593. dat.map(ele => {
  3594. this.quotableCompanyList[num].lastYearMsg += ele +
  3595. '<br>';
  3596. })
  3597. }
  3598. const updatedItem = {
  3599. ...this.quotableCompanyList[num],
  3600. quoteCode: 200
  3601. };
  3602. this.quotableCompanyList.splice(num, 1, updatedItem);
  3603. this.quotableCompanyList[num].result = res.data;
  3604. this.subOrderId = res.data.companyId;
  3605. } else {
  3606. const updatedItem = {
  3607. ...this.quotableCompanyList[num],
  3608. quoteCode: '3'
  3609. };
  3610. this.quotableCompanyList.splice(num, 1, updatedItem);
  3611. this.quotableCompanyList[num].msg = res.msg;
  3612. return;
  3613. }
  3614. } catch (error) {
  3615. const updatedItem = {
  3616. ...this.quotableCompanyList[num],
  3617. quoteCode: '3'
  3618. };
  3619. this.quotableCompanyList.splice(num, 1, updatedItem);
  3620. this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
  3621. }
  3622. },
  3623. //华泰报价
  3624. async huatai(num, id) {
  3625. let isTaxSource = this.quotableCompanyList[num].isTaxSource;
  3626. let params = {
  3627. accidentalDrivingVo: {},
  3628. orderNo: this.orderno,
  3629. companyId: id,
  3630. kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
  3631. risks: this.riskList,
  3632. cqryCdeJq: this.cqryCdeJq,
  3633. cqryCdeSy: this.cqryCdeSy,
  3634. renewalCodeJq: this.renewalCodeJq,
  3635. renewalCodeSy: this.renewalCodeSy,
  3636. isTaxSource: isTaxSource == 1 ? isTaxSource : null,
  3637. agreementId: this.quotableCompanyList[num].agreement[0].id,
  3638. systemType: '2'
  3639. };
  3640. try {
  3641. let res = await this.$http.post(
  3642. "/quote/quote", params);
  3643. this.quotableCompanyList[num].msg = res.msg;
  3644. if (res.code == '200') {
  3645. if (res.data.warnMessageList != null && res
  3646. .data.warnMessageList[0] != null && res
  3647. .data
  3648. .warnMessageList[
  3649. 0] != "") {
  3650. this.quotableCompanyList[num].lastYearMsg =
  3651. "";
  3652. let dat = res.data.warnMessageList;
  3653. dat.map(ele => {
  3654. this.quotableCompanyList[num]
  3655. .lastYearMsg += ele + '<br>';
  3656. })
  3657. }
  3658. const updatedItem = {
  3659. ...this.quotableCompanyList[num],
  3660. quoteCode: 200
  3661. };
  3662. this.quotableCompanyList.splice(num, 1, updatedItem);
  3663. this.quotableCompanyList[num].result = res.data;
  3664. this.subOrderId = res.data.companyId;
  3665. } else {
  3666. const updatedItem = {
  3667. ...this.quotableCompanyList[num],
  3668. quoteCode: '3'
  3669. };
  3670. this.quotableCompanyList.splice(num, 1, updatedItem);
  3671. this.quotableCompanyList[num].msg = res.msg;
  3672. return;
  3673. }
  3674. } catch (error) {
  3675. const updatedItem = {
  3676. ...this.quotableCompanyList[num],
  3677. quoteCode: '3'
  3678. };
  3679. this.quotableCompanyList.splice(num, 1, updatedItem);
  3680. this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
  3681. }
  3682. },
  3683. //紫金报价
  3684. async zijin(num, id) {
  3685. let isTaxSource = this.quotableCompanyList[num].isTaxSource;
  3686. let ccidenttype = this.quotableCompanyList[num].cnName;
  3687. let params = {
  3688. accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList,
  3689. orderNo: this.orderno,
  3690. companyId: id,
  3691. kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
  3692. risks: this.riskList,
  3693. agreementId: this.quotableCompanyList[num].agreement[0].id,
  3694. coefficient: this.quotableCompanyList[num].coefficient,
  3695. isTaxSource: isTaxSource == 1 ? isTaxSource : null,
  3696. systemType: '2'
  3697. };
  3698. try {
  3699. let res = await this.$http.post('/quote/quote', params);
  3700. this.quotableCompanyList[num].msg = res.msg;
  3701. if (res.code == '200') {
  3702. if (res.data.warnMessageList != null && res.data
  3703. .warnMessageList[0] != null && res.data
  3704. .warnMessageList[
  3705. 0] != "") {
  3706. this.quotableCompanyList[num].lastYearMsg = "";
  3707. let dat = res.data.warnMessageList;
  3708. dat.map(ele => {
  3709. this.quotableCompanyList[num].lastYearMsg +=
  3710. ele + '<br>';
  3711. })
  3712. }
  3713. const updatedItem = {
  3714. ...this.quotableCompanyList[num],
  3715. quoteCode: 200
  3716. };
  3717. this.quotableCompanyList.splice(num, 1, updatedItem);
  3718. this.quotableCompanyList[num].result = res.data;
  3719. this.subOrderId = res.data.companyId;
  3720. } else {
  3721. const updatedItem = {
  3722. ...this.quotableCompanyList[num],
  3723. quoteCode: '3'
  3724. };
  3725. this.quotableCompanyList.splice(num, 1, updatedItem);
  3726. this.quotableCompanyList[num].msg = res.msg;
  3727. return;
  3728. }
  3729. } catch (error) {
  3730. const updatedItem = {
  3731. ...this.quotableCompanyList[num],
  3732. quoteCode: '3'
  3733. };
  3734. this.quotableCompanyList.splice(num, 1, updatedItem);
  3735. this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
  3736. }
  3737. },
  3738. //国任报价
  3739. async guoRen(num, id) {
  3740. let isTaxSource = this.quotableCompanyList[num].isTaxSource;
  3741. let ccidenttype = this.quotableCompanyList[num].cnName;
  3742. let params = {
  3743. accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
  3744. .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
  3745. orderNo: this.orderno,
  3746. companyId: id,
  3747. kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
  3748. risks: this.riskList,
  3749. agreementId: this.quotableCompanyList[num].agreement[0].id,
  3750. isTaxSource: isTaxSource == 1 ? isTaxSource : null,
  3751. guoRenSpecialAgreementVo: this.guoRenSpecialAgreementVo,
  3752. systemType: '2'
  3753. };
  3754. try {
  3755. let res = await this.$http.post('/quote/quote',
  3756. params);
  3757. this.quotableCompanyList[num].msg = res.msg;
  3758. if (res.code == '200') {
  3759. if (res.data.warnMessageList != null && res.data
  3760. .warnMessageList[0] != null && res.data
  3761. .warnMessageList[
  3762. 0] != "") {
  3763. this.quotableCompanyList[num].lastYearMsg = "";
  3764. let dat = res.data.warnMessageList;
  3765. dat.map(ele => {
  3766. this.quotableCompanyList[num]
  3767. .lastYearMsg += ele + '<br>';
  3768. })
  3769. }
  3770. const updatedItem = {
  3771. ...this.quotableCompanyList[num],
  3772. quoteCode: 200
  3773. };
  3774. this.quotableCompanyList.splice(num, 1, updatedItem);
  3775. this.quotableCompanyList[num].result = res.data;
  3776. this.subOrderId = res.data.companyId;
  3777. } else {
  3778. const updatedItem = {
  3779. ...this.quotableCompanyList[num],
  3780. quoteCode: '3'
  3781. };
  3782. this.quotableCompanyList.splice(num, 1, updatedItem);
  3783. this.quotableCompanyList[num].msg = res.msg;
  3784. return;
  3785. }
  3786. } catch (error) {
  3787. const updatedItem = {
  3788. ...this.quotableCompanyList[num],
  3789. quoteCode: '3'
  3790. };
  3791. this.quotableCompanyList.splice(num, 1, updatedItem);
  3792. this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
  3793. }
  3794. },
  3795. //大家报价
  3796. async dajia(num, id) {
  3797. let isTaxSource = this.quotableCompanyList[num].isTaxSource;
  3798. let ccidenttype = this.quotableCompanyList[num].cnName;
  3799. let params = {
  3800. accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
  3801. .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
  3802. orderNo: this.orderno,
  3803. companyId: id,
  3804. kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
  3805. risks: this.riskList,
  3806. cqryCdeJq: this.cqryCdeJq,
  3807. cqryCdeSy: this.cqryCdeSy,
  3808. renewalCodeJq: this.renewalCodeJq,
  3809. renewalCodeSy: this.renewalCodeSy,
  3810. isTaxSource: isTaxSource == 1 ? isTaxSource : null,
  3811. agreementId: this.quotableCompanyList[num].agreement[0].id,
  3812. systemType: '2'
  3813. };
  3814. try {
  3815. let res = await this.$http.post("/quote/quote",
  3816. params);
  3817. this.quotableCompanyList[num].msg = res.msg;
  3818. if (res.code == '200') {
  3819. if (res.data.warnMessageList != null && res.data
  3820. .warnMessageList[0] != null && res.data
  3821. .warnMessageList[
  3822. 0] != "") {
  3823. this.quotableCompanyList[num].lastYearMsg = "";
  3824. let dat = res.data.warnMessageList;
  3825. dat.map(ele => {
  3826. this.quotableCompanyList[num]
  3827. .lastYearMsg += ele + '<br>';
  3828. })
  3829. }
  3830. const updatedItem = {
  3831. ...this.quotableCompanyList[num],
  3832. quoteCode: 200
  3833. };
  3834. this.quotableCompanyList.splice(num, 1, updatedItem);
  3835. this.quotableCompanyList[num].result = res.data;
  3836. this.subOrderId = res.data.companyId;
  3837. } else {
  3838. const updatedItem = {
  3839. ...this.quotableCompanyList[num],
  3840. quoteCode: '3'
  3841. };
  3842. this.quotableCompanyList.splice(num, 1, updatedItem);
  3843. this.quotableCompanyList[num].msg = res.msg;
  3844. return;
  3845. }
  3846. } catch (error) {
  3847. const updatedItem = {
  3848. ...this.quotableCompanyList[num],
  3849. quoteCode: '3'
  3850. };
  3851. this.quotableCompanyList.splice(num, 1, updatedItem);
  3852. this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
  3853. }
  3854. },
  3855. //安盛天平
  3856. ansheng(num, id) {
  3857. this.quoteInsurance(num, id);
  3858. },
  3859. //华农
  3860. huanong(num, id) {
  3861. this.quoteInsurance(num, id);
  3862. },
  3863. //太平
  3864. taiping(num, id) {
  3865. this.quoteInsurance(num, id);
  3866. },
  3867. //众安
  3868. zhongan(num, id) {
  3869. this.quoteInsurance(num, id);
  3870. },
  3871. //人寿
  3872. renshou(num, id) {
  3873. this.quoteInsurance(num, id);
  3874. },
  3875. //恒邦
  3876. hengbang(num, id) {
  3877. this.quoteInsurance(num, id);
  3878. },
  3879. taikang(num, id) {
  3880. this.quoteInsurance(num, id);
  3881. },
  3882. chengtai(num, id) {
  3883. this.quoteInsurance(num, id);
  3884. },
  3885. //爬虫统一报价接口
  3886. async quoteInsurance(num, id) {
  3887. const companyId = uni.getStorageSync('companyId');
  3888. let ccidenttype = this.quotableCompanyList[num]
  3889. .cnName;
  3890. let namesimple = this.quotableCompanyList[num]
  3891. .namesimple;
  3892. let isTaxSource = this.quotableCompanyList[num].isTaxSource;
  3893. let params = {
  3894. orderNo: this.orderno,
  3895. companyId: id,
  3896. agreementId: this.quotableCompanyList[num].agreement[0].id,
  3897. kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
  3898. risks: this.riskList,
  3899. accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
  3900. .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
  3901. isTaxSource: isTaxSource == 1 ? isTaxSource : null,
  3902. systemType: '2'
  3903. };
  3904. if (id = 'GPIC1000000') {
  3905. if (companyId) {
  3906. params.discount = this.quotableCompanyList[num]
  3907. .syAdjustRate;
  3908. params.lastCompanyId = this.subOrderId;
  3909. }
  3910. }
  3911. if (namesimple == "诚泰财险") {
  3912. if (this.subOrderId && this.quotableCompanyList[num].coefficient && this.quotableCompanyList[num]
  3913. .discount) {
  3914. params.coefficient = this.quotableCompanyList[num].coefficient;
  3915. params.discount = this.quotableCompanyList[num].discount;
  3916. params.lastCompanyId = this.subOrderId;
  3917. }
  3918. params.isInspect = this.isInspectchange;
  3919. }
  3920. try {
  3921. let res = await this.$http.post('/quote/quote',
  3922. params);
  3923. switch (namesimple) {
  3924. case '安盛天平':
  3925. case '恒邦财险':
  3926. case '诚泰财险':
  3927. case '中国人寿':
  3928. case '太平财险':
  3929. case '华农财险':
  3930. case '泰康财险':
  3931. if (res.code == '200') {
  3932. if (res.data.warnMessageList !=
  3933. null && res.data
  3934. .warnMessageList[0] != null &&
  3935. res.data
  3936. .warnMessageList[
  3937. 0] != "") {
  3938. this.quotableCompanyList[num]
  3939. .lastYearMsg = "";
  3940. let dat = res.data
  3941. .warnMessageList;
  3942. dat.map(ele => {
  3943. this.quotableCompanyList[
  3944. num]
  3945. .lastYearMsg +=
  3946. ele + '<br>';
  3947. })
  3948. }
  3949. const updatedItem = {
  3950. ...this.quotableCompanyList[num],
  3951. quoteCode: 200
  3952. };
  3953. this.quotableCompanyList.splice(num, 1, updatedItem);
  3954. this.quotableCompanyList[num].result =
  3955. res.data;
  3956. this.subOrderId = res.data.companyId;
  3957. if (res.data.syAdjustRate) {
  3958. this.quotableCompanyList[num].syAdjustRate = res.data.syAdjustRate;
  3959. uni.setStorageSync('companyId', res.data.companyId);
  3960. }
  3961. } else {
  3962. const updatedItem = {
  3963. ...this.quotableCompanyList[num],
  3964. quoteCode: '3'
  3965. };
  3966. this.quotableCompanyList.splice(num, 1, updatedItem);
  3967. this.quotableCompanyList[num].msg =
  3968. res.msg;
  3969. }
  3970. break;
  3971. case '众安财险':
  3972. if (res.code == '200') {
  3973. if (res.data.warnMessageList !=
  3974. null && res.data
  3975. .warnMessageList[0] != null &&
  3976. res.data
  3977. .warnMessageList[
  3978. 0] != "") {
  3979. this.quotableCompanyList[num]
  3980. .lastYearMsg = "";
  3981. let dat = res.data
  3982. .warnMessageList;
  3983. dat.map(ele => {
  3984. this.quotableCompanyList[
  3985. num]
  3986. .lastYearMsg +=
  3987. ele + '<br>';
  3988. })
  3989. }
  3990. const updatedItem = {
  3991. ...this.quotableCompanyList[num],
  3992. quoteCode: 200
  3993. };
  3994. this.quotableCompanyList.splice(num, 1, updatedItem);
  3995. this.quotableCompanyList[num].result =
  3996. res.data;
  3997. this.subOrderId = res.data.companyId;
  3998. } else {
  3999. const updatedItem = {
  4000. ...this.quotableCompanyList[num],
  4001. quoteCode: '3'
  4002. };
  4003. this.quotableCompanyList.splice(num, 1, updatedItem);
  4004. this.quotableCompanyList[num].msg =
  4005. res.msg;
  4006. }
  4007. break;
  4008. default:
  4009. break;
  4010. }
  4011. } catch (error) {
  4012. const updatedItem = {
  4013. ...this.quotableCompanyList[num],
  4014. quoteCode: '3'
  4015. };
  4016. this.quotableCompanyList.splice(num, 1, updatedItem);
  4017. this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
  4018. }
  4019. },
  4020. // 可删
  4021. confirmPlan(name) {
  4022. this.quotableCompanyList.map(val => {
  4023. if (val.id == this.planDataExpansion.id) {
  4024. if (this.planDataExpansion.genericPlanInfo.schemeName !== '自选方案') {
  4025. val.insurancePlanInfo = this.planDataExpansion.genericPlanInfo;
  4026. } else {
  4027. let objkindList = [];
  4028. val.insurancePlanInfo = this.planDataExpansion.genericPlanInfo;
  4029. val.insurancePlanInfo.kinds.map((ele, index) => {
  4030. if (ele.amount != "0" && ["A"].includes(ele.kindCode)) {
  4031. objkindList.push({
  4032. amount: val.insurancePlanInfo.kinds[index].amount,
  4033. kindCode: val.insurancePlanInfo.kinds[index].kindCode,
  4034. kindName: val.insurancePlanInfo.kinds[index].kindName
  4035. });
  4036. } else if (ele.amount != "0" && ["SY_FJ_YBW2", "D4"].includes(ele
  4037. .kindCode)) {
  4038. objkindList.push({
  4039. unitAmount: val.insurancePlanInfo.kinds[index].amount,
  4040. kindCode: val.insurancePlanInfo.kinds[index].kindCode,
  4041. kindName: val.insurancePlanInfo.kinds[index].kindName
  4042. });
  4043. } else if (ele.amount != "0" && ["MJ1", "MJ2", "MJ3", "MJ4"].includes(ele
  4044. .kindCode)) {
  4045. objkindList.push({
  4046. deductibleRate: val.insurancePlanInfo.kinds[index].amount,
  4047. kindCode: val.insurancePlanInfo.kinds[index].kindCode,
  4048. kindName: val.insurancePlanInfo.kinds[index].kindName
  4049. });
  4050. } else if (ele.amount != "0" && ["TY1", "TY2", "TY3", "TY4"].includes(ele
  4051. .kindCode)) {
  4052. objkindList.push({
  4053. serviceTimes: String(val.insurancePlanInfo.kinds[index]
  4054. .amount),
  4055. kindCode: val.insurancePlanInfo.kinds[index].kindCode,
  4056. kindName: val.insurancePlanInfo.kinds[index].kindName
  4057. });
  4058. } else if (ele.amount != "0") {
  4059. objkindList.push({
  4060. amount: val.insurancePlanInfo.kinds[index].amount,
  4061. kindCode: val.insurancePlanInfo.kinds[index].kindCode,
  4062. kindName: val.insurancePlanInfo.kinds[index].kindName
  4063. });
  4064. }
  4065. return ele;
  4066. })
  4067. val.insurancePlanInfo.kinds = objkindList;
  4068. if (this[name + 'accidentalDrivingVo'] instanceof Array && this[name +
  4069. 'accidentalDrivingVo'].length > 0) {
  4070. val.insurancePlanInfo.drivingList = this[name + 'accidentalDrivingVo'];
  4071. } else if (this[name + 'accidentalDrivingVo'].projectName) {
  4072. val.insurancePlanInfo.drivingList = [this[name + 'accidentalDrivingVo']];
  4073. }
  4074. }
  4075. if (!val.insurancePlanInfo.schemeName) {
  4076. return uni.showToast({
  4077. icon: "none",
  4078. title: '未选中方案',
  4079. })
  4080. }
  4081. this.genericPlanPopup = false;
  4082. }
  4083. return val;
  4084. })
  4085. },
  4086. convertedValue(num) {
  4087. if (num < 10000) {
  4088. return num.toString();
  4089. } else if (num < 100000000) {
  4090. return (Math.floor(num / 10000 * 10) / 10) + '万';
  4091. } else {
  4092. return (Math.floor(num / 100000000 * 10) / 10) + '亿';
  4093. }
  4094. },
  4095. riskTypeEchoProcessing(code) {
  4096. this.riskList = [];
  4097. switch (code) {
  4098. case '0330':
  4099. this.riskList.push({
  4100. amount: 0,
  4101. endDate: this.jqendDate,
  4102. instantFlag: "0",
  4103. premium: 0,
  4104. riskCode: "0507",
  4105. startDate: this.jqstartDate,
  4106. })
  4107. break;
  4108. case '034001':
  4109. case '034002':
  4110. this.riskList.push({
  4111. amount: 0,
  4112. endDate: this.syendDate,
  4113. instantFlag: "0",
  4114. premium: 0,
  4115. riskCode: "0510",
  4116. startDate: this.systartDate,
  4117. })
  4118. break;
  4119. case '0330034002':
  4120. case '0330034001':
  4121. this.riskList.push({
  4122. amount: 0,
  4123. endDate: this.jqendDate,
  4124. instantFlag: "0",
  4125. premium: 0,
  4126. riskCode: "0507",
  4127. startDate: this.jqstartDate,
  4128. }, {
  4129. amount: 0,
  4130. endDate: this.syendDate,
  4131. instantFlag: "0",
  4132. premium: 0,
  4133. riskCode: "0510",
  4134. startDate: this.systartDate,
  4135. })
  4136. break;
  4137. }
  4138. },
  4139. //查看详情
  4140. querydetial(id, cnName) {
  4141. this.navigate({
  4142. url: '/pages/carInsure/quoteDetail',
  4143. success: (res) => {
  4144. res.eventChannel.emit("acceptData", {
  4145. companyId: id,
  4146. cnName: cnName,
  4147. quotableCompanyList: this.quotableCompanyList,
  4148. })
  4149. }
  4150. }, "navigateTo", true);
  4151. },
  4152. //报价单
  4153. bjdpreview(id) {
  4154. let pro = this.quotationType.themeCode;
  4155. if (pro == "QD") {
  4156. uni.navigateTo({
  4157. url: "/pages/orders/quotation?companyId=" + id
  4158. })
  4159. } else {
  4160. uni.navigateTo({
  4161. url: "/pages/orders/quotation1?companyId=" + id
  4162. })
  4163. }
  4164. },
  4165. //预核保信息
  4166. preUnderwriting(list) {
  4167. this.RSpreUnderwritingList = list;
  4168. this.preUnderwritingshow = true;
  4169. },
  4170. //上年信息
  4171. YearMsg(msg, title) {
  4172. let content = msg.replace(/<br>/g, "\r\n")
  4173. uni.showModal({
  4174. title: title + "上年信息",
  4175. content: content,
  4176. showCancel: false,
  4177. confirmText: "关闭"
  4178. })
  4179. },
  4180. // 显示报错信息
  4181. ErrorMsg(msg, title) {
  4182. uni.showModal({
  4183. title: title + "报价提示",
  4184. content: msg,
  4185. showCancel: false,
  4186. confirmText: "关闭"
  4187. })
  4188. },
  4189. discountErrorMessageMsg(msg, title) {
  4190. this.discountInfoPopup = true;
  4191. this.discountInfoPopupContent = msg.replace(/\n/g, '<br>');
  4192. this.discountInfoPopupTitle = title;
  4193. // let content = msg.replace(/\n/g, "\r\n")
  4194. // uni.showModal({
  4195. // title: title + "优惠信息",
  4196. // content: content,
  4197. // showCancel: false,
  4198. // confirmText: "关闭"
  4199. // })
  4200. },
  4201. //使用此时间
  4202. syncData(item) {
  4203. this.jqstartDate = item.startDateJq ? item
  4204. .startDateJq : this.jqstartDate
  4205. this.jqendDate = item.endDateJq ? item
  4206. .endDateJq : this.endDateJq
  4207. this.systartDate = item.startDateSy ? item
  4208. .startDateSy : this.systartDate
  4209. this.syendDate = item.endDateSy ? item
  4210. .endDateSy : this.syendDate
  4211. uni.showToast({
  4212. title: '时间已替换',
  4213. icon: 'none',
  4214. duration: 1000
  4215. });
  4216. },
  4217. //车船税类型选择
  4218. taxRelifFlagConfirm(val, name) {
  4219. this.vehicleAndVesselTaxForm[name] = val[0].value;
  4220. this.model[name] = val[0].label;
  4221. },
  4222. taxDocumentDateconfirm(e) {
  4223. this.vehicleAndVesselTaxForm.taxDocumentDate = e.year + '-' + e.month + '-' + e.day;
  4224. },
  4225. taxPaidAreaCodeconfirm(e) {
  4226. this.vehicleAndVesselTaxForm.taxPaidAreaCode = e.province.value;
  4227. this.model.taxPaidAreaCode = e.province.label;
  4228. },
  4229. //数据字典
  4230. async getDicType(type) {
  4231. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  4232. this[type + "options"] = res.data.ddList;
  4233. },
  4234. jqstartconfirm(e) {
  4235. this.jqstartDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
  4236. this.jqendDate = this.oneYearPast(this.jqstartDate)
  4237. },
  4238. //
  4239. jqendconfirm(e) {
  4240. this.jqendDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
  4241. },
  4242. systartconfirm(e) {
  4243. this.systartDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
  4244. this.syendDate = this.oneYearPast(this.systartDate)
  4245. },
  4246. syendconfirm(e) {
  4247. this.syendDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
  4248. },
  4249. statusclick(value) {
  4250. this.SelectedPlanId = value;
  4251. let planObj = this.planDataExpansion.genericPlanList.find(item => item.schemeId == value);
  4252. console.log(planObj);
  4253. if (planObj.kinds && planObj.schemeName == '自选方案') {
  4254. planObj.kinds.map(item => {
  4255. const itemamtList = item.amtList.map(val => {
  4256. return val.label
  4257. })
  4258. if (!itemamtList.includes('不投保')) {
  4259. item.amount = item.amtList[0].value;
  4260. item.amountDesc = item.amtList[0].label;
  4261. }
  4262. return item;
  4263. })
  4264. }
  4265. this.planDataExpansion.genericPlanInfo = planObj;
  4266. },
  4267. InsureGuideclick(item) {
  4268. this.insGuide = item.insGuide;
  4269. this.insGuideTitle = item.namesimple;
  4270. this.InsureGuidePopup = true;
  4271. },
  4272. // 可删
  4273. async accidentCategoryclick(item, items, index) {
  4274. this.accidentInsuranceCategoryList[index].checked = !this.accidentInsuranceCategoryList[index].checked;
  4275. if (this.accidentInsuranceCategoryList[index].checked) {
  4276. let res = await this.$http.get('/plt/scheme/optionalSchemeDriving?schemeId=' + this
  4277. .SelectedPlanId + '&seatNum=' + this.carInfo.seatCount)
  4278. switch (items.namesimple) {
  4279. case '安盛天平':
  4280. case '国任财险':
  4281. case '大家财险':
  4282. case '永诚财险':
  4283. case '恒邦财险':
  4284. case '诚泰财险':
  4285. case '中煤财险':
  4286. case '泰康财险':
  4287. case '渤海财险':
  4288. case '众安财险':
  4289. case '太平财险':
  4290. case '华农财险':
  4291. case '中国人寿':
  4292. if (res.data.length > 0) {
  4293. this[items.cnName + 'InsuranceData'] = res.data; //意外险list
  4294. this[items.cnName + 'accidentalDrivingVo'] = {
  4295. typeName: item.typeName,
  4296. ...res.data[0]
  4297. };
  4298. } else {
  4299. uni.showToast({
  4300. title: "驾意险为空",
  4301. icon: 'none',
  4302. });
  4303. }
  4304. break;
  4305. case '紫金财险':
  4306. this[items.cnName + 'InsuranceData'] = res.data; //意外险list
  4307. this[items.cnName + 'accidentalDrivingVo'] = [];
  4308. break;
  4309. }
  4310. } else {
  4311. if (items.namesimple == '紫金财险') {
  4312. this[items.cnName + 'InsuranceData'] = [];
  4313. this[items.cnName + 'accidentalDrivingVo'] = []
  4314. } else {
  4315. this[items.cnName + 'accidentalDrivingVo'] = {}
  4316. }
  4317. }
  4318. },
  4319. //查看方案
  4320. checkSelection(item) {
  4321. this.navigate({
  4322. url: '/pages/carInsure/checkOption',
  4323. success: (res) => {
  4324. res.eventChannel.emit("acceptData", {
  4325. item: item,
  4326. seatNum: this.carInfo.seatCount,
  4327. jqstartDate: this.jqstartDate,
  4328. jqendDate: this.jqendDate,
  4329. systartDate: this.systartDate,
  4330. syendDate: this.syendDate,
  4331. productName: this.productName,
  4332. productId: this.productId,
  4333. taxRelifFlag: this.model.taxRelifFlag,
  4334. })
  4335. }
  4336. }, "navigateTo", true);
  4337. },
  4338. //选择方案
  4339. async SchemeSelection(item) {
  4340. this.navigate({
  4341. url: '/pages/carInsure/chooseOption',
  4342. success: (res) => {
  4343. res.eventChannel.emit("acceptData", {
  4344. params: {
  4345. companyId: item.id,
  4346. productId: this.productId,
  4347. seatNum: this.carInfo.seatCount,
  4348. vehicleType: this.carInfo.cimodelclass,
  4349. energyType: this.carInfo.energyType,
  4350. carnature: this.carInfo.carnature,
  4351. },
  4352. namesimple: item.namesimple,
  4353. cnName: item.cnName,
  4354. jqstartDate: this.jqstartDate,
  4355. jqendDate: this.jqendDate,
  4356. systartDate: this.systartDate,
  4357. syendDate: this.syendDate,
  4358. productName: this.productName,
  4359. quotableCompanyList: this.quotableCompanyList,
  4360. })
  4361. }
  4362. }, "navigateTo", true);
  4363. // let params = {
  4364. // companyId: item.id,
  4365. // productId: this.productId,
  4366. // seatNum: this.carInfo.seatCount,
  4367. // vehicleType: this.carInfo.cimodelclass,
  4368. // energyType: this.carInfo.energyType,
  4369. // carnature: this.carInfo.carnature,
  4370. // };
  4371. // let res = await this.$http.post('/plt/scheme/getCompanySchemeInfo', params);
  4372. // let res1 = await this.$http.post('/plt/scheme/getCompanyOptionalSchemeInfo', params);
  4373. // let typelist = [];
  4374. // this.planDataExpansion.id = item.id;
  4375. // this.planDataExpansion.namesimple = item.namesimple;
  4376. // this.planDataExpansion.cnName = item.cnName;
  4377. // if (res.code == '200' && res.data.length > 0) {
  4378. // this.planDataExpansion.genericPlanList = [...res.data];
  4379. // this.planDataExpansion.genericPlanInfo = res.data[0];
  4380. // this.SelectedPlanId = res.data[0].schemeId;
  4381. // } else {
  4382. // this.planDataExpansion.genericPlanList = [];
  4383. // this.planDataExpansion.genericPlanInfo = {};
  4384. // this.SelectedPlanId = "";
  4385. // }
  4386. // if (res1.code == '200') {
  4387. // this.planDataExpansion.genericPlanList = [...res.data, res1.data];
  4388. // res1.data.drivingTypeList.map(val => {
  4389. // if (val.children) {
  4390. // val.children.map(ele => {
  4391. // typelist.push(ele)
  4392. // return ele
  4393. // })
  4394. // }
  4395. // })
  4396. // } else {
  4397. // this.planDataExpansion.genericPlanList = [...res.data];
  4398. // }
  4399. // this.accidentInsuranceCategoryList = typelist;
  4400. // this.genericPlanPopup = true;
  4401. },
  4402. //即使投保时处理时间
  4403. datelyClick(value, name, startDate, endDate) {
  4404. this[name] = value;
  4405. if (value == 1) {
  4406. const date = new Date();
  4407. date.setHours(date.getHours() + 2);
  4408. date.setMinutes(0)
  4409. date.setSeconds(0)
  4410. this[startDate] = this.transformTime(date)
  4411. this[endDate] = this.oneYearPast(date);
  4412. } else {
  4413. this[startDate] = this.nextday();
  4414. this[endDate] = this.oneYearPast(this.jqstartDate);
  4415. }
  4416. },
  4417. //获取保险公司列表
  4418. commpanyList() {
  4419. let list = [];
  4420. this.quotableCompanyList.map(ele => {
  4421. ele["result"] = {};
  4422. ele["quoteCode"] = 0;
  4423. ele["checked"] = false;
  4424. ele["msg"] = "";
  4425. ele["lastYearMsg"] = "";
  4426. ele["agreementName"] = "";
  4427. ele["apiType"] = "";
  4428. ele["coefficient"] = "";
  4429. ele["discount"] = "";
  4430. ele["isInspect"] = false;
  4431. ele["syAdjustRate"] = "";
  4432. ele["selectShow"] = false;
  4433. ele['underwritingDescription'] = "";
  4434. ele['isComparableShow'] = false;
  4435. ele['isComparableshowHide'] = false;
  4436. ele['isComparableDisabled'] = false;
  4437. ele['insurancePlanInfo'] = null;
  4438. if (ele.editingDto) {
  4439. if (ele.editingDto.sumPermium) {
  4440. ele.result = ele.editingDto;
  4441. ele.insurancePlanInfo = {};
  4442. ele.insurancePlanInfo.drivingList = ele.editingDto.drivingList;
  4443. ele.insurancePlanInfo.kinds = ele.editingDto.kindList;
  4444. ele.quoteCode = 200;
  4445. list.push(1);
  4446. } else {
  4447. ele.msg = ele.editingDto.quoteErrMsg;
  4448. ele.insurancePlanInfo = {};
  4449. ele.insurancePlanInfo.drivingList = ele.editingDto.drivingList;
  4450. ele.insurancePlanInfo.kinds = ele.editingDto.kindList;
  4451. ele.quoteCode = 3;
  4452. }
  4453. }
  4454. return ele;
  4455. })
  4456. this.comparableQuantity = list.length;
  4457. },
  4458. priceComparisonChange(index, item) {
  4459. if (!item.isComparableDisabled) {
  4460. item.isComparableShow = !item.isComparableShow;
  4461. if (item.isComparableShow) {
  4462. this.selectedCount++;
  4463. } else {
  4464. this.selectedCount--;
  4465. }
  4466. this.updateCheckboxStates();
  4467. }
  4468. },
  4469. updateCheckboxStates() {
  4470. this.quotableCompanyList.forEach(item => {
  4471. item.isComparableDisabled = this.selectedCount >= 3 && !item.isComparableShow;
  4472. });
  4473. },
  4474. immediatelyClick(name) {
  4475. this.carInfo[name] = !this.carInfo[name];
  4476. if (name == 'transferFlag') {
  4477. if (this.carInfo[name]) {
  4478. this.carInfo.transferDate = this.carInfo.issueDate;
  4479. } else {
  4480. this.carInfo.transferDate = "";
  4481. }
  4482. }
  4483. },
  4484. toCarInfo() {
  4485. this.navigate({
  4486. url: '/pages/carInsure/Information',
  4487. success: (res) => {
  4488. res.eventChannel.emit(
  4489. "acceptData", {
  4490. carInfo: this
  4491. .carInfo,
  4492. ownerInfo: this
  4493. .ownerInfo,
  4494. policyHolderInfo: this
  4495. .policyHolderInfo,
  4496. insuredPersonInfo: this
  4497. .insuredPersonInfo,
  4498. riskList: this
  4499. .riskList,
  4500. kindList: this
  4501. .kindList,
  4502. carInfoPositiveList: this
  4503. .carInfoPositiveList, //车辆
  4504. ownerInfoPositiveList: this
  4505. .ownerInfoPositiveList, //车主
  4506. policyHolderInfoPositiveList: this
  4507. .policyHolderInfoPositiveList, //投保
  4508. insuredPersonInfoPositiveList: this
  4509. .insuredPersonInfoPositiveList, //被保人
  4510. productId: this.productId, //险种id
  4511. productName: this.productName, //险种名称
  4512. quoteno: this.quoteno, //报价号
  4513. })
  4514. }
  4515. }, "navigateTo", true);
  4516. },
  4517. //计算输入时间一年后的的前一天(输入的参数为字符串("2019-03-02")最终输出也为日期的字符串)
  4518. oneYearPast(time) {
  4519. var date = new Date(time);
  4520. date.setSeconds(date.getSeconds() - 1);
  4521. date.setFullYear(date.getFullYear() + 1); //一年后
  4522. date.setTime(date.getTime()); //一年后的前一天
  4523. var strYear = date.getFullYear();
  4524. var strDay = date.getDate();
  4525. var strMonth = date.getMonth() + 1;
  4526. var hh = date.getHours();
  4527. var minutes = date.getMinutes(); // 分
  4528. var Seconds = date.getSeconds();
  4529. if (hh < 10) {
  4530. hh = "0" + hh;
  4531. }
  4532. if (minutes < 10) {
  4533. minutes = "0" + minutes;
  4534. }
  4535. if (Seconds < 10) {
  4536. Seconds = "0" + Seconds;
  4537. }
  4538. if (strMonth < 10) {
  4539. strMonth = "0" + strMonth;
  4540. }
  4541. if (strDay < 10) {
  4542. strDay = "0" + strDay;
  4543. }
  4544. var datastr =
  4545. strYear + "-" + strMonth + "-" + strDay + " " + hh + ":" + minutes + ":" + Seconds;
  4546. return datastr;
  4547. },
  4548. //次日
  4549. nextday() {
  4550. var date = new Date();
  4551. date.setFullYear(date.getFullYear());
  4552. date.setTime(date.getTime() + 24 * 60 * 60 * 1000);
  4553. var strYear = date.getFullYear();
  4554. var strDay = date.getDate();
  4555. var strMonth = date.getMonth() + 1;
  4556. var hh = date.getHours();
  4557. if (hh < 10) {
  4558. hh = "0" + hh;
  4559. }
  4560. if (strMonth < 10) {
  4561. strMonth = "0" + strMonth;
  4562. }
  4563. if (strDay < 10) {
  4564. strDay = "0" + strDay;
  4565. }
  4566. var datastr = strYear + "-" + strMonth + "-" + strDay + " " + "00:00:00";
  4567. return datastr;
  4568. },
  4569. //时间转换
  4570. transformTime(date) {
  4571. var d = new Date(date);
  4572. var strYear = d.getFullYear();
  4573. var strMonth = d.getMonth() + 1;
  4574. var strDay = d.getDate();
  4575. var hh = d.getHours();
  4576. var minutes = d.getMinutes(); // 分
  4577. var Seconds = d.getSeconds();
  4578. if (hh < 10) {
  4579. hh = "0" + hh;
  4580. }
  4581. if (minutes < 10) {
  4582. minutes = "0" + minutes;
  4583. }
  4584. if (Seconds < 10) {
  4585. Seconds = "0" + Seconds;
  4586. }
  4587. if (strMonth < 10) {
  4588. strMonth = "0" + strMonth;
  4589. }
  4590. if (strDay < 10) {
  4591. strDay = "0" + strDay;
  4592. }
  4593. var datetime =
  4594. strYear + "-" + strMonth + "-" + strDay + " " + hh + ":" + minutes + ":" + Seconds;
  4595. return datetime;
  4596. },
  4597. toChinesNum(num) {
  4598. let overWan = Math.floor(num / 10000);
  4599. let result = overWan + "万";
  4600. return result;
  4601. },
  4602. resubmitImageconfirm() {
  4603. this.uploadRetry();
  4604. this.resubmitDocumentsShow = false;
  4605. },
  4606. //影像预览
  4607. previewImage(e, type) {
  4608. this.previewImgs = this[type];
  4609. var current = e.currentTarget.dataset.src;
  4610. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  4611. },
  4612. //删除图片
  4613. delCheckImage(param, IdList, srcList) {
  4614. this[IdList].map((ele, index) => {
  4615. if (param.imageId === ele.imageId) {
  4616. this[IdList].splice(index, 1);
  4617. }
  4618. return ele;
  4619. });
  4620. this[srcList].map((ele, index) => {
  4621. if (param.imageId === ele.imageId) {
  4622. this[srcList].splice(index, 1);
  4623. }
  4624. return ele;
  4625. });
  4626. },
  4627. async chooseImage(type, imageIdList, imgurl) {
  4628. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  4629. count: 1,
  4630. sizeType: ['compressed']
  4631. });
  4632. chooseImageRes.tempFilePaths.map((ele, index) => {
  4633. uni.uploadFile({
  4634. url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
  4635. filePath: ele,
  4636. name: "multipartFile",
  4637. formData: {
  4638. 'type': 'image',
  4639. },
  4640. header: {
  4641. Authorization: this.token,
  4642. },
  4643. success: async (imgRes) => {
  4644. let data = JSON.parse(imgRes.data);
  4645. data.data.url = this.$base.baseUrl + data.data.url;
  4646. if (data.code == "200") {
  4647. if (this[imageIdList].some(v => v.imageType == type)) {
  4648. this[imageIdList].map(val => {
  4649. if (val.imageType == type) {
  4650. val.imageId = data.data.id;
  4651. }
  4652. })
  4653. } else {
  4654. this[imageIdList].push({
  4655. imageId: data.data.id,
  4656. imageType: type,
  4657. })
  4658. }
  4659. this[imgurl].push(data.data)
  4660. }
  4661. }
  4662. });
  4663. })
  4664. },
  4665. //补传影像
  4666. resubmitImage() {
  4667. this.resubmitDocumentsShow = true;
  4668. this.imageEcho1(this.quoteno) // 影像获取完毕
  4669. },
  4670. //提交核保
  4671. async uploadRetry() {
  4672. const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
  4673. .policyImageListId, ...this.insuredImageListId, ...this
  4674. .imgRelationshipid, ...this.carInspectionImage
  4675. ];
  4676. if (mergedArray.length > 0) {
  4677. let res = await this.$http.post('/ins/taskImage/uploadImages', {
  4678. imageList: mergedArray,
  4679. quoteNo: this.quoteno,
  4680. })
  4681. if (res.code == '200') {
  4682. uni.showToast({
  4683. title: "上传成功",
  4684. icon: 'none',
  4685. });
  4686. }
  4687. }
  4688. },
  4689. auditNextconfirm() {
  4690. setTimeout(async () => {
  4691. switch (this.insuranceCompanyName) {
  4692. case "永安财险":
  4693. let yaimage = await this.$http.post(
  4694. '/order/yongAn/submitImage', {
  4695. companyId: this.companyId
  4696. });
  4697. if (yaimage.code == '200') {
  4698. let yaaudit = await this.$http.post(
  4699. '/order/yongAn/audit', {
  4700. companyId: this.companyId,
  4701. jqappoint: "",
  4702. syappoint: ""
  4703. });
  4704. if (yaaudit.code == '200') {
  4705. this.underwriteTitle = '订单自核成功';
  4706. this.cancelText = '暂不缴费';
  4707. this.confirmText = '立即缴费';
  4708. this.underwriteShow = true;
  4709. } else {
  4710. this.underwriteTitle = '核保失败';
  4711. this.cancelText = '返回订单';
  4712. this.confirmText = '关闭';
  4713. this.underwriteMsg = yaaudit.msg;
  4714. this.underwriteShow = true;
  4715. }
  4716. } else {
  4717. this.underwriteTitle = '影像上传失败';
  4718. this.cancelText = '返回订单';
  4719. this.confirmText = '关闭';
  4720. this.underwriteMsg = yaimage.msg;
  4721. this.underwriteShow = true;
  4722. }
  4723. break;
  4724. case "中煤财险":
  4725. let zmapiImage = this.apiType == "2" ? "/insurance/crawler/submitImage" :
  4726. '/order/zhongMeiApi/submitImage';
  4727. let zmimage = await this.$http.post(
  4728. `${zmapiImage}`, {
  4729. [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
  4730. });
  4731. if (zmimage.code == '200') {
  4732. let zmapiAudit = this.apiType == "2" ? "/insurance/crawler/audit" :
  4733. '/order/zhongMeiApi/audit';
  4734. let zmaudit = await this.$http.post(
  4735. `${zmapiAudit}`, {
  4736. [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId,
  4737. jqappoint: "",
  4738. syappoint: ""
  4739. });
  4740. if (zmaudit.code == '200') {
  4741. this.underwriteTitle = '订单自核成功';
  4742. this.cancelText = '暂不缴费';
  4743. this.confirmText = '立即缴费';
  4744. this.underwriteShow = true;
  4745. } else {
  4746. this.underwriteTitle = '核保失败';
  4747. this.cancelText = '返回订单';
  4748. this.confirmText = '关闭';
  4749. this.underwriteMsg = zmaudit.msg;
  4750. this.underwriteShow = true;
  4751. }
  4752. } else {
  4753. this.underwriteTitle = '影像上传失败';
  4754. this.cancelText = '返回订单';
  4755. this.confirmText = '关闭';
  4756. this.underwriteMsg = zmimage.msg;
  4757. this.underwriteShow = true;
  4758. }
  4759. break;
  4760. case "永诚财险":
  4761. let ycimage = await this.$http.post(
  4762. '/api/yongCheng/uploadImage', {
  4763. companyId: this.companyId
  4764. });
  4765. if (ycimage.code == '200') {
  4766. let ycaudit = await this.$http.post(
  4767. '/api/yongCheng/audit', {
  4768. companyId: this.companyId,
  4769. });
  4770. if (ycaudit.code == '200') {
  4771. this.underwriteTitle = '订单自核成功';
  4772. this.cancelText = '暂不缴费';
  4773. this.confirmText = '立即缴费';
  4774. this.underwriteShow = true;
  4775. } else {
  4776. this.underwriteTitle = '核保失败';
  4777. this.cancelText = '返回订单';
  4778. this.confirmText = '关闭';
  4779. this.underwriteMsg = ycaudit.msg;
  4780. this.underwriteShow = true;
  4781. }
  4782. } else {
  4783. this.underwriteTitle = '影像上传失败';
  4784. this.cancelText = '返回订单';
  4785. this.confirmText = '关闭';
  4786. this.underwriteMsg = ycimage.msg;
  4787. this.underwriteShow = true;
  4788. }
  4789. break;
  4790. case "国任财险":
  4791. let grimage = await this.$http.post(
  4792. '/api/guoRen/uploadImage', {
  4793. companyId: this.companyId
  4794. });
  4795. if (grimage.code == '200') {
  4796. let graudit = await this.$http.post(
  4797. '/api/guoRen/audit', {
  4798. companyId: this.companyId,
  4799. });
  4800. if (graudit.code == '200') {
  4801. this.underwriteTitle = '订单自核成功';
  4802. this.cancelText = '暂不缴费';
  4803. this.confirmText = '立即缴费';
  4804. this.underwriteShow = true;
  4805. } else {
  4806. this.underwriteTitle = '核保失败';
  4807. this.cancelText = '返回订单';
  4808. this.confirmText = '关闭';
  4809. this.underwriteMsg = graudit.msg;
  4810. this.underwriteShow = true;
  4811. }
  4812. } else {
  4813. this.underwriteTitle = '影像上传失败';
  4814. this.cancelText = '返回订单';
  4815. this.confirmText = '关闭';
  4816. this.underwriteMsg = grimage.msg;
  4817. this.underwriteShow = true;
  4818. }
  4819. break;
  4820. case "大家财险":
  4821. let djapiImage = this.apiType == "2" ? "/insurance/crawler/submitImage" :
  4822. "/api/dajia/submitImage";
  4823. let djimage = await this.$http.post(
  4824. `${djapiImage}`, {
  4825. [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
  4826. });
  4827. if (djimage.code == '200') {
  4828. let djapiAudit = this.apiType == "2" ? "/insurance/crawler/audit" :
  4829. '/api/dajia/audit';
  4830. let djaudit = await this.$http.post(
  4831. `${djapiAudit}`, {
  4832. [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId,
  4833. });
  4834. if (djaudit.code == '200') {
  4835. this.underwriteTitle = '订单自核成功';
  4836. this.cancelText = '暂不缴费';
  4837. this.confirmText = '立即缴费';
  4838. this.underwriteShow = true;
  4839. } else {
  4840. this.underwriteTitle = '核保失败';
  4841. this.cancelText = '返回订单';
  4842. this.confirmText = '关闭';
  4843. this.underwriteMsg = djaudit.msg;
  4844. this.underwriteShow = true;
  4845. }
  4846. } else {
  4847. this.underwriteTitle = '影像上传失败';
  4848. this.cancelText = '返回订单';
  4849. this.confirmText = '关闭';
  4850. this.underwriteMsg = djimage.msg;
  4851. this.underwriteShow = true;
  4852. }
  4853. break;
  4854. case "紫金财险":
  4855. let zjimage = await this.$http.post(
  4856. '/order/zijin/submitImage', {
  4857. companyId: this.companyId
  4858. });
  4859. if (zjimage.code == '200') {
  4860. let zjaudit = await this.$http.post(
  4861. '/order/zijin/audit', {
  4862. companyId: this.companyId,
  4863. engageList: this.ziJinengageList,
  4864. });
  4865. if (zjaudit.code == '200') {
  4866. this.underwriteTitle = '订单自核成功';
  4867. this.cancelText = '暂不缴费';
  4868. this.confirmText = '立即缴费';
  4869. this.underwriteShow = true;
  4870. } else {
  4871. this.underwriteTitle = '核保失败';
  4872. this.cancelText = '返回订单';
  4873. this.confirmText = '关闭';
  4874. this.underwriteMsg = zjaudit.msg;
  4875. this.underwriteShow = true;
  4876. }
  4877. } else {
  4878. this.underwriteTitle = '影像上传失败';
  4879. this.cancelText = '返回订单';
  4880. this.confirmText = '关闭';
  4881. this.underwriteMsg = zjimage.msg;
  4882. this.underwriteShow = true;
  4883. }
  4884. break;
  4885. case "华泰财险":
  4886. let htapiImage = this.apiType == "2" ? "/insurance/crawler/submitImage" :
  4887. "/order/huaTaiApi/submitImage";
  4888. let htimage = await this.$http.post(
  4889. `${htapiImage}`, {
  4890. [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
  4891. });
  4892. if (htimage.code == '200') {
  4893. let htapiAudit = this.apiType == "2" ? "/insurance/crawler/audit" :
  4894. '/order/huaTaiApi/audit';
  4895. let htaudit = await this.$http.post(
  4896. `${htapiAudit}`, {
  4897. [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId,
  4898. engageList: this.huaTaiengageList,
  4899. });
  4900. if (htaudit.code == '200') {
  4901. this.underwriteTitle = '订单自核成功';
  4902. this.cancelText = '暂不缴费';
  4903. this.confirmText = '立即缴费';
  4904. this.underwriteShow = true;
  4905. } else {
  4906. this.underwriteTitle = '核保失败';
  4907. this.cancelText = '返回订单';
  4908. this.confirmText = '关闭';
  4909. this.underwriteMsg = htaudit.msg;
  4910. this.underwriteShow = true;
  4911. }
  4912. } else {
  4913. this.underwriteTitle = '影像上传失败';
  4914. this.cancelText = '返回订单';
  4915. this.confirmText = '关闭';
  4916. this.underwriteMsg = htimage.msg;
  4917. this.underwriteShow = true;
  4918. }
  4919. break;
  4920. case "渤海财险":
  4921. let bhimage = await this.$http.post(
  4922. '/order/boHaiApi/submitImage', {
  4923. companyId: this.companyId
  4924. });
  4925. if (bhimage.code == '200') {
  4926. let bhaudit = await this.$http.post(
  4927. '/order/boHaiApi/audit', {
  4928. companyId: this.companyId,
  4929. jqappoint: "",
  4930. syappoint: ""
  4931. });
  4932. if (bhaudit.code == '200') {
  4933. this.underwriteTitle = '订单自核成功';
  4934. this.cancelText = '暂不缴费';
  4935. this.confirmText = '立即缴费';
  4936. this.underwriteShow = true;
  4937. } else {
  4938. this.underwriteTitle = '核保失败';
  4939. this.cancelText = '返回订单';
  4940. this.confirmText = '关闭';
  4941. this.underwriteMsg = bhaudit.msg;
  4942. this.underwriteShow = true;
  4943. }
  4944. } else {
  4945. this.underwriteTitle = '影像上传失败';
  4946. this.cancelText = '返回订单';
  4947. this.confirmText = '关闭';
  4948. this.underwriteMsg = bhimage.msg;
  4949. this.underwriteShow = true;
  4950. }
  4951. break;
  4952. case "恒邦财险":
  4953. case "诚泰财险":
  4954. case "安盛天平":
  4955. case "众安财险":
  4956. case "中国人寿":
  4957. case "太平财险":
  4958. case "华农财险":
  4959. case "泰康财险":
  4960. let pythonimage = await this.$http.post(
  4961. '/insurance/crawler/submitImage', {
  4962. subOrderNo: this.companyId
  4963. });
  4964. if (pythonimage.code == '200') {
  4965. let pythonaudit = await this.$http.post(
  4966. '/insurance/crawler/audit', {
  4967. subOrderNo: this.companyId,
  4968. });
  4969. if (pythonaudit.code == '200') {
  4970. this.underwriteTitle = '订单自核成功';
  4971. this.cancelText = '暂不缴费';
  4972. this.confirmText = '立即缴费';
  4973. this.underwriteShow = true;
  4974. } else {
  4975. this.underwriteTitle = '核保失败';
  4976. this.cancelText = '返回订单';
  4977. this.confirmText = '关闭';
  4978. this.underwriteMsg = pythonaudit.msg;
  4979. this.underwriteShow = true;
  4980. }
  4981. } else {
  4982. this.underwriteTitle = '影像上传失败';
  4983. this.cancelText = '返回订单';
  4984. this.confirmText = '关闭';
  4985. this.underwriteMsg = pythonimage.msg;
  4986. this.underwriteShow = true;
  4987. }
  4988. break;
  4989. }
  4990. this.auditNextShow = false;
  4991. }, 1000)
  4992. },
  4993. // 上传影像并提交核保
  4994. async submitUnderwriting(id, apiType, name) {
  4995. this.companyId = id;
  4996. this.apiType = apiType;
  4997. this.insuranceCompanyName = name;
  4998. this.auditNextShow = true;
  4999. },
  5000. //核保弹窗关闭事件
  5001. underwritecancel() {
  5002. this.navigate({
  5003. url: "/pages/orders/orders"
  5004. }, "switchTab",
  5005. true);
  5006. },
  5007. //核保弹窗确认事件
  5008. underwriteconfirm() {
  5009. switch (this.underwriteTitle) {
  5010. case '订单自核成功':
  5011. if (this.quotationType.themeCode == 'QD') {
  5012. uni.navigateTo({
  5013. url: "/pages/orders/paymentCode?companyId=" +
  5014. this
  5015. .companyId + '&apiType=' + this.apiType,
  5016. })
  5017. } else {
  5018. uni.navigateTo({
  5019. url: "/pages/orders/paymentCode1?companyId=" +
  5020. this
  5021. .companyId + '&apiType=' + this.apiType,
  5022. })
  5023. }
  5024. break;
  5025. case '核保失败':
  5026. break;
  5027. case '影像上传失败':
  5028. break;
  5029. }
  5030. },
  5031. }
  5032. }
  5033. </script>
  5034. <style lang="scss" scoped>
  5035. @import '@/style/mixin.scss';
  5036. .page {
  5037. background: #F8FAFE;
  5038. padding: 16px 16px 100px 16px;
  5039. }
  5040. .sum {
  5041. color: #0052FF;
  5042. font-size: 14px;
  5043. font-weight: bold;
  5044. }
  5045. .scroll-Y {
  5046. height: 600px;
  5047. }
  5048. .discountInfoscroll {
  5049. height: 300px;
  5050. }
  5051. .scroll-view-item {
  5052. height: 300rpx;
  5053. line-height: 300rpx;
  5054. text-align: center;
  5055. font-size: 36rpx;
  5056. }
  5057. .modelformcss {
  5058. padding: 5px 15px;
  5059. }
  5060. .PlanPopup-btn {
  5061. width: 100%;
  5062. height: 48px;
  5063. background: #FFFFFF;
  5064. box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.05);
  5065. }
  5066. .circle {
  5067. width: 16px;
  5068. height: 16px;
  5069. border-radius: 50%;
  5070. border: 2px solid #0052FF;
  5071. }
  5072. .circle:after {
  5073. content: "✔";
  5074. /* 对勾符号 */
  5075. font-size: 10px;
  5076. font-weight: bold;
  5077. /* 根据需要调整大小 */
  5078. color: #0052FF;
  5079. }
  5080. .policyInfo {
  5081. .tagHeader {
  5082. font-family: Source Han Sans SC, Source Han Sans SC;
  5083. text {
  5084. position: relative;
  5085. font-weight: bold;
  5086. font-size: 13px;
  5087. color: #333;
  5088. }
  5089. .tag {
  5090. position: absolute;
  5091. left: 0;
  5092. bottom: -1px;
  5093. width: 50%;
  5094. height: 5px;
  5095. background: linear-gradient(90deg, #0874FF 0%, rgba(8, 116, 255, 0) 100%);
  5096. border-radius: 6px;
  5097. }
  5098. }
  5099. .accident {
  5100. width: 75%;
  5101. .diss {
  5102. border-bottom: 1px solid #E3E9F8;
  5103. .boss {
  5104. border-right: 1px solid #E3E9F8;
  5105. text-align: center;
  5106. padding: 5px 3px;
  5107. }
  5108. }
  5109. }
  5110. .right {
  5111. width: 25%;
  5112. border-right: 1px solid #E3E9F8;
  5113. border-bottom: 1px solid #E3E9F8;
  5114. padding: 5px 3px;
  5115. }
  5116. }
  5117. .selectedCoverage {
  5118. background-color: #FFDFCE;
  5119. width: 100%;
  5120. border-radius: 22px;
  5121. position: relative;
  5122. padding: 7px 8px;
  5123. .title1 {
  5124. color: #232832;
  5125. font-size: 15px;
  5126. font-weight: bold;
  5127. }
  5128. .title-before {
  5129. position: absolute;
  5130. width: 3px;
  5131. height: 14px;
  5132. background: #FF5600;
  5133. left: 0;
  5134. top: 50%;
  5135. transform: translateY(-50%);
  5136. }
  5137. .product {
  5138. width: 65px;
  5139. background: #FFFFFF;
  5140. border-radius: 16px;
  5141. border: 1px solid #FF5600;
  5142. padding: 2px 6px;
  5143. box-sizing: border-box;
  5144. }
  5145. }
  5146. .Plancontent {
  5147. padding: 8px;
  5148. .title {
  5149. color: #232832;
  5150. font-size: 15px;
  5151. font-weight: bold;
  5152. ::before {
  5153. content: "丨";
  5154. width: 10px;
  5155. height: 10px;
  5156. color: #0052FF;
  5157. }
  5158. }
  5159. .title-before {}
  5160. .Accident {
  5161. width: 100%;
  5162. border: 1px solid #0874FF;
  5163. border-radius: 6px;
  5164. overflow: hidden;
  5165. .head {
  5166. width: 20%;
  5167. height: 40px;
  5168. background-color: #0874FF;
  5169. color: #FFFFFF;
  5170. &:nth-child(1) {
  5171. width: 60%;
  5172. }
  5173. }
  5174. .tr {
  5175. width: 20%;
  5176. height: 60px;
  5177. color: #232832;
  5178. border: 1rpx solid #0874FF;
  5179. font-size: 24rpx;
  5180. color: #232832;
  5181. &:nth-child(1) {
  5182. width: 60%;
  5183. background: rgba(8, 116, 255, 0.05);
  5184. }
  5185. &:nth-child(3) {
  5186. background: rgba(8, 116, 255, 0.05);
  5187. }
  5188. }
  5189. }
  5190. .insuranceType {
  5191. margin: 5px 10px;
  5192. background: #F2F6FF;
  5193. border-radius: 10px;
  5194. }
  5195. .terms {
  5196. color: #FFFFFF;
  5197. background: linear-gradient(90deg, #FF4D4D 0%, #FF784D 100%);
  5198. border-radius: 4px 4px 4px 4px;
  5199. }
  5200. }
  5201. .quotePlan {
  5202. background: #FFFFFF;
  5203. box-shadow: 0px 4px 10px 0px #DAE3F4;
  5204. border-radius: 6px;
  5205. }
  5206. .status-data {
  5207. width: auto;
  5208. padding: 2px 8px;
  5209. margin-left: 10px;
  5210. font-size: 12px;
  5211. border: 1px solid #CDCDCD;
  5212. cursor: pointer;
  5213. text-align: center;
  5214. line-height: 25px;
  5215. }
  5216. .active {
  5217. position: relative;
  5218. background: rgba(0, 82, 255, 0.1);
  5219. color: #0052FF;
  5220. border: 1px solid #0052FF !important;
  5221. font-weight: 700;
  5222. }
  5223. .active::before {
  5224. content: "";
  5225. position: absolute;
  5226. top: 0;
  5227. left: 0;
  5228. width: 10px;
  5229. height: 10px;
  5230. background-image: url("/static/image/car-insure/before.png");
  5231. background-size: cover;
  5232. }
  5233. .active1 {
  5234. position: relative;
  5235. background: rgba(255, 86, 0, 0.1);
  5236. color: #FF5600;
  5237. border: 1px solid #FF5600;
  5238. font-weight: 700;
  5239. }
  5240. .active1::before {
  5241. content: "";
  5242. position: absolute;
  5243. top: 0;
  5244. left: 0;
  5245. width: 10px;
  5246. height: 10px;
  5247. background-image: url("/static/image/car-insure/before1.png");
  5248. background-size: cover;
  5249. }
  5250. .car-header {
  5251. width: 100%;
  5252. height: auto;
  5253. background: linear-gradient(0, #FFFFFF 0%, rgba(241, 246, 255, 0.8) 100%);
  5254. box-shadow: 0px 4px 10px 0px rgba(158, 173, 229, 0.1);
  5255. border-radius: 6px;
  5256. padding: 8px 15px;
  5257. position: relative;
  5258. .head-name {
  5259. margin-left: 10px;
  5260. &>text {
  5261. font-weight: bold;
  5262. font-size: 14px;
  5263. color: #232832;
  5264. }
  5265. .name1 text {
  5266. font-size: 14px;
  5267. color: #333333;
  5268. }
  5269. }
  5270. .carJump {
  5271. position: absolute;
  5272. top: 5px;
  5273. right: 10px;
  5274. font-size: 14px;
  5275. color: #0052FF;
  5276. }
  5277. }
  5278. /* 报价公司Start */
  5279. .quoteCompany {
  5280. box-sizing: border-box;
  5281. /* background:#FFFFFF; */
  5282. position: relative;
  5283. border-radius: 20upx;
  5284. }
  5285. .quoteCompany .header {
  5286. height: 80upx;
  5287. }
  5288. .quoteCompany .header .title {
  5289. font-size: 30upx;
  5290. font-weight: bold;
  5291. }
  5292. .quoteCompany .header .title .icon {
  5293. color: rgba($themeColor, 0.6);
  5294. margin-left: 15upx;
  5295. }
  5296. .quoteCompanyItem {
  5297. margin-bottom: 20upx;
  5298. background: #FFFFFF;
  5299. border-radius: 6px;
  5300. box-shadow: 0px 4px 10px 0px #DAE3F4;
  5301. box-sizing: border-box;
  5302. cursor: pointer;
  5303. .selectedPlanBackground {
  5304. background: linear-gradient(180deg, #DFF1FF 0%, #FFFFFF 100%);
  5305. box-shadow: 0px 2px 5px 0px #DAE3F4;
  5306. border-radius: 0px 0px 6px 6px;
  5307. }
  5308. >.headers {
  5309. height: 30px;
  5310. background-image: url('../../static/image/car-insure/weixuanfangan.png');
  5311. background-position: 0% 0%;
  5312. background-size: 100% 100%;
  5313. background-repeat: no-repeat;
  5314. .logo {
  5315. width: 30%;
  5316. image {
  5317. width: 20px;
  5318. height: 20px;
  5319. margin-right: 10px;
  5320. }
  5321. .companyName {
  5322. font-size: 14px;
  5323. font-weight: bold;
  5324. color: #fff;
  5325. }
  5326. }
  5327. }
  5328. }
  5329. .quoteCompanyItem .top {
  5330. position: relative;
  5331. padding: 8px;
  5332. }
  5333. .quoteCompanyItem .top .companyIcon {
  5334. border-radius: 6px 6px 0 0;
  5335. padding: 0 0 4px;
  5336. }
  5337. .insuranceGuide {
  5338. background: #FD9159;
  5339. border-radius: 2px;
  5340. font-weight: bold;
  5341. font-size: 12px;
  5342. color: #fff;
  5343. padding: 0px 8px;
  5344. margin-left: 5%;
  5345. }
  5346. .planDetails {
  5347. width: 100%;
  5348. height: auto;
  5349. background: #F9F9F9;
  5350. border-radius: 6px;
  5351. padding: 6px;
  5352. .headers {
  5353. >image {
  5354. width: 14px;
  5355. height: 14px;
  5356. }
  5357. >text {
  5358. font-size: 12px;
  5359. color: #4B6FBA;
  5360. margin-left: 10px;
  5361. }
  5362. }
  5363. }
  5364. .content {
  5365. padding: 0 8px;
  5366. margin-bottom: 5px;
  5367. }
  5368. .quoteCompanyItem .top .Premium {
  5369. padding: 10px 8px;
  5370. border-radius: 4px;
  5371. .price {
  5372. font-size: 12px;
  5373. color: #FF5600;
  5374. text {
  5375. margin-right: 5px;
  5376. }
  5377. }
  5378. .time {
  5379. font-size: 12px;
  5380. color: #2D4D89;
  5381. >text {
  5382. margin-right: 5px;
  5383. }
  5384. }
  5385. }
  5386. .quoteCompanyItem .top .quotebtn {
  5387. width: 100%;
  5388. height: auto;
  5389. >view {
  5390. width: 50%;
  5391. font-size: 14px;
  5392. padding: 4px 0;
  5393. }
  5394. }
  5395. .lastyear {
  5396. view {
  5397. font-size: 12px;
  5398. }
  5399. .left {
  5400. border: 1px solid #229805;
  5401. border-radius: 2px;
  5402. padding: 1px 6px;
  5403. color: #229805;
  5404. }
  5405. .right {
  5406. border-radius: 2px;
  5407. padding: 1px 6px;
  5408. border: 1px solid #FF5600;
  5409. color: #FF5600;
  5410. }
  5411. }
  5412. .quoteCompanyItem .top .totalMoney {
  5413. font-size: 40upx;
  5414. font-weight: bold;
  5415. color: $themeColor;
  5416. position: absolute;
  5417. top: -15upx;
  5418. right: 0;
  5419. }
  5420. .quoteCompanyItem .top .tip {
  5421. font-size: 26upx;
  5422. font-weight: bold;
  5423. color: #999;
  5424. position: absolute;
  5425. top: 0upx;
  5426. right: 0;
  5427. }
  5428. .sum {
  5429. color: #0052FF;
  5430. font-size: 14px;
  5431. font-weight: bold;
  5432. }
  5433. .quoteFailed {
  5434. background: rgba(255, 77, 77, 0.1);
  5435. border-radius: 2px;
  5436. color: #FF4D4D;
  5437. font-size: 12px;
  5438. font-weight: bold;
  5439. padding: 2px 8px;
  5440. }
  5441. .quoteCompanyItem .top .signs {
  5442. width: 500upx;
  5443. overflow: hidden;
  5444. text-overflow: ellipsis;
  5445. white-space: nowrap;
  5446. }
  5447. .quoteCompanyItem .top .sign {
  5448. height: 40upx;
  5449. margin: 0upx 10upx;
  5450. background: rgba($themeColor, 0.6);
  5451. color: $themeColor;
  5452. font-size: 20upx;
  5453. margin-right: 10upx;
  5454. border-radius: 6upx;
  5455. padding: 0 2px;
  5456. line-height: 40upx;
  5457. }
  5458. .jqsign {
  5459. height: 20px;
  5460. background: rgba(255, 177, 177, 0.55);
  5461. color: #fd0a0a;
  5462. font-size: 20upx;
  5463. border-radius: 6upx;
  5464. padding: 0 10px;
  5465. box-sizing: border-box;
  5466. }
  5467. .quoteCompanyItem .body {
  5468. padding: 20upx 0;
  5469. flex-wrap: wrap;
  5470. }
  5471. .quoteCompanyItem .body>view {
  5472. flex-shrink: 0;
  5473. width: 50%;
  5474. overflow: hidden;
  5475. text-overflow: ellipsis;
  5476. white-space: nowrap;
  5477. }
  5478. .quoteCompanyItem .body .icon-exchange {
  5479. margin-right: 15upx;
  5480. display: inline-block;
  5481. }
  5482. /* 报价公司End */
  5483. /* 整个页面的统一样式 End */
  5484. .plan-ins-title {
  5485. color: #FF5600;
  5486. font-size: 15px;
  5487. font-weight: bold;
  5488. padding: 8px;
  5489. }
  5490. .immediately {
  5491. padding: 19rpx 15px;
  5492. .common-ins-cell:last-child {
  5493. border-bottom: none;
  5494. }
  5495. }
  5496. .common-title {
  5497. font-size: 32upx;
  5498. font-weight: bold;
  5499. }
  5500. .common-ins-cell {
  5501. font-size: 30upx;
  5502. padding: 0upx 30upx;
  5503. height: 90upx;
  5504. border-bottom: 1px solid #eee;
  5505. }
  5506. /* 交强险和商业险弹出框Start */
  5507. .popup-content {
  5508. position: relative;
  5509. }
  5510. .popHeader {
  5511. box-sizing: border-box;
  5512. font-size: 32upx;
  5513. font-weight: bold;
  5514. height: 120upx;
  5515. border-bottom: 1px solid #eee;
  5516. }
  5517. .popup-content .popContent {
  5518. padding: 0upx 30upx;
  5519. height: 620upx;
  5520. box-sizing: border-box;
  5521. }
  5522. .popup-content .popContent .popContentTitle {
  5523. font-weight: bold;
  5524. font-size: 32upx;
  5525. margin: 20upx 0upx 5upx 0upx;
  5526. }
  5527. .popup-content .popContent .amtSingle {
  5528. width: 22%;
  5529. box-sizing: border-box;
  5530. display: inline-block;
  5531. text-align: center;
  5532. vertical-align: middle;
  5533. border: 1px solid #eee;
  5534. margin: 0 15rpx 15rpx 0;
  5535. }
  5536. .popup-content .popBottom {
  5537. margin: 30upx 30upx 0 30upx;
  5538. padding-bottom: 30upx;
  5539. }
  5540. /* 交强险和商业险弹出框End */
  5541. .drivingSelection {
  5542. padding: 8px;
  5543. >view {
  5544. padding: 4px 8px;
  5545. }
  5546. .header {
  5547. width: 100%;
  5548. background: rgba(255, 86, 0, 0.05);
  5549. border-radius: 2px;
  5550. margin-bottom: 4px;
  5551. text {
  5552. font-size: 15px;
  5553. color: #FF5600;
  5554. font-weight: bold;
  5555. }
  5556. }
  5557. }
  5558. .footer-btn {
  5559. position: fixed;
  5560. bottom: 0;
  5561. left: 0;
  5562. width: 100%;
  5563. height: 62px;
  5564. background: #FFFFFF;
  5565. box-shadow: 0px -4px 10px 0px #DAE3F4;
  5566. border-radius: 0px 0px 0px 0px;
  5567. padding: 12px 16px;
  5568. z-index: 99;
  5569. }
  5570. .priceComparison {
  5571. width: 20%;
  5572. background: linear-gradient(180deg, #FA6464 0%, #E53F3F 100%);
  5573. box-shadow: 0px 2px 5px 0px rgba(232, 66, 66, 0.3);
  5574. border-radius: 4px;
  5575. border: 1px solid #FF9A9A;
  5576. }
  5577. .ZJcheckboxGroup {
  5578. .headers {
  5579. min-height: 73px;
  5580. background-image: url('../../static/image/car-insure/teyueheader.png');
  5581. background-position: 0% 0%;
  5582. background-size: 100% 100%;
  5583. background-repeat: no-repeat;
  5584. padding: 10px 20px;
  5585. border-bottom: 1px solid #EEEEEE;
  5586. .title {
  5587. font-weight: bold;
  5588. font-size: 16px;
  5589. color: #333333;
  5590. }
  5591. }
  5592. .hint {
  5593. width: 90%;
  5594. margin: auto;
  5595. background: #DFF9FF;
  5596. border-radius: 2px;
  5597. padding: 3px 8px;
  5598. image {
  5599. width: 16px;
  5600. height: 16px;
  5601. margin-right: 10px;
  5602. }
  5603. text {
  5604. font-size: 12px;
  5605. color: #18AAE8;
  5606. }
  5607. }
  5608. .scolcentent {
  5609. max-height: 450px;
  5610. padding-bottom: 40px;
  5611. padding: 0 10px;
  5612. }
  5613. .operateBtn {
  5614. position: absolute;
  5615. bottom: 0;
  5616. left: 0;
  5617. right: 0;
  5618. font-weight: bold;
  5619. font-size: 16px;
  5620. .cancel {
  5621. width: 50%;
  5622. height: 46px;
  5623. color: #A7AFC3;
  5624. background-color: #F3F5F9;
  5625. }
  5626. .confirm {
  5627. width: 50%;
  5628. height: 46px;
  5629. color: #fff;
  5630. background: linear-gradient(90deg, #17A9E8 0%, #4DD4FF 100%);
  5631. ;
  5632. }
  5633. }
  5634. .operateBtn1 {
  5635. position: absolute;
  5636. bottom: 0;
  5637. left: 0;
  5638. right: 0;
  5639. font-weight: bold;
  5640. font-size: 16px;
  5641. padding: 10px;
  5642. .cancel {
  5643. width: 40%;
  5644. height: 46px;
  5645. background: #F3F5F9;
  5646. border-radius: 4px;
  5647. font-size: 16px;
  5648. color: #A7AFC3;
  5649. margin-right: 30px;
  5650. }
  5651. .confirm {
  5652. width: 40%;
  5653. height: 46px;
  5654. background: linear-gradient(90deg, #0153FF 0%, #0D89FF 100%);
  5655. border-radius: 4px;
  5656. font-size: 16px;
  5657. color: #fff;
  5658. }
  5659. }
  5660. }
  5661. /deep/ {
  5662. .jq {
  5663. .u-th {
  5664. background: #F6F7FE;
  5665. padding: 5px 10px !important;
  5666. }
  5667. .u-td {
  5668. padding: 5px 10px !important;
  5669. }
  5670. }
  5671. .sy {
  5672. .u-th {
  5673. background: #F6F7FE;
  5674. }
  5675. }
  5676. .u-tabs__wrapper__nav__line {
  5677. left: 2400rpx;
  5678. height: 4rpx !important;
  5679. border-radius: 4rpx;
  5680. }
  5681. }
  5682. .uni-uploader__file {
  5683. position: relative;
  5684. }
  5685. .uni-uploader__files {
  5686. position: relative;
  5687. }
  5688. .delImgIcon {
  5689. width: 40upx;
  5690. height: 40upx;
  5691. position: absolute;
  5692. right: 4px;
  5693. bottom: 4px;
  5694. color: #FFFFFF;
  5695. }
  5696. .imgtitle {
  5697. background: #4682F9;
  5698. border-radius: 0px 2px 2px 0px;
  5699. padding: 1px 2px;
  5700. position: absolute;
  5701. left: 0upx;
  5702. top: 2px;
  5703. color: #FFFFFF;
  5704. font-size: 20rpx;
  5705. }
  5706. </style>