| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257 |
- <template>
- <view class="">
- <u-sticky zIndex="999" customNavHeight="0">
- <uni-NavBar headerTitle="保费计算" background="#fff" rightText="客服" iconImage="/static/icon/customerService.png"
- :isSlot="false" @share="getWechatCustomer"></uni-NavBar>
- </u-sticky>
- <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.brandName}} {{carInfo.displacement}}L {{carInfo.seatCount}}座
- {{carInfo.purchasePrice}}元 {{carInfo.carYear}}</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 style="font-size: 28rpx;">即时投保</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','ciRiskInfoVo')"
- :key="index">
- {{item.label}}
- </view>
- </view>
- </view>
- <u-form ref="uForm" labelWidth="120">
- <u-form-item label="交强险投保日期" class="modelformcss" @click="jqstartShow = true">
- <u--input v-model="jqstartDate" disabled disabledColor="#ffffff" clearable
- suffixIcon='calendar' suffixIconStyle="color:#333;font-size:40rpx"
- placeholder="请选择证件起期 " placeholderStyle="text-align:right;" border="none"
- style="pointer-events: none"></u--input>
- </u-form-item>
- <u-form-item label="交强险终保日期" class="modelformcss" @click="jqendShow=true">
- <u--input v-model="jqendDate" disabled disabledColor="#ffffff" clearable
- suffixIcon='calendar' suffixIconStyle="color:#333;font-size:40rpx"
- placeholder="请选择证件起期 " placeholderStyle="text-align:right;" border="none"
- style="pointer-events: none"></u--input>
- </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','biRiskInfoVo')"
- :key="index">
- {{item.label}}
- </view>
- </view>
- </view>
- <u-form ref="uForm" label-width="120px">
- <u-form-item label="商业险投保日期" class="modelformcss" @click="systartShow = true">
- <u--input v-model="systartDate" disabled disabledColor="#ffffff" clearable
- suffixIcon='calendar' suffixIconStyle="color:#333;font-size:40rpx"
- placeholder="请选择证件起期 " placeholderStyle="text-align:right;" border="none"
- style="pointer-events: none"></u--input>
- </u-form-item>
- <u-form-item label="商业险终保日期" class="modelformcss" @click="syendShow = true">
- <u--input v-model="syendDate" disabled disabledColor="#ffffff" clearable
- suffixIcon='calendar' suffixIconStyle="color:#333;font-size:40rpx"
- placeholder="请选择证件起期 " placeholderStyle="text-align:right;" border="none"
- style="pointer-events: none"></u--input>
- </u-form-item>
- </u-form>
- </view>
- </view>
- </view>
- <view 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.transfer? 'active1':''"
- @tap="immediatelyClick('transfer')">
- 过户车
- </view>
- <view class="status-data" v-if="['034001','0330034002','0330034001'].includes(productId)"
- :class="carInfo.biTransfer? 'active1':''" @tap="immediatelyClick('biTransfer')">
- 商业险过户
- </view>
- <!-- <view class="status-data" :class="carInfo.outOfInsurance? 'active1':''"
- @tap="immediatelyClick('outOfInsurance')">
- 脱保
- </view> -->
- <view class="status-data" :class="carInfo.secondHandCar? 'active1':''"
- @tap="immediatelyClick('secondHandCar')">
- 二手车
- </view>
- </view>
- </view>
- <view class="quotePlan dis a-c j-s mt-2 " style="padding: 5px 10px;" v-if="carInfo.transfer"
- @click="transferDateShow = true">
- <view>转移登记日期:</view>
- <u--input v-model="carInfo.transferDate" disabled disabledColor="#ffffff" clearable
- suffixIcon='calendar' suffixIconStyle="color:#333;font-size:40rpx" placeholder="请选择证件起期 "
- placeholderStyle="text-align:right;" border="none" style="pointer-events: none"></u--input>
- </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.costs.sumPremium}}</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>
- <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.nameSimple=='诚泰财险' && totalitem.result.ordersNo"
- 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.ordersNo"
- 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.insurancePlanInfo"
- style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
- @click="zijinspecialAgreementSelection(totalitem.id)">调整特约</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="huataispecialAgreementSelection(totalitem.id)">调整特约</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="20"
- @click="discountErrorMessageMsg(totalitem.result.feeNoDescription,totalitem.nameSimple)"></u-icon>
- </view>
- <view class="dis a-c f-wrap price">
- <text
- v-if="totalitem.result.costs.ciPremium">交强险:¥{{totalitem.result.costs.ciPremium}}</text>
- <text
- v-if="totalitem.result.costs.biPremium">商业险:¥{{totalitem.result.costs.biPremium}}</text>
- <text
- v-if="totalitem.result.costs.vvTax">车船税:¥{{totalitem.result.costs.vvTax}}</text>
- <text
- v-if="totalitem.result.costs.niPremium">驾意险:¥{{totalitem.result.costs.niPremium}}</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.ciRiskInfoVo && totalitem.result.ciRiskInfoVo.startDate">交强起保时间:{{totalitem.result.ciRiskInfoVo.startDate}}
- </text>
- <text
- v-if="totalitem.result.ciRiskInfoVo && totalitem.result.ciRiskInfoVo.endDate">交强终保时间:{{totalitem.result.ciRiskInfoVo.endDate}}
- </text>
- <text
- v-if="totalitem.result.biRiskInfoVo && totalitem.result.biRiskInfoVo.startDate">商业起保时间:{{totalitem.result.biRiskInfoVo.startDate}}
- </text>
- <text
- v-if=" totalitem.result.biRiskInfoVo && totalitem.result.biRiskInfoVo.endDate">商业终保时间:{{totalitem.result.biRiskInfoVo.endDate}}
- </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.scoreVo.score ?
- totalitem.result.scoreVo.score : '无' }}</text>
- <text v-else>评分:{{ totalitem.result.scoreVo.score?
- totalitem.result.scoreVo.score : '无' }}</text>
- <text v-if="totalitem.result.scoreVo.jqScore">交强类型评分:{{ totalitem.result.scoreVo.jqScore ?
- totalitem.result.scoreVo.jqScore : '无' }}</text>
- <text v-if="totalitem.result.scoreVo.syScore">商业类型评分:{{ totalitem.result.scoreVo.syScore ?
- totalitem.result.scoreVo.syScore : '无' }}</text>
- <text v-if="totalitem.result.scoreVo.lossRation">总赔付率:{{ totalitem.result.scoreVo.lossRation ?
- totalitem.result.scoreVo.lossRation : '无' }}</text>
- <text v-if="totalitem.result.scoreVo.jqLossRation">交强赔付率:{{ totalitem.result.scoreVo.jqLossRation ?
- totalitem.result.scoreVo.jqLossRation : '无' }}</text>
- <text v-if="totalitem.result.scoreVo.syLossRation">商业赔付率:{{ totalitem.result.scoreVo.syLossRation ?
- totalitem.result.scoreVo.syLossRation : '无' }}</text>
- <text
- v-if="totalitem.nameSimple == '紫金财险'">鼎然-车辆风险评分:{{totalitem.result.scoreVo.ubiPredictedInfoScore ?
- totalitem.result.scoreVo.ubiPredictedInfoScore : '无'}}</text>
- <text v-if="totalitem.result.scoreVo.jqRenewal">交强续保:{{ totalitem.result.scoreVo.jqRenewal ?
- totalitem.result.scoreVo.jqRenewal : '无' }}</text>
- <text v-if="totalitem.result.scoreVo.syRenewal">商业续保:{{ totalitem.result.scoreVo.syRenewal ?
- totalitem.result.scoreVo.syRenewal : '无' }}</text>
- <text v-if="totalitem.result.scoreVo.jqClaims">交强出险次数:{{ totalitem.result.scoreVo.jqClaims ?
- totalitem.result.scoreVo.jqClaims : '无' }}</text>
- <text v-if="totalitem.result.scoreVo.syClaims">商业出险次数:{{ totalitem.result.scoreVo.syClaims ?
- totalitem.result.scoreVo.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%); border: none;"
- @click="resubmitImage(totalitem.result.order.quoteNo)">补传影像</u-button>
- <u-button class="ml-2" type="error" size="mini"
- :custom-style="{borderRadius:'2px'}"
- style="background: linear-gradient( 90deg, #FF4D4D 0%, #FF784D 100%); border: none;"
- @click="bjdpreview(totalitem.result.ordersNo)">报价单</u-button>
- <u-button class="ml-2" type="primary" size="mini"
- :custom-style="{borderRadius:'2px'}"
- style="background: linear-gradient( 90deg, #FF9415 0%, #FFB525 100%); border: none;"
- @click="querydetial(totalitem.result.ordersNo,totalitem.cnName)">查看详情</u-button>
- <!-- <u-button class="ml-2" type="primary" size="mini"
- v-if="order.orderStatus==1" :custom-style="{borderRadius:'2px'}"
- style="background: linear-gradient( 90deg, #0052FF 0%, #0D8BFF 100%);"
- @click="submitUnderwriting(totalitem.result.ordersNo,totalitem.result.apiType ,totalitem.nameSimple)">提交核保</u-button> -->
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- </block>
- </view>
- </view>
- <view class="footer-btn dis j-s a-c">
- <u-button type="primary" style="background:#E6EEFF;color: #0052FF; border: none;" @tap="back"
- :hairline="false">上一步</u-button>
- <u-button type="primary" style="background:#FF9900; border: none;" @tap="tempSave">暂存</u-button>
- <u-button type="primary" style="background:#C9C9C9; border: none;" @click="priceComparison"
- v-if="comparableQuantity<2 ">查最优</u-button>
- <u-button type="primary" style="background:#1DB1E0; border: none;" @click="priceComparison1"
- v-if="comparableQuantity>=2 && selectedCount<2">查最优</u-button>
- <u-button type="primary" class="priceComparison" @click="priceComparison2" v-if="selectedCount>=2"
- style="border: none;">查最优</u-button>
- <u-button type="primary" style="background:#0052FF;border: none;" @tap="toNext">多家报价</u-button>
- </view>
- <!-- 安盛驾意险弹框 -->
- <u-modal :show="anshengPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="anshengPopupshow=false">
- <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 :show="renshouPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="renshouPopupshow=false">
- <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 :show="zhongmeiPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="zhongmeiPopupshow=false">
- <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 :show="hengbangPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="hengbangPopupshow=false">
- <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 :show="zhonganPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="zhonganPopupshow=false">
- <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 :show="huanongPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="huanongPopupshow=false">
- <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 :show="taikangPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="taikangPopupshow=false">
- <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 :show="yongchengPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="yongchengPopupshow=false">
- <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 :show="taipingPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="taipingPopupshow=false">
- <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 :show="bohaiPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="bohaiPopupshow=false">
- <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 :show="priceComparisonShow" title="比价提醒" :showCancelButton="false" @confirm="priceComparisonShow=false"
- :closeOnClickOverlay="true" @close="priceComparisonShow=false">
- <view class="slot-content dis j-c a-c ">
- <view class="p-2">
- <text>可选择有报价结果的公司进行比价,最少选择两家,最多可选择三家</text>
- </view>
- </view>
- </u-modal>
- <!-- 国任特约 -->
- <u-popup :show="guoRencontributingshow" mode="bottom" round="20rpx" :closeable="true"
- :closeOnClickOverlay="true" @close="guoRencontributingshow=false">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2">
- <text class="title">调整特约</text>
- <u-tabs :list="list" :current="GRcurrent" @change="change($event,'GRcurrent')"
- :activeStyle="{color:'#06A8DC'}" :inactiveStyle="{color:'#81869B'}"
- style="background: transparent;"></u-tabs>
- </view>
- <scroll-view scroll-y="true" class="scolcentent mt-2 ">
- <u-checkbox-group v-show="GRcurrent==0 && ['0330','0330034002','0330034001'].includes(productId)"
- @change="guoRencontributingChangejq" placement="column" v-model="GRspecialAgreement"
- class="mb-4">
- <u-checkbox class="p-1" v-for="(item, index) in guoRenSpecialAgreementDatajq" :key="index"
- :name="item.clauseCode" :label="item.clauseName" activeColor="#06A8DC">
- </u-checkbox>
- </u-checkbox-group>
- <u-checkbox-group v-show="GRcurrent==1 && ['034001','0330034002','0330034001'].includes(productId)"
- @change="guoRencontributingChangesy" placement="column" v-model="GRspecialAgreement1"
- class="mb-4">
- <u-checkbox class="p-1" v-for="(item, index) in guoRenSpecialAgreementDatasy" :key="index"
- :name="item.clauseCode" :label="item.clauseName" activeColor="#06A8DC">
- </u-checkbox>
- </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 :show="zijincontributingshow" mode="bottom" round="20rpx" :closeable="true" :closeOnClickOverlay="true"
- @close="zijincontributingshow=false">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2">
- <text class="title">调整特约</text>
- <u-tabs :list="list" :current="ZJcurrent" @change="change($event,'ZJcurrent')"
- :activeStyle="{color:'#06A8DC'}" :inactiveStyle="{color:'#81869B'}"
- style="background: transparent;"></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 v-show="ZJcurrent==0 && ['0330','0330034002','0330034001'].includes(productId)"
- v-model="ZJspecialAgreement" @change="ziJincontributingChangejq" placement="column"
- class="mb-4">
- <u-checkbox class="p-1" v-for="(item, index) in ziJinengageListDatajq" :key="index"
- :name="item.clauseCode" :label="item.clauseName" activeColor="#06A8DC">
- </u-checkbox>
- </u-checkbox-group>
- <u-checkbox-group v-show="ZJcurrent==1 && ['034001','0330034002','0330034001'].includes(productId)"
- v-model="ZJspecialAgreement1" @change="ziJincontributingChangesy" placement="column"
- class="mb-4">
- <u-checkbox class="p-1" v-for="(item, index) in ziJinengageListDatasy" :key="index"
- :name="item.clauseCode" :label="item.clauseName" activeColor="#06A8DC">
- </u-checkbox>
- </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 :show="huataicontributingshow" mode="bottom" round="20rpx" :closeable="true"
- :closeOnClickOverlay="true" @close="huataicontributingshow=false">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="headers dis a-start f-c mb-2">
- <text class="title">调整特约</text>
- <u-tabs :list="list" :current="HTcurrent" @change="change($event,'HTcurrent')"
- :activeStyle="{color:'#06A8DC'}" :inactiveStyle="{color:'#81869B'}"
- style="background: transparent;"></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 v-show="HTcurrent==0 && ['0330','0330034002','0330034001'].includes(productId)"
- @change="huaTaicontributingChangejq" class="mb-4">
- <u-checkbox class="p-1" v-for="(item, index) in huaTaiengageListDatajq" :key="index"
- :name="item.clauseCode" :label="item.clauseName" activeColor="#06A8DC">
- </u-checkbox>
- </u-checkbox-group>
- <u-checkbox-group v-show="HTcurrent==1 && ['034001','0330034002','0330034001'].includes(productId)"
- @change="huaTaicontributingChangesy" class="mb-4">
- <u-checkbox class="p-1" v-for="(item, index) in huaTaiengageListDatasy" :key="index"
- :name="item.clauseCode" :label="item.clauseName" activeColor="#06A8DC">
- </u-checkbox>
- </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 :show="CTcoefficientShow" mode="bottom" round="20rpx" :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 :show="ZJcoefficientShow" mode="bottom" round="20rpx" :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 :show="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 :show="dajiaPopupshow" title="驾意险" :showConfirmButton="false" mask-close-able
- @close="dajiaPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="30" placement="column">
- <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 :show="Generateshow" content="是否生成新的订单?" :showCancelButton="true" @close="Generateshow=false"
- @confirm="GenerateModalConfirm"></u-modal>
- <u-modal :show="preUnderwritingshow" title="预核保信息" @close="preUnderwritingshow=false">
- <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 :show="discountInfoPopup" mode="center" round="12rpx">
- <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 :show="InsureGuidePopup" confirmColor="#FF5600" :closeOnClickOverlay="true"
- @confirm="InsureGuidePopup=false" @close="InsureGuidePopup=false">
- <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 :show="auditNextShow" content="是否确认提交核保" @confirm="auditNextconfirm" :showCancelButton="true"
- :asyncClose="true">
- </u-modal>
- <!-- 核保提示弹窗 -->
- <u-modal :show="underwriteShow" :title="underwriteTitle" :confirmText="confirmText" :cancelText="cancelText"
- :showCancelButton="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 :show="resubmitDocumentsShow" mode="bottom" round="20rpx" :closeable="true"
- @close='resubmitDocumentsShow=false'>
- <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 20rpx 0; box-sizing: border-box;">
- <view class="content">
- <view v-show="imagecurrent==0">
- <imageDataVue @previewImage="previewImage" @delCheckImage="delCheckImage"
- :imageCollection="imageCollection" @chooseImage="chooseImage" :isUploadEnabled="true">
- </imageDataVue>
- </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>
- <u-datetime-picker :show="jqstartShow" v-model="jqstartvalue" mode="datetime" :formatter="formatter"
- @cancel="jqstartShow=false" @close="jqstartShow=false" :closeOnClickOverlay="true" @confirm="jqstartconfirm"
- confirmText="确定"></u-datetime-picker>
- <u-datetime-picker :show="jqendShow" v-model="jqendvalue" mode="datetime" :formatter="formatter"
- @cancel="jqendShow=false" @close="jqendShow=false" :closeOnClickOverlay="true" @confirm="jqendconfirm"
- confirmText="确定"></u-datetime-picker>
- <u-datetime-picker :show="systartShow" v-model="systartvalue" mode="datetime" :formatter="formatter"
- @cancel="systartShow=false" @close="systartShow=false" :closeOnClickOverlay="true" @confirm="systartconfirm"
- confirmText="确定"></u-datetime-picker>
- <u-datetime-picker :show="syendShow" v-model="syendvalue" mode="datetime" :formatter="formatter"
- @cancel="syendShow=false" @close="syendShow=false" :closeOnClickOverlay="true" @confirm="syendconfirm"
- confirmText="确定"></u-datetime-picker>
- <!-- <u-datetime-picker :show="transferDateShow" v-model="transferDatevalue" mode="datetime" :formatter="formatter"
- @cancel="transferDateShow=false" @close="transferDateShow=false" :closeOnClickOverlay="true"
- @confirm="transferDateconfirm" confirmText="确定"></u-datetime-picker> -->
- </view>
- </template>
- <script>
- import {
- mapState
- } from "vuex"
- import imageDataVue from './modules/imageData.vue';
- export default {
- components: {
- imageDataVue
- },
- watch: {
- comparableQuantity: {
- handler(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 {
- jqstartvalue: Number(new Date()), //证件起期
- jqendvalue: Number(new Date()), //证件起期
- systartvalue: Number(new Date()), //证件起期
- syendvalue: Number(new Date()), //证件起期
- transferDatevalue: Number(new Date()), //证件起期
- order: {},
- costs: {}, //价格
- accidentalDrivings: {}, //驾意险
- imagelist: [{
- name: '车辆/人员信息'
- },
- // {
- // name: '验车照'
- // }
- ],
- imagecurrent: 0,
- //特约分类
- list: [{
- name: '交强'
- }, {
- name: '商业'
- }],
- ZJcurrent: 0, //紫金特约
- HTcurrent: 0, //华泰特约
- GRcurrent: 0, //国任特约
- GRspecialAgreement: [],
- GRspecialAgreement1: [],
- HTspecialAgreement: [],
- HTspecialAgreement1: [],
- ZJspecialAgreement: [],
- ZJspecialAgreement1: [],
- //特约分类
- CTcoefficientForm: {
- initialProposalDiscount: "", //初始折扣
- expectedDiscount: "", //期望折扣
- pricingCoefficient: "", //自主定价系数
- },
- ZJcoefficientForm: {
- coefficient: null, //系数
- },
- CTcoefficientIndex: "",
- ZJcoefficientIndex: "",
- CTcoefficientShow: false, //诚泰系数
- ZJcoefficientShow: false, //紫金系数
- previewImgs: [],
- carImageListId: [],
- ownerImageListId: [],
- policyHolderImageListId: [],
- insuredPersonImageListId: [],
- imageCollection: {}, //影像集合
- imgList1: [],
- imgList2: [],
- imgList3: [],
- imgList4: [],
- imgList5: [],
- imgList6: [],
- imgList7: [],
- imgList8: [],
- resubmitDocumentsShow: false,
- insuranceCompanyName: "", //保险公司简称
- companyId: "", //子订单ID
- apiType: "", //区分核保接口请求类型
- auditNextShow: false, //核保确认弹窗
- //核保提示
- underwriteShow: false,
- underwriteTitle: "订单自核成功", //核保状态
- confirmText: "立即缴费", //核保提示自定义按钮
- cancelText: "暂不缴费",
- underwriteMsg: "",
- //核保提示
- /* 优惠信息弹窗*/
- discountInfoPopup: false,
- discountInfoPopupTitle: "",
- discountInfoPopupContent: ``,
- /* 优惠信息弹窗*/
- /* 投保指引*/
- insGuide: "",
- insGuideTitle: "",
- /* 投保指引*/
- guoRenSpecialAgreementData: [], //国任特约list
- ziJinengageListData: [], //紫金特约list
- huaTaiengageListData: [], //华泰特约list
- guoRenSpecialAgreementVojq: [],
- guoRenSpecialAgreementVosy: [],
- huaTaiSpecialAgreementVojq: [],
- huaTaiSpecialAgreementVosy: [],
- ziJinSpecialAgreementVojq: [],
- ziJinSpecialAgreementVosy: [],
- preUnderwritingshow: false, //预核保信息弹窗
- Generateshow: false,
- guoRencontributingshow: false, //国任特约弹窗
- zijincontributingshow: false, //紫金特约弹窗
- huataicontributingshow: false, //华泰特约弹窗
- priceComparisonShow: false, //比价弹窗
- comparableQuantity: 0, //报价成功总数
- selectedCount: 0, //比价勾选数量
- kindInfoVo: [], //险种大类
- ciRiskInfoVo: {
- amount: 0,
- endDate: '',
- instantFlag: false,
- premium: 0,
- riskCode: "0507",
- startDate: '',
- },
- biRiskInfoVo: {
- amount: 0,
- endDate: '',
- instantFlag: false,
- premium: 0,
- riskCode: "0510",
- startDate: '',
- },
- model: {
- taxRelifFlag: "正常交税",
- taxpayerIdentifier: "身份证",
- relifReason: "",
- taxPaidAreaCode: "",
- },
- //车船税form
- vehicleAndVesselTaxVo: {
- 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: {},
- 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,
- }
- },
- onShow() {
- },
- async onLoad(params) {
- if (params.orderno) {
- let res = await this.$http.get('/supplementOrder/getOrderDetail', {
- ordersNo: params.orderno
- });
- this.productId = res.data.order.productId; //险种id
- this.productName = res.data.order.productsName; //险种name
- this.quotableCompanyList = JSON.parse(JSON.stringify(res.data.insCompanyVo));
- this.order = res.data.order;
- this.costs = res.data.costs; //价格
- this.accidentalDrivings = res.data.accidentalDrivings; //驾意险
- this.carInfo = res.data.carInfoVo; //车辆信息
- this.ownerInfo = res.data.ownersInfo; //车主信息
- this.policyHolderInfo = res.data.policyHolderInfo; //投保人信息
- this.insuredPersonInfo = res.data.insuredPersonInfo; //被保人信息
- this.kindInfoVo = res.data.kindInfoVo; //险种大类
- this.ciRiskInfoVo = res.data.ciRiskInfoVo; //交强险
- this.biRiskInfoVo = res.data.biRiskInfoVo; //商业险
- this.vehicleAndVesselTaxVo = res.data.vehicleAndVesselTaxVo; //车船税信息
- this.orderno = res.data.order.ordersNo;
- this.quoteno = res.data.order.quoteNo;
- await this.commpanyList(res.data);
- this.imageEcho(this.quoteno) // 影像获取完毕
- if (this.ciRiskInfoVo) {
- if (this.isDateBeforeToday(this.ciRiskInfoVo.startDate)) {
- this.jqstartDate = this.nextday();
- this.jqendDate = this.oneYearPast(this.jqstartDate)
- this.ciRiskInfoVo.startDate = this.nextday()
- this.ciRiskInfoVo.endDate = this.oneYearPast(this.jqstartDate)
- } else {
- this.jqstartDate = this.ciRiskInfoVo.startDate;
- this.jqendDate = this.ciRiskInfoVo.endDate;
- }
- }
- if (this.biRiskInfoVo) {
- if (this.isDateBeforeToday(this.biRiskInfoVo.startDate)) {
- this.systartDate = this.nextday();
- this.syendDate = this.oneYearPast(this.systartDate)
- this.biRiskInfoVo.startDate = this.nextday()
- this.biRiskInfoVo.endDate = this.oneYearPast(this.systartDate)
- } else {
- this.systartDate = this.biRiskInfoVo.startDate;
- this.syendDate = this.biRiskInfoVo.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.carInfo = data.carInfo; //车辆信息
- this.ownerInfo = data.ownerInfo; //车主信息
- this.policyHolderInfo = data.policyHolderInfo; //投保人信息
- this.vehicleAndVesselTaxVo.identifyNumber = this.policyHolderInfo.identifyNumber;
- this.vehicleAndVesselTaxVo.taxpayerName = this.policyHolderInfo.name;
- this.insuredPersonInfo = data.insuredPersonInfo; //被保人信息
- this.carImageListId = data.carImageListId; //车辆
- this.ownerImageListId = data.ownerImageListId; //车主
- this.policyHolderImageListId = data.policyHolderImageListId; //投保
- this.insuredPersonImageListId = data.insuredPersonImageListId; //被保人
- 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: {
- //跳转微信客服
- async getWechatCustomer() {
- let res = await this.$http.get('/organization/wechat/customerService/manage/find/link')
- if (res.code == 200) {
- if (plus) { // 确保在App环境下
- plus.runtime.openURL(res.data);
- }
- }
- },
- formatter(type, value) {
- if (type === 'year') {
- return `${value}年`
- }
- if (type === 'month') {
- return `${value}月`
- }
- if (type === 'day') {
- return `${value}日`
- }
- if (type === 'hour') {
- return `${value}时`
- }
- if (type === 'minute') {
- return `${value}分`
- }
- return value
- },
- 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;
- },
- change(index, name) {
- this[name] = index.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) {
- this.imgList1 = [];
- this.imgList2 = [];
- this.imgList3 = [];
- this.imgList4 = [];
- this.imgList5 = [];
- this.imgList6 = [];
- this.imgList7 = [];
- this.imgList8 = [];
- let res = await this.$http.get('/order/taskImages/selectByQuoteNo?quoteNo=' + quotenos);
- if (res.code == "200") {
- res.data.images.forEach((keys) => {
- if (keys.downloadUrl) {
- switch (keys.imageType) {
- case 'C01':
- this.carImageListId.push({
- imageBase64List: [{
- imageId: keys.imageId
- }],
- imageCode: keys.imageType,
- })
- this.imgList1.push(keys);
- break;
- case 'D01':
- this.carImageListId.push({
- imageBase64List: [{
- imageId: keys.imageId
- }],
- imageCode: keys.imageType,
- })
- this.imgList2.push(keys);
- break;
- case 'C02':
- this.ownerImageListId.push({
- imageBase64List: [{
- imageId: keys.imageId
- }],
- imageCode: keys.imageType,
- })
- this.imgList3.push(keys);
- break;
- case 'D02':
- this.ownerImageListId.push({
- imageBase64List: [{
- imageId: keys.imageId
- }],
- imageCode: keys.imageType,
- })
- this.imgList4.push(keys);
- break;
- case 'C03':
- this.policyHolderImageListId.push({
- imageBase64List: [{
- imageId: keys.imageId
- }],
- imageCode: keys.imageType,
- })
- this.imgList5.push(keys);
- break;
- case 'D03':
- this.policyHolderImageListId.push({
- imageBase64List: [{
- imageId: keys.imageId
- }],
- imageCode: keys.imageType,
- })
- this.imgList6.push(keys);
- break;
- case 'C04':
- this.insuredPersonImageListId.push({
- imageBase64List: [{
- imageId: keys.imageId
- }],
- imageCode: keys.imageType,
- })
- this.imgList7.push(keys);
- break;
- case 'D04':
- this.insuredPersonImageListId.push({
- imageBase64List: [{
- imageId: keys.imageId
- }],
- imageCode: keys.imageType,
- })
- this.imgList8.push(keys);
- break;
- default:
- break;
- }
- }
- });
- this.imageCollection = {
- imgList1: this.imgList1,
- imgList2: this.imgList2,
- imgList3: this.imgList3,
- imgList4: this.imgList4,
- imgList5: this.imgList5,
- imgList6: this.imgList6,
- imgList7: this.imgList7,
- imgList8: this.imgList8,
- }
- }
- },
- 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('/manager/clause/getClausePage', {
- companyId: id,
- pages: 1,
- riskCode: 'all',
- size: 100,
- });
- this.guoRenSpecialAgreementData = guoRen.data.records;
- this.guoRencontributingshow = true;
- },
- //紫金特约
- async zijinspecialAgreementSelection(id) {
- let Zijinres = await this.$http.post('/manager/clause/getClausePage', {
- companyId: id,
- pages: 1,
- riskCode: 'all',
- size: 100,
- });
- this.ziJinengageListData = Zijinres.data.records;
- console.log(this.ziJinengageListDatajq);
- this.zijincontributingshow = true;
- },
- //华泰特约
- async huataispecialAgreementSelection(id) {
- let huaTaires = await this.$http.post('/manager/clause/getClausePage', {
- companyId: id,
- pages: 1,
- riskCode: 'all',
- size: 100,
- });
- this.huaTaiengageListData = huaTaires.data.records;
- this.huataicontributingshow = true;
- },
- guoRencontributingChangejq(param) {
- this.guoRenSpecialAgreementVojq = [];
- param.map(val => {
- let list = this.guoRenSpecialAgreementDatajq.find(item => item.clauseCode == val)
- this.guoRenSpecialAgreementVojq.push(list)
- })
- },
- guoRencontributingChangesy(param) {
- this.guoRenSpecialAgreementVosy = [];
- param.map(val => {
- let list = this.guoRenSpecialAgreementDatasy.find(item => item.clauseCode == val)
- this.guoRenSpecialAgreementVosy.push(list)
- })
- },
- ziJincontributingChangejq(param) {
- this.ziJinSpecialAgreementVojq = [];
- param.map(val => {
- let list = this.ziJinengageListDatajq.find(item => item.clauseCode == val)
- this.ziJinSpecialAgreementVojq.push(list)
- })
- },
- ziJincontributingChangesy(param) {
- this.ziJinSpecialAgreementVosy = [];
- param.map(val => {
- let list = this.ziJinengageListDatasy.find(item => item.clauseCode == val)
- this.ziJinSpecialAgreementVosy.push(list)
- })
- },
- huaTaicontributingChangejq(param) {
- this.huaTaiSpecialAgreementVojq = [];
- param.map(val => {
- let list = this.huaTaiengageListDatajq.find(item => item.clauseCode == val)
- this.huaTaiSpecialAgreementVojq.push(list)
- })
- },
- huaTaicontributingChangesy(param) {
- this.huaTaiSpecialAgreementVosy = [];
- param.map(val => {
- let list = this.huaTaiengageListDatasy.find(item => item.clauseCode == val)
- this.huaTaiSpecialAgreementVosy.push(list)
- })
- },
- //--------比价
- 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.energyTypeCode == '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.riskTypeEchoProcessing(this.productId); //更新险种大类日期
- let param = {
- licenseNo: this.carInfo.licenseNo,
- vinNo: this.carInfo.vinNo,
- engineNo: this.carInfo.engineNo,
- };
- let orders = await this.$http.get('/unify/order/getQuoteNo', param);
- if (orders.code == '200') {
- this.quoteno = orders.msg;
- let mergedArray = [];
- let mergedArrayList = mergedArray.concat(this.carImageListId, this
- .ownerImageListId, this
- .policyHolderImageListId, this.insuredPersonImageListId)
- if (mergedArrayList.length > 0) {
- await this.$http.post('/unify/order/imageSave', {
- imageVoList: mergedArrayList,
- order: {
- 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 : "",
- kindInfoVost: thikindInfoVost,
- carInfo: this.carInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- ownerInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- vehicleAndVesselTax: this.vehicleAndVesselTaxVo,
- 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.energyTypeCode == '0') {
- return uni.showToast({
- icon: "none",
- title: '检测到能源种类错误,与车辆信息不符。请修改后继续操作',
- duration: 3000
- });
- }
- if (!item.insurancePlanInfo) {
- uni.showToast({
- title: "请选择方案后,在进行报价",
- icon: 'none',
- });
- } else {
- this.riskTypeEchoProcessing(this.productId); //更新险种大类日期
- let param = {
- licenseNo: this.carInfo.licenseNo,
- vinNo: this.carInfo.vinNo,
- engineNo: this.carInfo.engineNo,
- };
- let orders = await this.$http.get('/unify/order/getQuoteNo', param);
- if (orders.code == '200') {
- this.quoteno = orders.msg;
- let mergedArray = [];
- let mergedArrayList = mergedArray.concat(this.carImageListId, this
- .ownerImageListId, this
- .policyHolderImageListId, this.insuredPersonImageListId)
- if (mergedArrayList.length > 0) {
- await this.$http.post('/unify/order/imageSave', {
- imageVoList: mergedArrayList,
- order: {
- 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 AICS(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/unify/order/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.ordersNo;
- } 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 ZMBX(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post("/unify/order/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 BPIC(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/unify/order/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 YGBX(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/unify/order/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 HTIC(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- specialInfoVo: [...this.ziJinSpecialAgreementVojq, ...this.ziJinSpecialAgreementVosy], //特约
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post(
- "/unify/order/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 ZKIC(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- specialInfoVo: [...this.ziJinSpecialAgreementVojq, ...this.ziJinSpecialAgreementVosy], //特约
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/unify/order/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 XDCX(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- specialInfoVo: [...this.guoRenSpecialAgreementVojq, ...this.guoRenSpecialAgreementVosy], //特约
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post('/unify/order/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 DJPC(num, id) {
- let isTaxSource = this.quotableCompanyList[num].isTaxSource;
- let ccidenttype = this.quotableCompanyList[num].cnName;
- let params = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- systemType: '2'
- };
- try {
- let res = await this.$http.post("/unify/order/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 = '接口请求超时,请重新尝试';
- }
- },
- //安盛天平
- TPBX(num, id) {
- this.quoteInsurance(num, id);
- },
- //华农
- HNIC(num, id) {
- this.quoteInsurance(num, id);
- },
- //太平
- TPIC(num, id) {
- this.quoteInsurance(num, id);
- },
- //众安
- ZAPA(num, id) {
- this.quoteInsurance(num, id);
- },
- //人寿
- GPIC(num, id) {
- this.quoteInsurance(num, id);
- },
- //恒邦
- HBIC(num, id) {
- this.quoteInsurance(num, id);
- },
- //泰康
- TKIC(num, id) {
- this.quoteInsurance(num, id);
- },
- //诚泰
- CHAC(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 = {
- order: {
- insuranceCompanyCode: id,
- quoteNo: this.quoteno,
- productId: this.productId,
- },
- accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
- .quotableCompanyList[num].insurancePlanInfo.drivings[0]
- ] : [],
- kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
- // risks: thikindInfoVost,
- ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
- .ciRiskInfoVo : null, //交强大类
- biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
- .biRiskInfoVo : null, //商业大类
- carInfoVo: this.carInfo,
- ownersInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
- isTaxSource: isTaxSource == 1 ? isTaxSource : null,
- // agreementId: this.quotableCompanyList[num].agreement[0].id,
- 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('/unify/order/quote',
- params);
- switch (nameSimple) {
- 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) {
- switch (code) {
- case '0330':
- this.ciRiskInfoVo.startDate = this.jqstartDate;
- this.ciRiskInfoVo.endDate = this.jqendDate;
- break;
- case '034001':
- case '034002':
- this.biRiskInfoVo.startDate = this.systartDate;
- this.biRiskInfoVo.endDate = this.syendDate;
- break;
- case '0330034002':
- case '0330034001':
- this.ciRiskInfoVo.startDate = this.jqstartDate;
- this.ciRiskInfoVo.endDate = this.jqendDate;
- this.biRiskInfoVo.startDate = this.systartDate;
- this.biRiskInfoVo.endDate = this.syendDate;
- break;
- }
- },
- //查看详情
- querydetial(id, cnName) {
- uni.navigateTo({
- url: '/pages/quote/quoteDetail',
- success: (res) => {
- res.eventChannel.emit("acceptData", {
- id: id,
- cnName: cnName,
- quotableCompanyList: this.quotableCompanyList,
- })
- }
- });
- },
- //报价单
- bjdpreview(id) {
- uni.navigateTo({
- url: "/pages/quote/quotation?ordersNo=" + 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) {
- uni.showModal({
- title: title + "报价提示",
- content: msg,
- showCancel: false,
- confirmText: "关闭"
- })
- },
- 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.ciStartDate ? item
- .ciStartDate : this.jqstartDate
- this.jqendDate = item.ciEndDate ? item
- .ciEndDate : this.jqendDate
- this.systartDate = item.biStartDate ? item
- .biStartDate : this.systartDate
- this.syendDate = item.biEndDate ? item
- .biEndDate : this.syendDate
- uni.showToast({
- title: '时间已替换',
- icon: 'none',
- duration: 1000
- });
- },
- //车船税类型选择
- taxRelifFlagConfirm(val, name) {
- this.vehicleAndVesselTaxVo[name] = val[0].value;
- this.model[name] = val[0].label;
- },
- taxDocumentDateconfirm(e) {
- this.vehicleAndVesselTaxVo.taxDocumentDate = e.year + '-' + e.month + '-' + e.day;
- },
- taxPaidAreaCodeconfirm(e) {
- this.vehicleAndVesselTaxVo.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 = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM') + ':00';
- this.jqstartShow = false;
- },
- jqendconfirm(e) {
- this.jqendDate = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM') + ':00';
- this.jqendShow = false;
- },
- systartconfirm(e) {
- this.systartDate = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM') + ':00';
- this.systartShow = false;
- },
- syendconfirm(e) {
- this.syendDate = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM') + ':00';
- this.syendShow = false;
- },
- transferDateconfirm(e) {
- this.carInfo.transferDate = uni.$u.timeFormat(e.value, 'yyyy-mm-dd');
- this.transferDateShow = false;
- },
- statusclick(value) {
- this.SelectedPlanId = value;
- let planObj = this.planDataExpansion.genericPlanList.find(item => item.schemeId == value);
- if (planObj.kinds && planObj.schemeType == '2') {
- 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 '中国人寿':
- 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) {
- uni.navigateTo({
- url: '/pages/quote/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) {
- uni.navigateTo({
- url: '/pages/quote/chooseOption',
- success: (res) => {
- res.eventChannel.emit("acceptData", {
- params: {
- companyId: item.id,
- productId: this.productId,
- },
- 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);
- },
- //即时投保时处理时间
- datelyClick(value, name, startDate, endDate, obj) {
- 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);
- this[obj].instantFlag = true;
- } else {
- this[startDate] = this.nextday();
- this[endDate] = this.oneYearPast(this.jqstartDate);
- this[obj].instantFlag = false;
- }
- },
- //获取保险公司列表
- commpanyList(item) {
- 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 (this.order && this.order.orderStatus) {
- if (this.costs.sumPremium) {
- ele.result = item;
- ele.insurancePlanInfo = {};
- ele.insurancePlanInfo.drivings = item.accidentalDrivings;
- ele.insurancePlanInfo.kinds = item.kindInfoVo;
- ele.quoteCode = 200;
- } else {
- ele.result = item;
- ele.msg = item.errorMessage;
- ele.insurancePlanInfo = {};
- ele.insurancePlanInfo.drivings = item.accidentalDrivings;
- ele.insurancePlanInfo.kinds = item.kindInfoVo;
- 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 == 'transfer') {
- if (this.carInfo[name]) {
- this.carInfo.transferDate = this.carInfo.issueDate;
- } else {
- this.carInfo.transferDate = "";
- }
- }
- },
- toCarInfo() {
- uni.navigateTo({
- url: '/pages/quote/quoteInfo',
- success: (res) => {
- res.eventChannel.emit(
- "acceptData", {
- carInfo: this
- .carInfo, //车辆信息
- ownerInfo: this
- .ownerInfo, //车主信息
- policyHolderInfo: this
- .policyHolderInfo, //投保人信息
- insuredPersonInfo: this
- .insuredPersonInfo, //被保人信息
- carImageListId: this
- .carImageListId, //车辆
- ownerImageListId: this
- .ownerImageListId, //车主
- policyHolderImageListId: this
- .policyHolderImageListId, //投保
- insuredPersonImageListId: this
- .insuredPersonImageListId, //被保人
- productId: this.productId, //险种id
- productName: this.productName, //险种名称
- quoteno: this.quoteno, //报价号
- })
- }
- }, "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;
- },
- //删除图片
- 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(quoteno) {
- this.resubmitDocumentsShow = true;
- this.imageEcho(quoteno) // 影像获取完毕
- },
- //提交核保
- async uploadRetry() {
- const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
- .policyHolderImageListId, ...this.insuredPersonImageListId, ...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.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.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.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.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.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.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.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.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 "恒邦财险":
- case "诚泰财险":
- case "安盛天平":
- case "众安财险":
- case "中国人寿":
- 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.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) {
- this.companyId = id;
- this.apiType = apiType;
- this.insuranceCompanyName = name;
- this.auditNextShow = true;
- },
- //核保弹窗关闭事件
- 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>
- .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;
- 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 {
- 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(#ea552d, 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-bottom: 100rpx;
- box-sizing: border-box;
- }
- .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: #ea552d;
- 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(#ea552d, 0.6);
- color: #ea552d;
- 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;
- right: 0;
- height: 62px;
- background: #FFFFFF;
- box-shadow: 0px -4px 10px 0px #DAE3F4;
- border-radius: 0px 0px 0px 0px;
- padding: 12px 16px;
- z-index: 99;
- .u-button {
- margin: 0 10rpx;
- }
- }
- .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: 900rpx;
- padding-bottom: 40px;
- padding: 0 10px;
- padding-bottom: 140rpx;
- }
- .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 {
- background-color: #fff;
- 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;
- }
- }
- }
- ::v-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;
- }
- .u-modal__content {
- padding: 0px;
- padding-top: 0;
- box-sizing: border-box;
- }
- }
- .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;
- }
- </style>
|