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