| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733 |
- <template>
- <view class="page">
- <public-module></public-module>
- <service-widget @btnClick="btn_click"></service-widget>
- <view class=" flexd " style="z-index: 99;">
- <view class="search dis f-c" v-for="(item, index) in statusList" :key="index"
- :style="{backgroundImage: item.headerimg}" v-if="item.value==orderStatus">
- <view class="dis a-c j-start ">
- <u-icon name="arrow-left" size="40" @tap="back"></u-icon>
- <text style="margin: auto;" class="text">{{pagetitle}}</text>
- </view>
- <view class="car-header dis f-c mt-5">
- <view v-for="(insuranceListitem, insuranceListindex) in insuranceList" :key="insuranceListindex"
- v-if="insuranceListitem.product==product">
- <image :src="insuranceListitem.img" mode=""
- style="width: 107px;height: 39px;position: absolute;top: -5px;right: 0;">
- </image>
- </view>
- <view class="dis f-c ">
- <text :style="{color:item.Color}" class="licenseno">{{licenseno}}</text>
- <text style="color: #666666;font-size: 12px;">{{modelcname}}</text>
- <view class="useritem dis a-c j-s mt-1" :style="{background:item.userback}">
- <view class="dis f-c a-c">
- <text>{{ownername}}</text>
- <text>车主</text>
- </view>
- <view class="dis f-c a-c">
- <text>{{applyname}}</text>
- <text>投保人</text>
- </view>
- <view class="dis f-c a-c">
- <text>{{insurename}}</text>
- <text>被保人</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="p-2" style="padding: 240px 12px 50px 12px;" v-if="sublist.length!=0">
- <view class="sub-item mt-3" v-for="(item,index) in sublist" :key="index">
- <view class="headers dis a-c j-start" :style="{background:item.color}">
- <image :src="item.logoimg" mode="" style="width: 23px;height: 23px;"></image>
- <text>{{item.inscompany}}</text>
- </view>
- <view class="sub-orders ">
- <view class="dis">
- <view class="orders-centre dis f-c">
- <view class="dataChunk special dis j-s a-c">
- <text>总金额</text>
- <text class="font-weight">{{item.sumpremium?item.sumpremium:0}}</text>
- </view>
- <view class="dataChunk dis j-s a-c" v-if="item.jqpremium">
- <text>交强险</text>
- <text class="font-weight">{{item.jqpremium?item.jqpremium:'无'}}</text>
- </view>
- <view class="dataChunk dis j-s a-c" v-if="item.taxamount">
- <text>车船税</text>
- <text class="font-weight">{{item.taxamount?item.taxamount:'无'}}</text>
- </view>
- <view class="dataChunk dis j-s a-c" v-if="item.sypremium">
- <text>商业险</text>
- <text class="font-weight">{{item.sypremium?item.sypremium:'无'}}</text>
- </view>
- <view class="dataChunk dis j-s a-c" v-if="item.jypremium">
- <text>驾意险</text>
- <text class="font-weight">{{item.jypremium?item.jypremium:'无'}}</text>
- </view>
- </view>
- <view class="orders-centre dis f-c" v-if="item.sumExportFee">
- <view class="dataChunk special dis j-s a-c">
- <text style="color:#FF4D4D;">总优惠金额</text>
- <text style="color:#FF4D4D;" class="font-weight">{{item.sumExportFee}}</text>
- </view>
- <view class="dataChunk dis j-s a-c" v-if="item.jqExportFee">
- <text>交强优惠金额</text>
- <text class="font-weight">{{item.jqExportFee?item.jqExportFee:'无'}}</text>
- </view>
- <view class="dataChunk dis j-c a-c" v-if="item.taxamount">
- <text class="font-weight">-</text>
- </view>
- <view class="dataChunk dis j-s a-c" v-if="item.syExportFee">
- <text>商业优惠金额</text>
- <text class="font-weight">{{item.syExportFee?item.syExportFee:"无"}}</text>
- </view>
- <view class="dataChunk dis j-s a-c" v-if="item.noExportFee">
- <text>驾意优惠金额</text>
- <text class="font-weight">{{item.noExportFee?item.noExportFee:"无"}}</text>
- </view>
- </view>
- </view>
- <view class="dis f-c">
- <text class="mt-1" style="font-size: 12px;color: #333;"
- v-if="item.jqStartDate">交强险保险期间:{{item.jqStartDate}}-{{item.jqEndDate}}</text>
- <text class="mt-1" style="font-size: 12px;color: #333;"
- v-if="item.syStartDate">商业险保险期间:{{item.syStartDate}}-{{item.syEndDate}}</text>
- </view>
- <view class="dis a-c f-wrap time">
- <text v-if="item.inscompany == '永诚财险'">光博分:{{ item.ilogPreUdwMess ?
- item.ilogPreUdwMess : '无' }}</text>
- <text v-else>评分:{{ item.ilogPreUdwMess ?
- item.ilogPreUdwMess : '无' }}</text>
- <text v-if="item.jqScore">交强类型评分:{{ item.jqScore ?
- item.jqScore : '无' }}</text>
- <text v-if="item.syScore">商业类型评分:{{ item.syScore ?
- item.syScore : '无' }}</text>
- <text v-if="item.lossRation">总赔付率:{{ item.lossRation ?
- item.lossRation : '无' }}</text>
- <text v-if="item.jqLossRation">交强赔付率:{{ item.jqLossRation ?
- item.jqLossRation : '无' }}</text>
- <text v-if="item.syLossRation">商业赔付率:{{ item.syLossRation ?
- item.syLossRation : '无' }}</text>
- <text v-if="item.inscompany == '紫金财险'">鼎然-车辆风险评分:{{item.ubiPredictedInfoScore ?
- item.ubiPredictedInfoScore : '无'}}</text>
- <text v-if="item.jqRenewal">交强续保:{{ item.jqRenewal ?
- item.jqRenewal : '无' }}</text>
- <text v-if="item.syRenewal">商业续保:{{ item.syRenewal ?
- item.syRenewal : '无' }}</text>
- <text v-if="item.jqClaims">交强出险次数:{{ item.jqClaims ?
- item.jqClaims : '无' }}</text>
- <text v-if="item.syClaims">商业出险次数:{{ item.syClaims ?
- item.syClaims : '无' }}</text>
- </view>
- <view class="orders-below dis f-c">
- <view class="dis a-c j-end">
- <u-button
- :custom-style="{fontSize:'12px',background:'rgba(158,0,255,0.05)',color:'#9E00FF',borderColor:'#9E00FF'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="openSteps(item.id)">订单轨迹</u-button>
- <u-button
- :custom-style="{fontSize:'12px',background:'rgba(255,86,0,0.05)',color:'#FF5600',borderColor:'#FF5600'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="bjdpreview(item.id)">报价单</u-button>
- <u-button
- :custom-style="{fontSize:'12px',background:'rgba(0,82,255,0.1)',color:'#0052FF',borderColor:'#0052FF'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="detial(item.id)">查看详情</u-button>
- </view>
- <view class="dis a-c j-end" style="margin-top: 8px;">
- <u-button v-if="item.orderstatus==4"
- :custom-style="{fontSize:'12px',background:'rgba(255,86,0,0.05)',color:'#FF5600',borderColor:'#FF5600'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="CloseEdit(item.orderno)">重新报价</u-button>
- <u-button v-if="item.orderstatus==4"
- :custom-style="{fontSize:'12px',background:'rgba(255,86,0,0.05)',color:'#FF5600',borderColor:'#FF5600'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="approvalReason(item.id)">查看原因</u-button>
- <u-button v-if="(item.orderstatus==4 || item.orderstatus==1) && item.inscompany=='华泰财险'"
- :custom-style="{fontSize:'12px',background:'rgba(255,77,77,0.05)',color:'#FF4D4D',borderColor:'#FF4D4D'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="huataiunderwriting(item)">更新状态</u-button>
- <u-button
- v-if="item.orderstatus==1 && ['中煤财险','永诚财险','国任财险','大家财险','渤海财险','恒邦财险','安盛天平','中国人寿','众安财险','太平财险','华农财险','泰康财险','诚泰财险'].includes(item.inscompany)"
- :custom-style="{fontSize:'12px',background:'rgba(255,77,77,0.05)',color:'#FF4D4D',borderColor:'#FF4D4D'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="underwriting(item.id,item.inscompany)">更新状态</u-button>
- <u-button v-if="item.orderstatus==2 && ['紫金财险'].includes(item.inscompany)"
- :custom-style="{fontSize:'12px',background:'rgba(159,159,159,0.05)',color:'#666666',borderColor:'#D2D2D2'}"
- shape="circle" size="mini" :hair-line="false" :plain="true"
- @click="cancelorder(item.id)">撤单</u-button>
- <u-button v-if="item.orderstatus==2"
- :custom-style="{fontSize:'12px',background:'rgba(255,86,0,0.05)',color:'#FF5600',borderColor:'#FF5600'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="Payment(item.id,item.apiType)">缴费二维码</u-button>
- <u-button
- v-if="item.orderstatus==2 && ['恒邦财险','安盛天平','中国人寿','众安财险','太平财险','紫金财险','永诚财险','国任财险','大家财险','华泰财险','中煤财险','华农财险','渤海财险','泰康财险','诚泰财险'].includes(item.inscompany)"
- :custom-style="{fontSize:'12px',background:'rgba(255,86,0,0.05)',color:'#FF5600',borderColor:'#FF5600'}"
- shape="circle" size="mini" :hair-line="false" :plain="true" type=""
- @click="queryStatus(item.id,item)">查询缴费状态</u-button>
- <u-button v-if="item.orderstatus==2"
- :custom-style="{fontSize:'12px',background:'rgba(159,159,159,0.05)',color:'#666666',borderColor:'#D2D2D2'}"
- shape="circle" size="mini" :hair-line="false" :plain="true"
- @click="revokeCode(item.id)">撤销二维码</u-button>
- <u-button v-if="item.orderstatus==1"
- :custom-style="{fontSize:'12px',background:'rgba(159,159,159,0.05)',color:'#666666',borderColor:'#D2D2D2'}"
- shape="circle" size="mini" :hair-line="false" :plain="true"
- @click="revokeUnderwriting(item.id)">取消核保</u-button>
- <u-button v-if=" item.orderstatus==4 "
- :custom-style="{fontSize:'12px',background:'rgba(34,152,5,0.05)',color:'#229805',borderColor:'#229805'}"
- shape="circle" size="mini" :hair-line="false" :plain="true"
- @click="resubmitDocuments(item)">补传资料</u-button>
- <u-button v-if="item.orderstatus==1 || item.orderstatus==4 "
- :custom-style="{fontSize:'12px',background:'rgba(159,159,159,0.05)',color:'#666666',borderColor:'#D2D2D2'}"
- shape="circle" size="mini" :hair-line="false" :plain="true"
- @click="terminateOrder(item.id)">关闭订单</u-button>
- </view>
- </view>
- </view>
- </view>
- </view>
- <o-empty v-if="sublist.length==0" />
- <u-modal v-model="approvalReasonShow" title="核保原因"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :show-cancel-button="false"
- :confirm-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}"
- @confirm="approvalReasonShow=false" confirm-text="关闭">
- <view class="slot-content dis a-c p-2">
- <scroll-view :scroll-top="scrollTop" scroll-y="true" class="discountInfoscroll">
- <rich-text :nodes="approvalReasonContent"></rich-text>
- </scroll-view>
- </view>
- </u-modal>
- <u-modal v-model="revokeQrCodeShow" title="提示"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :show-cancel-button="true"
- :confirm-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}"
- :cancel-style="{height:'40px',lineHeight:'40px'}" @confirm="revokeQrCodeconfirm" confirm-text="确定">
- <view class="slot-content dis a-c j-c p-2">
- 确认撤销二维码?
- </view>
- </u-modal>
- <u-modal v-model="OrderTrackShow" title="订单轨迹"
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
- :show-cancel-button="false"
- :confirm-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}"
- @confirm="OrderTrackShow=false" confirm-text="关闭">
- <view class="slot-content dis a-c p-2">
- <view class="dis a-c j-c f-c">
- <view class="TrackRecord dis f-c a-start" v-for="(item,index) in TrackRecordList" :key="index">
- <view class="dis a-c">
- <view class="circle dis j-c a-c">{{index+1}}</view>
- <text class="title">{{item.orderStatus}}</text>
- </view>
- <view class="dis f-c content mt-2">
- <view class="">
- <text>保险公司:{{item.insCompany}}</text>
- <text style="margin-left: 10px;">提交人:{{item.operator}}</text>
- </view>
- <text>创建时间:{{item.createTime}}</text>
- </view>
- </view>
- </view>
- </view>
- </u-modal>
- <u-modal v-model="resubmitDocumentsShow" title="补传资料" :title-style="{fontWeight:'bold'}" confirm-text="确定"
- cancel-text="取消" :confirm-style="{background:'#0052FF',color:'#fff'}" :show-cancel-button="true" width="90%"
- @confirm="underwriteconfirm" @cancel="resubmitDocumentsShow=false">
- <view class="slot-content">
- <scroll-view class="scrollBar" scroll-y="true"
- style="max-height: 500px; padding: 10px 20px; box-sizing: border-box;">
- <view class="content">
- <view class="uni-uploader">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start ">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">行驶证主页</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-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">行驶证副本</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 class="uni-uploader">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">车主身份证正面</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-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">车主身份证反面</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 class="uni-uploader">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">投保人身份证正面</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-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">投保人身份证反面</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 class="uni-uploader">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">被保人身份证正面</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-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">被保人身份证反面</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 class="uni-uploader">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">新车合格证</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-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">购车发票</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 class="uni-uploader">
- <view class="uni-uploader-body dis j-s a-c">
- <view class="uni-uploader__files dis f-c a-start">
- <text style="color: #232832;font-size: 13px;margin-left: 5px;">其他关系证明</text>
- <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>
- </scroll-view>
- </view>
- </u-modal>
- <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
- </view>
- </template>
- <script>
- import store from '@/store';
- 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']),
- },
- data() {
- return {
- resubmitDocumentsShow: false,
- OrderTrackShow: false,
- TrackRecordList: [],
- product: "",
- revokeQrCodeShow: false,
- scrollTop: 0,
- approvalReasonShow: false, //核保意见
- approvalReasonContent: "",
- show: true,
- modeClass: 'fade',
- // trajectoryShow: false,
- // trajectoryList: [],
- MoreShow: false,
- moreindex: "",
- companyId: "",
- modelcname: "",
- orderno: "",
- insuredname: "",
- licenseno: "",
- orderStatus: "",
- sublist: [],
- numList: [{
- name: '进行中'
- }, {
- name: '待核保'
- },
- {
- name: '核保退回'
- }, {
- name: '待缴费'
- }, {
- name: '已承保'
- },
- ],
- insuranceList: [{
- product: "单交",
- img: "/static/image/car-insure/danjiao.png",
- },
- {
- product: "单商",
- img: "/static/image/car-insure/danshang.png",
- }, {
- product: "单三",
- img: "/static/image/car-insure/dansan.png",
- }, {
- product: "交三",
- img: "/static/image/car-insure/jiaosan.png",
- }, {
- product: "交商",
- img: "/static/image/car-insure/jiaoshang.png",
- }
- ],
- statusList: [{
- label: '进行中',
- value: 0,
- },
- {
- label: '核保中',
- value: 1,
- Color: "#FF5600",
- headerimg: "url('/static/image/car-insure/header1.png')",
- userback: "linear-gradient(180deg , #FFF6EC 0%, #FFFCF8 100%)",
- },
- {
- label: '待缴费',
- value: 2,
- Color: "#FF0F00",
- headerimg: "url('/static/image/car-insure/header2.png')",
- userback: " linear-gradient( 180deg, #FFEFEC 0%, #FFF8F8 100%)",
- },
- {
- label: '已承保',
- value: 3,
- Color: "#0052FF",
- headerimg: "url('/static/image/car-insure/header3.png')",
- userback: " linear-gradient(180deg, #ECFDFF 0%, #F8FFFF 100%)",
- },
- {
- label: '核保退回',
- value: 4,
- Color: "#9E00FF",
- headerimg: "url('/static/image/car-insure/header4.png')",
- userback: "linear-gradient(180deg , #FCECFF 0%, #FEF8FF 100%)",
- }
- ],
- backColorList: [
- 'linear-gradient( 90deg, #FFE5C6 0%, #FFF4DF 100%)',
- 'linear-gradient( 90deg, #CCDDFF 0%, #EDF2FF 100%)',
- 'linear-gradient( 90deg, #E9FFCC 0%, #EEFFED 100%)'
- ],
- id: "",
- pagetitle: "", //页面标题
- ownername: "",
- applyname: "",
- insurename: "",
- carImageListId: [],
- ownerImageListId: [],
- policyImageListId: [],
- insuredImageListId: [],
- imgRelationshipid: [],
- imgNewCarinvoiceId: [],
- imgList1: [],
- imgList2: [],
- imgList3: [],
- imgList4: [],
- imgList5: [],
- imgList6: [],
- imgList7: [],
- imgList8: [],
- imgRelationship: [], //其他证明
- imgNewCarQualified: [], //合格证
- imgNewCarInvoice: [], //发票
- previewImgs: [],
- apiType: "",
- }
- },
- onLoad(params) {
- let item = JSON.parse(params.orderno);
- this.orderno = item.orderno;
- this.modelcname = item.modelcname;
- this.insuredname = item.insuredname;
- this.licenseno = item.licenseno;
- this.orderStatus = item.orderStatus;
- this.product = item.product;
- this.ownername = item.ownername;
- this.applyname = item.applyname;
- this.insurename = item.insurename;
- this.querylist();
- if (this.orderStatus == '1') {
- this.pagetitle = "核保中任务"
- } else if (this.orderStatus == '2') {
- this.pagetitle = "待缴费任务"
- } else if (this.orderStatus == '3') {
- this.pagetitle = "已承保任务"
- } else if (this.orderStatus == '4') {
- this.pagetitle = "核保退回任务"
- }
- },
- methods: {
- btn_click() {
- uni.navigateTo({
- url: '/pages/chat/chat'
- })
- },
- async underwriteconfirm() {
- await this.uploadRetry();
- switch (this.inscompany) {
- case "永安财险":
- let yaimage = await this.$http.post(
- '/order/yongAn/submitImage', {
- companyId: this.id
- });
- if (yaimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: yaimage.msg,
- icon: 'none',
- });
- }
- break;
- case "中煤财险":
- let zmimage = await this.$http.post(
- '/order/zhongMeiApi/submitImage', {
- companyId: this.id
- });
- if (zmimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: zmimage.msg,
- icon: 'none',
- });
- }
- break;
- case "永诚财险":
- let ycimage = await this.$http.post(
- '/api/yongCheng/uploadImage', {
- companyId: this.id
- });
- if (ycimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: ycimage.msg,
- icon: 'none',
- });
- }
- break;
- case "国任财险":
- let grimage = await this.$http.post(
- '/api/guoRen/uploadImage', {
- companyId: this.id
- });
- if (grimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: grimage.msg,
- icon: 'none',
- });
- }
- break;
- case "大家财险":
- let djapiImage = this.apiType == "2" ? "/insurance/crawler/submitImage" :
- "/api/dajia/submitImage";
- let djimage = await this.$http.post(
- `${djapiImage}`, {
- [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.id
- });
- if (djimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: djimage.msg,
- icon: 'none',
- });
- }
- break;
- case "紫金财险":
- let zjimage = await this.$http.post(
- '/order/zijin/submitImage', {
- companyId: this.id
- });
- if (zjimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: zjimage.msg,
- icon: 'none',
- });
- }
- break;
- case "华泰财险":
- let htapiImage = this.apiType == "2" ? "/insurance/crawler/submitImage" :
- "/order/huaTaiApi/submitImage";
- let htimage = await this.$http.post(
- `${htapiImage}`, {
- [this.apiType == 2 ? "subOrderNo" : "companyId"]: this.id
- });
- if (htimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: htimage.msg,
- icon: 'none',
- });
- }
- break;
- case "渤海财险":
- let bhimage = await this.$http.post(
- '/order/boHaiApi/submitImage', {
- companyId: this.id
- });
- if (bhimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: bhimage.msg,
- icon: 'none',
- });
- }
- break;
- case "恒邦财险":
- case "诚泰财险":
- case "安盛天平":
- case "众安财险":
- case "中国人寿":
- case "太平财险":
- case "华农财险":
- case "泰康财险":
- let pythonimage = await this.$http.post(
- '/insurance/crawler/submitImage', {
- subOrderNo: this.id
- });
- if (pythonimage.code == '200') {
- uni.showToast({
- title: '上传成功',
- icon: 'none',
- });
- } else {
- uni.showToast({
- title: pythonimage.msg,
- icon: 'none',
- });
- }
- break;
- }
- this.resubmitDocumentsShow = false;
- },
- resubmitDocuments(item) {
- this.inscompany = item.inscompany;
- this.id = item.id;
- this.apiType = item.apiType;
- this.imageEcho(item.quoteno);
- this.resubmitDocumentsShow = true;
- },
- 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,
- })
- }
- },
- //影像预览
- previewImage(e, type) {
- this.previewImgs = this[type];
- var current = e.currentTarget.dataset.src;
- this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
- },
- //删除图片
- delCheckImage(param, IdList, srcList) {
- this[IdList].map((ele, index) => {
- if (param.imageId === ele.imageId) {
- this[IdList].splice(index, 1);
- }
- return ele;
- });
- this[srcList].map((ele, index) => {
- if (param.imageId === ele.imageId) {
- this[srcList].splice(index, 1);
- }
- return ele;
- });
- },
- async chooseImage(type, imageIdList, imgurl) {
- let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
- count: 1,
- sizeType: ['compressed']
- });
- chooseImageRes.tempFilePaths.map((ele, index) => {
- uni.uploadFile({
- url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
- filePath: ele,
- name: "multipartFile",
- formData: {
- 'type': 'image',
- },
- header: {
- Authorization: this.token,
- },
- success: async (imgRes) => {
- let data = JSON.parse(imgRes.data);
- data.data.url = this.$base.baseUrl + data.data.url;
- if (data.code == "200") {
- if (this[imageIdList].some(v => v.imageType == type)) {
- this[imageIdList].map(val => {
- if (val.imageType == type) {
- val.imageId = data.data.id;
- }
- })
- } else {
- this[imageIdList].push({
- imageId: data.data.id,
- imageType: type,
- })
- }
- this[imgurl].push(data.data)
- }
- }
- });
- })
- },
- //影像查询
- async imageEcho(quotenos) {
- this.imgList1 = [];
- this.imgList2 = [];
- this.imgList3 = [];
- this.imgList4 = [];
- this.imgList5 = [];
- this.imgList6 = [];
- this.imgList7 = [];
- this.imgList8 = [];
- let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
- if (imgres.code == "200") {
- Object.keys(imgres.data).forEach((keys) => {
- if (imgres.data[keys].url) {
- imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
- switch (keys) {
- case 'C01':
- this.carImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList1.push(imgres.data[keys]);
- break;
- case 'D01':
- this.carImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList2.push(imgres.data[keys]);
- break;
- case 'C02':
- this.ownerImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList3.push(imgres.data[keys]);
- break;
- case 'D02':
- this.ownerImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList4.push(imgres.data[keys]);
- break;
- case 'C03':
- this.policyImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList5.push(imgres.data[keys]);
- break;
- case 'D03':
- this.policyImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList6.push(imgres.data[keys]);
- break;
- case 'C04':
- this.insuredImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList7.push(imgres.data[keys]);
- break;
- case 'D04':
- this.insuredImageListId.push({
- imageId: imgres.data[keys].imageId,
- imageType: imgres.data[keys].imageType,
- })
- this.imgList8.push(imgres.data[keys]);
- break;
- default:
- break;
- }
- }
- });
- }
- },
- //重新报价
- CloseEdit(val) {
- uni.navigateTo({
- url: "/pages/carInsure/premiumCalc?orderno=" + val
- })
- },
- //打开步骤条弹框
- async openSteps(orderno) {
- let res = await this.$http.get("/insurance/track/queryBySuborder?suborder=" + orderno)
- if (res.code == '200') {
- this.statusList.map(valA => {
- res.data.map(valB => {
- if (valA.value == valB.orderStatus) {
- valB.orderStatus = valA.label;
- }
- return valB
- })
- })
- this.TrackRecordList = res.data;
- this.OrderTrackShow = true;
- }
- },
- back() {
- uni.navigateBack({
- delta: 1, // 返回的页面数,如果是1表示返回上一页
- success: function() {}
- });
- },
- async terminateOrder(id) {
- let res = await this.$http.get('/subOrder/close/' + id)
- if (res.code == '200') {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- duration: 1000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- duration: 1000
- });
- }
- },
- async revokeUnderwriting(id) {
- let res = await this.$http.get('/subOrder/cancelUnderwriting/' + id)
- if (res.code == '200') {
- uni.showToast({
- title: res.msg,
- icon: 'success',
- duration: 1000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- duration: 1000
- });
- }
- },
- async approvalReason(id) {
- let res = await this.$http.get('/insurance/underwriting/cause/' + id)
- if (res.code = 200) {
- this.approvalReasonShow = true;
- this.approvalReasonContent = res.msg.replace(/\n/g, '<br>');
- }
- },
- handle(type) {
- this.show = !this.show
- this.modeClass = type
- },
- async querylist() {
- let params = {
- orderNo: this.orderno,
- orderStatus: this.orderStatus,
- }
- let res = await this.$http.post('/insurance/order/queryQuoteHistory', params)
- res.data.map((val, index) => {
- this.$base.insCompanyList.map(ele => {
- if (ele.name == val.inscompany) {
- val.logoimg = ele.icon;
- }
- return ele;
- })
- val.color = this.backColorList[index % this.backColorList.length] // 循环使用颜色列表
- return val;
- })
- this.sublist = res.data;
- },
- //更多操作
- Moremethods(e) {
- let id = e.currentTarget.dataset.id;
- let list = this.sublist;
- this.sublist = list.map(val => {
- if (val.id == id) {
- val.checked = !val.checked;
- console.log(val);
- } else {
- val.checked = false;
- }
- return val;
- })
- },
- // //订单轨迹
- // async orderTrajectory(id) {
- // let res = await this.$http.get('/insurance/track/queryBySuborder?suborder=' + id);
- // if (res.code == '200') {
- // this.trajectoryList = res.data;
- // this.trajectoryShow = true;
- // }
- // },
- //查看详情
- detial(id) {
- uni.navigateTo({
- url: "/pages/carInsure/quoteDetail?companyId=" + id
- })
- },
- //付款码
- Payment(id, type) {
- let pro = this.quotationType.themeCode;
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/paymentCode?companyId=" + id + '&apiType=' + type,
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/paymentCode1?companyId=" + id + '&apiType=' + type,
- })
- }
- },
- //报价单
- bjdpreview(id, type) {
- let pro = this.quotationType.themeCode;
- if (pro == "QD") {
- uni.navigateTo({
- url: "/pages/orders/quotation?companyId=" + id
- })
- } else {
- uni.navigateTo({
- url: "/pages/orders/quotation1?companyId=" + id
- })
- }
- },
- //撤销二维码
- revokeCode(id) {
- this.id = id;
- this.revokeQrCodeShow = true;
- },
- async revokeQrCodeconfirm() {
- let res = await this.$http.post('/order/qrCode/destructionQrCode?areaCompanyId=' + this.id)
- if (res.code == '200') {
- this.querylist();
- uni.showToast({
- title: res.msg,
- icon: 'none',
- });
- } else {
- this.querylist();
- uni.showToast({
- title: res.msg,
- icon: 'none',
- });
- }
- },
- async huataiunderwriting(item) {
- let api = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
- '/order/huaTaiApi/auditStatusQuery';
- let params = {
- companyId: item.id,
- }
- let res = await this.$http.post(`${api}`, params)
- if (res.code == '200') {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- });
- this.querylist();
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- });
- }
- },
- //核保状态查询
- async underwriting(id, inscompany) {
- switch (inscompany) {
- case "中煤财险":
- let zmapi = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
- '/order/zhongMeiApi/auditStatusQuery';
- let zmres = await this.$http.post(`${zmapi}`, {
- companyId: id
- })
- if (zmres.code == '200') {
- uni.showToast({
- title: zmres.msg,
- icon: 'none',
- duration: 1000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: zmres.msg,
- icon: 'error',
- });
- }
- break;
- case "永诚财险":
- let ycres = await this.$http.get('/api/yongCheng/orderStatusBySuborderId/' + id);
- if (ycres.code == '200') {
- uni.showToast({
- title: ycres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: ycres.msg,
- icon: 'error',
- });
- }
- break;
- case "国任财险":
- let grres = await this.$http.post('/api/guoRen/updateOrderInfo', {
- companyId: id
- });
- if (grres.code == '200') {
- uni.showToast({
- title: grres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: grres.msg,
- icon: 'error',
- });
- }
- break;
- case "大家财险":
- let djapi = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
- '/api/dajia/verifyPayment';
- let djres = await this.$http.post(`${djapi}`, {
- companyId: id
- });
- if (djres.code == '200') {
- uni.showToast({
- title: djres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: djres.msg,
- icon: 'none',
- });
- }
- break;
- case "渤海财险":
- let bhres = await this.$http.post('/order/boHaiApi/auditStatusQuery', {
- companyId: id
- });
- if (bhres.code == '200') {
- uni.showToast({
- title: bhres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: bhres.msg,
- icon: 'error',
- });
- }
- break;
- default:
- let pythonres = await this.$http.post('/insurance/crawler/auditStatusQuery', {
- companyId: id
- });
- if (pythonres.code == '200') {
- uni.showToast({
- title: pythonres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: pythonres.msg,
- icon: 'none',
- });
- }
- break;
- }
- },
- //撤单
- async cancelorder(item) {
- let res = await this.$http.post('/order/zijin/cancel', {
- companyId: item
- })
- if (res.code == '200') {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- duration: 1000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'error',
- });
- }
- },
- async queryStatus(id, item) {
- switch (item.inscompany) {
- case "紫金财险":
- let zjres = await this.$http.post('/order/zijin/getOrderDetail', {
- companyId: id
- });
- if (zjres.code == '200') {
- uni.showToast({
- title: zjres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: zjres.msg,
- icon: 'error',
- });
- }
- break;
- case "大家财险":
- let djapi = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
- '/api/dajia/verifyPayment';
- let djres = await this.$http.post(`${djapi}`, {
- [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
- });
- if (djres.code == '200') {
- uni.showToast({
- title: djres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: djres.msg,
- icon: 'none',
- });
- }
- break;
- case "华泰财险":
- let api = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
- '/order/huaTaiApi/paymentEnquiry';
- let htres = await this.$http.post(`${api}`, {
- [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
- });
- if (htres.code == '200') {
- uni.showToast({
- title: htres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: htres.msg,
- icon: 'error',
- });
- }
- break;
- case "永诚财险":
- let ycres = await this.$http.get(
- '/api/yongCheng/orderStatusBySuborderId/' + id);
- if (ycres.code == '200') {
- uni.showToast({
- title: ycres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: ycres.msg,
- icon: 'error',
- });
- }
- break;
- case "国任财险":
- let grres = await this.$http.post('/api/guoRen/updateOrderInfo', {
- companyId: id
- });
- if (grres.code == '200') {
- uni.showToast({
- title: grres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: grres.msg,
- icon: 'error',
- });
- }
- break;
- case "中煤财险":
- let zmapi = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
- '/order/zhongMeiApi/paymentEnquiry';
- let zmres = await this.$http.post(`${zmapi}`, {
- [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
- });
- if (zmres.code == '200') {
- uni.showToast({
- title: zmres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: zmres.msg,
- icon: 'error',
- });
- }
- break;
- case "渤海财险":
- let bhres = await this.$http.post('/order/boHaiApi/getOrderDetail', {
- companyId: id
- });
- if (bhres.code == '200') {
- uni.showToast({
- title: bhres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: bhres.msg,
- icon: 'error',
- });
- }
- break;
- default:
- let pythonres = await this.$http.post('/insurance/crawler/verifyPayment', {
- subOrderNo: id
- });
- if (pythonres.code == '200') {
- uni.showToast({
- title: pythonres.msg,
- icon: 'none',
- duration: 2000
- });
- this.querylist();
- } else {
- uni.showToast({
- title: pythonres.msg,
- icon: 'error',
- });
- }
- break;
- }
- },
- init() {
- this.sublist = this.sublist.map(val => {
- val.checked = false;
- return val;
- })
- }
- }
- }
- </script>
- <style>
- page {
- background: #f2f2f2;
- }
- </style>
- <style lang="scss" scoped>
- /deep/ {
- .o-empty {
- position: absolute;
- left: 0;
- width: 100%;
- bottom: 0;
- }
- }
- .search {
- height: auto;
- width: 100%;
- z-index: 999999;
- padding: 12px 12px 0 12px;
- padding-top: 50px;
- height: auto;
- background: #F8FAFE;
- // background-image: url("/static/image/addStaff/bfg.png");
- background-size: 100% 100%;
- .text {
- font-size: 18px;
- font-weight: bold;
- color: #000;
- }
- image {
- width: 22px;
- height: 22px;
- margin-left: 20px;
- }
- }
- .flexd {
- position: fixed;
- left: 0;
- right: 0;
- }
- .page {
- min-height: 100vh;
- background-color: #F8FAFE;
- }
- .car-header {
- width: 100%;
- height: auto;
- background: #FFFFFF;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- border-radius: 6px;
- padding: 10px 12px;
- position: relative;
- .licenseno {
- font-weight: bold;
- font-size: 16px;
- }
- .useritem {
- width: 100%;
- border-radius: 3px;
- padding: 6px 8px;
- >view {
- text:first-child {
- font-size: 12px;
- color: #333;
- font-weight: bold;
- }
- text:last-child {
- font-size: 22rpx;
- color: #666;
- }
- }
- }
- }
- .sub-item {
- .headers {
- border-radius: 6px 6px 0px 0px;
- padding: 7px;
- text {
- font-size: 15px;
- color: #232832;
- margin-left: 10px;
- }
- }
- .sub-orders {
- width: 100%;
- background: white;
- border-radius: 6px;
- padding: 8px;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- background-color: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, #FFFFFF 100%);
- border-radius: 6px;
- margin-bottom: 10px;
- .status {
- padding-bottom: 8px;
- >text {
- color: #FF5600;
- font-size: 16px;
- font-weight: bold;
- }
- }
- .orders-centre {
- width: 100%;
- .dataChunk {
- width: 100%;
- background: linear-gradient(90deg, #FFFCFA 0%, #FFF5F2 100%);
- padding: 3px 30px;
- text:first-child {
- font-family: Source Han Sans SC, Source Han Sans SC;
- font-size: 12px;
- color: #8B563E;
- }
- text:last-child {
- font-family: DIN Alternate, DIN Alternate;
- font-size: 14px;
- color: #6B2709;
- }
- }
- .special {
- background: linear-gradient(91deg, #FFFCFA 0%, #FFF0E6 100%);
- text:first-child {
- font-size: 12px;
- color: #FF5600;
- }
- text:last-child {
- font-size: 14px;
- color: #FF5600;
- }
- }
- }
- .time {
- font-size: 12px;
- color: #2D4D89;
- >text {
- margin-right: 5px;
- }
- }
- .orders-below {
- padding-top: 10px;
- >view {
- uni-button {
- margin-left: 8px;
- }
- }
- }
- }
- }
- .strong {
- font-weight: bold;
- }
- .arrivalNavigations {
- font-size: 14px;
- color: rgba(51, 51, 51, 0.8);
- margin-right: auto;
- position: relative;
- }
- //从这里开始是弹出框的样式 不需要搜索框的 前面样式都不用加
- .arrivalNavigation {
- width: 250rpx;
- position: absolute;
- left: -10px;
- top: 30px;
- z-index: 99;
- .sideNavigation {
- width: 80px;
- background-color: #fff;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- border-radius: 10rpx;
- .sideNavigation-btn>view {
- text-align: center;
- font-size: 14px;
- color: #333333;
- text-align: center;
- padding: 6px 0;
- border-bottom: 1px solid #EFEFEF;
- &:last-child {
- border: none;
- }
- }
- }
- .d4 {
- width: 0;
- height: 0;
- margin-left: 22px;
- margin-top: -20rpx;
- border-width: 20rpx;
- border-style: solid;
- border-color: transparent #fff transparent transparent;
- transform: rotate(90deg);
- /*顺时针旋转90°*/
- }
- }
- .TrackRecord {
- width: 100%;
- padding: 10px 20px;
- .circle {
- width: 18px;
- height: 18px;
- background: #F0F0F0;
- border-radius: 50%;
- font-size: 22rpx;
- font-weight: bold;
- }
- .title {
- color: #333333;
- font-size: 12px;
- margin-left: 12px;
- font-weight: bold;
- }
- .content {
- border-left: 1px solid #E2E5EB;
- padding-left: 20px;
- margin-left: 7px;
- text {
- font-size: 22rpx;
- color: rgba(51, 51, 51, 0.85);
- }
- }
- &:last-child {
- .circle {
- background-color: #E6EEFF;
- color: #0052FF;
- }
- .title {
- color: #0052FF;
- }
- }
- }
- .uni-uploader__file {
- position: relative;
- }
- .delImgIcon {
- width: 40upx;
- height: 40upx;
- position: absolute;
- right: 0upx;
- top: 0upx;
- color: #FFFFFF;
- }
- </style>
|