12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281 |
- <template>
- <view :style="getHeight">
- <!-- 公共组件-每个页面必须引入 -->
- <public-module></public-module>
- <!-- 头部 -->
- <view class="headers dis f-c j-end">
- <view class="price dis a-c j-c">
- <image :src="logoimg" mode="" style="width: 20px;height: 20px;">
- </image>
- <text style="font-weight: bold;margin-left: 6px;font-size: 15px;">{{orderInfo.inscompany}}</text>
- </view>
- <view style="background-color: #fff;box-shadow: inset rgb(218, 227, 244) 0px 1px 4px 0px;"
- class="dis f-c p-2 ">
- <view class="" style="border-bottom: 1px dashed #EFEFEF;padding-bottom: 10px;">
- <view style="font-size: 16px;" class="dis j-s a-c ">
- <text style="color: #232832;font-weight: bold;">{{this.licenseNo}}</text>
- <text style="color: #FF5600;">¥{{sumPermium}}</text>
- </view>
- <text style="color: rgba(51,51,51,0.8);font-size: 14px;">{{carInfo.modelcname}}</text>
- </view>
- <view class="dis Circle" style="padding-top: 10px;">
- <view style="width: 49%;border-right: 1px dashed #EFEFEF;" class="dis f-c a-start ">
- <text style="font-weight: bold;" v-if="orderInfo.jqstartdate">{{ orderInfo.jqstartdate }}</text>
- <text v-else>-</text>
- <text style="font-size: 14px;color: rgba(51,51,51,0.8);">交强险起保日期</text>
- </view>
- <view style="width: 49%;" class="dis f-c a-end">
- <text style="font-weight: bold;" v-if="orderInfo.systartdate">{{ orderInfo.systartdate }}</text>
- <text v-else>-</text>
- <text style="font-size: 14px;color: rgba(51,51,51,0.8);">商业险起保日期</text>
- </view>
- </view>
- </view>
- </view>
- <view class="page">
- <view class="quotePlan">
- <view class="header d-flex a-center">
- <view class="title">报价方案</view>
- <!-- <view class="Discount dis a-c " style="margin-left: 10px;">
- <image src="/static/image/car-insure/youhui.png" mode=""></image>
- <text style="margin-left: 3px;">优惠金额</text>
- </view> -->
- </view>
- <view class="body" style="box-shadow: 0px 4px 10px 0px #DAE3F4;">
- <view class="row d-flex a-center j-sb">
- <view v-if="sumPermium">总额:</view>
- <view class="dis a-c">
- <text> ¥{{sumPermium}}</text>
- </view>
- </view>
- <view v-if="jqpremium" class="row d-flex a-center j-sb">
- <view>交强险:</view>
- <view class="dis a-c">
- <text> ¥{{jqpremium}}</text>
- </view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>车船税:</view>
- <view>{{taxAmount}}</view>
- </view>
- <view v-if="jypremium" class="row d-flex a-center j-sb">
- <view>驾意险:</view>
- <view class="dis a-c">
- <text> ¥{{jypremium}}</text>
- </view>
- </view>
- <view v-if="sypremium" class="row dis f-c">
- <view class="dis a-c j-s" style="width: 100%;">
- <view>商业险:</view>
- <view class="dis a-c">
- <text> ¥{{sypremium}}</text>
- </view>
- </view>
- <view class="kindList mt-3">
- <view class="dis j-s" style="color: rgba(35,40,50,0.6);font-size: 24rpx;border-bottom: 1px silid
- #232832">
- <view class="dis j-start" style="width: 33.33%;">
- <text>险别/名称</text>
- </view>
- <view class="dis j-c" style="width: 33.33%;">
- <text>保额</text>
- </view>
- <view class="dis j-end" style="width: 33.33%;">
- <text>保费(元)</text>
- </view>
- </view>
- <block v-for="(item,index) in kindList" :key="index">
- <template v-if="item.coveragePremium">
- <view class="kindItem dis">
- <view class="dis j-start" style="width: 33.33%;">
- <text>{{item.kindName}}</text>
- </view>
- <view class="dis a-c j-c" v-if="['A'].includes(item.kindCode)"
- style="width: 33.33%;"><text>
- {{item.amount}}</text>
- </view>
- <view class="dis a-c j-c"
- v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)"
- style="width: 33.33%;">
- <text>{{toChinesNum(item.unitAmount)}}/座*{{orderInfo.carinfo.seatCount-1}}</text>
- </view>
- <view class="dis a-c j-c"
- v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)"
- style="width: 33.33%;">
- <text>{{item.deductibleRate}}%</text>
- </view>
- <view class="dis a-c j-c" v-else style="width: 33.33%;">
- <text>{{toChinesNum(item.amount)}}</text>
- </view>
- <view class="dis a-c j-end" style="width: 33.33%;">
- <text>¥{{item.coveragePremium}}</text>
- </view>
- </view>
- </template>
- </block>
- </view>
- </view>
- <view class="addedServices" v-if="roadrescueList.length>0">
- <view class="row d-flex a-center j-sb">
- <view class="d-flex">增值服务<view class="d-flex a-center"
- style="color:#999;margin-left: 10upx;font-size: 24upx;">
- 不收费,使用不影响明年保费</view>
- </view>
- <view>赠送</view>
- </view>
- <view class="kindList">
- <view class="kindItem d-flex a-center j-sb" v-for="(item,index) in roadrescueList"
- :key="index">
- <view>{{item.kindName}}</view>
- <view class="d-flex j-end">{{item.serviceTimes}}次</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="car">
- <view class="header d-flex a-center j-sb" @tap="showextendInfo = !showextendInfo">
- <view class="title">保费因素</view>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="body" v-if="showextendInfo">
- <view class="row d-flex a-center j-sb">
- <view>评分</view>
- <view>{{extendInfo.score?extendInfo.score:"无"}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>鼎然-车辆风险评分:</view>
- <view>{{orderInfo.ubiPredictedInfoScore?orderInfo.ubiPredictedInfoScore:"无"}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>交强评分</view>
- <view style="color: #ff9000;">{{extendInfo.jqScore?extendInfo.jqScore:"无"}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>商业评分</view>
- <view style="color: #ff9000;">{{extendInfo.syScore?extendInfo.syScore:"无"}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>出险信息</view>
- <view style="width: 200px;text-align: right;">
- {{extendInfo.accidentInfoStr?extendInfo.accidentInfoStr:"无"}}
- </view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>总赔付率</view>
- <view>{{extendInfo.lossRation}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>交强赔付率</view>
- <view>{{extendInfo.jqLossRation}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>商业赔付率</view>
- <view>{{extendInfo.syLossRation}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>总折扣率</view>
- <view>{{extendInfo.totalAdjustRate}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>交强险折扣</view>
- <view>{{extendInfo.jqAdjustRate}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>商业险折扣</view>
- <view>{{extendInfo.syAdjustRate}}</view>
- </view>
- </view>
- </view>
- <view class="car">
- <view class="header d-flex a-center j-sb" @tap="showCarInfo = !showCarInfo">
- <view class="title">车辆信息</view>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="body" v-if="showCarInfo">
- <view class="row d-flex a-center j-sb">
- <view>车牌号</view>
- <view>{{carInfo.licenseNo}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>品牌型号</view>
- <view>{{carInfo.modelcname}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>车辆识别代码</view>
- <view>{{carInfo.vinNo}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>发动机号</view>
- <view>{{carInfo.engineNo}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>年款</view>
- <view>{{carInfo.caryear}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>座位数</view>
- <view>{{carInfo.seatCount}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>整备质量</view>
- <view>{{carInfo.completeKerbMass}}</view>
- </view>
- <view class="row d-flex a-center j-sb" v-if="carInfo.limitLoad">
- <view>核定载质量</view>
- <view>{{carInfo.limitLoad}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>排量</view>
- <view>{{carInfo.enginedesc}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>功率</view>
- <view>{{carInfo.powerScale}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>新车购置价</view>
- <view>{{carInfo.purchasePrice}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>使用性质</view>
- <view>{{carInfo.carnature}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>车辆用途</view>
- <view>{{carInfo.vehicleUse}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>车辆类型</view>
- <view>{{carInfo.cartype}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>车辆种类</view>
- <view>{{carInfo.cimodelclass}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>能源种类</view>
- <view>{{carInfo.energyType}}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>注册日期</view>
- <view>{{carInfo.registerDate }}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>发证日期</view>
- <view>{{carInfo.issueDate }}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>是否过户</view>
- <view>{{carInfo.transferFlag?'是':'否' }}</view>
- </view>
- <view class="row d-flex a-center j-sb" v-if="carInfo.transferFlag">
- <view>转移登记日期</view>
- <view>{{carInfo.transferDate }}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>商业是否过户</view>
- <view>{{carInfo.transferFlagBi?'是':'否' }}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>是否脱保</view>
- <view>{{carInfo.outOfInsurance?'是':'否' }}</view>
- </view>
- <view class="row d-flex a-center j-sb">
- <view>是否二手车</view>
- <view>{{carInfo.usedCar?'是':'否' }}</view>
- </view>
- </view>
- </view>
- <view class="car">
- <view class="header d-flex a-center j-sb" @tap="showtaxArrears = !showtaxArrears"
- v-if="orderInfo.taxArrears && orderInfo.taxArrears.length>0">
- <view class="title">欠税信息</view>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="body" style="padding: 10px 5px;" v-if="showtaxArrears">
- <u-table :th-style="{color:'#ff9000'}">
- <u-tr>
- <u-th style="font-size: 20rpx;">当年应缴(元)</u-th>
- <u-th style="font-size: 20rpx;">去年补缴(元)</u-th>
- <u-th style="font-size: 20rpx;">滞纳金(元)</u-th>
- <u-th style="font-size: 20rpx;">总计</u-th>
- </u-tr>
- <u-tr v-for="(item,index) in orderInfo.taxArrears" :key="index">
- <u-td>{{item.dayYearTax}}</u-td>
- <u-td>{{item.taxDefault}}</u-td>
- <u-td>{{item.lateFee}}</u-td>
- <u-td>{{orderInfo.taxamount}}</u-td>
- </u-tr>
- </u-table>
- </view>
- </view>
- <view class="personInfo">
- <view class="title d-flex a-center j-sb" @tap="showOwerInfo=!showOwerInfo">
- <text style="font-weight: bold;">车主</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="content" v-if="showOwerInfo">
- <view class="row d-flex a-center">
- <view class="left">姓名:</view>
- <view class="right d-flex flex-1">{{ownerInfo.name}}</view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">证件类型:</view>
- <view class="right flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}</view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">手机号:</view>
- <view class="right flex-1">{{ownerInfo.mobile}}</view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">证件号:</view>
- <view class="right flex-1">{{ownerInfo.identifyNumber}}</view>
- </view>
- <view class="row d-flex a-center"
- style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
- <view class="left">地址:</view>
- <view class="right flex-1">{{ownerInfo.addr}}</view>
- </view>
- </view>
- </view>
- <!-- 投保人信息 -->
- <view class="personInfo">
- <view class="title d-flex a-center j-sb" @tap="showPolicyHolderInfo=!showPolicyHolderInfo">
- <text style="font-weight: bold;">投保人</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="content" v-if="showPolicyHolderInfo">
- <view class="row d-flex a-center">
- <view class="left">姓名:</view>
- <view class="right d-flex flex-1">{{policyHolderInfo.name}}</view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">证件类型:</view>
- <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
- </view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">手机号:</view>
- <view class="right d-flex flex-1">{{policyHolderInfo.mobile}}</view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">证件号:</view>
- <view class="right d-flex flex-1">{{policyHolderInfo.identifyNumber}}</view>
- </view>
- <view class="row d-flex a-center"
- style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
- <view class="left">地址:</view>
- <view class="right d-flex flex-1">{{policyHolderInfo.addr}}</view>
- </view>
- </view>
- </view>
- <!-- 被保人信息 -->
- <view class="personInfo">
- <view class="title d-flex a-center j-sb" @tap="showInsuredPersonInfo=!showInsuredPersonInfo">
- <text style="font-weight: bold;">被保人</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="content" v-if="showInsuredPersonInfo">
- <view class="row d-flex a-center">
- <view class="left">姓名:</view>
- <view class="right d-flex flex-1">{{insuredPersonInfo.name}}</view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">证件类型:</view>
- <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
- </view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">手机号:</view>
- <view class="right d-flex flex-1">{{insuredPersonInfo.mobile}}</view>
- </view>
- <view class="row d-flex a-center">
- <view class="left">证件号:</view>
- <view class="right d-flex flex-1">{{insuredPersonInfo.identifyNumber}}</view>
- </view>
- <view class="row d-flex a-center"
- style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
- <view class="left">地址:</view>
- <view class="right d-flex flex-1">{{insuredPersonInfo.addr}}</view>
- </view>
- </view>
- </view>
- <view class="imageInfo">
- <view class="title d-flex a-center j-sb" @tap="showCarImageInfo=!showCarImageInfo">
- <text style="font-weight: bold;">车辆影像信息</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="uni-uploader" v-if="showCarImageInfo">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-c">
- <text>行驶证主页</text>
- <block v-for="(image,index) in imgList1" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList1')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'carImageListId','imgList1')"></view>
- </view>
- </block>
- <view v-if="imgList1.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input" @tap="chooseImage('C01','carImageListId','imgList1')">
- </view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-c">
- <text>行驶证副本</text>
- <block v-for="(image,index) in imgList2" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList2')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'carImageListId','imgList2')"></view>
- </view>
- </block>
- <view v-if="imgList2.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input" @tap="chooseImage('D01','carImageListId','imgList2')">
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 车辆影像信息End -->
- <!-- 车主影像信息Start -->
- <view class="imageInfo">
- <view class="title d-flex a-center j-sb" @tap="showOwnerImageInfo=!showOwnerImageInfo">
- <text style="font-weight: bold;">车主影像信息</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="uni-uploader" v-if="showOwnerImageInfo">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-c">
- <text>正面</text>
- <block v-for="(image,index) in imgList3" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList3')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'ownerImageListId','imgList3')"></view>
- </view>
- </block>
- <view v-if="imgList3.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('C02','ownerImageListId','imgList3')"></view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-c">
- <text>反面</text>
- <block v-for="(image,index) in imgList4" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList4')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'ownerImageListId','imgList4')"></view>
- </view>
- </block>
- <view v-if="imgList4.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('D02','ownerImageListId','imgList4')"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 车主影像信息End -->
- <!-- 投保人影像信息Start -->
- <view class="imageInfo">
- <view class="title d-flex a-center j-sb" @tap="showPolicyImageInfo=!showPolicyImageInfo">
- <text style="font-weight: bold;">投保人影像信息</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="uni-uploader" v-if="showPolicyImageInfo">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-c">
- <text>正面</text>
- <block v-for="(image,index) in imgList5" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList5')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'policyImageListId','imgList5')"></view>
- </view>
- </block>
- <view v-if="imgList5.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('C03','policyImageListId','imgList5')"></view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-c">
- <text>反面</text>
- <block v-for="(image,index) in imgList6" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList6')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'policyImageListId','imgList6')"></view>
- </view>
- </block>
- <view v-if="imgList6.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('D03','policyImageListId','imgList6')"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 投保人影像信息End -->
- <!-- 被保人影像信息Start -->
- <view class="imageInfo">
- <view class="title d-flex a-center j-sb" @tap="showInsuredImageInfo=!showInsuredImageInfo">
- <text style="font-weight: bold;">被保人影像信息</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="uni-uploader" v-if="showInsuredImageInfo">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-c">
- <text>正面</text>
- <block v-for="(image,index) in imgList7" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList7')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'insuredImageListId','imgList7')"></view>
- </view>
- </block>
- <view v-if="imgList7.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('C04','insuredImageListId','imgList7')"></view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-c">
- <text>反面</text>
- <block v-for="(image,index) in imgList8" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgList8')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'insuredImageListId','imgList8')"></view>
- </view>
- </block>
- <view v-if="imgList8.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('D04','insuredImageListId','imgList8')"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 被保人影像信息End -->
- <!-- 新车影像信息Start -->
- <view class="imageInfo">
- <view class="title d-flex a-center j-sb" @tap="showNewCarImageInfo=!showNewCarImageInfo">
- <text style="font-weight: bold;">新车照片</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="uni-uploader" v-if="showNewCarImageInfo">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-c">
- <text>新车合格证</text>
- <block v-for="(image,index) in imgNewCarQualified" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgNewCarQualified')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarQualified')">
- </view>
- </view>
- </block>
- <view v-if="imgNewCarQualified.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('XC00','imgNewCarinvoiceId','imgNewCarQualified')"></view>
- </view>
- </view>
- <view class="uni-uploader__files dis f-c a-c">
- <text>购车发票</text>
- <block v-for="(image,index) in imgNewCarInvoice" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgNewCarInvoice')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
- @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarInvoice')"></view>
- </view>
- </block>
- <view v-if="imgNewCarInvoice.length==0" class="uni-uploader__input-box"
- style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('GC00','imgNewCarinvoiceId','imgNewCarInvoice')"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 新车影像信息End -->
- <!-- 验车照Start -->
- <view class="imageInfo">
- <view class="title d-flex a-center j-sb" @tap="showCarCheckImageInfo=!showCarCheckImageInfo">
- <text style="font-weight: bold;">其他关系证明</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="uni-uploader" v-if="showCarCheckImageInfo">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files">
- <block v-for="(image,index) in imgRelationship" :key="index">
- <view class="uni-uploader__file">
- <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
- @tap="previewImage($event,'imgRelationship')"></image>
- <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center "
- @tap="delCheckImage('imgRelationship',index)"></view>
- </view>
- </block>
- <view class="uni-uploader__input-box" style="box-sizing: border-box;">
- <view class="uni-uploader__input"
- @tap="chooseImage('GX00','imgRelationshipid','imgRelationship')"></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="personInfo" v-if="!!orderInfo.jqapplyno">
- <view class="title d-flex a-center j-sb" @tap="showApplyno=!showApplyno">
- <text style="font-weight: bold;">投保单号</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="content" v-if="showApplyno">
- <view v-if="!!orderInfo.jqapplyno" style="padding: 8px 0 ;border-bottom: 1px solid #f2f2f2;">
- <text>交强险:</text>
- <text>{{orderInfo.jqapplyno}}</text>
- </view>
- <view v-if="!!orderInfo.syapplyno" style="padding: 8px 0 ;">
- <text>商业险:</text>
- <text>{{orderInfo.syapplyno}}</text>
- </view>
- </view>
- </view>
- <view class="personInfo" v-if="!!orderInfo.jqpolicyno">
- <view class="title d-flex a-center j-sb" @tap="showPolicyno=!showPolicyno">
- <text style="font-weight: bold;">保单号</text>
- <view class="adjustPlan d-flex">
- <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
- </view>
- </view>
- </view>
- <view class="content" v-if="showPolicyno">
- <view class="row d-flex a-center" v-if="!!orderInfo.jqpolicyno">
- <view class="left">交强险:</view>
- <view class="right d-flex flex-1">{{orderInfo.jqpolicyno}}</view>
- </view>
- <view class="row d-flex a-center" v-if="!!orderInfo.sypolicyno">
- <view class="left">商业险:</view>
- <view class="right d-flex flex-1">{{orderInfo.sypolicyno}}</view>
- </view>
- </view>
- </view>
- </view>
- <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
- </view>
- </template>
- <script>
- import {
- mapState,
- mapMutations
- } from "vuex"
- import {
- pathToBase64,
- base64ToPath
- } from '@/common/pdf.js'
- import uniPopup from '@/components/uni-popup/uni-popup.vue';
- import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
- export default {
- components: {
- uniPopup,
- previewImage
- },
- computed: {
- ...mapState(['userInfo', 'token', 'quotationType']),
- getHeight() {
- let height = uni.getSystemInfoSync().windowHeight;
- return `minHeight: ${height}px;`;
- }
- },
- data() {
- return {
- auditNextShow: false, //核保确认标识
- auditReturnInfoShow: false, //核保信息返回标识
- auditReturnInfoContent: "", //核保返回信息
- modificationFlag: false, //影响修改标识
- ziJinshow: false, //紫金特约
- huaTaishow: false, //紫金特约
- toolPopupshow: false, //底部弹窗
- agree: false,
- logoimg: "",
- companyId: "", //订单号
- orderInfo: {},
- licenseNo: "", //车牌号
- icon: "", //保险公司logo
- name: "", //保险公司名称
- carInfo: {}, //车辆信息
- ownerInfo: {}, //车主信息
- policyHolderInfo: {}, //投保人信息
- insuredPersonInfo: {}, //被保人信息
- riskList: [], //险种大类信息
- kindList: [], //商业险险别
- sumPermium: "", //报价金额
- taxAmount: "", //车船税金额
- jqpremium: "", //交强险金额
- sypremium: "", //商业险金额
- feerate: "",
- disrate: "",
- syappoint: "",
- orderstatus: "0", //订单状态
- CIStartDate: "", //交强险日期
- BIStartDate: "", //商业险日期
- showCarInfo: false,
- showextendInfo: false,
- insureList: [{
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "投保",
- "value": "1"
- }],
- kindCode: "A",
- isMainRisk: true,
- kindName: "机动车损失险"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "10万",
- "value": "100000"
- }, {
- "label": "15万",
- "value": "150000"
- }, {
- "label": "20万",
- "value": "200000"
- }, {
- "label": "30万",
- "value": "300000"
- }, {
- "label": "50万",
- "value": "500000"
- }, {
- "label": "100万",
- "value": "1000000"
- }, {
- "label": "150万",
- "value": "1500000"
- }, {
- "label": "200万",
- "value": "2000000"
- }, {
- "label": "250万",
- "value": "2500000"
- }, {
- "label": "300万",
- "value": "3000000"
- }, {
- "label": "500万",
- "value": "5000000"
- }, {
- "label": "1000万",
- "value": "10000000"
- }],
- kindCode: "B",
- isMainRisk: true,
- kindName: "第三者责任险"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "1万",
- "value": "10000"
- }, {
- "label": "2万",
- "value": "20000"
- }, {
- "label": "5万",
- "value": "50000"
- }, {
- "label": "10万",
- "value": "100000"
- }, {
- "label": "15万",
- "value": "150000"
- }, {
- "label": "20万",
- "value": "200000"
- }],
- kindCode: "D3",
- isMainRisk: true,
- kindName: "司机责任险"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "1万",
- "value": "10000"
- }, {
- "label": "2万",
- "value": "20000"
- }, {
- "label": "5万",
- "value": "50000"
- }, {
- "label": "10万",
- "value": "100000"
- }, {
- "label": "15万",
- "value": "150000"
- }, {
- "label": "20万",
- "value": "200000"
- }],
- kindCode: "D4",
- isMainRisk: true,
- kindName: "乘客责任险"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "2000",
- "value": "2000"
- }, {
- "label": "5000",
- "value": "5000"
- }, {
- "label": "1万",
- "value": "10000"
- }],
- isMainRisk: false,
- kindCode: "L",
- kindName: "车身划痕险",
- mainRiskCodeList: "A"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "5%",
- "value": "5"
- }, {
- "label": "10%",
- "value": "10"
- }, {
- "label": "15%",
- "value": "15"
- }, {
- "label": "20%",
- "value": "20"
- }],
- isMainRisk: false,
- kindCode: "MJ1",
- kindName: "绝对免赔率特约险(车损)",
- mainRiskCodeList: "A"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "5%",
- "value": "5"
- }, {
- "label": "10%",
- "value": "10"
- }, {
- "label": "15%",
- "value": "15"
- }, {
- "label": "20%",
- "value": "20"
- }],
- isMainRisk: false,
- kindCode: "MJ2",
- kindName: "绝对免赔率特约险(三者)",
- mainRiskCodeList: "B"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "5%",
- "value": "5"
- }, {
- "label": "10%",
- "value": "10"
- }, {
- "label": "15%",
- "value": "15"
- }, {
- "label": "20%",
- "value": "20"
- }],
- isMainRisk: false,
- kindCode: "MJ3",
- kindName: "绝对免赔率特约险(司机)",
- mainRiskCodeList: "D3"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "5%",
- "value": "5"
- }, {
- "label": "10%",
- "value": "10"
- }, {
- "label": "15%",
- "value": "15"
- }, {
- "label": "20%",
- "value": "20"
- }],
- isMainRisk: false,
- kindCode: "MJ4",
- kindName: "绝对免赔率特约险(乘客)",
- mainRiskCodeList: "D4"
- },
- {
- amount: "0",
- coveragePremium: "",
- amtList: [{
- "label": "投保",
- "value": "1"
- }],
- isMainRisk: false,
- kindCode: "BD",
- kindName: "法定节假日限额翻倍险",
- mainRiskCodeList: "B"
- },
- {
- amount: "0",
- amountDesc: "不投保",
- coveragePremium: "",
- amtList: [{
- label: "不投保",
- value: "0"
- },
- {
- label: "1万",
- value: "10000"
- },
- {
- label: "2万",
- value: "20000"
- },
- {
- label: "5万",
- value: "50000"
- },
- {
- label: "10万",
- value: "100000"
- }
- ],
- kindCode: "SY_FJ_YBW1",
- isMainRisk: false,
- kindName: "附加医保-三者",
- desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
- },
- {
- amount: "0",
- amountDesc: "不投保",
- coveragePremium: 0,
- amtList: [{
- label: "不投保",
- value: "0"
- },
- {
- label: "1万",
- value: "10000"
- },
- {
- label: "2万",
- value: "20000"
- },
- {
- label: "5万",
- value: "50000"
- },
- {
- label: "10万",
- value: "100000"
- }
- ],
- kindCode: "SY_FJ_YBW2",
- isMainRisk: false,
- kindName: "附加医保-座位险(乘客)",
- desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
- },
- {
- amount: "0",
- amountDesc: "不投保",
- coveragePremium: 0,
- amtList: [{
- label: "不投保",
- value: "0"
- },
- {
- label: "1万",
- value: "10000"
- },
- {
- label: "2万",
- value: "20000"
- },
- {
- label: "5万",
- value: "50000"
- },
- {
- label: "10万",
- value: "100000"
- }
- ],
- kindCode: "SY_FJ_YBW3",
- isMainRisk: false,
- kindName: "附加医保-座位险(司机)",
- desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
- },
- ],
- bottomData: [
- // #ifdef APP-PLUS
- {
- text: '微信好友',
- icon: '/static/image/share/weixinhaoyou.png',
- name: 'wx'
- },
- {
- text: '短信发送',
- icon: '/static/image/share/shortMessage.png',
- name: 'dx'
- },
- // #endif
- {
- text: '报价单',
- icon: '/static/image/share/shortMessage.png',
- name: 'bjd'
- }
- ],
- vehicleModel: {}, //车型信息
- showtaxArrears: false, //欠税信息
- showOwerInfo: false, //展示车主信息
- showPolicyHolderInfo: false, //展示投保人信息
- showInsuredPersonInfo: false, //展示被保人信息
- showProposalWay: false, //获取保单方式
- showAdvancePayment: false, //展示保费
- showAppoint: false, //展示特约
- showDistribution: false, //展示快递
- showApplyno: false, //展示投保单号
- showPolicyno: false, //展示保单号
- showPolicyFile: false, //展示电子保单
- showPolicybzFile: false, //展示电子保单
- policyList: [], //电子保单文件
- policyList1: [], //电子标志文件
- showCarImageInfo: false, //显示车辆影像
- carImageListId: [],
- showOwnerImageInfo: false, //显示车主影像
- ownerImageListId: [],
- showPolicyImageInfo: false, //显示投保人影像
- policyImageListId: [],
- showInsuredImageInfo: false, //显示被保人影像
- insuredImageListId: [],
- showCarCheckImageInfo: false, //显示验车照影像
- imgRelationshipid: [],
- showNewCarImageInfo: false, //显示新车影像
- imgNewCarinvoiceId: [],
- imgList1: [],
- imgList2: [],
- imgList3: [],
- imgList4: [],
- imgList5: [],
- imgList6: [],
- imgList7: [],
- imgList8: [],
- imgRelationship: [], //其他证明
- imgNewCarQualified: [], //合格证
- imgNewCarInvoice: [], //发票
- previewImgs: [],
- dianzibaodan: "",
- jypremium: "",
- quoteno: "",
- extendInfo: {},
- routepage: "",
- roadrescueList: [],
- companyUnderwriting: "",
- ziJinengageListData: [],
- ziJinengageList: [],
- huaTaiengageListData: [],
- huaTaiengageList: [],
- natureOfVehicleUseoptions: [],
- vehicleTypeoptions: [],
- trafficManagementVehicleTypeoptions: [],
- energyTypeoptions: [],
- businessVehicleUseoptions: [],
- outOfBusinessVehicleUseoptions: [],
- }
- },
- async onLoad(params) {
- this.getDicType("businessVehicleUse"); //车辆用途(营业)
- this.getDicType("outOfBusinessVehicleUse"); //车辆用途(非营业)
- this.getDicType("natureOfVehicleUse"); //车辆性质
- this.getDicType("vehicleType"); //车辆种类
- this.getDicType("trafficManagementVehicleType"); //车辆类型
- this.getDicType("energyType"); //能源种类
- let pages = getCurrentPages(); // 当前页面路由
- if (pages.length > 1) {
- let beforePage = pages[pages.length - 2].route; // 上一个页面路由
- this.routepage = beforePage;
- }
- if (!this.token) {
- document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
- }
- if (!!params.companyId) {
- this.companyId = params.companyId;
- let param = {
- companyId: params.companyId
- };
- let res = await this.$http.post('/insurance/order/getByCompanyId', param);
- if (res.code == 200) {
- this.icon = "";
- this.quoteno = res.data.quoteno;
- this.name = res.data.inscompany;
- this.carInfo = res.data.carinfo;
- this.extendInfo = res.data.extendInfo;
- this.licenseNo = res.data.licenseno;
- if (!!this.carInfo.loanStatus) {
- this.carInfo.loanStatus = 1;
- } else {
- this.carInfo.loanStatus = 0;
- }
- if (!!this.carInfo.registerDate) {
- let year1 = new Date(this.carInfo.registerDate).getFullYear()
- let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
- if (month1 < 10) {
- month1 = '0' + month1;
- }
- let day1 = new Date(this.carInfo.registerDate).getDate()
- if (day1 < 10) {
- day1 = '0' + day1;
- }
- this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
- }
- if (!!this.carInfo.issueDate) {
- let year2 = new Date(this.carInfo.issueDate).getFullYear()
- let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
- if (month2 < 10) {
- month2 = '0' + month2;
- }
- let day2 = new Date(this.carInfo.issueDate).getDate()
- if (day2 < 10) {
- day2 = '0' + day2;
- }
- this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
- }
- if (!!this.carInfo.transferDate) {
- let year3 = new Date(this.carInfo.transferDate).getFullYear()
- let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
- if (month3 < 10) {
- month3 = '0' + month3;
- }
- let day3 = new Date(this.carInfo.transferDate).getDate()
- if (day3 < 10) {
- day3 = '0' + day3;
- }
- this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
- }
- this.ownerInfo = res.data.ownerinfo;
- this.policyHolderInfo = res.data.applyinfo;
- this.insuredPersonInfo = res.data.insureinfo;
- this.riskList = res.data.riskinfo;
- this.kindList = res.data.kindinfo;
- this.roadrescueList = this.kindList.filter((val) => {
- return ["TY1", "TY2", "TY3", "TY4"].includes(val.kindCode)
- })
- this.sumPermium = res.data.sumpremium;
- this.taxAmount = res.data.taxamount;
- this.sypremium = res.data.sypremium;
- this.jqpremium = res.data.jqpremium;
- this.jypremium = res.data.jypremium;
- this.orderstatus = res.data.orderstatus;
- this.feerate = res.data.feerate;
- this.disrate = res.data.disrate;
- this.jqdiscountrate = res.data.jqdiscountrate;
- this.sydiscountrate = res.data.sydiscountrate;
- this.syappoint = res.data.syappoint;
- this.orderInfo = {};
- Object.assign(this.orderInfo, res.data)
- this.imageEcho(this.quoteno) // 影像获取完毕
- this.$base.insCompanyList.map(ele => {
- if (ele.name == res.data.inscompany) {
- uni.getImageInfo({
- src: ele.icon,
- success: image => {
- pathToBase64(image.path)
- .then(base64 => {
- this.logoimg = base64;
- })
- .catch(error => {});
- },
- fail: err => {}
- });
- }
- return ele;
- })
- }
- if (this.name == '紫金财险') {
- let Zijinres = await this.$http.post('/order/zijin/queryClauseData', param);
- this.ziJinengageListData = Zijinres.data;
- let data = this.ziJinengageListData.find(val => val.optType == 3)
- if (data) {
- this.ziJinengageList.push({
- clauseCode: data.clauseCode,
- clauseName: data.clauseName,
- clauses: data.clauseContent,
- riskCode: data.riskCode,
- modifyFlag: data.modifyFlag,
- optType: data.optType,
- })
- }
- }
- if (this.name == '华泰财险') {
- let huaTaires = await this.$http.post('/order/huaTaiApi/queryClauseData', param);
- this.huaTaiengageListData = huaTaires.data;
- huaTaires.data.map(val => {
- if (val.optType == '2') {
- this.huaTaiengageList.push({
- engageCode: val.engageCode,
- engageDetail: val.engageDetail,
- engageTitle: val.engageTitle,
- riskCode: val.riskCode,
- modifyFlag: val.modifyFlag,
- })
- }
- })
- }
- } else {
- uni.showModal({
- showCancel: false,
- title: "未查询到该订单"
- })
- }
- },
- methods: {
- ...mapMutations(['setOrderStage', 'setOrderType']),
- //字典name匹配
- dictionaryMatching(list, value) {
- let obj = list.find(val => val.dictValue == value);
- return obj.dictTag;
- },
- async getDicType(type) {
- let res = await this.$http.get('/sysDict/dictDetails/' + type);
- if (res.code == 200) {
- this[type + 'options'] = res.data.ddList;
- // if (type == "trafficManagementVehicleType") {
- //
- // this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
- // this
- // .carInfo
- // .cimodelclass)
- // }
- }
- },
- ziJincontributingChange(param) {
- this.ziJinengageList = [];
- param.map(val => {
- let list = this.ziJinengageListData.find(item => item.clauseId == val)
- this.ziJinengageList.push({
- clauseCode: list.clauseCode,
- clauseName: list.clauseName,
- clauses: list.clauseContent,
- riskCode: list.riskCode,
- modifyFlag: list.modifyFlag,
- })
- })
- },
- huaTaicontributingChange(param) {
- this.huaTaiengageList = [];
- param.map(val => {
- let list = this.huaTaiengageListData.find(item => item.engageCode == val)
- this.huaTaiengageList.push({
- engageCode: list.engageCode,
- engageDetail: list.engageDetail,
- engageTitle: list.engageTitle,
- riskCode: list.riskCode,
- modifyFlag: list.modifyFlag,
- })
- })
- },
- //阅读并同意协议
- agreed(e) {
- this.agree = e.value;
- },
- toCarInfo() {
- this.navigate({
- url: '/pages/carInsure/Information',
- success: (res) => {
- res.eventChannel.emit(
- "acceptData", {
- carInfo: this
- .carInfo,
- ownerInfo: this
- .ownerInfo,
- policyHolderInfo: this
- .policyHolderInfo,
- insuredPersonInfo: this
- .insuredPersonInfo,
- riskList: this
- .riskList,
- kindList: this
- .kindList,
- carInfoPositiveList: this
- .carInfoPositiveList, //车辆
- ownerInfoPositiveList: this
- .ownerInfoPositiveList, //车主
- policyHolderInfoPositiveList: this
- .policyHolderInfoPositiveList, //投保
- insuredPersonInfoPositiveList: this
- .insuredPersonInfoPositiveList, //被保人
- })
- }
- }, "navigateTo", true);
- },
- //去选择险种页面
- toInsureItems() {
- this.navigate({
- url: '/pages/carInsure/insureItems',
- success: (res) => {
- res.eventChannel.emit("acceptData", {
- carInfo: this.carInfo,
- ownerInfo: this.ownerInfo,
- policyHolderInfo: this.policyHolderInfo,
- insuredPersonInfo: this.insuredPersonInfo,
- riskList: this.riskList,
- kindList: this.kindList
- })
- }
- }, "navigateTo", true);
- },
- //删除图片
- delCheckImage(param, IdList, srcList) {
- this[IdList].map((ele, index) => {
- if (param.imageId === ele.imageId) {
- this[IdList].splice(index, 1);
- }
- return ele;
- });
- this[srcList].map((ele, index) => {
- if (param.imageId === ele.imageId) {
- this[srcList].splice(index, 1);
- }
- return ele;
- });
- },
- //影像查询
- async imageEcho(quotenos) {
- let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
- if (imgres.code == "200") {
- Object.keys(imgres.data).forEach((keys) => {
- if (imgres.data[keys].url) {
- imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
- switch (keys) {
- case 'C01':
- this.carImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList1.push(imgres.data[keys]);
- break;
- case 'D01':
- this.carImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList2.push(imgres.data[keys]);
- break;
- case 'C02':
- this.ownerImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList3.push(imgres.data[keys]);
- break;
- case 'D02':
- this.ownerImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList4.push(imgres.data[keys]);
- break;
- case 'C03':
- this.policyImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList5.push(imgres.data[keys]);
- break;
- case 'D03':
- this.policyImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList6.push(imgres.data[keys]);
- break;
- case 'C04':
- this.insuredImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList7.push(imgres.data[keys]);
- break;
- case 'D04':
- this.insuredImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList8.push(imgres.data[keys]);
- break;
- default:
- break;
- }
- }
- });
- }
- },
- async uploadRetry() {
- const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
- .policyImageListId, ...this.insuredImageListId, ...this
- .imgRelationshipid
- ];
- if (mergedArray.length > 0) {
- await this.$http.post('/ins/taskImage/uploadImages', {
- imageList: mergedArray,
- quoteNo: this.quoteno,
- })
- }
- },
- async auditNextconfirm() {
- if (this.modificationFlag) {
- await this.uploadRetry();
- }
- let pro = this.quotationType.themeCode;
- switch (this.name) {
- case "永安财险":
- let yaimage = await this.$http.post(
- '/order/yongAn/submitImage', {
- companyId: this.companyId
- });
- if (yaimage.code == '200') {
- let yaaudit = await this.$http.post(
- '/order/yongAn/audit', {
- companyId: this.companyId,
- jqappoint: "",
- syappoint: ""
- });
- if (yaaudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + yaaudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + yaimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- case "中煤财险":
- let zmimage = await this.$http.post(
- '/order/zhongMeiApi/submitImage', {
- companyId: this.companyId
- });
- if (zmimage.code == '200') {
- let zmaudit = await this.$http.post(
- '/order/zhongMeiApi/audit', {
- companyId: this.companyId,
- jqappoint: "",
- syappoint: ""
- });
- if (zmaudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + zmaudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + zmimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- case "永诚财险":
- let ycimage = await this.$http.post(
- '/api/yongCheng/uploadImage', {
- companyId: this.companyId
- });
- if (ycimage.code == '200') {
- let ycaudit = await this.$http.post(
- '/api/yongCheng/audit', {
- companyId: this.companyId,
- });
- if (ycaudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + ycaudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + ycimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- case "国任财险":
- let grimage = await this.$http.post(
- '/api/guoRen/uploadImage', {
- companyId: this.companyId
- });
- if (grimage.code == '200') {
- let graudit = await this.$http.post(
- '/api/guoRen/audit', {
- companyId: this.companyId,
- });
- if (graudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + graudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + grimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- case "大家财险":
- let djimage = await this.$http.post(
- '/api/dajia/submitImage', {
- companyId: this.companyId
- });
- if (djimage.code == '200') {
- let djaudit = await this.$http.post(
- '/api/dajia/audit', {
- companyId: this.companyId,
- });
- if (djaudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + djaudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + djimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- case "紫金财险":
- let zjimage = await this.$http.post(
- '/order/zijin/submitImage', {
- companyId: this.companyId
- });
- if (zjimage.code == '200') {
- let zjaudit = await this.$http.post(
- '/order/zijin/audit', {
- companyId: this.companyId,
- engageList: this.ziJinengageList,
- });
- if (zjaudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + zjaudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + zjimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- case "华泰财险":
- let htimage = await this.$http.post(
- '/order/huaTaiApi/submitImage', {
- companyId: this.companyId
- });
- if (htimage.code == '200') {
- let htaudit = await this.$http.post(
- '/order/huaTaiApi/audit', {
- companyId: this.companyId,
- engageList: this.huaTaiengageList,
- });
- if (htaudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + htaudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + htimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- case "渤海财险":
- let bhimage = await this.$http.post(
- '/order/boHaiApi/submitImage', {
- companyId: this.companyId
- });
- if (bhimage.code == '200') {
- let bhaudit = await this.$http.post(
- '/order/boHaiApi/audit', {
- companyId: this.companyId,
- jqappoint: "",
- syappoint: ""
- });
- if (bhaudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + bhaudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + bhimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- case "恒邦财险":
- case "安盛天平":
- case "众安财险":
- case "中国人寿":
- case "太平财险":
- case "华农财险":
- let pythonimage = await this.$http.post(
- '/insurance/crawler/submitImage', {
- subOrderNo: this.companyId
- });
- if (pythonimage.code == '200') {
- let pythonaudit = await this.$http.post(
- '/insurance/crawler/audit', {
- subOrderNo: this.companyId,
- });
- if (pythonaudit.code == '200') {
- uni.showModal({
- content: '订单自核成功',
- cancelText: '暂不缴费',
- confirmText: '立即缴费',
- success: (res1) => {
- if (res1.confirm) {
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" +
- this
- .companyId
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" +
- this
- .companyId
- })
- }
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- } else {
- uni.showModal({
- content: '核保失败(' + pythonaudit.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res2) => {
- if (res2.confirm) {
- this.navigate({
- url: "/pages/carInsure/insureItems"
- }, "switchTab",
- true);
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- } else {
- uni.showModal({
- content: '影像上传失败(' + pythonimage.msg + ')',
- cancelText: '返回订单',
- confirmText: '修改',
- success: async (res3) => {
- if (res3.confirm) {
- } else {
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab",
- true);
- }
- }
- });
- }
- break;
- }
- },
- // 上传影像并提交核保
- async submitAudit() {
- if (!this.agree) {
- return uni.showToast({
- title: '请阅读并同意协议',
- icon: "none",
- duration: 2000
- });
- }
- this.auditNextShow = true;
- },
- async chooseImage(type, imageIdList, imgurl) {
- let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
- count: 1,
- sizeType: ['compressed']
- });
- chooseImageRes.tempFilePaths.map((ele, index) => {
- uni.uploadFile({
- url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
- filePath: ele,
- name: "multipartFile",
- formData: {
- 'type': 'image',
- },
- header: {
- Authorization: this.token,
- },
- success: async (imgRes) => {
- let data = JSON.parse(imgRes.data);
- data.data.url = this.$base.baseUrl + data.data.url;
- if (data.code == "200") {
- console.log()
- if (this[imageIdList].some(v => v.imageType == type)) {
- this[imageIdList].map(val => {
- if (val.imageType == type) {
- val.imageId = data.data.id;
- }
- })
- } else {
- this[imageIdList].push({
- imageId: data.data.id,
- imageType: type,
- })
- }
- this[imgurl].push(data.data)
- this.modificationFlag = true;
- }
- }
- });
- })
- },
- //影像预览
- previewImage(e, type) {
- this.previewImgs = this[type];
- var current = e.currentTarget.dataset.src;
- this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
- },
- //查询电子保单
- async yonganprint() {
- this.policyList = [];
- this.policyList1 = [];
- let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
- companyId: this.companyId,
- policytype: "jq"
- }); //永安
- if (res.data) {
- let result = res.data.replace(/[\r\n]/g, "");
- let pdfBase64 = `data:application/pdf;base64,${result}`;
- base64ToPath(pdfBase64)
- .then(path => {
- this.policyList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: path,
- })
- })
- }
- let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
- companyId: this.companyId,
- policytype: "jq"
- }); //永安
- if (res1.data) {
- let result = res1.data.replace(/[\r\n]/g, "");
- let pdfBase64 = `data:application/pdf;base64,${result}`;
- base64ToPath(pdfBase64)
- .then(path => {
- this.policyList1.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: path,
- })
- })
- }
- if (this.orderInfo.sypolicyno) {
- let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
- companyId: this.companyId,
- policytype: "sy"
- }); //永安
- if (res2.data) {
- let result = res1.data.replace(/[\r\n]/g, "");
- let pdfBase64 = `data:application/pdf;base64,${result}`;
- base64ToPath(pdfBase64)
- .then(path => {
- this.policyList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: path,
- })
- })
- }
- }
- },
- async zhongMeigetPolicyPrint() {
- this.policyList = [];
- this.policyList1 = [];
- if (this.orderInfo.jqpolicyno) {
- let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '2', //2:保单
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data[0],
- })
- }
- let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '1', //1:标志
- });
- if (res1.code == '200') {
- this.policyList1.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res1.data[0],
- })
- }
- }
- if (this.orderInfo.sypolicyno) {
- let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0510",
- type: '2', //2:标志
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data[0],
- })
- }
- }
- },
- async yongChenggetPolicyPrint() {
- this.policyList = [];
- this.policyList1 = [];
- let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '2', //2:保单
- }); //永诚财险
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqUrl,
- })
- if (res.data.jqFlagUrl) {
- this.policyList1.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqFlagUrl,
- })
- }
- }
- if (this.orderInfo.sypolicyno) {
- let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0510",
- type: '2', //2:保单
- }); //永诚财险
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data.syUrl,
- });
- }
- }
- if (this.orderInfo.crossInsurance.length > 0) {
- this.orderInfo.crossInsurance.map(async ele => {
- let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
- companyId: this.companyId,
- policyNumber: ele.policyNumber,
- riskCode: "0513",
- type: '2', //2:保单
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "驾意险保单",
- filename: ele.policyNumber,
- fileurl: res.data.jyUrl,
- })
- }
- })
- }
- },
- //爬虫电子保单统一调用
- async pythonprint() {
- if (this.orderInfo.jqpolicyno) {
- let params = {
- subOrderNo: this.companyId,
- };
- let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
- if (res1.code == '200') {
- this.policyList = [];
- this.policyList1 = [];
- this.policyList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res1.data.jqxPolicyUrl,
- })
- this.policyList1.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res1.data.jqxFlagUrl,
- })
- if (res1.data.syxPolicyUrl) {
- this.policyList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res1.data.syxPolicyUrl,
- });
- }
- if (res1.data.jyxInfoList.length > 0) {
- res1.data.jyxInfoList.map(ele => {
- this.policyList.push({
- fileTitle: "驾意险保单",
- filename: ele.application,
- fileurl: ele.jyx_policy_url,
- });
- return ele;
- })
- }
- }
- }
- },
- async ziJingetPolicyPrint() {
- this.policyList = [];
- this.policyList1 = [];
- if (this.orderInfo.jqpolicyno) {
- let res = await this.$http.post('/order/zijin/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '2', //2:保单
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- })
- }
- let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '1', //1:标志
- });
- if (res1.code == '200') {
- this.policyList1.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res1.data,
- })
- }
- }
- if (this.orderInfo.sypolicyno) {
- let res = await this.$http.post('/order/zijin/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0510",
- type: '2', //2:标志
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data,
- })
- }
- }
- if (this.orderInfo.crossInsurance.length > 0) {
- this.orderInfo.crossInsurance.map(async ele => {
- let res = await this.$http.post('/order/zijin/getPolicyPrint', {
- companyId: this.companyId,
- policyNumber: ele.policyNumber,
- riskCode: "0513",
- type: '2', //2:保单
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "驾意险保单",
- filename: ele.policyNumber,
- fileurl: res.data,
- })
- }
- })
- }
- },
- async daJiagetPolicyPrint() {
- this.policyList = [];
- this.policyList1 = [];
- if (this.orderInfo.jqpolicyno) {
- let res = await this.$http.post('/api/dajia/obtainWarranty', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '2', //2:保单
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- })
- }
- let res1 = await this.$http.post('/api/dajia/obtainWarranty', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '1', //1:标志
- });
- if (res1.code == '200') {
- this.policyList1.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res1.data,
- })
- }
- if (this.orderInfo.sypolicyno) {
- let res = await this.$http.post('/api/dajia/obtainWarranty', {
- companyId: this.companyId,
- riskCode: "0510",
- type: '2', //2:标志
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data,
- })
- }
- }
- }
- },
- async huaTaigetPolicyPrint() {
- this.policyList = [];
- this.policyList1 = [];
- if (this.orderInfo.jqpolicyno) {
- let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
- companyId: this.companyId,
- riskCode: "0507",
- });
- if (res.code == '200') {
- this.policyList = [];
- this.policyList1 = [];
- this.policyList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqxPolicyUrl,
- })
- this.policyList1.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqxFlagUrl,
- })
- if (res.data.syxPolicyUrl) {
- this.policyList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data.syxPolicyUrl,
- });
- }
- }
- }
- },
- async guoRengetPolicyPrint() {
- this.policyList = [];
- this.policyList1 = [];
- if (this.orderInfo.jqpolicyno) {
- let res = await this.$http.post('/api/guoRen/policyPrint', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '2', //2:保单
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- })
- }
- let res1 = await this.$http.post('/api/guoRen/policyPrint', {
- companyId: this.companyId,
- riskCode: "0507",
- type: '1', //1:标志
- });
- if (res1.code == '200') {
- this.policyList1.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res1.data,
- })
- }
- }
- if (this.orderInfo.sypolicyno) {
- let res = await this.$http.post('/api/guoRen/policyPrint', {
- companyId: this.companyId,
- riskCode: "0510",
- type: '2', //2:标志
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data,
- })
- }
- }
- if (this.orderInfo.crossInsurance.length > 0) {
- this.orderInfo.crossInsurance.map(async ele => {
- let res = await this.$http.post('/api/guoRen/policyPrint', {
- companyId: this.companyId,
- policyNumber: ele.policyNumber,
- riskCode: "0513",
- type: '2', //2:保单
- });
- if (res.code == '200') {
- this.policyList.push({
- fileTitle: "驾意险保单",
- filename: ele.policyNumber,
- fileurl: res.data,
- })
- }
- })
- }
- },
- downloadPolicy(file) {
- //#ifdef APP-PLUS
- uni.showLoading({
- title: '文件下载中'
- });
- let index = file.lastIndexOf("\/")
- let licensename = file.substring(index + 1, file.length)
- let dtask = plus.downloader.createDownload(file, {
- filename: "_downloads/" + this.name + '-' + this.insuredPersonInfo.name + '-' + licensename
- }, function(d, status) {
- if (status == 200) {
- uni.hideLoading()
- //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
- let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
- plus.runtime.openFile(d.filename); //选择软件打开文件
- } else {
- uni.hideLoading()
- //下载失败
- plus.downloader.clear(); //清除下载任务
- }
- })
- dtask.start();
- //#endif
- //#ifdef H5
- var win = window.open();
- win.document.write(
- '<body style="margin:0px;"><object data="' +
- file +
- '" type="application/pdf" width="100%" height="100%"><iframe src="' +
- file +
- '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
- );
- //#endif
- },
- //选择缴费方式
- openPayWay() {
- this.navigate({
- url: "/pages/carInsure/payWay?orderno=" + this.orderno
- }, 'navigateTo', true)
- },
- cancelShare() {
- this.$refs.showshare.close()
- },
- //控制详情的展开和收起
- controlShow(type) {
- this[type] = !this[type];
- },
- //撤销核保
- cancelUnderwriting() {
- uni.showModal({
- content: '是否确认撤销核保?',
- success: async (res) => {
- if (res.confirm) {
- let param = {
- "auditid": this.userInfo.sysUser.id, //核保人会员号
- "auditopinion": '', //核保意见
- "jqapplyno": "", //交强险投保单号
- "jqappoint": "", //交强特别约定
- "jqpolicyno": "", //交强保单号
- "orderno": this.orderno, //订单号
- "orderstatus": "0", //订单类型
- "syapplyno": "", //商业险投保单号
- "syappoint": "", //商业险特别约定
- "sypolicyno": "" //商业保单号
- }
- let res = await this.$http.post('/insOrder/saveAudit', param);
- uni.showToast({
- title: '撤销成功',
- icon: "none",
- duration: 2000
- });
- setTimeout(() => {
- this.setOrderStage(0);
- this.setOrderType(0);
- this.navigate({
- url: "/pages/orders/orders"
- }, "switchTab", true);
- }, 2000);
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- },
- toChinesNum(num) {
- let overWan = Math.floor(num / 10000);
- let result = overWan + "万";
- return result;
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- @import '@/style/mixin.scss';
- .page {
- background: #F8FAFE;
- padding: 0 16px 100px 16px;
- }
- .headers {
- width: 100%;
- height: auto;
- background: linear-gradient(180deg, #0052FF 0%, #F8FAFE 110%);
- padding: 16px 16px 0 16px;
- .price {
- width: 100%;
- height: 40px;
- background: #FFFFFF;
- border-radius: 6px 6px 0px 0px;
- }
- }
- .header {
- height: 80upx;
- position: relative;
- }
- .header .title {
- font-size: 30upx;
- font-weight: bold;
- }
- .welfare {
- margin-bottom: 20upx;
- width: 100%;
- box-sizing: border-box;
- background: #FFFFFF;
- border-radius: 20upx;
- }
- .welfare .body {
- padding: 0 30upx 30upx;
- box-sizing: border-box;
- flex-wrap: wrap;
- }
- .welfare .body>.welfareItem {
- width: 320upx;
- height: 120upx;
- padding: 10upx 20upx;
- margin: 20upx 10upx 0upx;
- border: 1px solid rgba($themeColor, 0.6);
- box-sizing: border-box;
- background: rgba($themeColor, 0.4);
- border-radius: 10upx;
- }
- .welfare .body>.welfareItem .name {
- color: $themeColor;
- font-size: 30upx;
- width: 210upx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .welfare .body>.welfareItem .content {
- font-size: 24upx;
- width: 260upx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- /* 报价方案Start */
- .quotePlan {
- margin-bottom: 20upx;
- width: 100%;
- }
- .quotePlan .header .adjustPlan {
- color: $themeColor;
- }
- .quotePlan .body {
- background-color: #fff;
- padding: 10px;
- border-radius: 6px;
- .kindList {
- background-color: #F9F9F9;
- padding: 10px;
- height: auto;
- width: 100%;
- border-radius: 10px;
- font-size: 13px;
- color: rgba(35, 40, 50, 0.8);
- }
- }
- .quotePlan .body .insurance {
- padding-bottom: 20upx;
- }
- .quotePlan .body .row {
- padding: 5px;
- border-bottom: 1px solid #F3F3F3;
- }
- .quotePlan .body .row:last-child {
- border: none;
- }
- .quotePlan .body .row .date {
- color: #A4A4A4;
- font-size: 22upx;
- }
- .quotePlan .body .insurance .kindList {
- background: #F3F3F3;
- padding: 0 10upx;
- }
- .addedServices .kindList {
- background: #F3F3F3;
- padding: 0 10upx;
- }
- .quotePlan .body .insurance .kindList .kindItem {
- padding: 2px 0;
- }
- .quotePlan .body .insurance .kindList .kindItem>view {
- font-size: 24upx;
- }
- .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
- width: 310upx;
- }
- .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
- width: 170upx;
- }
- .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
- width: 170upx;
- }
- .addedServices .kindList .kindItem {
- height: 65upx;
- }
- .addedServices .kindList .kindItem>view {
- font-size: 24upx;
- padding: 0upx 15upx;
- }
- /* 报价方案End */
- .car {
- width: 100%;
- .body {
- padding: 0upx 30upx 0;
- background-color: #fff;
- border-radius: 6px;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- .row {
- padding: 5px;
- border-bottom: 1px solid #F3F3F3;
- }
- .row:last-child {
- border: none;
- }
- }
- }
- /* 预缴费Start */
- .advancePaymentTotal {
- margin-bottom: 20upx;
- width: 100%;
- box-sizing: border-box;
- background: #FFFFFF;
- border-radius: 20upx;
- }
- .advancePaymentTotal .body {
- padding: 0upx 40upx 10upx;
- }
- .advancePaymentTotal .body .row {
- height: 80upx;
- border-bottom: 1px solid #F3F3F3;
- }
- /* 预缴费End */
- /* 底部按钮Start */
- .bottomBtn {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- height: auto;
- z-index: 999;
- background-color: #fff;
- .agree {
- padding: 4px 8px;
- font-size: 22rpx;
- color: #858585;
- .tip {
- color: #FF5600;
- margin: 0upx 10upx;
- }
- }
- .btnView {
- width: 100%;
- height: 38px;
- background-color: #fff;
- .btn {
- height: 100%;
- }
- .btn:nth-child(1) {
- width: 50%;
- background-color: #E6EEFF;
- color: #0052FF;
- padding: 8px;
- font-size: 13px;
- }
- .btn:nth-child(2) {
- width: 50%;
- color: #fff;
- background-color: #0038AF;
- font-weight: bold;
- }
- }
- }
- .tool {
- padding: 10px;
- view {
- width: 100%;
- padding: 8px 0;
- border-bottom: 1px solid #f2f2f2;
- font-size: 14px;
- color: #232832;
- }
- }
- .cancell {
- width: 100%;
- height: 46px;
- background-color: #E6EEFF;
- font-size: 16px;
- color: #0052FF;
- }
- /* 底部按钮End */
- .contributing {
- width: 100%;
- margin: 4px 0;
- font-size: 14px;
- text:nth-child(1) {
- font-weight: bold;
- color: #ff9000;
- }
- }
- /* 人员信息Start */
- .personInfo,
- .advancePayment,
- .imageInfo,
- .appoint {}
- .personInfo,
- .advancePayment,
- .imageInfo,
- .appoint {
- .title {
- height: 80upx;
- font-size: 15px;
- box-shadow: inset 0 -3upx 0px #fafafa;
- }
- .content {
- padding: 0px 5px 0;
- background-color: #fff;
- border-radius: 6px;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- }
- .uni-uploader {
- padding: 8px;
- background-color: #fff;
- border-radius: 6px;
- height: auto;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- }
- }
- .uni-uploader__file {
- position: relative;
- }
- .delImgIcon {
- width: 40upx;
- height: 40upx;
- position: absolute;
- right: 0upx;
- top: 0upx;
- color: #FFFFFF;
- }
- .showStatus {
- font-size: 26upx;
- color: #007AFF;
- }
- .personInfo .content .row,
- .advancePayment .content .row {
- height: 80upx;
- border-bottom: 1px solid #F9F9F9;
- flex-wrap: nowrap;
- }
- .personInfo .content .row .left,
- .advancePayment .content .row .left {
- width: 170upx;
- flex-shrink: 0;
- font-size: 28upx;
- }
- .appoint .content .row {
- height: auto;
- margin-top: 10upx;
- }
- .appoint .content .row>view {
- width: 240upx;
- flex-shrink: 1;
- font-size: 28upx;
- }
- .appoint .content .row>textarea {
- /* background: #007AFF; */
- padding: 15upx;
- box-sizing: border-box;
- font-size: 26upx;
- min-height: 160upx;
- height: 100upx;
- border: 1px solid #fafafa;
- /* over */
- }
- .personInfo .content .row .right,
- .advancePayment .content .row .right,
- .appoint .content .row .right {
- font-size: 28upx;
- }
- /* 人员信息End */
- .checkButton {
- margin: 0 20upx 0 20upx;
- font-size: 24upx;
- width: 80upx;
- height: 50upx;
- background: $themeColor;
- font-weight: bold;
- color: #FFFFFF;
- border-radius: 5upx;
- }
- .uni-popup__wrapper-box {
- display: block;
- position: relative;
- }
- .uni-share {
- display: flex;
- flex-direction: column;
- background-color: #fff;
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- }
- .uni-share-title {
- line-height: 30px;
- font-size: 12px;
- padding: 7px 0;
- text-align: center;
- }
- .uni-share-content {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: center;
- padding: 15px;
- }
- .uni-share-content-box {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100px;
- }
- .uni-share-content-image {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- width: 30px;
- height: 30px;
- overflow: hidden;
- border-radius: 5px;
- }
- .uni-share-content-text {
- font-size: 13px;
- color: #333;
- padding-top: 5px;
- padding-bottom: 10px;
- }
- .uni-share-btn {
- height: 45px;
- line-height: 45px;
- font-size: 14px;
- border-top-color: #f5f5f5;
- border-top-width: 1px;
- border-top-style: solid;
- text-align: center;
- color: #666;
- }
- uni-image>img {
- display: block;
- position: absolute;
- top: 0;
- left: 0;
- opacity: 0;
- }
- uni-image>div,
- uni-image>img {
- width: 100%;
- height: 100%;
- }
- .Discount {
- image {
- width: 16px;
- height: 16px;
- }
- text {
- font-size: 12px;
- color: #333333;
- }
- }
- .costDetails {
- width: 100%;
- height: auto;
- background-color: #F9F9F9;
- border-radius: 10px;
- .text1 {
- font-size: 22rpx;
- }
- .text2 {
- font-size: 24rpx;
- }
- .text2-color {
- color: rgba(0, 82, 255, 0.8);
- }
- }
- </style>
|