| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277 |
- <template>
- <view class="">
- <service-widget @btnClick="btn_click"></service-widget>
- <image src="/static/image/car-insure/Quotablebanner.png" mode=""
- style="width: 100%;height: 110px;position: absolute;"></image>
- <view class="page">
- <view class="car-header dis a-c mt-2">
- <image src="/static/image/car-insure/Group.png" mode="" style="width: 40px;height: 40px;"></image>
- <view class="dis f-c head-name">
- <text>{{carInfo.licenseNo}} <text style="color: rgba(35,40,50,0.65);">丨</text> <text
- style="font-weight: 400;"> {{insuredPersonInfo.name}} (被保人)</text> </text>
- <view class="name1">
- <text>{{carInfo.modelcname}}</text>
- </view>
- </view>
- <view class="carJump" @tap="toCarInfo">修改信息</view>
- </view>
- <view class="" style="position: relative;">
- <view class=" dis f-c" v-if="['0330','0330034002','0330034001'].includes(productId)">
- <text class="plan-ins-title">交强险</text>
- <view class="quotePlan">
- <view class=" dis a-c j-s modelformcss">
- <text>即时投保</text>
- <view class="dis a-c j-c">
- <view class="status-data" :class="item.value==jqimmediately? 'active':''"
- v-for="(item,index) in jqimmediatelyList"
- @tap="datelyClick(item.value,'jqimmediately','jqstartDate','jqendDate')"
- :key="index">
- {{item.label}}
- </view>
- </view>
- </view>
- <u-form ref="uForm" label-width="120px">
- <u-form-item label="交强险投保日期" class="modelformcss">
- <u-input type="select" :select-open="jqstartShow" :custom-style="{textAlign:'right'}"
- v-model="jqstartDate" placeholder="请选择开始时间" @click="jqstartShow = true"></u-input>
- <u-picker v-model="jqstartShow" mode="time" :params="params"
- @confirm="jqstartconfirm"></u-picker>
- </u-form-item>
- <u-form-item label="交强险终保日期" class="modelformcss">
- <u-input type="select" :select-open="jqendShow" :custom-style="{textAlign:'right'}"
- v-model="jqendDate" placeholder="请选择结束时间" @click="jqendShow = true"></u-input>
- <u-picker v-model="jqendShow" mode="time" :params="params"
- @confirm="jqendconfirm"></u-picker>
- </u-form-item>
- </u-form>
- </view>
- </view>
- <view class=" dis f-c " v-if="['034001','034002','0330034002','0330034001'].includes(productId)">
- <text class="plan-ins-title">商业险</text>
- <view class="quotePlan">
- <view class=" dis a-c j-s modelformcss">
- <text>即时投保</text>
- <view class="dis a-c j-c">
- <view class="status-data" :class="item.value==syimmediately? 'active':''"
- v-for="(item,index) in syimmediatelyList"
- @tap="datelyClick(item.value,'syimmediately','systartDate','syendDate')"
- :key="index">
- {{item.label}}
- </view>
- </view>
- </view>
- <u-form ref="uForm" label-width="120px">
- <u-form-item label="商业险投保日期" class="modelformcss">
- <u-input type="select" :select-open="systartShow" :custom-style="{textAlign:'right'}"
- v-model="systartDate" placeholder="请选择开始时间" @click="systartShow = true"></u-input>
- <u-picker v-model="systartShow" mode="time" :params="params"
- @confirm="systartconfirm"></u-picker>
- </u-form-item>
- <u-form-item label="商业险终保日期" class="modelformcss">
- <u-input type="select" :select-open="syendShow" :custom-style="{textAlign:'right'}"
- v-model="syendDate" placeholder="请选择结束时间" @click="syendShow = true"></u-input>
- <u-picker v-model="syendShow" mode="time" :params="params"
- @confirm="syendconfirm"></u-picker>
- </u-form-item>
- </u-form>
- </view>
- </view>
- </view>
- <view id="targetElement" class=" dis a-c j-s mt-3" style="position: relative;">
- <view style="color:#FF5600;font-size: 15px;font-weight: bold;">投保注意:</view>
- <view class="dis a-c f-wrap">
- <view class="status-data"
- :class="carInfo.transferFlag? 'active1':isTransferRequired?'deepenStyle':''"
- @tap="immediatelyClick('transferFlag')">
- 过户车
- </view>
- <view class="status-data" v-if="['034001','034002','0330034002','0330034001'].includes(productId)"
- :class="carInfo.transferFlagBi? 'active1':''" @tap="immediatelyClick('transferFlagBi')">
- 商业险过户
- </view>
- <view class="status-data" :class="carInfo.outOfInsurance? 'active1':''"
- @tap="immediatelyClick('outOfInsurance')">
- 脱保
- </view>
- <view class="status-data" :class="carInfo.usedCar? 'active1':''" @tap="immediatelyClick('usedCar')">
- 二手车
- </view>
- </view>
- </view>
- <view class="quotePlan dis a-c j-s mt-2 " style="padding: 5px 10px;" v-if="carInfo.transferFlag">
- <view>转移登记日期:</view>
- <u-input type="select" :select-open="transferDateShow" :custom-style="{textAlign:'right'}"
- v-model="carInfo.transferDate" @click="transferDateShow = true" style="width: 100px;"></u-input>
- <u-picker v-model="transferDateShow" mode="time" :params="params1"
- @confirm="transferconfirm"></u-picker>
- </view>
- <view class="quoteCompany mt-3">
- <view class="header dis a-c">
- <view class="title d-flex" style="font-family: jiangxizhuokai, jiangxizhuokai;">保险公司</view>
- <text style="color:#0052FF;font-size: 13px;">(请选择任意一家保险公司投保)</text>
- </view>
- <block v-for="(totalitem,totalindex) in quotableCompanyList" :key="totalindex">
- <template>
- <view class="quoteCompanyItem dis f-c j-s ">
- <view class="headers dis a-c"
- :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')`}">
- <view class="logo dis a-c j-c">
- <image :src="totalitem.logo"></image>
- <view class="companyName">{{totalitem.namesimple}}</view>
- </view>
- <view class="insuranceGuide dis a-c j-c "
- :style="{background:totalitem.quoteCode=='3' ? '#FD9159' :!totalitem.insurancePlanInfo? '#FD9159' : '#548EFF'}"
- @click.stop="InsureGuideclick(totalitem)">
- 投保指引
- </view>
- </view>
- <view class="top dis f-c "
- :class="[totalitem.quoteCode=='3' ?'':!totalitem.insurancePlanInfo?'':'selectedPlanBackground']">
- <view v-if="totalitem.quoteCode"
- :class="[totalitem.quoteCode=='200'?'j-start':'j-end','companyIcon','dis','a-c']"
- :style="{borderBottom:totalitem.quoteCode=='3' ?'1px solid #FFCFC0':!totalitem.insurancePlanInfo?'none':'1px solid #C0E4FF'}">
- <view class="dis a-c">
- <view class="" @click.stop>
- <u-checkbox @change="priceComparisonChange(totalindex,totalitem)"
- v-if="totalitem.isComparableshowHide"
- v-model="totalitem.isComparableShow" active-color="#23C1CB"
- :disabled='totalitem.isComparableDisabled'></u-checkbox>
- </view>
- </view>
- <view class="dis a-c" v-if="totalitem.quoteCode=='200'">
- <text class="sum">总保费:¥{{totalitem.result.sumPermium}}</text>
- <view class="dis a-c" style="margin-left: 10px;"
- v-if="totalitem.result.feeDisplay">
- <text style="color: #FF4D4D;font-size: 12px;"
- v-if="totalitem.result.sumExportFee">{{totalitem.result.feeView?'掌柜科技币':'优惠金额¥'}}{{totalitem.result.sumExportFee}}</text>
- </view>
- </view>
- <ls-loading v-if="totalitem.quoteCode ==1" text="掌柜正在为您报价,请稍等......"
- :animation="animation" fontSize="22" />
- <text v-if="totalitem.quoteCode=='3'" class="quoteFailed"
- @tap.stop.prevent="ErrorMsg(totalitem.msg,totalitem.namesimple)">报价失败,查看原因</text>
- </view>
- <view class=" dis j-end a-c mt-2 f-wrap">
- <view class="ml-2 mb-1" v-if="totalitem.result.companyId" @click="handleCustomerInterest(totalitem)" style="border: 1px solid rgb(255 153 0);border-radius: 2px;padding:1px 6px;font-size: 24rpx; color: rgb(255 153 0);">客户权益</view>
- <view class="ml-2 mb-1 "
- v-if="totalitem.namesimple=='诚泰财险' && totalitem.result.companyId"
- style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
- @click="CTadjustmentCoefficient(totalindex)">调整系数</view>
- <view class="ml-2 mb-1 "
- v-if="totalitem.namesimple=='紫金财险' && totalitem.result.companyId"
- style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
- @click="ZJadjustmentCoefficient(totalindex)">调整系数</view>
- <view class="ml-2 mb-1"
- v-if="totalitem.namesimple=='国任财险' && totalitem.insurancePlanInfo"
- style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
- @click="specialAgreementSelection(totalitem.id)">调整特约</view>
- <view class="ml-2 mb-1"
- v-if="totalitem.namesimple=='紫金财险' && totalitem.result.orderstatus"
- style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
- @click="zijinspecialAgreementSelection(totalitem.result.companyId)">调整特约</view>
- <view class="ml-2 mb-1"
- v-if="totalitem.namesimple=='华泰财险' && totalitem.result.orderstatus"
- style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
- @click="huataispecialAgreementSelection(totalitem.result.companyId)">调整特约</view>
- <view class="ml-2 mb-1"
- style="border: 1px solid #FF5600;border-radius: 2px;padding:1px 6px;color:#FF5600;font-size: 24rpx;"
- @click="SchemeSelection(totalitem)">
- {{!totalitem.insurancePlanInfo?'选择方案':'重选方案'}}
- </view>
- <view class="ml-2 mb-1" v-if="totalitem.insurancePlanInfo"
- style="border: 1px solid #0052FF;border-radius: 2px;padding:1px 6px;color:#0052FF;font-size: 24rpx;"
- @click="checkSelection(totalitem)">查看方案</view>
- <view class="ml-2 mb-1" v-if="totalitem.insurancePlanInfo"
- style="background:#FF4D4D;color: #fff;border: 1px solid #FF4D4D;border-radius: 2px;padding:1px 6px;font-size: 24rpx;"
- @click="individualQuote(totalitem)">单独报价</view>
- </view>
- <view class="Premium dis f-c mb-2 " v-if="totalitem.quoteCode=='200'">
- <view class="dis price" v-if="totalitem.result.feeNoDescription">
- <text>该车未匹配销管费用,不建议投保!</text>
- <u-icon name="chat-fill" color="#ff0000" size="40"
- @click="discountErrorMessageMsg(totalitem.result.feeNoDescription,totalitem.namesimple)"></u-icon>
- </view>
- <view class="dis a-c f-wrap price">
- <text
- v-if="totalitem.result.jqPremium">交强险:¥{{totalitem.result.jqPremium}}</text>
- <text
- v-if="totalitem.result.syPremium">商业险:¥{{totalitem.result.syPremium}}</text>
- <text
- v-if="totalitem.result.taxAmount">车船税:¥{{totalitem.result.taxAmount}}</text>
- <text
- v-if="totalitem.result.jyPremium">驾意险:¥{{totalitem.result.jyPremium}}</text>
- </view>
- <view class="dis a-c f-wrap price" style="font-size: 20rpx;color: #FF4D4D;"
- v-if="totalitem.result.feeDisplay">
- <text>{{totalitem.result.feeView?'掌柜科技币:【':'优惠金额:【'}}
- <text
- v-if="totalitem.result.jqPremium">交强险:{{totalitem.result.jqExportFee?totalitem.result.jqExportFee:'无'}}</text>
- <text
- v-if="totalitem.result.syPremium">商业险:{{totalitem.result.syExportFee?totalitem.result.syExportFee:'无'}}</text>
- <text
- v-if="totalitem.result.jyPremium">驾意险:{{totalitem.result.noExportFee?totalitem.result.noExportFee:"无"}}</text>
- 】</text>
- </view>
- <view class="dis a-c j-s ">
- <view class="dis f-c time">
- <text
- v-if="totalitem.result.jqPremium">交强起保时间:{{totalitem.result.startDateJq}}
- </text>
- <text
- v-if="totalitem.result.jqPremium">交强终保时间:{{totalitem.result.endDateJq}}
- </text>
- <text
- v-if="totalitem.result.syPremium">商业起保时间:{{totalitem.result.startDateSy}}
- </text>
- <text
- v-if="totalitem.result.syPremium">商业终保时间:{{totalitem.result.endDateSy}}
- </text>
- </view>
- <image src="/static/image/car-insure/Group30.png" mode=""
- style="width: 14px;height: 14px;" @click="syncData(totalitem.result)">
- </image>
- </view>
- <view class="dis a-c f-wrap time">
- <text v-if="totalitem.namesimple == '永诚财险'">光博分:{{ totalitem.result.ilogPreUdwMess ?
- totalitem.result.ilogPreUdwMess : '无' }}</text>
- <text v-else>评分:{{ totalitem.result.ilogPreUdwMess ?
- totalitem.result.ilogPreUdwMess : '无' }}</text>
- <text v-if="totalitem.result.jqScore">交强类型评分:{{ totalitem.result.jqScore ?
- totalitem.result.jqScore : '无' }}</text>
- <text v-if="totalitem.result.syScore">商业类型评分:{{ totalitem.result.syScore ?
- totalitem.result.syScore : '无' }}</text>
- <text v-if="totalitem.result.lossRation">总赔付率:{{ totalitem.result.lossRation ?
- totalitem.result.lossRation : '无' }}</text>
- <text v-if="totalitem.result.jqLossRation">交强赔付率:{{ totalitem.result.jqLossRation ?
- totalitem.result.jqLossRation : '无' }}</text>
- <text v-if="totalitem.result.syLossRation">商业赔付率:{{ totalitem.result.syLossRation ?
- totalitem.result.syLossRation : '无' }}</text>
- <text
- v-if="totalitem.namesimple == '紫金财险'">鼎然-车辆风险评分:{{totalitem.result.ubiPredictedInfoScore ?
- totalitem.result.ubiPredictedInfoScore : '无'}}</text>
- <text v-if="totalitem.result.jqRenewal">交强续保:{{ totalitem.result.jqRenewal ?
- totalitem.result.jqRenewal : '无' }}</text>
- <text v-if="totalitem.result.syRenewal">商业续保:{{ totalitem.result.syRenewal ?
- totalitem.result.syRenewal : '无' }}</text>
- <text v-if="totalitem.result.jqClaims">交强出险次数:{{ totalitem.result.jqClaims ?
- totalitem.result.jqClaims : '无' }}</text>
- <text v-if="totalitem.result.syClaims">商业出险次数:{{ totalitem.result.syClaims ?
- totalitem.result.syClaims : '无' }}</text>
- </view>
- <template v-if="totalitem.result.iszdj !=null && totalitem.result.iszdj!=''">
- <text v-if="totalitem.result.iszdj==0" style="color: red;">假单交</text>
- <text v-if="totalitem.result.iszdj==1" style="color: red;">真单交</text>
- </template>
- <view class="dis j-end f-c lastyear">
- <view class="dis a-c j-end ">
- <view class=" left dis j-c a-c" v-if="totalitem.lastYearMsg"
- @click="YearMsg(totalitem.lastYearMsg,totalitem.namesimple)">
- <text>上年信息</text>
- </view>
- <view class=" right ml-2 dis j-c a-c" v-if='totalitem.result.predictInfo'
- @click="preUnderwriting(totalitem.result.predictInfo)">
- <text>预核保信息</text>
- </view>
- </view>
- <view class="dis a-c j-end mt-1">
- <u-button class="ml-2" type="error" size="mini"
- :custom-style="{borderRadius:'2px'}"
- style="background: linear-gradient( 90deg, #10D8D8 0%, #00CBE6 100%);"
- @click="resubmitImage(totalitem.result.companyId)">补传影像</u-button>
- <u-button class="ml-2" type="error" size="mini"
- :custom-style="{borderRadius:'2px'}"
- style="background: linear-gradient( 90deg, #FF4D4D 0%, #FF784D 100%);"
- @click="bjdpreview(totalitem.result.companyId)">报价单</u-button>
- <u-button class="ml-2" type="primary" size="mini"
- :custom-style="{borderRadius:'2px'}"
- style="background: linear-gradient( 90deg, #FF9415 0%, #FFB525 100%);"
- @click="querydetial(totalitem.result.companyId,totalitem.cnName)">查看详情</u-button>
- <u-button class="ml-2" type="primary" size="mini"
- v-if="totalitem.result.orderstatus==0"
- :custom-style="{borderRadius:'2px'}"
- style="background: linear-gradient( 90deg, #0052FF 0%, #0D8BFF 100%);"
- @click="submitUnderwriting(totalitem.result.companyId,totalitem.result.apiType ,totalitem.namesimple, totalitem)">提交核保</u-button>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- </block>
- </view>
- </view>
- <view class="footer-btn dis a-c j-s">
- <u-button type="primary" style="background:#E6EEFF;color: #0052FF; width: 20%;" @tap="back">上一步</u-button>
- <u-button type="primary" style="background:#FF9900;width: 20%;" @tap="tempSave">暂存</u-button>
- <u-button type="primary" style="background:#C9C9C9;width: 20%;" @click="priceComparison"
- v-if="comparableQuantity<2 ">查最优</u-button>
- <u-button type="primary" style="background:#1DB1E0;width: 20%;" @click="priceComparison1"
- v-if="comparableQuantity>=2 && selectedCount<2">查最优</u-button>
- <u-button type="primary" class="priceComparison" @click="priceComparison2"
- v-if="selectedCount>=2">查最优</u-button>
- <u-button type="primary" style="background:#0052FF; width: 30%;" @tap="toNext">多家报价</u-button>
- </view>
- <!-- 商业选择方案 -->
- <wyb-popup ref="popupBI" type="bottom" mode="size-fixed" height="900" radius="6" :showCloseIcon="true">
- <view class="popup-content">
- <view class="popHeader d-flex a-center j-center">
- 选择方案
- </view>
- <scroll-view scroll-top="0" scroll-y="true" class="popContent">
- <view class="popContentTitle">{{insureItem.kindName}}</view>
- <view style="color: #999;font-size: 24upx;">{{insureItem.desc}}</view>
- <view class="dis a-c j-s p-3" v-if="['TY2','TY3','TY4'].includes(insureItem.kindCode)">
- <text>自定义次数</text>
- <u-number-box v-model="insureItem.amount" :input-width="100" :input-height="60" :min="0"
- color="#fff" size="30" @change="numberBoxChange"></u-number-box>
- </view>
- <view v-else style="margin-top: 10px;">
- <block v-for="(amt,index) in insureItem.amtList" :key="index">
- <view class="amtSingle" @tap="adjustBIItemLabel(index)"
- :class="(amt.label== insureItem.amountDesc)?'active':''">
- {{amt.label}}
- </view>
- </block>
- </view>
- </scroll-view>
- <view class="popBottom">
- <button type="primary" style="background-color: #0052FF;"
- @tap="adjustBIItemLabelSubmit()">完成</button>
- </view>
- </view>
- </wyb-popup>
- <!-- 安盛驾意险弹框 -->
- <u-modal v-model="anshengPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ASradioChange" shape="square"
- v-for="(item, index) in anshengInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 人寿驾意险弹框 -->
- <u-modal v-model="renshouPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0; align-items: flex-start;" label-size="30" shape="square"
- @change="RSradioChange" v-for="(item, index) in renshouInsuranceData" :key="index"
- :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 中煤驾意险弹框 -->
- <u-modal v-model="zhongmeiPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;" label-size="30" @change="ZMradioChange" shape="square"
- v-for="(item, index) in zhongmeiInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 恒邦驾意险弹框 -->
- <u-modal v-model="hengbangPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="HBradioChange" shape="square"
- v-for="(item, index) in hengbangInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 众安驾意险弹框 -->
- <u-modal v-model="zhonganPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ZAradioChange" shape="square"
- v-for="(item, index) in zhonganInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 华农驾意险弹框 -->
- <u-modal v-model="huanongPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="HNradioChange" shape="square"
- v-for="(item, index) in huanongInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 泰康驾意险弹框 -->
- <u-modal v-model="taikangPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="TkradioChange" shape="square"
- v-for="(item, index) in taikangInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <u-modal v-model="yongchengPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="YCradioChange" shape="square"
- v-for="(item, index) in yongchengInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 太平驾意险弹框 -->
- <u-modal v-model="taipingPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="TPradioChange" shape="square"
- v-for="(item, index) in taipingInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 渤海驾意险弹框 -->
- <u-modal v-model="bohaiPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" style="" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="BHradioChange" shape="square"
- v-for="(item, index) in bohaiInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <u-modal v-model="priceComparisonShow" title="比价提醒"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :show-cancel-button="false"
- :confirm-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}"
- @confirm="priceComparisonShow=false">
- <view class="slot-content dis j-c a-c ">
- <view class="p-2">
- <text>可选择有报价结果的公司进行比价,最少选择两家,最多可选择三家</text>
- </view>
- </view>
- </u-modal>
- <!-- 紫金驾意弹框 -->
- <u-popup v-model="zijinPopupshow" mode="bottom" border-radius="10" height="1000">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="title dis a-c j-c">
- <text>意外险选择</text>
- </view>
- <scroll-view scroll-y="true" class="scolcentent">
- <u-checkbox-group @change="ZJcheckboxGroupChange">
- <u-checkbox style="margin: 8px 0;flex: auto;" active-color="#FF4D4D" label-size="28"
- v-model="item.checked" v-for="(item, index) in zijinInsuranceData" :key="index"
- :name="item.projectCode">{{item.alias}}</u-checkbox>
- </u-checkbox-group>
- </scroll-view>
- <view class="operateBtn dis ">
- <view class="cancel dis a-c j-c" @click="zijinPopupshow=false">
- 取消
- </view>
- <view class="confirm dis a-c j-c" @click="zijinPopupshow=false">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <!-- 国任特约 -->
- <u-popup v-model="guoRencontributingshow" mode="bottom" border-radius="10" height="1200" :closeable="true">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2">
- <text class="title">调整特约</text>
- <u-tabs :list="list" :is-scroll="false" :current="GRcurrent" @change="change($event,'GR')"
- active-color="#06A8DC" inactive-color="#81869B"
- style="background: transparent;width: 100px;"></u-tabs>
- </view>
- <scroll-view scroll-y="true" class="scolcentent ">
- <u-checkbox-group @change="guoRencontributingChange" style="display: contents;" class="mb-4">
- <view v-show="GRcurrent==0 && ['0330','0330034002','0330034001'].includes(productId)">
- <u-checkbox v-model="item.checked" v-for="(item, index) in guoRenSpecialAgreementDatajq"
- :key="index" :name="item.clauseCode" active-color="#06A8DC"
- style="align-items: baseline;">
- <view class="dis f-c ">
- <text>{{item.clauseCode}}{{item.clauses}}</text>
- <text style="font-size: 20rpx;color: #999;">{{item.clausesContext}}</text>
- </view>
- </u-checkbox>
- </view>
- <view v-show="GRcurrent==1 && ['034001','0330034002','0330034001'].includes(productId)">
- <u-checkbox v-model="item.checked" v-for="(item, index) in guoRenSpecialAgreementDatasy"
- :key="index" :name="item.clauseCode" active-color="#06A8DC"
- style="align-items: baseline;">
- <view class="dis f-c ">
- <text>{{item.clauseCode}}{{item.clauses}}</text>
- <text style="font-size: 20rpx;color: #999;">{{item.clausesContext}}</text>
- </view>
- </u-checkbox>
- </view>
- </u-checkbox-group>
- </scroll-view>
- <view class="operateBtn dis ">
- <view class="cancel dis a-c j-c" @click="guoRencontributingshow=false">
- 取消
- </view>
- <view class="confirm dis a-c j-c" @click="guoRencontributingshow=false">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <!-- 紫金特约 -->
- <u-popup v-model="zijincontributingshow" mode="bottom" border-radius="10" height="1200" :closeable="true">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2">
- <text class="title">调整特约</text>
- <u-tabs :list="list" :is-scroll="false" :current="ZJcurrent" @change="change($event,'ZJ')"
- active-color="#06A8DC" inactive-color="#81869B"
- style="background: transparent;width: 100px;"></u-tabs>
- </view>
- <view class="hint dis a-c ">
- <image src="../../static/image/car-insure/tishi.png" mode=""></image>
- <text>带有输入框的条款为可编辑内容,含*号内容可替换!</text>
- </view>
- <scroll-view scroll-y="true" class="scolcentent mt-2">
- <u-checkbox-group @change="ziJincontributingChange" class="dis f-c">
- <view v-show="ZJcurrent==0">
- <u-checkbox v-model="item.checked" v-for="(item, index) in ziJinengageListDatajq"
- :key="index" :name="item.clauseId" active-color="#06A8DC"
- style="align-items: baseline;">
- <view class="dis f-c " style="width:calc(100vw - 70px);">
- <text>{{item.clauseCode}}{{item.clauseName}}</text>
- <u-input style="width: 100%;" v-if="item.modifyFlag==1" :border="true"
- v-model="item.clauseContent" size="mini" type="textarea"
- :custom-style="{fontSize:'12px'}" />
- <text v-else style="font-size: 20rpx;color: #999;">{{item.clauseContent}}</text>
- </view>
- </u-checkbox>
- </view>
- <view v-show="ZJcurrent==1">
- <u-checkbox v-model="item.checked" v-for="(item, index) in ziJinengageListDatasy"
- :key="index" :name="item.clauseId" active-color="#06A8DC"
- style="align-items: baseline;">
- <view class="dis f-c " style="width:calc(100vw - 70px);">
- <text>{{item.clauseCode}}{{item.clauseName}}</text>
- <u-input style="width: 100%;" v-if="item.modifyFlag==1" :border="true"
- v-model="item.clauseContent" size="mini" type="textarea"
- :custom-style="{fontSize:'12px'}" />
- <text v-else style="font-size: 20rpx;color: #999;">{{item.clauseContent}}</text>
- </view>
- </u-checkbox>
- </view>
- </u-checkbox-group>
- </scroll-view>
- <view class="operateBtn dis ">
- <view class="cancel dis a-c j-c" @click="zijincontributingshow=false">
- 取消
- </view>
- <view class="confirm dis a-c j-c" @click="zijincontributingshow=false">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <!-- 华泰特约 -->
- <u-popup v-model="huataicontributingshow" mode="bottom" border-radius="10" height="1200" :closeable="true">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2">
- <text class="title">调整特约</text>
- <u-tabs :list="list" :is-scroll="false" :current="HTcurrent" @change="change($event,'HT')"
- active-color="#06A8DC" inactive-color="#81869B"
- style="background: transparent;width: 100px;"></u-tabs>
- </view>
- <view class="hint dis a-c ">
- <image src="../../static/image/car-insure/tishi.png" mode=""></image>
- <text>带有输入框的条款为可编辑内容,含x号内容可替换!</text>
- </view>
- <scroll-view scroll-y="true" class="scolcentent mt-2">
- <u-checkbox-group @change="huaTaicontributingChange" class="dis f-c" style="display: contents;">
- <view v-show="HTcurrent==0">
- <u-checkbox v-model="item.checked" v-for="(item, index) in huaTaiengageListDatajq"
- :key="index" :name="item.engageCode" active-color="#06A8DC"
- style="align-items: baseline;">
- <view class="dis f-c " style="width:calc(100vw - 70px);">
- <text>{{item.engageTitle}}</text>
- <u-input style="width: 100%;" v-if="item.modifyFlag==1" :border="true"
- v-model="item.engageDetail" size="mini" type="textarea"
- :custom-style="{fontSize:'12px'}" />
- <text v-else style="font-size: 20rpx;color: #999;">{{item.engageDetail}}</text>
- </view>
- </u-checkbox>
- </view>
- <view v-show="HTcurrent==1">
- <u-checkbox v-model="item.checked" v-for="(item, index) in huaTaiengageListDatasy"
- :key="index" :name="item.engageCode" active-color="#06A8DC"
- style="align-items: baseline;">
- <view class="dis f-c " style="width:calc(100vw - 70px);">
- <text>{{item.engageTitle}}</text>
- <u-input style="width: 100%;" v-if="item.modifyFlag==1" :border="true"
- v-model="item.engageDetail" size="mini" type="textarea"
- :custom-style="{fontSize:'12px'}" />
- <text style="font-size: 20rpx;color: #999;">{{item.engageDetail}}</text>
- </view>
- </u-checkbox>
- </view>
- </u-checkbox-group>
- </scroll-view>
- <view class="operateBtn dis ">
- <view class="cancel dis a-c j-c" @click="huataicontributingshow=false">
- 取消
- </view>
- <view class="confirm dis a-c j-c" @click="huataicontributingshow=false">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <!-- 诚泰系数 -->
- <u-popup v-model="CTcoefficientShow" mode="bottom" border-radius="10" height="600" :closeable="true">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2">
- <text class="title">调整系数</text>
- </view>
- <scroll-view scroll-y="true" class="scolcentent mt-2">
- <view class="dis j-s f-c" style="width: 90%;">
- <text>扩展内容</text>
- <view class="dis a-c j-s">
- <text>自主定价系数</text>
- <u-input type="number" v-model="CTcoefficientForm.pricingCoefficient"
- :custom-style="{textAlign:'right',width:'50px',marginRight:'10px'}"
- placeholder="请输入"></u-input>
- </view>
- <view class="dis a-c j-s">
- <text>初始折扣</text>
- <u-input type="number" v-model="CTcoefficientForm.initialProposalDiscount" disabled
- :custom-style="{textAlign:'right',width:'50px',marginRight:'10px'}"
- placeholder="请输入"></u-input>
- </view>
- <view class="dis a-c j-s">
- <text>商业险折扣</text>
- <u-input type="number" v-model="CTcoefficientForm.expectedDiscount"
- :custom-style="{textAlign:'right',width:'50px',marginRight:'10px'}"
- placeholder="请输入"></u-input>
- </view>
- <view class="dis a-c j-s">
- <text>是否验车</text>
- <u-switch v-model="isInspectchange" active-color="#0052FF" inactive-color="#eee"
- size='30'></u-switch>
- </view>
- </view>
- </scroll-view>
- <view class="operateBtn dis ">
- <view class="cancel dis a-c j-c" @click="CTcoefficientShow=false">
- 取消
- </view>
- <view class="confirm dis a-c j-c" @click="CTcoefficientSubmit">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <!-- 紫金系数 -->
- <u-popup v-model="ZJcoefficientShow" mode="bottom" border-radius="10" height="500" :closeable="true">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2">
- <text class="title">调整系数</text>
- </view>
- <scroll-view scroll-y="true" class="scolcentent mt-2">
- <view class="dis j-s f-c" style="width: 90%;">
- <text>扩展内容</text>
- <view class="dis a-c j-end">
- <text>自主定价系数</text>
- <u-input type="number" v-model="ZJcoefficientForm.coefficient"
- :custom-style="{textAlign:'right',width:'50px',marginRight:'10px'}"
- placeholder="请输入"></u-input>
- </view>
- </view>
- </scroll-view>
- <view class="operateBtn dis ">
- <view class="cancel dis a-c j-c" @click="ZJcoefficientShow=false">
- 取消
- </view>
- <view class="confirm dis a-c j-c" @click="ZJcoefficientSubmit">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <u-modal v-model="guoRenPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="GRradioChange" shape="square"
- v-for="(item, index) in guoRenInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <u-modal v-model="dajiaPopupshow" title="驾意险"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
- <view class="slot-content p-2">
- <u-radio-group size="30" wrap>
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="DJradioChange" shape="square"
- v-for="(item, index) in dajiaInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <u-modal v-model="Generateshow" content="是否生成新的订单?" :content-style="{fontWeight: 'bold'}"
- :show-cancel-button="true" :show-title="false" :confirm-style="{color: '#ff9000'}"
- @confirm="GenerateModalConfirm"></u-modal>
- <u-modal v-model="preUnderwritingshow" width="72%" title="预核保信息" :title-style="{fontWeight: 'bold'}">
- <view class="" style="padding: 10px;overflow-y:auto;height: 400px;">
- <view v-for="(item,index) in RSpreUnderwritingList" :key="index">
- <view class="dis f-c " style="background-color: #FFEEEE;">
- <text style="font-weight: bold;">审核意见</text>
- <text style="font-size: 12px;">{{item.opinion}}</text>
- </view>
- <view class="dis f-c" style="background-color: #FFEEEE;">
- <text style="font-weight: bold;">备注</text>
- <text style="font-size: 12px;">{{item.description}}</text>
- </view>
- </view>
- </view>
- </u-modal>
- <!-- 优惠信息弹窗 -->
- <u-popup v-model="discountInfoPopup" mode="center" width="78%" border-radius="6">
- <view class="">
- <view class="p-2 dis j-c a-c">
- <text class="font-weight">{{discountInfoPopupTitle}}优惠信息</text>
- </view>
- <view style="padding: 0 20px;">
- <scroll-view :scroll-top="scrollTop" scroll-y="true" class="discountInfoscroll">
- <rich-text :nodes="discountInfoPopupContent"></rich-text>
- </scroll-view>
- </view>
- <view class="PlanPopup-btn dis a-c j-c">
- <u-button shape="circle" size="medium" @click="discountInfoPopup=false">取消</u-button>
- </view>
- </view>
- </u-popup>
- <u-modal v-model="InsureGuidePopup" ref="uModal" :show-title="false" border-radius="12" confirm-color="#FF5600"
- :confirm-style="{background:'#FFEFE6',height:'36px',lineHeight:'36px'}">
- <view class="">
- <image src="/static/image/car-insure/InsureGuide.png" mode="" style="width: 100%;height: 40px;"></image>
- <scroll-view class="scrollBar" scroll-y="true"
- style="max-height: 500px; padding: 10px; box-sizing: border-box;">
- <view class="dis a-c ">
- <image src="../../static/image/car-insure/duigou1.png" mode=""
- style="width: 16px;height: 16px;">
- </image>
- <text class="font-weight"
- style="font-size: 14px;color: #FF5600;font-family: Source Han Sans SC, Source Han Sans SC;">{{insGuideTitle}}-{{productName}}</text>
- </view>
- <rich-text :nodes="insGuide"></rich-text>
- </scroll-view>
- </view>
- </u-modal>
- <!-- 确认核保弹窗 -->
- <u-modal v-model="auditNextShow" content="是否确认提交核保" :show-title="false"
- :confirm-style="{background:'#0052FF',color:'#fff'}" :mask-close-able='true' @confirm="auditNextconfirm"
- :show-cancel-button="true" :async-close="true">
- </u-modal>
- <!-- 核保提示弹窗 -->
- <u-modal v-model="underwriteShow" :title="underwriteTitle" :title-style="{fontWeight:'bold'}"
- :confirm-text="confirmText" :cancel-text="cancelText" :confirm-style="{background:'#0052FF',color:'#fff'}"
- :show-cancel-button="true" @confirm="underwriteconfirm" @cancel="underwritecancel">
- <view class="slot-content">
- <scroll-view class="scrollBar" scroll-y="true"
- style="max-height: 300px; padding: 10px 20px; box-sizing: border-box;">
- <view class="content">
- <rich-text :nodes="underwriteMsg"></rich-text>
- </view>
- </scroll-view>
- </view>
- </u-modal>
- <!-- 华泰特约 -->
- <u-popup v-model="resubmitDocumentsShow" mode="bottom" border-radius="10" height="1300" :closeable="true"
- width="90%">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2"
- :style="{backgroundImage: `url('../../static/image/car-insure/buluimgheader.png')`,borderBottom:'none'}">
- <text class="title">补录影像</text>
- <u-tabs :list="imagelist" :is-scroll="false" :current="imagecurrent" @change="imagechange"
- active-color="#06A8DC" inactive-color="#81869B"
- style="background: transparent;width: 200px;"></u-tabs>
- </view>
- <scroll-view scroll-y="true" class="scolcentent mt-2"
- style=" padding: 0 20px 0; box-sizing: border-box;">
- <view class="content">
- <view v-show="imagecurrent==0">
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start ">
- <block v-for="(image,index) in imgList1" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList1')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carImageListId','imgList1')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">行驶证主页</view>
- </view>
- </block>
- <view v-if="imgList1.length==0 " class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">行驶证主页</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C01','carImageListId','imgList1')">
- </view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList2" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList2')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carImageListId','imgList2')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">行驶证副本</view>
- </view>
- </block>
- <view v-if="imgList2.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">行驶证副本</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('D01','carImageListId','imgList2')">
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList3" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList3')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'ownerImageListId','imgList3')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">车主身份证正面</view>
- </view>
- </block>
- <view v-if="imgList3.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">车主身份证正面</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C02','ownerImageListId','imgList3')"></view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList4" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList4')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'ownerImageListId','imgList4')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">车主身份证反面</view>
- </view>
- </block>
- <view v-if="imgList4.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">车主身份证反面</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('D02','ownerImageListId','imgList4')"></view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList5" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList5')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'policyImageListId','imgList5')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">投保人身份证正面</view>
- </view>
- </block>
- <view v-if="imgList5.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">投保人身份证正面</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C03','policyImageListId','imgList5')"></view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList6" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList6')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'policyImageListId','imgList6')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">投保人身份证反面</view>
- </view>
- </block>
- <view v-if="imgList6.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">投保人身份证反面</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('D03','policyImageListId','imgList6')"></view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList7" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList7')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'insuredImageListId','imgList7')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">被保人身份证正面</view>
- </view>
- </block>
- <view v-if="imgList7.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">被保人身份证正面</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C04','insuredImageListId','imgList7')"></view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList8" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList8')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'insuredImageListId','imgList8')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">被保人身份证反面</view>
- </view>
- </block>
- <view v-if="imgList8.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">被保人身份证反面</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('D04','insuredImageListId','imgList8')"></view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgNewCarQualified" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgNewCarQualified')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarQualified')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">新车合格证</view>
- </view>
- </block>
- <view v-if="imgNewCarQualified.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">新车合格证</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('XC00','imgNewCarinvoiceId','imgNewCarQualified')">
- </view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgNewCarInvoice" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgNewCarInvoice')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarInvoice')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">购车发票</view>
- </view>
- </block>
- <view v-if="imgNewCarInvoice.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">购车发票</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('GC00','imgNewCarinvoiceId','imgNewCarInvoice')">
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgRelationship" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgRelationship')"></image>
- <view class="delImgIcon d-flex a-center j-center "
- @tap="delCheckImage('imgRelationship',index)">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">其他关系证明</view>
- </view>
- </block>
- <view class="uni-uploader__input-box" style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">其他关系证明</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('GX00','imgRelationshipid','imgRelationship')"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view v-show="imagecurrent==1">
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start ">
- <block v-for="(image,index) in imgList9" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList9')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList9')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(车架)</view>
- </view>
- </block>
- <view v-if="imgList9.length==0 " class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(车架)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0500','carInspectionImage','imgList9')">
- </view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList10" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList10')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList10')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(后左)</view>
- </view>
- </block>
- <view v-if="imgList10.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(后左)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0501','carInspectionImage','imgList10')">
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start ">
- <block v-for="(image,index) in imgList11" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList11')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList11')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(后右)</view>
- </view>
- </block>
- <view v-if="imgList11.length==0 " class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(后右)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0502','carInspectionImage','imgList11')">
- </view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList12" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList12')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList12')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(前右)</view>
- </view>
- </block>
- <view v-if="imgList12.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(前右)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0503','carInspectionImage','imgList12')">
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start ">
- <block v-for="(image,index) in imgList13" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList13')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList13')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(前左)</view>
- </view>
- </block>
- <view v-if="imgList13.length==0 " class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(前左)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0504','carInspectionImage','imgList13')">
- </view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList14" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList14')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList14')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(人车合影)</view>
- </view>
- </block>
- <view v-if="imgList14.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(人车合影)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0505','carInspectionImage','imgList14')">
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start ">
- <block v-for="(image,index) in imgList15" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList15')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList15')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(正前)</view>
- </view>
- </block>
- <view v-if="imgList15.length==0 " class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(正前)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0506','carInspectionImage','imgList15')">
- </view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList16" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList16')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList16')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(正后)</view>
- </view>
- </block>
- <view v-if="imgList16.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(正后)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0507','carInspectionImage','imgList16')">
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start ">
- <block v-for="(image,index) in imgList17" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList17')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList17')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(地标合影)</view>
- </view>
- </block>
- <view v-if="imgList17.length==0 " class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(地标合影)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0508','carInspectionImage','imgList17')">
- </view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-start">
- <block v-for="(image,index) in imgList18" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList18')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList18')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(工作台)</view>
- </view>
- </block>
- <view v-if="imgList18.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(工作台)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0509','carInspectionImage','imgList18')">
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-uploader mb-2">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start ">
- <block v-for="(image,index) in imgList19" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList19')"></image>
- <view class="delImgIcon d-flex a-center j-center"
- @tap="delCheckImage(image,'carInspectionImage','imgList19')">
- <image src="../../static/image/car-insure/imgdel.png" mode=""
- style="width: 100%;height: 100%;"></image>
- </view>
- <view class="imgtitle dis a-c j-c">验车照(天窗)</view>
- </view>
- </block>
- <view v-if="imgList19.length==0 " class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="imgtitle dis a-c j-c">验车照(天窗)</view>
- <view class="uni-uploader__input"
- @tap="chooseImage('C0510','carInspectionImage','imgList19')">
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- <view class="operateBtn1 dis a-c j-c">
- <view class="cancel dis a-c j-c" @click="resubmitDocumentsShow=false">
- 取消
- </view>
- <view class="confirm dis a-c j-c" @click="resubmitImageconfirm">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
- <!-- 提交核保确认是否选择了某种优惠方式 -->
- <uni-popup ref='popup' type="bottom">
- <view class="popup">
- <view class="dis a-c j-c title">
- <view>选择优惠方式</view>
- <view class="close" @click="closePopup()">
- <uni-icons type='closeempty' size='16'></uni-icons>
- </view>
- </view>
- <view class="list">
- <view class="radio" @click='handleAcceptCustomer(1)'>
- <view>客户权益</view>
- <view>当前客户出单后,可赠送客户价值{{ acceptCustomerObj.maxPackagePrice }}的权益礼包</view>
- </view>
- <view class="radio" @click='handleAcceptCustomer(0)'>
- <view>现金优惠</view>
- <view>选择为当前客户最多优惠{{ acceptCustomerObj.amount }}元</view>
- </view>
- </view>
- </view>
- </uni-popup>
- </view>
- </template>
- <script>
- import uniIcons from '../../components/uni-icons/components/uni-icons/uni-icons.vue'
- import {
- mapState
- } from "vuex"
- import lsLoading from '@/components/common/ls-loading/ls-loading.vue';
- import wybPopup from '@/components/modules/carInsure/wyb-popup/wyb-popup.vue'
- import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
- export default {
- components: {
- wybPopup,
- lsLoading,
- previewImage,
- uniIcons
- },
- watch: {
- comparableQuantity: {
- handler(val) {
- console.log(val);
- },
- },
- },
- computed: {
- ...mapState(['userInfo', 'token', 'quotationType']),
- guoRenSpecialAgreementDatajq() {
- return this.guoRenSpecialAgreementData.filter(item => item.riskCode === "0507");
- },
- guoRenSpecialAgreementDatasy() {
- return this.guoRenSpecialAgreementData.filter(item => item.riskCode === "0510");
- },
- ziJinengageListDatajq() {
- return this.ziJinengageListData.filter(item => item.riskCode === "0507");
- },
- ziJinengageListDatasy() {
- return this.ziJinengageListData.filter(item => item.riskCode === "0510");
- },
- huaTaiengageListDatajq() {
- return this.huaTaiengageListData.filter(item => item.riskCode === "0507");
- },
- huaTaiengageListDatasy() {
- return this.huaTaiengageListData.filter(item => item.riskCode === "0510");
- }
- },
- // 监听导航栏的按钮
- onNavigationBarButtonTap(e) {
- if (e.index == 0) {
- this.navigate({
- url: '/pages/index/index'
- }, "switchTab", true);
- }
- },
- data() {
- return {
- isTransferRequired: false,
- imagelist: [{
- name: '车辆/人员信息'
- },
- {
- name: '验车照'
- }
- ],
- imagecurrent: 0,
- //特约分类
- list: [{
- name: '交强'
- }, {
- name: '商业'
- }],
- ZJcurrent: 0,
- GRcurrent: 0,
- HTcurrent: 0,
- //特约分类
- CTcoefficientForm: {
- initialProposalDiscount: "", //初始折扣
- expectedDiscount: "", //期望折扣
- pricingCoefficient: "", //自主定价系数
- },
- ZJcoefficientForm: {
- coefficient: null, //系数
- },
- CTcoefficientIndex: "",
- ZJcoefficientIndex: "",
- CTcoefficientShow: false, //诚泰系数
- ZJcoefficientShow: false, //紫金系数
- previewImgs: [],
- carImageListId: [],
- ownerImageListId: [],
- policyImageListId: [],
- insuredImageListId: [],
- imgRelationshipid: [], //其他关系
- imgNewCarinvoiceId: [], //购车发票
- imgRelationship: [], //其他证明
- imgNewCarQualified: [], //合格证
- imgNewCarInvoice: [], //发票
- carInspectionImage: [], //验车照
- imgList1: [],
- imgList2: [],
- imgList3: [],
- imgList4: [],
- imgList5: [],
- imgList6: [],
- imgList7: [],
- imgList8: [],
- imgList9: [],
- imgList10: [],
- imgList11: [],
- imgList12: [],
- imgList13: [],
- imgList14: [],
- imgList15: [],
- imgList16: [],
- imgList17: [],
- imgList18: [],
- imgList19: [],
- resubmitDocumentsShow: false,
- insuranceCompanyName: "", //保险公司简称
- companyId: "", //子订单ID
- apiType: "", //区分核保接口请求类型
- auditNextShow: false, //核保确认弹窗
- //核保提示
- underwriteShow: false,
- underwriteTitle: "订单自核成功", //核保状态
- confirmText: "立即缴费", //核保提示自定义按钮
- cancelText: "暂不缴费",
- underwriteMsg: "",
- //核保提示
- /* 优惠信息弹窗*/
- discountInfoPopup: false,
- discountInfoPopupTitle: "",
- discountInfoPopupContent: ``,
- /* 优惠信息弹窗*/
- /* 投保指引*/
- insGuide: "",
- insGuideTitle: "",
- /* 投保指引*/
- guoRenSpecialAgreementData: [],
- guoRenSpecialAgreementVo: [],
- ziJinengageListData: [], //紫金特约list
- huaTaiengageListData: [], //华泰特约list
- huaTaiengageList: [],
- ziJinengageList: [],
- preUnderwritingshow: false, //预核保信息弹窗
- Generateshow: false,
- guoRencontributingshow: false, //国任特约弹窗
- zijincontributingshow: false, //紫金特约弹窗
- huataicontributingshow: false, //华泰特约弹窗
- priceComparisonShow: false, //比价弹窗
- comparableQuantity: 0, //报价成功总数
- selectedCount: 0, //比价勾选数量
- riskList: [], //险种大类
- model: {
- taxRelifFlag: "正常交税",
- taxpayerIdentifier: "身份证",
- relifReason: "",
- taxPaidAreaCode: "",
- },
- //车船税form
- vehicleAndVesselTaxForm: {
- taxRelifFlag: "1", //类型
- identifyNumber: "", //纳税人识别号
- taxpayerIdentifier: "01", //纳税人证件类型
- taxpayerName: "", //纳税人名称
- extendChar2: "", //减免税凭证号
- paidFreeCertificate: "", //完税凭证号
- relifReason: "", //减免税原因
- taxComCode: "", //税务机关代码
- taxComName: "", ///税务机关名称
- taxDocumentDate: "", //完税日期
- taxPaidAreaCode: "", //完税凭证地区代码
- taxRelief: "", //减税比例
- },
- taxRelifFlagoptions: [],
- taxpayerIdentifieroptions: [],
- relifReasonoptions: [],
- taxPaidAreaCodeShow: false, //完税凭证地区
- taxDocumentDateShow: false, //完税凭证填发日期
- taxRelifFlagShow: false, //车船税类型
- taxpayerIdentifierShow: false, //纳税人证件类型
- relifReasonShow: false, //减免税原因代码
- params: {
- year: true, //年
- month: true, //月
- day: true, //日
- hour: true, //时
- minute: true, //分
- second: true, //秒
- },
- jqimmediately: "0",
- jqimmediatelyList: [{
- label: '是',
- value: "1",
- },
- {
- label: '否',
- value: "0",
- },
- ],
- syimmediately: "0",
- syimmediatelyList: [{
- label: '是',
- value: "1",
- },
- {
- label: '否',
- value: "0",
- },
- ],
- jqchecked: false,
- sychecked: false,
- jqstartShow: false,
- jqendShow: false,
- systartShow: false,
- syendShow: false,
- jqstartDate: "",
- jqendDate: "",
- systartDate: "",
- syendDate: "",
- scrollTop: 0,
- carInfo: {},
- ownerInfo: {},
- policyHolderInfo: {},
- insuredPersonInfo: {},
- carInfoPositiveList: [],
- ownerInfoPositiveList: [],
- policyHolderInfoPositiveList: [],
- insuredPersonInfoPositiveList: [],
- transferDateShow: false,
- params1: {
- year: true, //年
- month: true, //月
- day: true, //日
- hour: false, //时
- minute: false, //分
- second: false, //秒
- },
- params2: {
- province: true,
- city: false,
- area: false
- },
- quotableCompanyList: [],
- RSpreUnderwritingList: [],
- productId: "",
- productName: "",
- animation: 'twinkle', //动画类型
- InsureGuidePopup: false,
- /* 投保指引弹窗*/
- InsureGuideContent: "", // 指引内容
- SelectedPlanId: "2", //已选方案id
- genericPlanPopup: false, //方案选择弹窗
- planDataExpansion: { //方案综合数据
- id: "",
- namesimple: "",
- cnName: "",
- genericPlanList: [], //方案通用列表
- genericPlanInfo: {}, //方案展示信息
- },
- insureItem: {},
- orderno: "", //订单号
- quoteno: "", //报价号
- accidentInsuranceCategoryList: [],
- accidentCategoryId: "",
- /* 安盛 */
- anshengPopupshow: false,
- anshengInsuranceData: [],
- anshengaccidentalDrivingVo: {},
- /* 国任 */
- guoRenPopupshow: false,
- guoRenInsuranceData: [],
- guoRenaccidentalDrivingVo: {},
- /* 大家 */
- dajiaPopupshow: false,
- dajiaInsuranceData: [],
- dajiaaccidentalDrivingVo: {},
- /* 永诚 */
- yongchengPopupshow: false,
- yongchengInsuranceData: [],
- yongchengaccidentalDrivingVo: {},
- /* 恒邦 */
- hengbangPopupshow: false,
- hengbangInsuranceData: [],
- hengbangaccidentalDrivingVo: {},
- /* 诚泰 */
- chengtaiPopupshow: false,
- chengtaiInsuranceData: [],
- chengtaiaccidentalDrivingVo: {},
- /* 中煤 */
- zhongmeiPopupshow: false,
- zhongmeiInsuranceData: [],
- zhongmeiaccidentalDrivingVo: {},
- /* 泰康 */
- taikangPopupshow: false,
- taikangInsuranceData: [],
- taikangaccidentalDrivingVo: {},
- /* 渤海 */
- bohaiPopupshow: false,
- bohaiInsuranceData: [],
- bohaiaccidentalDrivingVo: {},
- /* 众安 */
- zhonganPopupshow: false,
- zhonganInsuranceData: [],
- zhonganaccidentalDrivingVo: {},
- /* 太平 */
- taipingPopupshow: false,
- taipingInsuranceData: [],
- taipingaccidentalDrivingVo: {},
- /* 华农 */
- huanongPopupshow: false,
- huanongInsuranceData: [],
- huanongaccidentalDrivingVo: {},
- /* 人寿 */
- renshouPopupshow: false,
- renshouInsuranceData: [],
- renshouaccidentalDrivingVo: {},
- /* 紫金 */
- zijinPopupshow: false,
- zijinInsuranceData: [],
- zijinaccidentalDrivingVo: [],
- isInspectchange: false,
-
- // 优惠方式
- acceptCustomerObj: {}
- }
- },
- onShow() {
- if(uni.getStorageSync('orderno')) {
- this.$http.post('/insurance/order/reviseApp', {
- orderNo: uni.getStorageSync('orderno')
- }).then(res => {
- this.productId = res.data.productid; //险种id
- this.productName = res.data.product; //险种name
- this.quotableCompanyList = JSON.parse(JSON.stringify(res.data.companyDtos));
- this.commpanyList();
- this.carInfo = res.data.carinfo; //车辆信息
- this.ownerInfo = res.data.ownerinfo; //车主信息
- this.policyHolderInfo = res.data.applyinfo; //投保人信息
- this.insuredPersonInfo = res.data.insureinfo; //被保人信息
- this.riskList = res.data.risk; //险种大类
- this.vehicleAndVesselTaxForm = res.data.vehicleAndVesselTax; //车船税信息
- this.orderno = res.data.orderno;
- this.quoteno = res.data.quoteno;
- this.imageEcho(res.data.quoteno) // 影像获取完毕
- if (this.riskList.length > 0) {
- for (let i = 0; i < this.riskList.length; i++) {
- if (this.riskList[i].riskCode == '0507') {
- if (this.isDateBeforeToday(this.riskList[i].startDate)) {
- this.jqstartDate = this.nextday();
- this.jqendDate = this.oneYearPast(this.jqstartDate)
- this.riskList[i].startDate = this.nextday()
- this.riskList[i].endDate = this.oneYearPast(this.jqstartDate)
- } else {
- this.jqstartDate = this.riskList[i].startDate;
- this.jqendDate = this.riskList[i].endDate;
- }
- }
- if (this.riskList[i].riskCode == '0510') {
- if (this.isDateBeforeToday(this.riskList[i].startDate)) {
- this.systartDate = this.nextday();
- this.syendDate = this.oneYearPast(this.systartDate)
- this.riskList[i].startDate = this.nextday()
- this.riskList[i].endDate = this.oneYearPast(this.systartDate)
- } else {
- this.systartDate = this.riskList[i].startDate;
- this.syendDate = this.riskList[i].endDate;
- }
-
- }
- }
- }
- })
- } else {
- this.jqstartDate = this.nextday();
- this.jqendDate = this.oneYearPast(this.jqstartDate);
- this.systartDate = this.nextday();
- this.syendDate = this.oneYearPast(this.jqstartDate);
- const eventChannel = this.getOpenerEventChannel()
- // 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
- eventChannel.on('acceptData', (data) => {
- this.quoteno = data.quoteno;
- this.orderno = data.orderno;
- this.carInfo = data.carInfo; //车辆信息
- this.ownerInfo = data.ownerInfo; //车主信息
- this.policyHolderInfo = data.policyHolderInfo; //投保人信息
- this.vehicleAndVesselTaxForm.identifyNumber = this.policyHolderInfo.identifyNumber;
- this.vehicleAndVesselTaxForm.taxpayerName = this.policyHolderInfo.name;
- this.insuredPersonInfo = data.insuredPersonInfo; //被保人信息
- this.carInfoPositiveList = data.carInfoPositiveList; //车辆
- this.ownerInfoPositiveList = data.ownerInfoPositiveList; //车主
- this.policyHolderInfoPositiveList = data.policyHolderInfoPositiveList; //投保
- this.insuredPersonInfoPositiveList = data.insuredPersonInfoPositiveList; //被保人
- this.productId = data.productId; //险种id
- this.productName = data.productName; //险种name
- this.riskTypeEchoProcessing(this.productId)
- this.quotableCompanyList = JSON.parse(JSON.stringify(data.quotableCompanyList)); //可报价公司
- this.commpanyList();
- })
- }
- },
- async onLoad(params) {
- if (params.orderno) {
- uni.setStorageSync('orderno', params.orderno)
- let res = await this.$http.post('/insurance/order/reviseApp', {
- orderNo: params.orderno
- });
- this.productId = res.data.productid; //险种id
- this.productName = res.data.product; //险种name
- this.quotableCompanyList = JSON.parse(JSON.stringify(res.data.companyDtos));
- this.commpanyList();
- this.carInfo = res.data.carinfo; //车辆信息
- this.ownerInfo = res.data.ownerinfo; //车主信息
- this.policyHolderInfo = res.data.applyinfo; //投保人信息
- this.insuredPersonInfo = res.data.insureinfo; //被保人信息
- this.riskList = res.data.risk; //险种大类
- this.vehicleAndVesselTaxForm = res.data.vehicleAndVesselTax; //车船税信息
- this.orderno = res.data.orderno;
- this.quoteno = res.data.quoteno;
- this.imageEcho(res.data.quoteno) // 影像获取完毕
- if (this.riskList.length > 0) {
- for (let i = 0; i < this.riskList.length; i++) {
- if (this.riskList[i].riskCode == '0507') {
- if (this.isDateBeforeToday(this.riskList[i].startDate)) {
- this.jqstartDate = this.nextday();
- this.jqendDate = this.oneYearPast(this.jqstartDate)
- this.riskList[i].startDate = this.nextday()
- this.riskList[i].endDate = this.oneYearPast(this.jqstartDate)
- } else {
- this.jqstartDate = this.riskList[i].startDate;
- this.jqendDate = this.riskList[i].endDate;
- }
- }
- if (this.riskList[i].riskCode == '0510') {
- if (this.isDateBeforeToday(this.riskList[i].startDate)) {
- this.systartDate = this.nextday();
- this.syendDate = this.oneYearPast(this.systartDate)
- this.riskList[i].startDate = this.nextday()
- this.riskList[i].endDate = this.oneYearPast(this.systartDate)
- } else {
- this.systartDate = this.riskList[i].startDate;
- this.syendDate = this.riskList[i].endDate;
- }
- }
- }
- }
- } else {
- this.jqstartDate = this.nextday();
- this.jqendDate = this.oneYearPast(this.jqstartDate);
- this.systartDate = this.nextday();
- this.syendDate = this.oneYearPast(this.jqstartDate);
- const eventChannel = this.getOpenerEventChannel()
- // 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
- await eventChannel.on('acceptData', (data) => {
- console.log(data);
- this.quoteno = data.quoteno;
- this.orderno = data.orderno;
- this.carInfo = data.carInfo; //车辆信息
- this.ownerInfo = data.ownerInfo; //车主信息
- this.policyHolderInfo = data.policyHolderInfo; //投保人信息
- this.vehicleAndVesselTaxForm.identifyNumber = this.policyHolderInfo.identifyNumber;
- this.vehicleAndVesselTaxForm.taxpayerName = this.policyHolderInfo.name;
- this.insuredPersonInfo = data.insuredPersonInfo; //被保人信息
- this.carInfoPositiveList = data.carInfoPositiveList; //车辆
- this.ownerInfoPositiveList = data.ownerInfoPositiveList; //车主
- this.policyHolderInfoPositiveList = data.policyHolderInfoPositiveList; //投保
- this.insuredPersonInfoPositiveList = data.insuredPersonInfoPositiveList; //被保人
- this.productId = data.productId; //险种id
- this.productName = data.productName; //险种name
- this.riskTypeEchoProcessing(this.productId)
- this.quotableCompanyList = JSON.parse(JSON.stringify(data.quotableCompanyList)); //可报价公司
- this.commpanyList();
- })
- }
- this.getDicType("taxRelifFlag"); //车船税类型
- this.getDicType("taxpayerIdentifier"); //纳税人证件类型
- this.getDicType("relifReason"); //减免税原因代码
- },
- methods: {
- CTcoefficientSubmit() {
- this.quotableCompanyList[this.CTcoefficientIndex].coefficient = this.CTcoefficientForm.pricingCoefficient;
- this.quotableCompanyList[this.CTcoefficientIndex].discount = this.CTcoefficientForm.expectedDiscount;
- this.CTcoefficientShow = false;
- },
- ZJcoefficientSubmit() {
- this.quotableCompanyList[this.ZJcoefficientIndex].coefficient = this.ZJcoefficientForm.coefficient;
- this.ZJcoefficientShow = false;
- },
- CTadjustmentCoefficient(index) {
- this.CTcoefficientIndex = index;
- this.CTcoefficientShow = true;
- },
- ZJadjustmentCoefficient(index) {
- this.ZJcoefficientIndex = index;
- this.ZJcoefficientShow = true;
- },
- handleCustomerInterest(item) {
- let params = {
- option: [
- {
- type: '车主', // 2
- name: this.ownerInfo.name,
- mobile: this.ownerInfo.mobile,
- identifyNumber: this.ownerInfo.identifyNumber,
- },
- {
- type: '投保人', // 0
- name: this.policyHolderInfo.name,
- mobile: this.policyHolderInfo.mobile,
- identifyNumber: this.policyHolderInfo.identifyNumber
- },
- {
- type: '被保人', // 1
- name: this.insuredPersonInfo.name,
- mobile: this.insuredPersonInfo.mobile,
- identifyNumber: this.insuredPersonInfo.identifyNumber
- },
- ],
- companyId: item.editingDto.companyId
- }
- uni.navigateTo({
- url: `/pages/carInsure/customerInterest?params=${JSON.stringify(params)}`,
- })
- },
- change(index, name) {
- this[name + 'current'] = index;
- },
- imagechange(index) {
- this.imagecurrent = index;
- },
- btn_click() {
- uni.navigateTo({
- url: '/pages/chat/chat'
- })
- },
- isDateBeforeToday(date) {
- const inputDate = new Date(date); // 将输入的日期转换为 Date 对象
- const today = new Date(); // 获取当前日期
- // 比较日期是否小于当前日期
- if (inputDate < today) {
- return true; // 输入日期小于当前日期
- } else {
- return false; // 输入日期大于等于当前日期
- }
- },
- //影像查询
- async imageEcho(quotenos) {
- let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
- if (imgres.code == "200") {
- Object.keys(imgres.data).forEach((keys) => {
- if (imgres.data[keys].url) {
- imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
- switch (keys) {
- case 'C01':
- this.carInfoPositiveList.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- break;
- case 'D01':
- this.carInfoPositiveList.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- break;
- case 'C02':
- this.ownerInfoPositiveList.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- });
- break;
- case 'D02':
- this.ownerInfoPositiveList.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- });
- break;
- case 'C03':
- this.policyHolderInfoPositiveList.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- });
- break;
- case 'D03':
- this.policyHolderInfoPositiveList.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- });
- break;
- case 'C04':
- this.insuredPersonInfoPositiveList.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- });
- break;
- case 'D04':
- this.insuredPersonInfoPositiveList.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- });
- break;
- default:
- break;
- }
- }
- });
- }
- },
- //影像查询
- async imageEcho1(quotenos) {
- this.imgList1 = [];
- this.imgList2 = [];
- this.imgList3 = [];
- this.imgList4 = [];
- this.imgList5 = [];
- this.imgList6 = [];
- this.imgList7 = [];
- this.imgList8 = [];
- let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
- if (imgres.code == "200") {
- Object.keys(imgres.data).forEach((keys) => {
- if (imgres.data[keys].url) {
- imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
- switch (keys) {
- case 'C01':
- this.carImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList1.push(imgres.data[keys]);
- break;
- case 'D01':
- this.carImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList2.push(imgres.data[keys]);
- break;
- case 'C02':
- this.ownerImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList3.push(imgres.data[keys]);
- break;
- case 'D02':
- this.ownerImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList4.push(imgres.data[keys]);
- break;
- case 'C03':
- this.policyImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList5.push(imgres.data[keys]);
- break;
- case 'D03':
- this.policyImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList6.push(imgres.data[keys]);
- break;
- case 'C04':
- this.insuredImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList7.push(imgres.data[keys]);
- break;
- case 'D04':
- this.insuredImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList8.push(imgres.data[keys]);
- break;
- default:
- break;
- }
- }
- });
- }
- },
- back() {
- uni.navigateBack(1)
- },
- //-------------驾意险处理开始
- //国任
- GRradioChange(id) {
- let obj = this.guoRenInsuranceData.find((val => val.projectCode == id))
- Object.assign(this.guoRenaccidentalDrivingVo, obj);
- this.guoRenPopupshow = false;
- },
- //大家
- DJradioChange(id) {
- let obj = this.dajiaInsuranceData.find((val => val.projectCode == id))
- Object.assign(this.dajiaaccidentalDrivingVo, obj);
- this.dajiaPopupshow = false;
- },
- //紫金意外险
- ZJcheckboxGroupChange(detail) {
- this.zijinaccidentalDrivingVo = [];
- detail.map(val => {
- let list = this.zijinInsuranceData.find(item => item.projectCode == val)
- this.zijinaccidentalDrivingVo.push(list)
- })
- },
- //安盛
- ASradioChange(id) {
- let obj = this.anshengInsuranceData.find((val => val.projectCode == id))
- Object.assign(this.anshengaccidentalDrivingVo, obj);
- this.anshengPopupshow = false;
- },
- //太平
- TPradioChange(id) {
- let obj = this.taipingInsuranceData.find(val => val.projectCode == id)
- Object.assign(this.taipingaccidentalDrivingVo, obj);
- this.taipingPopupshow = false;
- },
- //泰康
- TkradioChange(id) {
- let obj = this.taikangInsuranceData.find(val => val.projectCode == id)
- Object.assign(this.taikangaccidentalDrivingVo, obj);
- this.taikangPopupshow = false;
- },
- //永诚
- YCradioChange(id) {
- let obj = this.yongchengInsuranceData.find(val => val.projectCode == id)
- Object.assign(this.yongchengaccidentalDrivingVo, obj);
- this.yongchengPopupshow = false;
- },
- //中煤
- ZMradioChange(id) {
- let obj = this.zhongmeiInsuranceData.find(val => val.projectCode == id)
- Object.assign(this.zhongmeiaccidentalDrivingVo, obj);
- this.zhongmeiPopupshow = false;
- },
- //渤海意外险
- BHradioChange(id) {
- let info = this.bohaiInsuranceData.find(val => val.projectCode == id)
- Object.assign(this.bohaiaccidentalDrivingVo, obj);
- this.bohaiPopupshow = false;
- },
- //人寿意外险
- RSradioChange(id) {
- let obj = this.renshouInsuranceData.find(val => val.projectCode == id)
- Object.assign(this.renshouaccidentalDrivingVo, obj);
- this.renshouPopupshow = false;
- },
- //恒邦意外险
- HBradioChange(id) {
- let obj = this.hengbangInsuranceData.find(val => val.projectCode ==
- id)
- Object.assign(this.hengbangaccidentalDrivingVo, obj);
- this.hengbangPopupshow = false;
- },
- //众安意外险
- ZAradioChange(id) {
- let obj = this.zhonganInsuranceData.find(val => val.projectCode == id)
- Object.assign(this.zhonganaccidentalDrivingVo, obj);
- this.zhonganPopupshow = false;
- },
- //华农驾意险
- HNradioChange(id) {
- let obj = this.huanongInsuranceData.find(val => val.projectCode == id);
- Object.assign(this.huanongaccidentalDrivingVo, obj);
- this.huanongaccidentalDrivingVo.accidentType = this.huanongaccidentalDrivingVo.planCode;
- this.huanongPopupshow = false;
- },
- //-------------驾意险处理结束
- adjustBIItemLabelSubmit() {
- for (let i = 0; i < this.planDataExpansion.genericPlanInfo.kinds.length; i++) {
- if (this.insureItem.kindCode == this.planDataExpansion.genericPlanInfo.kinds[i].kindCode) {
- this.planDataExpansion.genericPlanInfo.kinds[i].amount = this.insureItem.amount; /* 保额 */
- this.planDataExpansion.genericPlanInfo.kinds[i].amountDesc = this.insureItem.amountDesc; /* 保额名称 */
- }
- }
- this.$refs.popupBI.hide();
- },
- numberBoxChange(val) {
- if (val.value > 0) {
- this.insureItem.amount = val.value;
- this.insureItem.amountDesc = val.value + '次';
- } else {
- this.insureItem.amount = 0;
- this.insureItem.amountDesc = '不投保';
- }
- },
- //弹出popup框并显示基本信息
- adjustBIItem(index) {
- var a = {};
- Object.assign(a, this.planDataExpansion.genericPlanInfo.kinds[index])
- this.insureItem = a;
- this.$refs.popupBI.show() // 显示
- },
- //popup内容的label改变
- adjustBIItemLabel(index) {
- this.insureItem.amount = this.insureItem.amtList[index].value;
- this.insureItem.amountDesc = this.insureItem.amtList[index].label;
- },
- jqterms() {
- let file = 'https://sxzgkj.baoxianzhanggui.com/web-api/upload/specification/commercialInsurance.pdf';
- //#ifdef APP-PLUS
- uni.showLoading({
- title: '正在打开'
- });
- let dtask = plus.downloader.createDownload(file, {
- filename: "_downloads/" + '交强条款.pdf'
- }, function(d, status) {
- if (status == 200) {
- uni.hideLoading()
- //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
- let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
- plus.runtime.openFile(d.filename); //选择软件打开文件
- } else {
- uni.hideLoading()
- //下载失败
- plus.downloader.clear(); //清除下载任务
- }
- })
- dtask.start();
- //#endif
- //#ifdef H5
- var win = window.open();
- win.document.write(
- '<body style="margin:0px;"><object data="' +
- file +
- '" type="application/pdf" width="100%" height="100%"><iframe src="' +
- file +
- '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
- );
- //#endif
- },
- syterms() {
- let file = 'https://sxzgkj.baoxianzhanggui.com/web-api/upload/specification/compulsoryInsurance.pdf';
- //#ifdef APP-PLUS
- uni.showLoading({
- title: '正在打开'
- });
- let dtask = plus.downloader.createDownload(file, {
- filename: "_downloads/" + '商业条款.pdf'
- }, function(d, status) {
- if (status == 200) {
- uni.hideLoading()
- //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
- let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
- plus.runtime.openFile(d.filename); //选择软件打开文件
- } else {
- uni.hideLoading()
- //下载失败
- plus.downloader.clear(); //清除下载任务
- }
- })
- dtask.start();
- //#endif
- //#ifdef H5
- var win = window.open();
- win.document.write(
- '<body style="margin:0px;"><object data="' +
- file +
- '" type="application/pdf" width="100%" height="100%"><iframe src="' +
- file +
- '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
- );
- //#endif
- },
- //国任特约
- async specialAgreementSelection(id) {
- let guoRen = await this.$http.post('/api/guoRen/queryClauseDataCompany', {
- companyId: id,
- });
- this.guoRenSpecialAgreementData = guoRen.data;
- this.guoRencontributingshow = true;
- },
- //紫金特约
- async zijinspecialAgreementSelection(id) {
- let Zijinres = await this.$http.post('/order/zijin/queryClauseData', {
- companyId: id,
- });
- this.ziJinengageListData = Zijinres.data;
- this.zijincontributingshow = true;
- let data = this.ziJinengageListData.find(val => val.optType == 3)
- if (data) {
- this.ziJinengageList.push({
- clauseCode: data.clauseCode,
- clauseName: data.clauseName,
- clauses: data.clauseContent,
- riskCode: data.riskCode,
- modifyFlag: data.modifyFlag,
- optType: data.optType,
- })
- }
- },
- //华泰特约
- async huataispecialAgreementSelection(id) {
- let huaTaires = await this.$http.post('/order/huaTaiApi/queryClauseData', {
- companyId: id,
- });
- this.huaTaiengageListData = huaTaires.data;
- this.huataicontributingshow = true;
- huaTaires.data.map(val => {
- if (val.optType == '2') {
- this.huaTaiengageList.push({
- engageCode: val.engageCode,
- engageDetail: val.engageDetail,
- engageTitle: val.engageTitle,
- riskCode: val.riskCode,
- modifyFlag: val.modifyFlag,
- })
- }
- })
- },
- guoRencontributingChange(param) {
- this.guoRenSpecialAgreementVo = [];
- param.map(val => {
- let list = this.guoRenSpecialAgreementData.find(item => item.clauseCode == val)
- this.guoRenSpecialAgreementVo.push({
- clauseCode: list.clauseCode,
- clauses: list.clauses,
- clausesContext: list.clausesContext,
- riskCode: list.riskCode,
- riskName: list.riskName,
- })
- })
- },
- ziJincontributingChange(param) {
- this.ziJinengageList = [];
- param.map(val => {
- let list = this.ziJinengageListData.find(item => item.clauseId == val)
- this.ziJinengageList.push({
- clauseCode: list.clauseCode,
- clauseName: list.clauseName,
- clauses: list.clauseContent,
- riskCode: list.riskCode,
- modifyFlag: list.modifyFlag,
- })
- })
- },
- huaTaicontributingChange(param) {
- this.huaTaiengageList = [];
- param.map(val => {
- let list = this.huaTaiengageListData.find(item => item.engageCode == val)
- this.huaTaiengageList.push({
- engageCode: list.engageCode,
- engageDetail: list.engageDetail,
- engageTitle: list.engageTitle,
- riskCode: list.riskCode,
- modifyFlag: list.modifyFlag,
- })
- })
- },
- //--------比价
- priceComparison() {
- this.priceComparisonShow = true;
- },
- priceComparison1() {
- this.quotableCompanyList.map((ele, index) => {
- if (ele.quoteCode == 200) {
- const updatedItem = {
- ...this.quotableCompanyList[index],
- isComparableshowHide: true
- };
- this.quotableCompanyList.splice(index, 1, updatedItem);
- }
- return ele;
- })
- },
- priceComparison2() {
- let subOrderNoslist = [];
- this.quotableCompanyList.map(ele => {
- if (ele.isComparableShow) {
- subOrderNoslist.push(ele.result.companyId);
- }
- return ele;
- })
- uni.navigateTo({
- url: `/pages/orders/priceComparison?subOrderNoslist=${JSON.stringify(subOrderNoslist)}`
- })
- },
- //--------比价
- //重新生成订单
- GenerateModalConfirm() {
- this.orderno = "";
- this.quoteno = "";
- this.toNext();
- },
- async toNext() {
- var allAreFalse = this.quotableCompanyList.every(function(element) {
- return element.insurancePlanInfo == null;
- });
- if (!allAreFalse) {
- if (this.carInfo.licenseNo.length == '8' && this.carInfo.energyType == '0') {
- return uni.showToast({
- icon: "none",
- title: '检测到能源种类错误,与车辆信息不符。请修改后继续操作',
- duration: 3000
- });
- }
- this.comparableQuantity = 0; //报价成功总数
- this.selectedCount = 0; //比价勾选数量
- this.quotableCompanyList.map((ele) => {
- ele.isComparableShow = false;
- ele.isComparableshowHide = false;
- return ele;
- })
- this.riskList.map(val => {
- if (val.riskCode == '0507') {
- val.startDate = this.jqstartDate;
- val.endDate = this.jqendDate;
- }
- if (val.riskCode == '0510') {
- val.startDate = this.systartDate;
- val.endDate = this.syendDate;
- }
- return val;
- })
- let param = {
- userId: this.userInfo.sysUser.id,
- quoteno: this.quoteno ? this.quoteno : "",
- orderNo: this.orderno ? this.orderno : "",
- riskList: this.riskList,
- carInfo: this.carInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- ownerInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
- productId: this.productId,
- orderSource: "1",
- };
- let orders = await this.$http.post('/insurance/order/generateOrder', param);
- if (orders.code == '200') {
- this.orderno = orders.data.orderno;
- this.quoteno = orders.data.quoteno;
- let mergedArray = [];
- let mergedArrayList = mergedArray.concat(this.carInfoPositiveList, this
- .ownerInfoPositiveList, this
- .policyHolderInfoPositiveList, this.insuredPersonInfoPositiveList)
- if (mergedArrayList.length > 0) {
- await this.$http.post('/ins/taskImage/uploadImages', {
- imageList: mergedArrayList,
- quoteNo: this.quoteno,
- })
- }
- this.quotableCompanyList = this.quotableCompanyList.map((ele, index) => {
- if (ele.insurancePlanInfo !== null) {
- // 动态调用报价接口
- ele.quoteCode = '1';
- this.ToolClickFun(ele.cnName, index, ele.id);
- }
- return ele
- });
- } else if (orders.code == '1001') {
- this.Generateshow = true;
- } else {
- uni.showToast({
- title: orders.msg,
- icon: 'none',
- });
- }
- } else {
- uni.showToast({
- title: "请选择方案后,在进行报价",
- icon: 'none',
- });
- }
- },
- async tempSave() {
- let param = {
- userId: this.userInfo.sysUser.id,
- quoteno: this.quoteno ? this.quoteno : "",
- orderNo: this.orderno ? this.orderno : "",
- riskList: this.riskList,
- carInfo: this.carInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- ownerInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
- productId: this.productId,
- orderSource: "1",
- };
- let orders = await this.$http.post('/insurance/order/generateOrder', param);
- if (orders.code == '200') {
- uni.showToast({
- title: '暂存成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- });
- }
- },
- async individualQuote(item) {
- if (this.carInfo.licenseNo.length == '8' && this.carInfo.energyType == '0') {
- return uni.showToast({
- icon: "none",
- title: '检测到能源种类错误,与车辆信息不符。请修改后继续操作',
- duration: 3000
- });
- }
- if (!item.insurancePlanInfo) {
- uni.showToast({
- title: "请选择方案后,在进行报价",
- icon: 'none',
- });
- } else {
- this.riskList.map(val => {
- if (val.riskCode == '0507') {
- val.startDate = this.jqstartDate;
- val.endDate = this.jqendDate;
- }
- if (val.riskCode == '0510') {
- val.startDate = this.systartDate;
- val.endDate = this.syendDate;
- }
- return val;
- })
- let param = {
- userId: this.userInfo.sysUser.id,
- quoteno: this.quoteno ? this.quoteno : "",
- orderNo: this.orderno ? this.orderno : "",
- riskList: this.riskList,
- carInfo: this.carInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- ownerInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
- productId: this.productId,
- orderSource: "1",
- };
- let orders = await this.$http.post('/insurance/order/generateOrder', param);
- if (orders.code == '200') {
- this.orderno = orders.data.orderno;
- this.quoteno = orders.data.quoteno;
- let mergedArray = [];
- let mergedArrayList = mergedArray.concat(this.carInfoPositiveList, this
- .ownerInfoPositiveList, this
- .policyHolderInfoPositiveList, this.insuredPersonInfoPositiveList)
- if (mergedArrayList.length > 0) {
- await this.$http.post('/ins/taskImage/uploadImages', {
- imageList: mergedArrayList,
- quoteNo: this.quoteno,
- })
- }
- this.quotableCompanyList = this.quotableCompanyList.map((ele, index) => {
- if (ele.id == item.id) {
- // 动态调用报价接口
- ele.quoteCode = '1';
- this.ToolClickFun(ele.cnName, index, ele.id);
- }
- return ele
- });
- } else if (orders.code == '1001') {
- this.Generateshow = true;
- } else {
- uni.showToast({
- title: orders.msg,
- icon: 'none',
- });
- }
- }
- },
- async ToolClickFun(MethodName, Parameter, companyId) {
- await this[`${MethodName}`](Parameter, companyId)
- //获取已报价成功个数
- let filteredObjects = [];
- this.quotableCompanyList.map(ele => {
- if (ele.quoteCode == 200) {
- filteredObjects.push(ele.result.companyId)
- }
- return ele;
- })
- this.comparableQuantity = filteredObjects.length;
- },
- //永诚报价
- async yongcheng(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
- .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
- orderNo: this.orderno,
- companyId: id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- cqryCdeJq: this.cqryCdeJq,
- cqryCdeSy: this.cqryCdeSy,
- renewalCodeJq: this.renewalCodeJq,
- renewalCodeSy: this.renewalCodeSy,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/quote/quote', params);
- this.quotableCompanyList[num].msg = res.msg;
- if (res.code == "200") {
- if (res.data.warnMessageList != null && res.data
- .warnMessageList[0] != null && res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num].lastYearMsg = "";
- let dat = res.data.warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[num].lastYearMsg += ele +
- '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result = res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = res.msg;
- return;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- //中煤报价
- async zhongmei(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let params = {
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
- .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
- orderNo: this.orderno,
- companyId: id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- systemType: '2'
- };
- try {
- let res = await this.$http.post("/quote/quote", params);
- this.quotableCompanyList[num].msg = res.msg;
- if (res.code == '200') {
- if (res.data.warnMessageList != null && res.data.warnMessageList[
- 0] != null && res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num].lastYearMsg = "";
- let dat = res.data.warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[num].lastYearMsg += ele +
- '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result = res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = res.msg;
- return;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- //渤海报价
- async bohai(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let params = {
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
- .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
- orderNo: this.orderno,
- companyId: id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/quote/quote', params);
- this.quotableCompanyList[num].msg = res.msg;
- if (res.code == '200') {
- if (res.data.warnMessageList != null && res.data.warnMessageList[
- 0] != null && res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num].lastYearMsg = "";
- let dat = res.data.warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[num].lastYearMsg += ele +
- '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result = res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = res.msg;
- return;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- //阳光报价
- async yangguang(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let params = {
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
- .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
- orderNo: this.orderno,
- companyId: id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/quote/quote', params);
- this.quotableCompanyList[num].msg = res.msg;
- if (res.code == '200') {
- if (res.data.warnMessageList != null && res.data.warnMessageList[
- 0] != null && res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num].lastYearMsg = "";
- let dat = res.data.warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[num].lastYearMsg += ele +
- '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result = res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = res.msg;
- return;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- //华泰报价
- async huatai(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let params = {
- accidentalDrivingVo: {},
- orderNo: this.orderno,
- companyId: id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- cqryCdeJq: this.cqryCdeJq,
- cqryCdeSy: this.cqryCdeSy,
- renewalCodeJq: this.renewalCodeJq,
- renewalCodeSy: this.renewalCodeSy,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post(
- "/quote/quote", params);
- this.quotableCompanyList[num].msg = res.msg;
- if (res.code == '200') {
- if (res.data.warnMessageList != null && res
- .data.warnMessageList[0] != null && res
- .data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num].lastYearMsg =
- "";
- let dat = res.data.warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[num]
- .lastYearMsg += ele + '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result = res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = res.msg;
- return;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- //紫金报价
- async zijin(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList,
- orderNo: this.orderno,
- companyId: id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- coefficient: this.quotableCompanyList[num].coefficient,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/quote/quote', params);
- this.quotableCompanyList[num].msg = res.msg;
- if (res.code == '200') {
- if (res.data.warnMessageList != null && res.data
- .warnMessageList[0] != null && res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num].lastYearMsg = "";
- let dat = res.data.warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[num].lastYearMsg +=
- ele + '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result = res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = res.msg;
- return;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- //国任报价
- async guoRen(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
- .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
- orderNo: this.orderno,
- companyId: id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- guoRenSpecialAgreementVo: this.guoRenSpecialAgreementVo,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/quote/quote',
- params);
- this.quotableCompanyList[num].msg = res.msg;
- if (res.code == '200') {
- if (res.data.warnMessageList != null && res.data
- .warnMessageList[0] != null && res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num].lastYearMsg = "";
- let dat = res.data.warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[num]
- .lastYearMsg += ele + '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result = res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = res.msg;
- return;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- //大家报价
- async dajia(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
- .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
- orderNo: this.orderno,
- companyId: id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- cqryCdeJq: this.cqryCdeJq,
- cqryCdeSy: this.cqryCdeSy,
- renewalCodeJq: this.renewalCodeJq,
- renewalCodeSy: this.renewalCodeSy,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post("/quote/quote",
- params);
- this.quotableCompanyList[num].msg = res.msg;
- if (res.code == '200') {
- if (res.data.warnMessageList != null && res.data
- .warnMessageList[0] != null && res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num].lastYearMsg = "";
- let dat = res.data.warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[num]
- .lastYearMsg += ele + '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result = res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = res.msg;
- return;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- //安盛天平
- ansheng(num, id) {
- this.quoteInsurance(num, id);
- },
- //华农
- huanong(num, id) {
- this.quoteInsurance(num, id);
- },
- //太平
- taiping(num, id) {
- this.quoteInsurance(num, id);
- },
- //众安
- zhongan(num, id) {
- this.quoteInsurance(num, id);
- },
- //人寿
- renshou(num, id) {
- this.quoteInsurance(num, id);
- },
- //华安
- huaan(num, id) {
- this.quoteInsurance(num, id);
- },
- //人寿
- taishan(num, id) {
- this.quoteInsurance(num, id);
- },
- //恒邦
- hengbang(num, id) {
- this.quoteInsurance(num, id);
- },
- taikang(num, id) {
- this.quoteInsurance(num, id);
- },
- chengtai(num, id) {
- this.quoteInsurance(num, id);
- },
- //爬虫统一报价接口
- async quoteInsurance(num, id) {
- const companyId = uni.getStorageSync('companyId');
- let ccidenttype = this.quotableCompanyList[num]
- .cnName;
- let namesimple = this.quotableCompanyList[num]
- .namesimple;
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let params = {
- orderNo: this.orderno,
- companyId: id,
- agreementId: this.quotableCompanyList[num].agreement[0].id,
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- risks: this.riskList,
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
- .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- systemType: '2'
- };
- if (id = 'GPIC1000000') {
- if (companyId) {
- params.discount = this.quotableCompanyList[num]
- .syAdjustRate;
- params.lastCompanyId = this.subOrderId;
- }
- }
- if (namesimple == "诚泰财险") {
- if (this.subOrderId && this.quotableCompanyList[num].coefficient && this.quotableCompanyList[num]
- .discount) {
- params.coefficient = this.quotableCompanyList[num].coefficient;
- params.discount = this.quotableCompanyList[num].discount;
- params.lastCompanyId = this.subOrderId;
- }
- params.isInspect = this.isInspectchange;
- }
- try {
- let res = await this.$http.post('/quote/quote',
- params);
- switch (namesimple) {
- case '安盛天平':
- case '恒邦财险':
- case '诚泰财险':
- case '中国人寿':
- case '太平财险':
- case '华农财险':
- case '华安财险':
- case '泰山财险':
- case '泰康财险':
- if (res.code == '200') {
- if (res.data.warnMessageList !=
- null && res.data
- .warnMessageList[0] != null &&
- res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num]
- .lastYearMsg = "";
- let dat = res.data
- .warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[
- num]
- .lastYearMsg +=
- ele + '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result =
- res.data;
- this.subOrderId = res.data.companyId;
- this.CTcoefficientForm.initialProposalDiscount = res.data.initialProposalDiscount;
- this.CTcoefficientForm.expectedDiscount = res.data.expectedDiscount;
- this.CTcoefficientForm.pricingCoefficient = res.data.pricingCoefficient;
- if (res.data.syAdjustRate) {
- this.quotableCompanyList[num].syAdjustRate = res.data.syAdjustRate;
- uni.setStorageSync('companyId', res.data.companyId);
- }
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg =
- res.msg;
- }
- break;
- case '众安财险':
- if (res.code == '200') {
- if (res.data.warnMessageList !=
- null && res.data
- .warnMessageList[0] != null &&
- res.data
- .warnMessageList[
- 0] != "") {
- this.quotableCompanyList[num]
- .lastYearMsg = "";
- let dat = res.data
- .warnMessageList;
- dat.map(ele => {
- this.quotableCompanyList[
- num]
- .lastYearMsg +=
- ele + '<br>';
- })
- }
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: 200
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].result =
- res.data;
- this.subOrderId = res.data.companyId;
- } else {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg =
- res.msg;
- }
- break;
- default:
- break;
- }
- } catch (error) {
- const updatedItem = {
- ...this.quotableCompanyList[num],
- quoteCode: '3'
- };
- this.quotableCompanyList.splice(num, 1, updatedItem);
- this.quotableCompanyList[num].msg = '接口请求超时,请重新尝试';
- }
- },
- convertedValue(num) {
- if (num < 10000) {
- return num.toString();
- } else if (num < 100000000) {
- return (Math.floor(num / 10000 * 10) / 10) + '万';
- } else {
- return (Math.floor(num / 100000000 * 10) / 10) + '亿';
- }
- },
- riskTypeEchoProcessing(code) {
- this.riskList = [];
- switch (code) {
- case '0330':
- this.riskList.push({
- amount: 0,
- endDate: this.jqendDate,
- instantFlag: "0",
- premium: 0,
- riskCode: "0507",
- startDate: this.jqstartDate,
- })
- break;
- case '034001':
- case '034002':
- this.riskList.push({
- amount: 0,
- endDate: this.syendDate,
- instantFlag: "0",
- premium: 0,
- riskCode: "0510",
- startDate: this.systartDate,
- })
- break;
- case '0330034002':
- case '0330034001':
- this.riskList.push({
- amount: 0,
- endDate: this.jqendDate,
- instantFlag: "0",
- premium: 0,
- riskCode: "0507",
- startDate: this.jqstartDate,
- }, {
- amount: 0,
- endDate: this.syendDate,
- instantFlag: "0",
- premium: 0,
- riskCode: "0510",
- startDate: this.systartDate,
- })
- break;
- }
- },
- //查看详情
- querydetial(id, cnName) {
- this.navigate({
- url: '/pages/carInsure/quoteDetail',
- success: (res) => {
- res.eventChannel.emit("acceptData", {
- companyId: id,
- cnName: cnName,
- quotableCompanyList: this.quotableCompanyList,
- })
- }
- }, "navigateTo", true);
- },
- //报价单
- bjdpreview(id) {
- let pro = this.quotationType.themeCode;
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/quotation?companyId=" + id
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/quotation1?companyId=" + id
- })
- }
- },
- //预核保信息
- preUnderwriting(list) {
- this.RSpreUnderwritingList = list;
- this.preUnderwritingshow = true;
- },
- //上年信息
- YearMsg(msg, title) {
- let content = msg.replace(/<br>/g, "\r\n")
- uni.showModal({
- title: title + "上年信息",
- content: content,
- showCancel: false,
- confirmText: "关闭"
- })
- },
- // 显示报错信息
- ErrorMsg(msg, title) {
- let _this = this;
- uni.showModal({
- title: title + "报价提示",
- content: msg,
- showCancel: false,
- confirmText: "关闭",
- success: function(res) {
- if (res.confirm) {
- if (msg.includes('过户')) {
- _this.isTransferRequired = true;
- _this.scrollToElement();
- }
- }
- }
- })
- },
- scrollToElement() {
- // 创建查询对象
- const query = uni.createSelectorQuery().in(this);
- // 获取目标元素的位置信息
- query.select('#targetElement').boundingClientRect((rect) => {
- if (rect) {
- // 滚动到目标位置
- uni.pageScrollTo({
- scrollTop: rect.top, // 目标元素的顶部位置
- duration: 500, // 滚动动画时长(单位:ms)
- });
- }
- }).exec();
- },
- discountErrorMessageMsg(msg, title) {
- this.discountInfoPopup = true;
- this.discountInfoPopupContent = msg.replace(/\n/g, '<br>');
- this.discountInfoPopupTitle = title;
- // let content = msg.replace(/\n/g, "\r\n")
- // uni.showModal({
- // title: title + "优惠信息",
- // content: content,
- // showCancel: false,
- // confirmText: "关闭"
- // })
- },
- //使用此时间
- syncData(item) {
- this.jqstartDate = item.startDateJq ? item
- .startDateJq : this.jqstartDate
- this.jqendDate = item.endDateJq ? item
- .endDateJq : this.endDateJq
- this.systartDate = item.startDateSy ? item
- .startDateSy : this.systartDate
- this.syendDate = item.endDateSy ? item
- .endDateSy : this.syendDate
- uni.showToast({
- title: '时间已替换',
- icon: 'none',
- duration: 1000
- });
- },
- //车船税类型选择
- taxRelifFlagConfirm(val, name) {
- this.vehicleAndVesselTaxForm[name] = val[0].value;
- this.model[name] = val[0].label;
- },
- taxDocumentDateconfirm(e) {
- this.vehicleAndVesselTaxForm.taxDocumentDate = e.year + '-' + e.month + '-' + e.day;
- },
- taxPaidAreaCodeconfirm(e) {
- this.vehicleAndVesselTaxForm.taxPaidAreaCode = e.province.value;
- this.model.taxPaidAreaCode = e.province.label;
- },
- //数据字典
- async getDicType(type) {
- let res = await this.$http.get('/sysDict/dictDetails/' + type);
- this[type + "options"] = res.data.ddList;
- },
- jqstartconfirm(e) {
- this.jqstartDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
- this.jqendDate = this.oneYearPast(this.jqstartDate)
- },
- //
- jqendconfirm(e) {
- this.jqendDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
- },
- systartconfirm(e) {
- this.systartDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
- this.syendDate = this.oneYearPast(this.systartDate)
- },
- syendconfirm(e) {
- this.syendDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
- },
- statusclick(value) {
- this.SelectedPlanId = value;
- let planObj = this.planDataExpansion.genericPlanList.find(item => item.schemeId == value);
- if (planObj.kinds && planObj.schemeName == '自选方案') {
- planObj.kinds.map(item => {
- const itemamtList = item.amtList.map(val => {
- return val.label
- })
- if (!itemamtList.includes('不投保')) {
- item.amount = item.amtList[0].value;
- item.amountDesc = item.amtList[0].label;
- }
- return item;
- })
- }
- this.planDataExpansion.genericPlanInfo = planObj;
- },
- InsureGuideclick(item) {
- this.insGuide = item.insGuide;
- this.insGuideTitle = item.namesimple;
- this.InsureGuidePopup = true;
- },
- // 可删
- async accidentCategoryclick(item, items, index) {
- this.accidentInsuranceCategoryList[index].checked = !this.accidentInsuranceCategoryList[index].checked;
- if (this.accidentInsuranceCategoryList[index].checked) {
- let res = await this.$http.get('/plt/scheme/optionalSchemeDriving?schemeId=' + this
- .SelectedPlanId + '&seatNum=' + this.carInfo.seatCount)
- switch (items.namesimple) {
- case '安盛天平':
- case '国任财险':
- case '大家财险':
- case '永诚财险':
- case '恒邦财险':
- case '诚泰财险':
- case '中煤财险':
- case '泰康财险':
- case '渤海财险':
- case '众安财险':
- case '太平财险':
- case '华农财险':
- case '华安财险':
- case '泰山财险':
- case '中国人寿':
- if (res.data.length > 0) {
- this[items.cnName + 'InsuranceData'] = res.data; //意外险list
- this[items.cnName + 'accidentalDrivingVo'] = {
- typeName: item.typeName,
- ...res.data[0]
- };
- } else {
- uni.showToast({
- title: "驾意险为空",
- icon: 'none',
- });
- }
- break;
- case '紫金财险':
- this[items.cnName + 'InsuranceData'] = res.data; //意外险list
- this[items.cnName + 'accidentalDrivingVo'] = [];
- break;
- }
- } else {
- if (items.namesimple == '紫金财险') {
- this[items.cnName + 'InsuranceData'] = [];
- this[items.cnName + 'accidentalDrivingVo'] = []
- } else {
- this[items.cnName + 'accidentalDrivingVo'] = {}
- }
- }
- },
- //查看方案
- checkSelection(item) {
- this.navigate({
- url: '/pages/carInsure/checkOption',
- success: (res) => {
- res.eventChannel.emit("acceptData", {
- item: item,
- seatNum: this.carInfo.seatCount,
- jqstartDate: this.jqstartDate,
- jqendDate: this.jqendDate,
- systartDate: this.systartDate,
- syendDate: this.syendDate,
- productName: this.productName,
- productId: this.productId,
- taxRelifFlag: this.model.taxRelifFlag,
- })
- }
- }, "navigateTo", true);
- },
- //选择方案
- async SchemeSelection(item) {
- this.navigate({
- url: '/pages/carInsure/chooseOption',
- success: (res) => {
- res.eventChannel.emit("acceptData", {
- params: {
- companyId: item.id,
- productId: this.productId,
- seatNum: this.carInfo.seatCount,
- vehicleType: this.carInfo.cimodelclass,
- energyType: this.carInfo.energyType,
- carnature: this.carInfo.carnature,
- },
- namesimple: item.namesimple,
- cnName: item.cnName,
- jqstartDate: this.jqstartDate,
- jqendDate: this.jqendDate,
- systartDate: this.systartDate,
- syendDate: this.syendDate,
- productName: this.productName,
- quotableCompanyList: this.quotableCompanyList,
- identifyNumber: this.policyHolderInfo.identifyNumber,
- taxpayerName: this.policyHolderInfo.name,
- })
- }
- }, "navigateTo", true);
- // let params = {
- // companyId: item.id,
- // productId: this.productId,
- // seatNum: this.carInfo.seatCount,
- // vehicleType: this.carInfo.cimodelclass,
- // energyType: this.carInfo.energyType,
- // carnature: this.carInfo.carnature,
- // };
- // let res = await this.$http.post('/plt/scheme/getCompanySchemeInfo', params);
- // let res1 = await this.$http.post('/plt/scheme/getCompanyOptionalSchemeInfo', params);
- // let typelist = [];
- // this.planDataExpansion.id = item.id;
- // this.planDataExpansion.namesimple = item.namesimple;
- // this.planDataExpansion.cnName = item.cnName;
- // if (res.code == '200' && res.data.length > 0) {
- // this.planDataExpansion.genericPlanList = [...res.data];
- // this.planDataExpansion.genericPlanInfo = res.data[0];
- // this.SelectedPlanId = res.data[0].schemeId;
- // } else {
- // this.planDataExpansion.genericPlanList = [];
- // this.planDataExpansion.genericPlanInfo = {};
- // this.SelectedPlanId = "";
- // }
- // if (res1.code == '200') {
- // this.planDataExpansion.genericPlanList = [...res.data, res1.data];
- // res1.data.drivingTypeList.map(val => {
- // if (val.children) {
- // val.children.map(ele => {
- // typelist.push(ele)
- // return ele
- // })
- // }
- // })
- // } else {
- // this.planDataExpansion.genericPlanList = [...res.data];
- // }
- // this.accidentInsuranceCategoryList = typelist;
- // this.genericPlanPopup = true;
- },
- //即使投保时处理时间
- datelyClick(value, name, startDate, endDate) {
- this[name] = value;
- if (value == 1) {
- const date = new Date();
- date.setHours(date.getHours() + 2);
- date.setMinutes(0)
- date.setSeconds(0)
- this[startDate] = this.transformTime(date)
- this[endDate] = this.oneYearPast(date);
- } else {
- this[startDate] = this.nextday();
- this[endDate] = this.oneYearPast(this.jqstartDate);
- }
- },
- //获取保险公司列表
- commpanyList() {
- let list = [];
- this.quotableCompanyList.map(ele => {
- ele["result"] = {};
- ele["quoteCode"] = 0;
- ele["checked"] = false;
- ele["msg"] = "";
- ele["lastYearMsg"] = "";
- ele["agreementName"] = "";
- ele["apiType"] = "";
- ele["coefficient"] = "";
- ele["discount"] = "";
- ele["isInspect"] = false;
- ele["syAdjustRate"] = "";
- ele["selectShow"] = false;
- ele['underwritingDescription'] = "";
- ele['isComparableShow'] = false;
- ele['isComparableshowHide'] = false;
- ele['isComparableDisabled'] = false;
- ele['insurancePlanInfo'] = null;
- if (ele.editingDto) {
- if (ele.editingDto.sumPermium) {
- ele.result = ele.editingDto;
- ele.insurancePlanInfo = {};
- ele.insurancePlanInfo.drivingList = ele.editingDto.drivingList;
- ele.insurancePlanInfo.kinds = ele.editingDto.kindList;
- ele.quoteCode = 200;
- list.push(1);
- } else {
- ele.msg = ele.editingDto.quoteErrMsg;
- ele.insurancePlanInfo = {};
- ele.insurancePlanInfo.drivingList = ele.editingDto.drivingList;
- ele.insurancePlanInfo.kinds = ele.editingDto.kindList;
- ele.quoteCode = 3;
- }
- }
- return ele;
- })
- this.comparableQuantity = list.length;
- },
- priceComparisonChange(index, item) {
- if (!item.isComparableDisabled) {
- item.isComparableShow = !item.isComparableShow;
- if (item.isComparableShow) {
- this.selectedCount++;
- } else {
- this.selectedCount--;
- }
- this.updateCheckboxStates();
- }
- },
- updateCheckboxStates() {
- this.quotableCompanyList.forEach(item => {
- item.isComparableDisabled = this.selectedCount >= 3 && !item.isComparableShow;
- });
- },
- immediatelyClick(name) {
- this.carInfo[name] = !this.carInfo[name];
- if (name == 'transferFlag') {
- if (this.carInfo[name]) {
- this.carInfo.transferDate = this.carInfo.issueDate;
- } else {
- this.carInfo.transferDate = "";
- }
- }
- },
- toCarInfo() {
- this.navigate({
- url: '/pages/carInsure/Information',
- success: (res) => {
- res.eventChannel.emit(
- "acceptData", {
- carInfo: this
- .carInfo,
- ownerInfo: this
- .ownerInfo,
- policyHolderInfo: this
- .policyHolderInfo,
- insuredPersonInfo: this
- .insuredPersonInfo,
- riskList: this
- .riskList,
- kindList: this
- .kindList,
- carInfoPositiveList: this
- .carInfoPositiveList, //车辆
- ownerInfoPositiveList: this
- .ownerInfoPositiveList, //车主
- policyHolderInfoPositiveList: this
- .policyHolderInfoPositiveList, //投保
- insuredPersonInfoPositiveList: this
- .insuredPersonInfoPositiveList, //被保人
- productId: this.productId, //险种id
- productName: this.productName, //险种名称
- quoteno: this.quoteno, //报价号
- orderno: this.orderno, //订单号
- })
- }
- }, "navigateTo", true);
- },
- //计算输入时间一年后的的前一天(输入的参数为字符串("2019-03-02")最终输出也为日期的字符串)
- oneYearPast(time) {
- var date = new Date(time);
- date.setSeconds(date.getSeconds() - 1);
- date.setFullYear(date.getFullYear() + 1); //一年后
- date.setTime(date.getTime()); //一年后的前一天
- var strYear = date.getFullYear();
- var strDay = date.getDate();
- var strMonth = date.getMonth() + 1;
- var hh = date.getHours();
- var minutes = date.getMinutes(); // 分
- var Seconds = date.getSeconds();
- if (hh < 10) {
- hh = "0" + hh;
- }
- if (minutes < 10) {
- minutes = "0" + minutes;
- }
- if (Seconds < 10) {
- Seconds = "0" + Seconds;
- }
- if (strMonth < 10) {
- strMonth = "0" + strMonth;
- }
- if (strDay < 10) {
- strDay = "0" + strDay;
- }
- var datastr =
- strYear + "-" + strMonth + "-" + strDay + " " + hh + ":" + minutes + ":" + Seconds;
- return datastr;
- },
- //次日
- nextday() {
- var date = new Date();
- date.setFullYear(date.getFullYear());
- date.setTime(date.getTime() + 24 * 60 * 60 * 1000);
- var strYear = date.getFullYear();
- var strDay = date.getDate();
- var strMonth = date.getMonth() + 1;
- var hh = date.getHours();
- if (hh < 10) {
- hh = "0" + hh;
- }
- if (strMonth < 10) {
- strMonth = "0" + strMonth;
- }
- if (strDay < 10) {
- strDay = "0" + strDay;
- }
- var datastr = strYear + "-" + strMonth + "-" + strDay + " " + "00:00:00";
- return datastr;
- },
- //时间转换
- transformTime(date) {
- var d = new Date(date);
- var strYear = d.getFullYear();
- var strMonth = d.getMonth() + 1;
- var strDay = d.getDate();
- var hh = d.getHours();
- var minutes = d.getMinutes(); // 分
- var Seconds = d.getSeconds();
- if (hh < 10) {
- hh = "0" + hh;
- }
- if (minutes < 10) {
- minutes = "0" + minutes;
- }
- if (Seconds < 10) {
- Seconds = "0" + Seconds;
- }
- if (strMonth < 10) {
- strMonth = "0" + strMonth;
- }
- if (strDay < 10) {
- strDay = "0" + strDay;
- }
- var datetime =
- strYear + "-" + strMonth + "-" + strDay + " " + hh + ":" + minutes + ":" + Seconds;
- return datetime;
- },
- toChinesNum(num) {
- let overWan = Math.floor(num / 10000);
- let result = overWan + "万";
- return result;
- },
- resubmitImageconfirm() {
- this.uploadRetry();
- this.resubmitDocumentsShow = false;
- },
- //影像预览
- previewImage(e, type) {
- this.previewImgs = this[type];
- var current = e.currentTarget.dataset.src;
- this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
- },
- //删除图片
- delCheckImage(param, IdList, srcList) {
- this[IdList].map((ele, index) => {
- if (param.imageId === ele.imageId) {
- this[IdList].splice(index, 1);
- }
- return ele;
- });
- this[srcList].map((ele, index) => {
- if (param.imageId === ele.imageId) {
- this[srcList].splice(index, 1);
- }
- return ele;
- });
- },
- async chooseImage(type, imageIdList, imgurl) {
- let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
- count: 1,
- sizeType: ['compressed']
- });
- chooseImageRes.tempFilePaths.map((ele, index) => {
- uni.uploadFile({
- url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
- filePath: ele,
- name: "multipartFile",
- formData: {
- 'type': 'image',
- },
- header: {
- Authorization: this.token,
- },
- success: async (imgRes) => {
- let data = JSON.parse(imgRes.data);
- data.data.url = this.$base.baseUrl + data.data.url;
- if (data.code == "200") {
- if (this[imageIdList].some(v => v.imageType == type)) {
- this[imageIdList].map(val => {
- if (val.imageType == type) {
- val.imageId = data.data.id;
- }
- })
- } else {
- this[imageIdList].push({
- imageId: data.data.id,
- imageType: type,
- })
- }
- this[imgurl].push(data.data)
- }
- }
- });
- })
- },
- //补传影像
- resubmitImage() {
- this.resubmitDocumentsShow = true;
- this.imageEcho1(this.quoteno) // 影像获取完毕
- },
- //提交核保
- async uploadRetry() {
- const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
- .policyImageListId, ...this.insuredImageListId, ...this
- .imgRelationshipid, ...this.carInspectionImage
- ];
- if (mergedArray.length > 0) {
- let res = await this.$http.post('/ins/taskImage/uploadImages', {
- imageList: mergedArray,
- quoteNo: this.quoteno,
- })
- if (res.code == '200') {
- uni.showToast({
- title: "上传成功",
- icon: 'none',
- });
- }
- }
- },
- auditNextconfirm() {
- setTimeout(async () => {
- switch (this.insuranceCompanyName) {
- case "永安财险":
- let yaimage = await this.$http.post(
- '/order/yongAn/submitImage', {
- companyId: this.companyId
- });
- if (yaimage.code == '200') {
- let yaaudit = await this.$http.post(
- '/order/yongAn/audit', {
- companyId: this.companyId,
- jqappoint: "",
- syappoint: ""
- });
- if (yaaudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = yaaudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = yaimage.msg;
- this.underwriteShow = true;
- }
- break;
- case "中煤财险":
- let zmapiImage = this.apiType == "2" ? "/insurance/crawler/submitImage" :
- '/order/zhongMeiApi/submitImage';
- let zmimage = await this.$http.post(
- `${zmapiImage}`, {
- [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
- });
- if (zmimage.code == '200') {
- let zmapiAudit = this.apiType == "2" ? "/insurance/crawler/audit" :
- '/order/zhongMeiApi/audit';
- let zmaudit = await this.$http.post(
- `${zmapiAudit}`, {
- [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId,
- jqappoint: "",
- syappoint: ""
- });
- if (zmaudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = zmaudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = zmimage.msg;
- this.underwriteShow = true;
- }
- break;
- case "永诚财险":
- let ycimage = await this.$http.post(
- '/api/yongCheng/uploadImage', {
- companyId: this.companyId
- });
- if (ycimage.code == '200') {
- let ycaudit = await this.$http.post(
- '/api/yongCheng/audit', {
- companyId: this.companyId,
- });
- if (ycaudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = ycaudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = ycimage.msg;
- this.underwriteShow = true;
- }
- break;
- case "国任财险":
- let grimage = await this.$http.post(
- '/api/guoRen/uploadImage', {
- companyId: this.companyId
- });
- if (grimage.code == '200') {
- let graudit = await this.$http.post(
- '/api/guoRen/audit', {
- companyId: this.companyId,
- });
- if (graudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = graudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = grimage.msg;
- this.underwriteShow = true;
- }
- break;
- case "大家财险":
- let djapiImage = this.apiType == "2" ? "/insurance/crawler/submitImage" :
- "/api/dajia/submitImage";
- let djimage = await this.$http.post(
- `${djapiImage}`, {
- [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
- });
- if (djimage.code == '200') {
- let djapiAudit = this.apiType == "2" ? "/insurance/crawler/audit" :
- '/api/dajia/audit';
- let djaudit = await this.$http.post(
- `${djapiAudit}`, {
- [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId,
- });
- if (djaudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = djaudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = djimage.msg;
- this.underwriteShow = true;
- }
- break;
- case "紫金财险":
- let zjimage = await this.$http.post(
- '/order/zijin/submitImage', {
- companyId: this.companyId
- });
- if (zjimage.code == '200') {
- let zjaudit = await this.$http.post(
- '/order/zijin/audit', {
- companyId: this.companyId,
- engageList: this.ziJinengageList,
- });
- if (zjaudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = zjaudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = zjimage.msg;
- this.underwriteShow = true;
- }
- break;
- case "华泰财险":
- let htapiImage = this.apiType == "2" ? "/insurance/crawler/submitImage" :
- "/order/huaTaiApi/submitImage";
- let htimage = await this.$http.post(
- `${htapiImage}`, {
- [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId
- });
- if (htimage.code == '200') {
- let htapiAudit = this.apiType == "2" ? "/insurance/crawler/audit" :
- '/order/huaTaiApi/audit';
- let htaudit = await this.$http.post(
- `${htapiAudit}`, {
- [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId,
- engageList: this.huaTaiengageList,
- });
- if (htaudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = htaudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = htimage.msg;
- this.underwriteShow = true;
- }
- break;
- case "渤海财险":
- let bhimage = await this.$http.post(
- '/order/boHaiApi/submitImage', {
- companyId: this.companyId
- });
- if (bhimage.code == '200') {
- let bhaudit = await this.$http.post(
- '/order/boHaiApi/audit', {
- companyId: this.companyId,
- jqappoint: "",
- syappoint: ""
- });
- if (bhaudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = bhaudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = bhimage.msg;
- this.underwriteShow = true;
- }
- break;
- case "恒邦财险":
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- break;
- case "诚泰财险":
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- break;
- case "安盛天平":
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- break;
- case "众安财险":
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- break;
- case "中国人寿":
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- break;
- case "太平财险":
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- break;
- case "华农财险":
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- break;
- case "华安财险":
- case "泰山财险":
- case "泰康财险":
- let pythonimage = await this.$http.post(
- '/insurance/crawler/submitImage', {
- subOrderNo: this.companyId
- });
- if (pythonimage.code == '200') {
- let pythonaudit = await this.$http.post(
- '/insurance/crawler/audit', {
- subOrderNo: this.companyId,
- });
- if (pythonaudit.code == '200') {
- this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
- if(res.code === 200) {
- } else {
- uni.showToast({
- title: res.msg,
- icon: "none",
- duration: 3000
- });
- }
- })
- this.underwriteTitle = '订单自核成功';
- this.cancelText = '暂不缴费';
- this.confirmText = '立即缴费';
- this.underwriteShow = true;
- } else {
- this.underwriteTitle = '核保失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = pythonaudit.msg;
- this.underwriteShow = true;
- }
- } else {
- this.underwriteTitle = '影像上传失败';
- this.cancelText = '返回订单';
- this.confirmText = '关闭';
- this.underwriteMsg = pythonimage.msg;
- this.underwriteShow = true;
- }
- break;
- }
- this.auditNextShow = false;
- }, 1000)
- },
- // 上传影像并提交核保
- async submitUnderwriting(id, apiType, name, item) {
- this.companyId = id;
- this.apiType = apiType;
- this.insuranceCompanyName = name;
- if(item.editingDto.equityType === 1 || item.editingDto.equityType === 0) {
- this.auditNextShow = true;
- } else {
- this.$http.post(`/equity/equityList`, {
- companyId: id
- }).then(res => {
- if(res.code === 200) {
- this.acceptCustomerObj = res.data
- }
- })
- this.$refs.popup.open()
- }
- },
- closePopup() {
- this.$refs.popup.close()
- },
- handleAcceptCustomer(type) {
- if(type === 1) {
- let params = {
- option: [
- {
- type: '车主', // 2
- name: this.ownerInfo.name,
- mobile: this.ownerInfo.mobile,
- identifyNumber: this.ownerInfo.identifyNumber,
- },
- {
- type: '投保人', // 0
- name: this.policyHolderInfo.name,
- mobile: this.policyHolderInfo.mobile,
- identifyNumber: this.policyHolderInfo.identifyNumber
- },
- {
- type: '被保人', // 1
- name: this.insuredPersonInfo.name,
- mobile: this.insuredPersonInfo.mobile,
- identifyNumber: this.insuredPersonInfo.identifyNumber
- },
- ],
- companyId: this.companyId
- }
- uni.navigateTo({
- url: `/pages/carInsure/customerInterest?params=${JSON.stringify(params)}`,
- })
- }
- this.$http.post(`/equity/saveEquityType?companyId=${this.companyId}&type=${type}`).then(res => {
- this.closePopup()
- })
- },
- //核保弹窗关闭事件
- underwritecancel() {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- },
- //核保弹窗确认事件
- underwriteconfirm() {
- switch (this.underwriteTitle) {
- case '订单自核成功':
- if (this.quotationType.themeCode == 'QD') {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId + '&apiType=' + this.apiType,
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId + '&apiType=' + this.apiType,
- })
- }
- break;
- case '核保失败':
- break;
- case '影像上传失败':
- break;
- }
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- @import '@/style/mixin.scss';
- .page {
- background: #F8FAFE;
- padding: 16px 16px 100px 16px;
- }
- .sum {
- color: #0052FF;
- font-size: 14px;
- font-weight: bold;
- }
- .scroll-Y {
- height: 600px;
- }
- .discountInfoscroll {
- height: 300px;
- }
- .scroll-view-item {
- height: 300rpx;
- line-height: 300rpx;
- text-align: center;
- font-size: 36rpx;
- }
- .modelformcss {
- padding: 5px 15px;
- }
- .PlanPopup-btn {
- width: 100%;
- height: 48px;
- background: #FFFFFF;
- box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.05);
- }
- .circle {
- width: 16px;
- height: 16px;
- border-radius: 50%;
- border: 2px solid #0052FF;
- }
- .circle:after {
- content: "✔";
- /* 对勾符号 */
- font-size: 10px;
- font-weight: bold;
- /* 根据需要调整大小 */
- color: #0052FF;
- }
- .policyInfo {
- .tagHeader {
- font-family: Source Han Sans SC, Source Han Sans SC;
- text {
- position: relative;
- font-weight: bold;
- font-size: 13px;
- color: #333;
- }
- .tag {
- position: absolute;
- left: 0;
- bottom: -1px;
- width: 50%;
- height: 5px;
- background: linear-gradient(90deg, #0874FF 0%, rgba(8, 116, 255, 0) 100%);
- border-radius: 6px;
- }
- }
- .accident {
- width: 75%;
- .diss {
- border-bottom: 1px solid #E3E9F8;
- .boss {
- border-right: 1px solid #E3E9F8;
- text-align: center;
- padding: 5px 3px;
- }
- }
- }
- .right {
- width: 25%;
- border-right: 1px solid #E3E9F8;
- border-bottom: 1px solid #E3E9F8;
- padding: 5px 3px;
- }
- }
- .selectedCoverage {
- background-color: #FFDFCE;
- width: 100%;
- border-radius: 22px;
- position: relative;
- padding: 7px 8px;
- .title1 {
- color: #232832;
- font-size: 15px;
- font-weight: bold;
- }
- .title-before {
- position: absolute;
- width: 3px;
- height: 14px;
- background: #FF5600;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- }
- .product {
- width: 65px;
- background: #FFFFFF;
- border-radius: 16px;
- border: 1px solid #FF5600;
- padding: 2px 6px;
- box-sizing: border-box;
- }
- }
- .Plancontent {
- padding: 8px;
- .title {
- color: #232832;
- font-size: 15px;
- font-weight: bold;
- ::before {
- content: "丨";
- width: 10px;
- height: 10px;
- color: #0052FF;
- }
- }
- .title-before {}
- .Accident {
- width: 100%;
- border: 1px solid #0874FF;
- border-radius: 6px;
- overflow: hidden;
- .head {
- width: 20%;
- height: 40px;
- background-color: #0874FF;
- color: #FFFFFF;
- &:nth-child(1) {
- width: 60%;
- }
- }
- .tr {
- width: 20%;
- height: 60px;
- color: #232832;
- border: 1rpx solid #0874FF;
- font-size: 24rpx;
- color: #232832;
- &:nth-child(1) {
- width: 60%;
- background: rgba(8, 116, 255, 0.05);
- }
- &:nth-child(3) {
- background: rgba(8, 116, 255, 0.05);
- }
- }
- }
- .insuranceType {
- margin: 5px 10px;
- background: #F2F6FF;
- border-radius: 10px;
- }
- .terms {
- color: #FFFFFF;
- background: linear-gradient(90deg, #FF4D4D 0%, #FF784D 100%);
- border-radius: 4px 4px 4px 4px;
- }
- }
- .quotePlan {
- background: #FFFFFF;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- border-radius: 6px;
- }
- .status-data {
- width: auto;
- padding: 2px 8px;
- margin-left: 10px;
- font-size: 12px;
- border: 1px solid #CDCDCD;
- cursor: pointer;
- text-align: center;
- line-height: 25px;
- }
- .active {
- position: relative;
- background: rgba(0, 82, 255, 0.1);
- color: #0052FF;
- border: 1px solid #0052FF !important;
- font-weight: 700;
- }
- .active::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 10px;
- height: 10px;
- background-image: url("/static/image/car-insure/before.png");
- background-size: cover;
- }
- .active1 {
- position: relative;
- background: rgba(255, 86, 0, 0.1);
- color: #FF5600;
- border: 1px solid #FF5600;
- font-weight: 700;
- }
- .active1::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 10px;
- height: 10px;
- background-image: url("/static/image/car-insure/before1.png");
- background-size: cover;
- }
- .car-header {
- width: 100%;
- height: auto;
- background: linear-gradient(0, #FFFFFF 0%, rgba(241, 246, 255, 0.8) 100%);
- box-shadow: 0px 4px 10px 0px rgba(158, 173, 229, 0.1);
- border-radius: 6px;
- padding: 8px 15px;
- position: relative;
- .head-name {
- margin-left: 10px;
- &>text {
- font-weight: bold;
- font-size: 14px;
- color: #232832;
- }
- .name1 text {
- font-size: 14px;
- color: #333333;
- }
- }
- .carJump {
- position: absolute;
- top: 5px;
- right: 10px;
- font-size: 14px;
- color: #0052FF;
- }
- }
- /* 报价公司Start */
- .quoteCompany {
- box-sizing: border-box;
- /* background:#FFFFFF; */
- position: relative;
- border-radius: 20upx;
- }
- .quoteCompany .header {
- height: 80upx;
- }
- .quoteCompany .header .title {
- font-size: 30upx;
- font-weight: bold;
- }
- .quoteCompany .header .title .icon {
- color: rgba($themeColor, 0.6);
- margin-left: 15upx;
- }
- .quoteCompanyItem {
- margin-bottom: 20upx;
- background: #FFFFFF;
- border-radius: 6px;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- box-sizing: border-box;
- cursor: pointer;
- .selectedPlanBackground {
- background: linear-gradient(180deg, #DFF1FF 0%, #FFFFFF 100%);
- box-shadow: 0px 2px 5px 0px #DAE3F4;
- border-radius: 0px 0px 6px 6px;
- }
- >.headers {
- height: 30px;
- background-image: url('../../static/image/car-insure/weixuanfangan.png');
- background-position: 0% 0%;
- background-size: 100% 100%;
- background-repeat: no-repeat;
- .logo {
- width: 30%;
- image {
- width: 20px;
- height: 20px;
- margin-right: 10px;
- }
- .companyName {
- font-size: 14px;
- font-weight: bold;
- color: #fff;
- }
- }
- }
- }
- .quoteCompanyItem .top {
- position: relative;
- padding: 8px;
- }
- .quoteCompanyItem .top .companyIcon {
- border-radius: 6px 6px 0 0;
- padding: 0 0 4px;
- }
- .insuranceGuide {
- background: #FD9159;
- border-radius: 2px;
- font-weight: bold;
- font-size: 12px;
- color: #fff;
- padding: 0px 8px;
- margin-left: 5%;
- }
- .planDetails {
- width: 100%;
- height: auto;
- background: #F9F9F9;
- border-radius: 6px;
- padding: 6px;
- .headers {
- >image {
- width: 14px;
- height: 14px;
- }
- >text {
- font-size: 12px;
- color: #4B6FBA;
- margin-left: 10px;
- }
- }
- }
- .content {
- padding: 0 8px;
- margin-bottom: 5px;
- }
- .quoteCompanyItem .top .Premium {
- padding: 10px 8px;
- border-radius: 4px;
- .price {
- font-size: 12px;
- color: #FF5600;
- text {
- margin-right: 5px;
- }
- }
- .time {
- font-size: 12px;
- color: #2D4D89;
- >text {
- margin-right: 5px;
- }
- }
- }
- .quoteCompanyItem .top .quotebtn {
- width: 100%;
- height: auto;
- >view {
- width: 50%;
- font-size: 14px;
- padding: 4px 0;
- }
- }
- .lastyear {
- view {
- font-size: 12px;
- }
- .left {
- border: 1px solid #229805;
- border-radius: 2px;
- padding: 1px 6px;
- color: #229805;
- }
- .right {
- border-radius: 2px;
- padding: 1px 6px;
- border: 1px solid #FF5600;
- color: #FF5600;
- }
- }
- .quoteCompanyItem .top .totalMoney {
- font-size: 40upx;
- font-weight: bold;
- color: $themeColor;
- position: absolute;
- top: -15upx;
- right: 0;
- }
- .quoteCompanyItem .top .tip {
- font-size: 26upx;
- font-weight: bold;
- color: #999;
- position: absolute;
- top: 0upx;
- right: 0;
- }
- .sum {
- color: #0052FF;
- font-size: 14px;
- font-weight: bold;
- }
- .quoteFailed {
- background: rgba(255, 77, 77, 0.1);
- border-radius: 2px;
- color: #FF4D4D;
- font-size: 12px;
- font-weight: bold;
- padding: 2px 8px;
- }
- .quoteCompanyItem .top .signs {
- width: 500upx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .quoteCompanyItem .top .sign {
- height: 40upx;
- margin: 0upx 10upx;
- background: rgba($themeColor, 0.6);
- color: $themeColor;
- font-size: 20upx;
- margin-right: 10upx;
- border-radius: 6upx;
- padding: 0 2px;
- line-height: 40upx;
- }
- .jqsign {
- height: 20px;
- background: rgba(255, 177, 177, 0.55);
- color: #fd0a0a;
- font-size: 20upx;
- border-radius: 6upx;
- padding: 0 10px;
- box-sizing: border-box;
- }
- .quoteCompanyItem .body {
- padding: 20upx 0;
- flex-wrap: wrap;
- }
- .quoteCompanyItem .body>view {
- flex-shrink: 0;
- width: 50%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .quoteCompanyItem .body .icon-exchange {
- margin-right: 15upx;
- display: inline-block;
- }
- /* 报价公司End */
- /* 整个页面的统一样式 End */
- .plan-ins-title {
- color: #FF5600;
- font-size: 15px;
- font-weight: bold;
- padding: 8px;
- }
- .immediately {
- padding: 19rpx 15px;
- .common-ins-cell:last-child {
- border-bottom: none;
- }
- }
- .common-title {
- font-size: 32upx;
- font-weight: bold;
- }
- .common-ins-cell {
- font-size: 30upx;
- padding: 0upx 30upx;
- height: 90upx;
- border-bottom: 1px solid #eee;
- }
- /* 交强险和商业险弹出框Start */
- .popup-content {
- position: relative;
- }
- .popHeader {
- box-sizing: border-box;
- font-size: 32upx;
- font-weight: bold;
- height: 120upx;
- border-bottom: 1px solid #eee;
- }
- .popup-content .popContent {
- padding: 0upx 30upx;
- height: 620upx;
- box-sizing: border-box;
- }
- .popup-content .popContent .popContentTitle {
- font-weight: bold;
- font-size: 32upx;
- margin: 20upx 0upx 5upx 0upx;
- }
- .popup-content .popContent .amtSingle {
- width: 22%;
- box-sizing: border-box;
- display: inline-block;
- text-align: center;
- vertical-align: middle;
- border: 1px solid #eee;
- margin: 0 15rpx 15rpx 0;
- }
- .popup-content .popBottom {
- margin: 30upx 30upx 0 30upx;
- padding-bottom: 30upx;
- }
- /* 交强险和商业险弹出框End */
- .drivingSelection {
- padding: 8px;
- >view {
- padding: 4px 8px;
- }
- .header {
- width: 100%;
- background: rgba(255, 86, 0, 0.05);
- border-radius: 2px;
- margin-bottom: 4px;
- text {
- font-size: 15px;
- color: #FF5600;
- font-weight: bold;
- }
- }
- }
- .footer-btn {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 62px;
- background: #FFFFFF;
- box-shadow: 0px -4px 10px 0px #DAE3F4;
- border-radius: 0px 0px 0px 0px;
- padding: 12px 16px;
- z-index: 99;
- }
- .priceComparison {
- width: 20%;
- background: linear-gradient(180deg, #FA6464 0%, #E53F3F 100%);
- box-shadow: 0px 2px 5px 0px rgba(232, 66, 66, 0.3);
- border-radius: 4px;
- border: 1px solid #FF9A9A;
- }
- .ZJcheckboxGroup {
- .headers {
- min-height: 73px;
- background-image: url('../../static/image/car-insure/teyueheader.png');
- background-position: 0% 0%;
- background-size: 100% 100%;
- background-repeat: no-repeat;
- padding: 10px 20px;
- border-bottom: 1px solid #EEEEEE;
- .title {
- font-weight: bold;
- font-size: 16px;
- color: #333333;
- }
- }
- .hint {
- width: 90%;
- margin: auto;
- background: #DFF9FF;
- border-radius: 2px;
- padding: 3px 8px;
- image {
- width: 16px;
- height: 16px;
- margin-right: 10px;
- }
- text {
- font-size: 12px;
- color: #18AAE8;
- }
- }
- .scolcentent {
- max-height: 450px;
- padding-bottom: 40px;
- padding: 0 10px;
- }
- .operateBtn {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- font-weight: bold;
- font-size: 16px;
- .cancel {
- width: 50%;
- height: 46px;
- color: #A7AFC3;
- background-color: #F3F5F9;
- }
- .confirm {
- width: 50%;
- height: 46px;
- color: #fff;
- background: linear-gradient(90deg, #17A9E8 0%, #4DD4FF 100%);
- ;
- }
- }
- .operateBtn1 {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- font-weight: bold;
- font-size: 16px;
- padding: 10px;
- .cancel {
- width: 40%;
- height: 46px;
- background: #F3F5F9;
- border-radius: 4px;
- font-size: 16px;
- color: #A7AFC3;
- margin-right: 30px;
- }
- .confirm {
- width: 40%;
- height: 46px;
- background: linear-gradient(90deg, #0153FF 0%, #0D89FF 100%);
- border-radius: 4px;
- font-size: 16px;
- color: #fff;
- }
- }
- }
- ::deep {
- .jq {
- .u-th {
- background: #F6F7FE;
- padding: 5px 10px !important;
- }
- .u-td {
- padding: 5px 10px !important;
- }
- }
- .sy {
- .u-th {
- background: #F6F7FE;
- }
- }
- .u-tabs__wrapper__nav__line {
- left: 2400rpx;
- height: 4rpx !important;
- border-radius: 4rpx;
- }
- }
- .uni-uploader__file {
- position: relative;
- }
- .uni-uploader__files {
- position: relative;
- }
- .delImgIcon {
- width: 40upx;
- height: 40upx;
- position: absolute;
- right: 4px;
- bottom: 4px;
- color: #FFFFFF;
- }
- .imgtitle {
- background: #4682F9;
- border-radius: 0px 2px 2px 0px;
- padding: 1px 2px;
- position: absolute;
- left: 0upx;
- top: 2px;
- color: #FFFFFF;
- font-size: 20rpx;
- }
- .popup{
- width: 100%;
- height: 410rpx;
- background-color: #ffffff;
- .title{
- padding: 27rpx 0;
- color: #333333;
- font-size: 34rpx;
- position: relative;
- .close{
- position: absolute;
- top: 20rpx;
- right: 20rpx;
- }
- }
- .list{
- height: calc(100% - 100rpx);
- overflow-y: auto;
- .radio{
- padding: 28rpx 20px;
- border-top: 1px solid #eeeeee;
- }
- }
- }
- .deepenStyle {
- border-color: #FF4D4D;
- color: #FF4D4D;
- border-width: 4rpx;
- font-weight: bold;
- }
- </style>
|