premiumCalc.vue 174 KB

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