| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748 |
- <template>
- <div class="page-container">
- <!-- 查询条件(按车牌号查询) -->
- <div class="queryForm" title="检索区" style="padding-top:10px;padding-left:15px;">
- <el-form size="mini" ref="queryForm" :model="queryForm" label-width="120px">
- <el-row>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="所属机构">
- <el-select v-model="queryForm.deptId" filterable placeholder="所属机构" clearable style="width: 100%;">
- <el-option v-for="item in totalComapny" :key="item.id" :label="item.name" :value="item.id">
- </el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="任务号">
- <el-input clearable placeholder="任务号" v-model="queryForm.quoteNo"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="订单号">
- <el-input clearable placeholder="订单号" v-model="queryForm.orderNo"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="车牌号">
- <el-input clearable placeholder="车牌号" v-model="queryForm.licenseNo"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="车架号">
- <el-input clearable placeholder="车架号" v-model="queryForm.frameNo"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="发动机号">
- <el-input clearable placeholder="发动机号" v-model="queryForm.engineNo"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="投保险种">
- <el-select v-model="queryForm.riskCode" placeholder="请选择" style="width: 100%;" clearable>
- <el-option label="单交强" value="单交强"></el-option>
- <el-option label="单商业" value="单商业"></el-option>
- <el-option label="单三者" value="单三者"></el-option>
- <el-option label="交强+商业" value="交强+商业"></el-option>
- <el-option label="交强+三者" value="交强+三者"></el-option>
- </el-select>
- </el-form-item>
- </el-col>
-
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="代理人工号">
- <el-input clearable placeholder="代理人工号" v-model="queryForm.userid"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="代理人姓名">
- <el-input clearable placeholder="代理人姓名" v-model="queryForm.username"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="被保险人">
- <el-input clearable placeholder="被保人姓名" v-model="queryForm.insureName"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6">
- <el-form-item label="受理人工号">
- <el-input clearable placeholder="受理人工号" v-model="queryForm.auditId"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="6" style="height: 40px;">
- <el-form-item label="保险公司">
- <el-select v-model="queryForm.insCompany" filterable class="widths" clearable>
- <el-option v-for="val in companyList" :key='val.id' :label="val.name" :value="val.id" ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="12" style="height: 40px;">
- <el-form-item label="报价时间">
- <el-date-picker v-model="queryForm.quoteDate" style="width:100%" type="daterange" align="left"
- range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
- </el-form-item>
- </el-col>
- <el-col :span="12" style="height: 40px;">
- <el-form-item label="起保时间">
- <el-date-picker v-model="queryForm.policyDate" style="width:100%" type="daterange" align="left"
- range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
- </el-form-item>
- </el-col>
- <el-col :span="24" class="u-f u-f-je" style="height: 40px;">
- <div class="u-f" style="margin-bottom: 20px; width: 120px;height: 32px; border-radius: 5px;overflow: hidden;"
- @click="queryGetOrderList">
- <div class="u-f u-f1 u-f-ajc" style="background: #409EFF;color:#fff">查询</div>
- <div class="u-f u-f1 u-f-ajc" style="background: #F78948;color:#fff">{{ totalSize }}</div>
- </div>
- </el-col>
- </el-row>
- </el-form>
- </div>
-
- <!-- 任务区域 -->
- <div class="tasks">
- <div v-if="ordersList.length == 0" class="u-f-ajc" style="padding: 240px 0;">
- 暂无数据
- </div>
-
- <el-card v-if="ordersList.length > 0" class="task" :body-style="{ padding: '15px' }" shadow="never"
- v-for="(order, orderItem) in ordersList" :key="order.orderno">
- <el-row class="row">
- <el-col :span="2" class="u-f u-f-je">
- <label class="label" style="font-size: 18px;font-weight:bold;">{{ (pageNum - 1) * pageSize + orderItem + 1
- }}</label>
- <label class="label">任务号</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.quoteno"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">订单号</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.orderno"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">任务状态</label>
- </el-col>
- <el-col :span="4">
- <div v-for="(orderStatusItem, orderStatusIndex) in global.orderStatus" :key="orderStatusIndex">
- <template v-if="orderStatusItem.value == order.orderstatus">
- <el-input size="mini" disabled v-model="orderStatusItem.label"></el-input>
- </template>
- </div>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">录单时间</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.createtime"></el-input>
- </el-col>
- </el-row>
- <el-row class="row">
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">工号</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.userid"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">名称</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.username"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">团队归属</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.deptname"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">归属机构</label>
- </el-col>
- <el-col :span="4">
- <div v-for="(item, index) in totalComapny" :key="index" v-if="order.deptid.split('D')[0] == item.id">
- <el-input size="mini" disabled v-model="item.name"></el-input>
- </div>
- <!-- <el-input size="mini" disabled v-model="order.deptid"></el-input> -->
- </el-col>
- </el-row>
- <el-row class="row">
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">车牌号</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.carinfo.licenseNo"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">被保险人</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.insureinfo.name"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">投保险种</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="order.product"></el-input>
- </el-col>
- </el-row>
- <el-row class="row">
- <div v-for="(riskItem, riskIndex) in order.riskinfo" :key="riskIndex">
- <template v-if="riskItem.riskCode == '0507'">
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">交强险起保时间</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="riskItem.startDate"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">交强险终保时间</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="riskItem.endDate"></el-input>
- </el-col>
- </template>
- </div>
- <div v-for="(riskItem, riskIndex) in order.riskinfo" :key="riskItem.riskCode">
- <template v-if="riskItem.riskCode == '0510'">
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">商业险起保时间</label>
- </el-col>
- <el-col :span="4">
- <el-input size="mini" disabled v-model="riskItem.startDate"></el-input>
- </el-col>
- <el-col :span="2" class="u-f u-f-je">
- <label class="label">商业险终保时间</label>
- </el-col>
- <el-col :span="4">
- <div v-for="(riskItem, riskIndex) in order.riskinfo" :key="riskIndex">
- <template v-if="riskItem.riskCode == '0510'">
- <el-input size="mini" disabled v-model="riskItem.endDate"></el-input>
- </template>
- </div>
- </el-col>
- </template>
- </div>
- </el-row>
- <el-row class="task_bottom u-f u-f-je">
- <el-button size="mini" type="primary" style="background:#419fff;border: 1px solid #419fff;"
- @click="CloseEdit(order.orderno)">编辑</el-button>
- <el-button size="mini" type="primary" style="background:#DE504C;border: 1px solid #DE504C;"
- @click="openTaskForward(order.orderno)">任务转发</el-button>
- <el-button size="mini" type="primary" style="background:#F99070;border: 1px solid #F99070;"
- @click="getHistoryList(order.orderno)">报价轨迹</el-button>
-
- </el-row>
- </el-card>
-
- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="pageNum"
- :page-sizes="[20, 40, 50, 100]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper"
- :total="totalSize" style="text-align: end;margin-bottom: 15px;">
- </el-pagination>
- </div>
-
-
- <el-dialog title="车辆报价信息详情" :visible.sync="dialogVisible" width="90%" center>
-
- <div class="Enclosure" v-if="orderInfo">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">报价信息</span>
- </div>
- </div>
- <div style="padding:20px;font-weight:bold;font-size:20px;">
- <span>总保费</span>
- <span style="color:#ff7612;">¥{{ orderInfo.sumpremium }}</span>
- <span style="padding-left: 20px">总费用</span>
- <span style="color:#ff7612;" v-if="orderInfo.queryOrderFeeVo">
- ¥{{orderInfo.queryOrderFeeVo.totalFeePremium?orderInfo.queryOrderFeeVo.totalFeePremium:0 }}</span>
- </div>
- <div class="headers headers_Custom">
- <div v-show="orderInfo.jqpremium">
- 交强险金额:
- <span>
- ¥{{
- orderInfo.jqpremium }}
- </span>
- </div>
- <div v-if="orderInfo.queryOrderFeeVo&&orderInfo.queryOrderFeeVo.jqCoderFeeVo&&orderInfo.queryOrderFeeVo.jqCoderFeeVo.costsProportion">
- 手续费比例:
- <span>
- {{
- orderInfo.queryOrderFeeVo.jqCoderFeeVo.costsProportion }}%
- </span>
- </div>
- <div v-if="orderInfo.queryOrderFeeVo&&orderInfo.queryOrderFeeVo.jqCoderFeeVo&&orderInfo.queryOrderFeeVo.jqCoderFeeVo.costsPremiums">
- 手续费金额:
- <span>
- ¥{{orderInfo.queryOrderFeeVo.jqCoderFeeVo.costsPremiums }}
- </span>
- </div>
- <div v-show="orderInfo.taxamount">
- 车船税:
- <span>¥{{ orderInfo.taxamount }}</span>
- </div>
- <div v-show="orderInfo.jqstartdate">
- 交强险起保日期:
- <span>{{ orderInfo.jqstartdate }}</span>
- </div>
- </div>
- <div class="headers headers_Custom" >
- <div v-show="orderInfo.sypremium">
- 商业险金额:
- <span>¥{{ orderInfo.sypremium }}</span>
- </div>
- <div v-if="orderInfo.queryOrderFeeVo&&orderInfo.queryOrderFeeVo.syCoderFeeVo&&orderInfo.queryOrderFeeVo.syCoderFeeVo.costsProportion">
- 手续费比例:
- <span>
- {{
- orderInfo.queryOrderFeeVo.syCoderFeeVo.costsProportion }}%
- </span>
- </div>
- <div v-if="orderInfo.queryOrderFeeVo&&orderInfo.queryOrderFeeVo.syCoderFeeVo&&orderInfo.queryOrderFeeVo.syCoderFeeVo.costsPremiums">
- 手续费金额:
- <span>
- ¥{{orderInfo.queryOrderFeeVo.syCoderFeeVo.costsPremiums }}
- </span>
- </div>
- <div v-show="orderInfo.systartdate">
- 商业险起保日期:
- <span>{{ orderInfo.systartdate }}</span>
- </div>
- </div>
- <div class="headers headers_Custom" >
- <div v-if="orderInfo.jypremium">
- 驾意险:
- <span>¥{{ orderInfo.jypremium }}</span>
- </div>
- </div>
- </div>
- <div class="Enclosure" v-if="orderInfo.extendInfo">
- <div class="home flex j-s a-c back">
-
-
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">保费因素</span>
- </div>
- </div>
- <el-descriptions size="small">
- <el-descriptions-item label="评分">{{ orderInfo.extendInfo.score }}</el-descriptions-item>
- <el-descriptions-item label="出险信息">{{ orderInfo.extendInfo.accidentInfoStr }}</el-descriptions-item>
- <el-descriptions-item label="商业险折扣比例">{{ orderInfo.extendInfo.nirrratio }}</el-descriptions-item>
- <el-descriptions-item label="交强险折扣比例">{{ orderInfo.extendInfo.nirrratioCI }}</el-descriptions-item>
- <el-descriptions-item label="自主定价系数">{{ orderInfo.extendInfo.pricingAdjustValue }}</el-descriptions-item>
- <el-descriptions-item label="业务员交强险销售费用浮动率">
- {{ orderInfo.extendInfo.jqFeeSaleChangeRateA4
- }}
- </el-descriptions-item>
- <el-descriptions-item label="交强深度定价分档">{{ orderInfo.extendInfo.deepPriceGradeCI }}</el-descriptions-item>
- <el-descriptions-item label="业务员商业险销售费用浮动率">
- {{ orderInfo.extendInfo.syFeeSaleChangeRateA4
- }}
- </el-descriptions-item>
- <el-descriptions-item label="商业深度定价分档">{{ orderInfo.extendInfo.deepPriceGradeBI }}</el-descriptions-item>
- </el-descriptions>
- </div>
- <div class="Enclosure" v-if="orderInfo">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">车辆信息</span>
- </div>
- </div>
- <el-descriptions size="small">
- <el-descriptions-item label="车牌号">{{ orderInfo.carinfo.licenseNo }}</el-descriptions-item>
- <el-descriptions-item label="车辆识别代码">{{ orderInfo.carinfo.vinNo }}</el-descriptions-item>
- <el-descriptions-item label="品牌型号">{{ orderInfo.carinfo.modelcname }}</el-descriptions-item>
-
- <el-descriptions-item label="发动机号">{{ orderInfo.carinfo.engineNo }}</el-descriptions-item>
- <el-descriptions-item label="年款">{{ orderInfo.carinfo.caryear }}</el-descriptions-item>
- <el-descriptions-item label="座位数">{{ orderInfo.carinfo.seatCount }}</el-descriptions-item>
- <el-descriptions-item label="新车购置价">{{ orderInfo.carinfo.purchasePrice }}</el-descriptions-item>
- <el-descriptions-item label="使用性质">
- {{ orderInfo.carinfo.carnature == '8A' ? '家庭自用' : ''
- }}
- </el-descriptions-item>
- <el-descriptions-item label="注册日期">{{ orderInfo.carinfo.registerDate }}</el-descriptions-item>
- <el-descriptions-item label="发证日期">{{ orderInfo.carinfo.issueDate }}</el-descriptions-item>
- <el-descriptions-item label="是否过户">
- {{ orderInfo.carinfo.transferFlag == true ? '是' : '否'
- }}
- </el-descriptions-item>
- </el-descriptions>
- </div>
- <div class="Enclosure" v-if="orderInfo">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">车主信息</span>
- </div>
- </div>
- <el-descriptions size="small">
- <el-descriptions-item label="车主姓名">{{ orderInfo.ownerinfo.name }}</el-descriptions-item>
- <el-descriptions-item label="证件类型">{{ orderInfo.ownerinfo.identifyType }}</el-descriptions-item>
- <el-descriptions-item label="身份证号">{{ orderInfo.ownerinfo.identifyNumber }}</el-descriptions-item>
- <el-descriptions-item label="手机号">{{ orderInfo.ownerinfo.mobile }}</el-descriptions-item>
- <el-descriptions-item label="地址">{{ orderInfo.ownerinfo.addr }}</el-descriptions-item>
-
- <el-descriptions-item label="电子邮箱">{{ orderInfo.ownerinfo.email }}</el-descriptions-item>
- </el-descriptions>
- </div>
- <div class="Enclosure" v-if="orderInfo">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">投保人信息</span>
- </div>
- </div>
- <el-descriptions size="small">
- <el-descriptions-item label="投保人姓名">{{ orderInfo.applyinfo.name }}</el-descriptions-item>
-
- <el-descriptions-item label="证件类型"> {{ orderInfo.applyinfo.identifyType }}</el-descriptions-item>
- <el-descriptions-item label="身份证号">{{ orderInfo.applyinfo.identifyNumber }}</el-descriptions-item>
- <el-descriptions-item label="手机号">{{ orderInfo.applyinfo.mobile }}</el-descriptions-item>
- <el-descriptions-item label="地址">{{ orderInfo.applyinfo.addr }}</el-descriptions-item>
- <el-descriptions-item label="电子邮箱">{{ orderInfo.applyinfo.email }}</el-descriptions-item>
- </el-descriptions>
- </div>
- <div class="Enclosure" v-if="orderInfo">
-
- <div class="home flex j-s a-c back">
-
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">被保人信息</span>
- </div>
- </div>
- <el-descriptions size="small">
- <el-descriptions-item label="被保人姓名">{{ orderInfo.insureinfo.name }}</el-descriptions-item>
- <el-descriptions-item label="证件类型"> {{ orderInfo.insureinfo.identifyType}}</el-descriptions-item>
- <el-descriptions-item label="身份证号">{{ orderInfo.insureinfo.identifyNumber }}</el-descriptions-item>
- <el-descriptions-item label="手机号">{{ orderInfo.insureinfo.mobile }}</el-descriptions-item>
-
-
- <el-descriptions-item label="地址">{{ orderInfo.insureinfo.addr }}</el-descriptions-item>
- <el-descriptions-item label="电子邮箱">{{ orderInfo.insureinfo.email }}</el-descriptions-item>
- </el-descriptions>
-
- </div>
-
-
-
-
- <div class="Enclosure" v-if="orderInfo">
-
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">险种信息</span>
- </div>
- </div>
- <div style="font-size:12px">
- <div class="headers kindinfocss" style="justify-content: space-around">
- <span>商业险险别</span>
- <span>保额(元)</span>
- <span>保费(元)</span>
- </div>
- <div class="headers kindinfocss" style="color:rgb(255, 118, 18); justify-content:space-around;"
- v-for="(kindinfoitem, kindinfoindex) in orderInfo.kindinfo" :key="kindinfoindex">
- <template v-if="kindinfoitem.coveragePremium">
- <span>{{ kindinfoitem.kindName }}</span>
- <span v-if="['D4', 'SY_FJ_YBW2'].includes(kindinfoitem.kindCode)">{{ kindinfoitem.unitAmount }}</span>
- <span v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(kindinfoitem.kindCode)">
- {{
- kindinfoitem.deductibleRate
- }}
- </span>
- <span v-else>{{ kindinfoitem.amount }}</span>
- <span>{{ kindinfoitem.coveragePremium }}</span>
- </template>
- </div>
- </div>
- </div>
- <div class="Enclosure" v-if="orderInfo.accidentInfo&&orderInfo.accidentInfo.length>0">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">驾意险</span>
- </div>
- </div>
- <div style="font-size:12px" >
- <div class="jyxStyle" style=" font-weight: bold;color: #333;">
- <span style="width:50%;margin-left:50px">产品</span>
- <span style="width:20%">份数</span>
- <span style="width:20%">价格</span>
- </div>
- <div v-for="(kindinfoitem, kindinfoindex) in orderInfo.accidentInfo" :key="kindinfoindex">
- <div style="margin-top:20px" class="jyxStyle">
- <span style="width:50%;margin-left:50px">{{ kindinfoitem.projectName }}</span>
- <span style="width:20%">{{ kindinfoitem.quantity ?kindinfoitem.quantity:'1' }}</span>
- <span style="width:20%">{{ kindinfoitem.actualPremium}}/份</span>
- </div>
- </div>
- </div>
- </div>
- <div class="Enclosure" v-if="orderInfo">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">欠税明细</span>
- </div>
- </div>
-
-
- <div style="font-size:12px">
- <div class="headers kindinfocss" style="justify-content: space-around;">
- <span>日期</span>
- <span>欠费(元)</span>
- <span>滞纳金(元)</span>
- </div>
- <div class="headers kindinfocss" style="color:rgb(255, 118, 18); justify-content:space-around;"
- v-for="(taxArrearsitem, taxArrearsindex) in orderInfo.taxArrears" :key="taxArrearsindex">
- <span>{{ taxArrearsitem.years }}</span>
- <span>{{ taxArrearsitem.taxDefault }}</span>
- <span>{{ taxArrearsitem.lateFee }}</span>
- </div>
- </div>
- </div>
-
- <div class="Enclosure" v-if="orderInfo">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
-
-
- <span style="margin-left:10px;">费用明细</span>
- </div>
- </div>
- <div style="font-size:12px;width: 100%" class="FeeEnclosure">
-
- <el-table :data="feeDetailInfo" :border="true" width="100%" :stripe="true" size="mini">
-
- <el-table-column prop="feeTypeName" label="费用类型" width="10%"></el-table-column>
- <el-table-column label="交强险费用跟单明细" width="30%">
- <el-table-column prop="jqFeeRate" label="比例" width="15%"></el-table-column>
- <el-table-column prop="jqFeeAmount" label="金额" width="15%"></el-table-column>
- </el-table-column>
- <el-table-column label="商业险费用跟单明细" width="30%">
- <el-table-column prop="syFeeRate" label="比例" width="15%"></el-table-column>
- <el-table-column prop="syFeeAmount" label="金额" width="15%"></el-table-column>
- </el-table-column>
- <el-table-column label="非车险费用跟单明细" width="30%">
- <el-table-column prop="fcFeeRate" label="比例" width="15%"></el-table-column>
- <el-table-column prop="fcFeeAmount" label="金额" width="15%"></el-table-column>
- </el-table-column>
- </el-table>
- </div>
- </div>
- <div class="Enclosure" v-if="orderInfo">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">影像</span>
- </div>
- </div>
- <div style="font-size:12px;padding:10px 0">
- <div style="margin-bottom: 10px;">
- <el-row class="u-f-ac bodyTitle">
- <label @click="pic1Control = !pic1Control">行驶证影像</label>
- </el-row>
- <el-row class="body" v-show="pic1Control">
- <el-row style="padding:10px;">
- <viewer :images="carImageList">
- <img class="imageStyle" v-for="(imageItem, imageIndex) in carImageList" :src="imageItem"
- :key="imageIndex" />
- </viewer>
- </el-row>
- </el-row>
- </div>
- <div style="margin-bottom: 10px;">
- <el-row class="u-f-ac bodyTitle">
- <label @click="pic2Control = !pic2Control">车主身份证影像</label>
- </el-row>
- <el-row class="body" v-show="pic2Control">
- <el-row style="padding:10px;">
- <viewer :images="ownerImageList">
- <img class="imageStyle" v-for="(imageItem, imageIndex) in ownerImageList" :src="imageItem"
- :key="imageIndex" />
- </viewer>
- </el-row>
- </el-row>
- </div>
- <div style="margin-bottom: 10px;">
- <el-row class="u-f-ac bodyTitle">
- <label @click="pic3Control = !pic3Control">投保人身份证影像</label>
- </el-row>
- <el-row class="body" v-show="pic3Control">
- <el-row style="padding:10px;">
- <viewer :images="policyImageList">
- <img class="imageStyle" v-for="(imageItem, imageIndex) in policyImageList" :src="imageItem"
- :key="imageIndex" />
- </viewer>
- </el-row>
- </el-row>
- </div>
- <div style="margin-bottom: 10px;">
- <el-row class="u-f-ac bodyTitle">
- <label @click="pic4Control = !pic4Control">被保人身份证影像</label>
- </el-row>
- <el-row class="body" v-show="pic4Control">
- <el-row style="padding:10px;">
- <viewer :images="insuredImageList">
- <img class="imageStyle" v-for="(imageItem, imageIndex) in insuredImageList" :src="imageItem"
- :key="imageIndex" />
- </viewer>
- </el-row>
- </el-row>
- </div>
- <div style="margin-bottom: 10px;">
- <el-row class="u-f-ac bodyTitle">
- <label @click="pic5Control = !pic5Control">验车照影像</label>
- </el-row>
- <el-row class="body" v-show="pic5Control">
- <el-row style="padding:10px;">
- <viewer :images="carCheckImageList">
- <img class="imageStyle" v-for="(imageItem, imageIndex) in carCheckImageList" :src="imageItem"
- :key="imageIndex" />
- </viewer>
- </el-row>
- </el-row>
- </div>
- </div>
- </div>
- <div class="Enclosure" v-if="orderInfo">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">投保单号</span>
- </div>
- </div>
- <el-descriptions size="small" :column="2">
- <el-descriptions-item label="交强险投保单号">{{ orderInfo.jqapplyno }}</el-descriptions-item>
- <el-descriptions-item label="商业险投保单号">{{ orderInfo.syapplyno }}</el-descriptions-item>
- <el-descriptions-item label="交强险保单号">{{ orderInfo.jqpolicyno }}</el-descriptions-item>
- <el-descriptions-item label="商业险保单号">{{ orderInfo.sypolicyno }}</el-descriptions-item>
- </el-descriptions>
- </div>
- <div class="Enclosure" v-if="orderInfo && orderInfo.orderstatus == 4">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">审核意见</span>
- </div>
- </div>
- <div style='font-size:12px;padding: 10px 50px'>{{orderInfo.auditopinion}}</div>
- </div>
- <div class="Enclosure" v-if="orderInfo && orderInfo.orderstatus == 3">
- <div class="home flex j-s a-c back">
- <div class="flex j-s a-c color">
- <img src="../../../src/icon/company.png" alt class="icon-img" />
- <span style="margin-left:10px;">电子保单</span>
- </div>
- </div>
- <el-row class="body" >
- <el-row v-for="(oldfileItem, oldfileIndex) in oldfileList" :key="oldfileIndex">
- <el-col :span="2" style="margin-right: 15px;">
- <label>{{ oldfileItem.fileTitle }}:</label>
- </el-col>
- <el-col :span="6" class="u-f u-f-column">
- <div class="u-f u-f-jsb u-f-ac" style="width: 170px;">
- <div
- style="height: 36px;line-height: 36px; width: 200px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">
- {{ licenseNo }}</div>
- <el-button style="cursor: pointer;" type="text" @click="viewfile(oldfileItem)">下载
- </el-button>
- </div>
- </el-col>
- </el-row>
- </el-row>
- </div>
- <span slot="footer" class="dialog-footer" >
- <el-button size="small" @click="dialogVisible = false">关闭</el-button>
- </span>
- </el-dialog>
-
-
- <el-dialog title="订单报价记录" :visible.sync="historyDialogVisible" width="1300px">
- <!-- 订单历史轨迹内容区域 -->
- <el-table size="small" :data="HistoryList" height="250" border style="width:100%" v-loading="loading"
- :header-cell-style="{ background: '#F2F7FC', fontWeight: '700', color: '#ee7000' }" highlight-current-row>
- <el-table-column prop="inscompany" label="保险公司" align="center"></el-table-column>
- <el-table-column prop="createtime" label="报价时间" align="center"></el-table-column>
- <el-table-column prop="jqpremium" label="交强险" align="center"></el-table-column>
- <el-table-column prop="sypremium" label="商业险" align="center"></el-table-column>
- <el-table-column prop="taxamount" label="车船税" align="center"></el-table-column>
- <el-table-column prop="sumpremium" label="总保费" align="center"></el-table-column>
- <el-table-column prop="orderstatus" label="状态" align="center">
- <template slot-scope="scope">
- <el-tag v-if="scope.row.orderstatus == '0'" type="success" size="small">报价中</el-tag>
- <el-tag v-if="scope.row.orderstatus == '1'" type="warning" size="small">待核保</el-tag>
- <el-tag v-if="scope.row.orderstatus == '2'" type="danger" size="small">已核保待缴费</el-tag>
- <el-tag v-if="scope.row.orderstatus == '3'" type="danger" size="small">已承保</el-tag>
- <el-tag v-if="scope.row.orderstatus == '4'" type="danger" size="small">核保退回</el-tag>
- </template>
- </el-table-column>
- <el-table-column label="操作" align="center" min-width="150" fixed="right">
- <template slot-scope="scope">
- <el-button type="text" size="small" @click="OrderDetails(scope.row)">查看详情</el-button>
- <el-button size="small" type="text" style="color:rgb(240, 12, 10)"
- @click="bjdpreview(scope.row.id)">报价单</el-button>
- <el-button size="small" v-show="scope.row.orderstatus == '2'" type="text" style="color:rgb(240, 12, 10)"
- @click="carcode(scope.row.id)">付款码</el-button>
- <el-button size="mini" type="text" v-if="scope.row.orderstatus == '2' && ['紫金财险'].includes(scope.row.inscompany)"
- @click="cancelorder(scope.row)" style="color:#f56c6c">撤单</el-button>
- <el-button type="text" size="mini" v-if="scope.row.orderstatus == '2'" @click="revokeCode(scope.row.id)">撤销二维码</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '2' && ['恒邦财险', '众安财险', '中国人寿', '安盛天平', '紫金财险'].includes(scope.row.inscompany)"
- @click="querystatus(scope.row)" style="color:#f56c6c">状态更新</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '2' && scope.row.inscompany=='永诚财险'"
- @click="refreshStatus(scope.row)" style="color:#f56c6c">状态更新</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='永诚财险'"
- @click="refreshStatus(scope.row)" style="color:#f56c6c">更新订单</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='中煤财险'"
- @click="updateStatus(scope.row)" style="color:#f56c6c">更新订单</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='华泰财险'"
- @click="updateStatusHuatai(scope.row)" style="color:#f56c6c">更新订单</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '2' && scope.row.inscompany=='华泰财险'"
- @click="updateOrderInfoHuatai(scope.row)" style="color:#f56c6c">状态更新</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '2' && scope.row.inscompany=='国任财险'"
- @click="refreshStatusGuoren(scope.row)" style="color:#f56c6c">状态更新</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='国任财险'"
- @click="refreshStatusGuoren(scope.row)" style="color:#f56c6c">更新订单</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='大家财险'"
- @click="refreshStatusDajia(scope.row)" style="color:#f56c6c">更新订单</el-button>
- <el-button size="mini" type="text"
- v-if="scope.row.orderstatus == '2' && scope.row.inscompany=='大家财险'"
- @click="refreshStatusDajia(scope.row)" style="color:#f56c6c">状态更新</el-button>
- </template>
- </el-table-column>
- </el-table>
-
- <span slot="footer" class="dialog-footer">
- <el-button size="small" type="primary" style="background: #DE504C;border: 1px solid #DE504C;"
- @click="historyDialogVisible = false">关 闭</el-button>
- </span>
- </el-dialog>
-
- <!-- 任务转发内容区域 -->
- <el-dialog title="订单任务转发" :visible.sync="taskForwardDialogVisible" width="800px" @close="closeTaskForward">
- <div class="u-f-ac" style="height:40px;background-color: #F5F5F7;padding-left: 30px;">
- 订单号:{{ taskForwardData.orderNo }} </div>
- <el-form :model="taskForwardData" label-width="100px" size="small" style="text-align:left;">
- <el-row style="margin-top: 20px;padding: 0px 20px;">
- <el-col :span="10">
- <el-form-item label="任务接收人" prop="auditid">
- <el-select size="small" style="width: 100%" filterable v-model="taskForwardData.auditId" placeholder="请选择"
- @change="changeAudit">
- <el-option v-for="item in staffList" :key="item.userId" :label="item.name" :value="item.userId">
- </el-option>
- </el-select>
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
- <span slot="footer" class="dialog-footer">
- <el-button size="small" type="primary" style="background: #5EB2D3;border: 1px solid #5EB2D3;"
- @click="comfirmTaskForward">确 定</el-button>
- </span>
- </el-dialog>
- <el-dialog :visible.sync="bjddialogVisible" width="570px" top="1vh" v-if="queryOrders">
- <div class="bjdbody" id='pdfContentsDiv'>
- <div class="bjdCarMessage">
- <div class="bjdCarMessage1">
- <img src="../../../static/bjdcar.png" class="align" alt style="width:60px;height:60px;" />
- <div class="dis f-c" style="height:100%">
- <span>{{ queryOrders.carinfo.licenseNo }}</span>
- <span>{{ queryOrders.carinfo.modelcname }}</span>
- </div>
- </div>
- <div class="bjdCarMessage2">
- <ul>
- <li>
- <div class="bjdCarMessage2_car dis">
- <span>订单号:</span>
- <span>{{ queryOrders.orderno }}</span>
- </div>
- </li>
- <li>
- <div class="bjdCarMessage2_car dis">
- <span>车主姓名:</span>
- <span>{{ queryOrders.ownerinfo.name }}</span>
- </div>
- </li>
- <li>
- <div class="bjdCarMessage2_car dis">
- <span>投保人姓名:</span>
- <span>{{ queryOrders.applyinfo.name }}</span>
- </div>
- </li>
- <li>
- <div class="bjdCarMessage2_car dis">
- <span>被保人姓名:</span>
- <span>{{ queryOrders.insureinfo.name }}</span>
- </div>
- </li>
- <li>
- <div class="bjdCarMessage2_car dis">
- <span>发动机号:</span>
- <span>{{ queryOrders.carinfo.engineNo }}</span>
- </div>
- </li>
- <li>
- <div class="bjdCarMessage2_car dis">
- <span>车架号:</span>
- <span>{{ queryOrders.carinfo.vinNo }}</span>
- </div>
- </li>
- <li>
- <div class="bjdCarMessage2_car dis">
- <span>座位数:</span>
- <span>{{ queryOrders.carinfo.seatCount }}</span>
- </div>
- </li>
- <li v-show="queryOrders.jqstartdate">
- <div class="bjdCarMessage2_car " style="flex-direction: column;">
- <span>车辆交强险保险期间:</span>
- <span style="margin-top:5px;">{{ queryOrders.jqstartdate }} 至 {{ queryOrders.jqenddate }}</span>
- </div>
- </li>
- <li v-show="queryOrders.systartdate">
- <div class="bjdCarMessage2_car " style="flex-direction: column;">
- <span>车辆商业险保险期间:</span>
- <span style="margin-top:5px;">{{ queryOrders.systartdate }} 至 {{ queryOrders.syenddate }}</span>
- </div>
- </li>
- </ul>
- </div>
- </div>
- <div class="bjdCarSum">
- <div class="dis align jus">
- <span>应缴金额</span>
- <span style="color:rgb(255, 30, 7);font-size:16px;">¥{{ queryOrders.sumpremium }}</span>
- </div>
- <div class="dis align jus" v-show="queryOrders.jqpremium">
- <span>交强险</span>
- <span>¥{{ queryOrders.jqpremium }}</span>
- </div>
- <div class="dis align jus" v-show="queryOrders.taxamount">
- <span>车船税</span>
- <span>¥{{ queryOrders.taxamount }}</span>
- </div>
- <div class="dis align jus" v-show="queryOrders.sypremium">
- <span>车辆商业险</span>
- <span>¥{{ queryOrders.sypremium }}</span>
- </div>
- <div class="dis align jus" v-show="queryOrders.jypremium">
- <span>驾意险</span>
- <span>¥{{ queryOrders.jypremium }}</span>
- </div>
- <div class="dis align jus" v-show="queryOrders.jqdiscountrate">
- <span>交强险优惠比例</span>
- <span style="color:#ff8605;">{{ queryOrders.jqdiscountrate }}%</span>
- </div>
- <div class="dis align jus" v-show="queryOrders.sydiscountrate">
- <span>商业险优惠比例</span>
- <span style="color:#ff8605;">{{ queryOrders.sydiscountrate }}%</span>
- </div>
- <div style="border:none;" v-show="queryOrders.sypremium">
- <div class="Risk">
- <div class="Risk_title dis align jus">
- <div>
- <span>商业险险别</span>
- </div>
- <div>
- <span>保险金额</span>
- </div>
- <div>
- <span>保费</span>
- </div>
- </div>
- <div class="Risk_data dis align jus" v-for="(kindinfoitem, kindinfoindex) in queryOrders.kindinfo"
- :key="kindinfoindex">
- <template>
- <div>
- <span>{{ kindinfoitem.kindName }}</span>
- </div>
- <div v-if="['D4', 'SY_FJ_YBW2'].includes(kindinfoitem.kindCode)">
- <span>{{ kindinfoitem.unitAmount }}</span>/<span>{{ queryOrders.carinfo.seatCount - 1 }}座</span>
- </div>
- <div v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(kindinfoitem.kindCode)">
- <span>{{ kindinfoitem.deductibleRate }}</span>
- </div>
- <div v-else>
- <span>{{ kindinfoitem.amount }}</span>
- </div>
- <div>
- <span>¥{{ kindinfoitem.coveragePremium }}</span>
- </div>
- </template>
- </div>
- </div>
- </div>
- </div>
- <div class="flex f-c" style="padding:5px 0; color:#fff;margin-bottom:15px;">
- <span style="margin-bottom:10px;">报价时间:</span>
- <span>注:本报价单仅供参考,最终以出单价格为准。</span>
- </div>
- <div class="bjdfooter dis align">
- <img :src="logoImg" class="align" alt style="width:60px;height:60px;" />
- <div class="dis f-c jus" style="height:100%">
- <span>{{ queryOrders.inscompany }}</span>
- </div>
- </div>
- </div>
- <div class="display">
- <el-button size="small" style="width:100px;" @click="copybjd()" >截图</el-button>
- <el-button size="small" style="width:100px;" @click="bjddialogVisible = false">关闭</el-button>
- </div>
- </el-dialog>
- <el-dialog :visible.sync="codedialogVisible" width="400px" top="10vh" class="saomazhifucodeClass">
- <div class="ORcodebody">
- <div class="code_title dis align">
- <span>扫码付款</span>
- </div>
- <div style="padding:0 20px">
- <div class="ORcode ">
- <div style="padding:5px;position: relative;">
- <!-- <div v-show="['永安财险', '人保财险', '永诚财险', '中煤财险','华泰财险', '众安财险', '紫金财险','中国人寿'].includes(inscompany)" id="qrcode"
- ref="qrcode">
- </div>
- <img v-show="['恒邦财险','安盛天平','国任财险'].includes(inscompany)" :src="paycodeimg" alt style="width:100%" /> -->
- <div id="qrcode" ref="qrcode"></div>
- </div>
- </div>
- </div>
- <div class="ORtitle dis f-c align ">
- <div>
- <span>保险公司:</span>
- <span>{{ inscompany }}</span>
- </div>
- <div>
- <span>车牌号:</span>
- <span>{{ licenseNo }}</span>
- </div>
- <div>
- <span>投保人:</span>
- <span>{{ applyName }}</span>
- </div>
- <div>
- <span style="color:#f75c00">总金额:</span>
- <span style="color:#f75c00">{{ sumpremium }}</span>
- </div>
- <div v-show="jqpremium">
- <span>交强:</span>
- <span>{{ jqpremium }}</span>
- </div>
- <div v-show="sypremium">
- <span>商业:</span>
- <span>{{ sypremium }}</span>
- </div>
- <div v-show="taxamount">
- <span>车船税:</span>
- <span>{{ taxamount }}</span>
- </div>
- <div v-show="jqstartdate">
- <span>交强险起保日期:</span>
- <span>{{ jqstartdate }}</span>
- </div>
- <div v-show="systartdate">
- <span>商业险起保日期:</span>
- <span>{{ systartdate }}</span>
- </div>
- <div v-if="jypremium">
- <span>非车险:</span>
- <span>{{ jypremium }}</span>
- </div>
- </div>
- <div class="display">
- <el-button size="small" style="width:100px;" @click="codedialogVisible = false">关闭</el-button>
- </div>
- </div>
- </el-dialog>
- </div>
- </template>
-
- <script>
- import CommonUtil from "@/utils/comutil.js";
- import {
- pathToBase64,
- base64ToPath
- } from '@/common/image-tools-base64.js';
- import QRCode from "qrcodejs2";
- import Cookies from "js-cookie"
- import { formatWithSeperator, format } from "@/utils/datetime.js";
- import html2Canvas from 'html2canvas'
- export default {
- name: 'taskpool',
- computed: {
- registerDateFormat() {
- let date = new Date(this.orderInfo.carinfo.registerDate);
- let year = date.getFullYear();
- let month = date.getMonth() + 1;
- let day = date.getDate();
- return year + '-' + month + '-' + day;
- },
- issueDateFormat() {
- let date = new Date(this.orderInfo.carinfo.issueDate);
- let year = date.getFullYear();
- let month = date.getMonth() + 1;
- let day = date.getDate();
- return year + '-' + month + '-' + day;
- }
- },
- data() {
- return {
- logoImg: "",//报价单保险公司logo图
- feeDetailInfo:[],//费用明细信息
- loading: false, //加载事件
- totalComapny: [],//全部机构
-
- payMoney: "",//合计金额
-
- ordersList: [], //展示页面上的订单列表数据
- pageNum: 1, //当前页码
- pageSize: 20, //每页数据条数
- totalSize: 0, //全部的数据条数
- codedialogVisible: false,//付款码
- bjddialogVisible: false,//报价单
- dialogVisible: false, //是否显示订单信息框
- orderInfo: { //选中的订单
- ownerinfo: {},
- carinfo: {},
- applyinfo: {},
- insureinfo: {},
- kindinfo: [],
- riskinfo: [],
- ownerinfo: {}
- },
-
- carImageList: [],//车辆影像
- ownerImageList: [],//车主影像
- policyImageList: [],//投保人影像
- insuredImageList: [],//被保人影像
- carCheckImageList: [],//验车照影像
- // 影像控制
- pic1Control: false,
- pic2Control: false,
- pic3Control: false,
- pic4Control: false,
- pic5Control: false,
-
-
- insureListForm: [],//险种信息的原始版本,当回写时使用
-
- transferRightList: [],
-
-
- //查询的表单
- queryForm: {
- "deptId": "",
- "licenseNo": "",
- "frameNo": "",
- "engineNo": "",
- "userid": "",
- "username": "",
- "riskCode": "",
- "startDate": "",
- "endDate": "",
- "policyStartDate": "",
- "policyEndDate": "",
- "insureName": "",
- "auditId": "",
- "quoteNo": "",
- "orderNo": "",
- "quoteDate": "",
- "policyDate": "",
- "orderStatus": "1",
- "editId": "",
- "pageNum": 1,
- "pageSize": 20,
- "insCompany":""
- },
-
- sendBackDialogVisible: false,//控制退回修改弹框
- sendBackData: [],
- sendBackValue: [],
- addSendBackValue: '',
-
- showInsureList: false,
-
- historyDialogVisible: false,
- history: {
- taskid: "",
- company: "",
- product: "",
- totalmoney: "",
- active: "",
- data: []
- },
- HistoryList: [],//报价轨迹lsit
- // 任务转发
- staffList: [],
- taskForwardDialogVisible: false,
- taskForwardData: {
- orderNo: "",
- auditId: "",
- operatorId: '',
- },
-
- //文件上传的文件
- oldfileList: [],
- quoteno: "", //报价号
- orderno: "", //订单号
- queryOrders: "", //核保详情
- inscompany: "", //保险公司名称
- licenseNo: "", //车牌号
- applyName: "", //车主名字
- orderstatus: "", //订单状态
- sumpremium: "", //保费合计
- jqpremium: "",//交强
- sypremium: "",//商业
- jypremium:'',//驾意险
- taxamount: "",//车船税
- jqstartdate: "",//交强时间
- systartdate: "",//商业时间
- mobile: "",//投保人手机号
- paycodeimg: "",//展示二维码
- companyList:[], //保险公司
- }
- },
- created() {
- this.$api.letter.gainTopList().then(res=>{
- this.companyList=res.data
- })
- this.peopleid = Cookies.get('user');
- if (this.peopleid != 'admin') {
- this.peopledeptid = Cookies.get('user').split('D')[0];
- } else {
- this.peopledeptid = '9';
- }
-
- this.getAllCompany();// 获取机构数据
- this.getOrderList()// 数据列表
- this.getAllStaff()//获取任务转发列表
-
- },
- methods: {
- //预览文件
- viewfile(index) {
- let name = index.fileurl.lastIndexOf("\/")
- fetch(index.fileurl)
- .then(response => response.blob())
- .then(blob => {
- this.saveAs(blob, index.fileurl.substring(name + 1, index.fileurl.length))
- })
- .catch(error => {
- });
- // const a = document.createElement('a')
- // a.style.display = 'none'
- // a.href = index.fileurl
- // a.target = '_ blank';
- // a.download = this.licenseNo+ '.pdf'; // 下载文件的名字
- // document.body.appendChild(a)
- // a.click()
- },
- OrderDetails(item) {
- this.carImageList = [];
- this.ownerImageList = []; //车主影像
- this.policyImageList = []; //投保人影像
- this.insuredImageList = []; //被保人影像
- this.carCheckImageList = []; //验车照影像
- // 影像控制
- this.pic1Control = false;
- this.pic2Control = false;
- this.pic3Control = false;
- this.pic4Control = false;
- this.pic5Control = false;
- for (let i = 0; i < this.global.insureList.length; i++) {
- this.global.insureList[i].coveragePremium = "";
- this.global.insureList[i].amount = 0;
- }
- let params = {
- companyId: item.id,
- }
- this.$api.letter.getByCompanyId(params).then((res) => {
- if (res.code == 200) {
- this.licenseNo = res.data.licenseno;//车牌号
- this.inscompany = res.data.inscompany;//保险公司
- if( res.data.accidentInfo){
- res.data.accidentInfo.constructor === Object?[res.data.accidentInfo]:res.data.accidentInfo
- }
- Object.assign(this.orderInfo, res.data);
- for (let i = 0; i < this.orderInfo.riskinfo.length; i++) {
- if (this.orderInfo.riskinfo[i].riskCode == "0510") {
- for (let j = 0; j < this.orderInfo.kindinfo.length; j++) {
- for (let m = 0; m < this.global.insureList.length; m++) {
- if (
- this.orderInfo.kindinfo[j].kindCode ==
- this.global.insureList[m].kindCode
- ) {
- this.global.insureList[m].coveragePremium =
- this.orderInfo.kindinfo[j].coveragePremium;
- if (this.orderInfo.kindinfo[j].kindCode == "B") {
- this.global.insureList[9].amtList[0].value =
- this.orderInfo.kindinfo[j].amount;
- }
- if (this.orderInfo.kindinfo[j].kindCode == "A") {
- this.global.insureList[m].amount = "1";
- } else if (this.global.insureList[m].kindCode == "D4") {
- this.global.insureList[m].amount =
- this.orderInfo.kindinfo[j].unitAmount;
- } else if (
- this.global.insureList[m].isMainRisk ||
- this.global.insureList[m].kindCode == "BD" ||
- this.global.insureList[m].kindCode == "L"
- ) {
- this.global.insureList[m].amount =
- this.orderInfo.kindinfo[j].amount;
- } else {
- this.global.insureList[m].amount =
- this.orderInfo.kindinfo[j].deductibleRate;
- }
- }
- }
- }
- }
- }
- // 获取影像
- this.$api.letter.findByQuoteNo(item.quoteno).then((resImage) => {
- Object.keys(resImage.data).forEach((keys) => {
- if (resImage.data[keys]) {
- resImage.data[keys].url =resImage.data[keys].url? process.env.BASE_URL + resImage.data[keys].url:null;
- switch (keys) {
- case 'C01':
- case 'D01':
- resImage.data[keys].url?this.carImageList.push(resImage.data[keys].url):''
- break;
- case 'C02':
- case 'D02':
- resImage.data[keys].url? this.ownerImageList.push(resImage.data[keys].url):''
- break;
- case 'C03':
- case 'D03':
- resImage.data[keys].url?this.policyImageList.push(resImage.data[keys].url):''
- break;
- case 'C04':
- case 'D04':
- resImage.data[keys].url?this.insuredImageList.push(resImage.data[keys].url):''
- break;
- default:
- break;
- }
- }
- })
- })
- this.pic1Control = false;
- this.pic2Control = false;
- this.pic3Control = false;
- this.pic4Control = false;
- this.pic5Control = false;
- this.oldfileList = [];
- switch (res.data.inscompany) {
- case "永安财险":
- if (this.orderInfo.jqpolicyno) {
- this.$api.letter.getPolicyPrint({
- companyId: item.id,
- policytype: "jq"
- }).then((res) => {//交强保单
- if (res.data) {
- let result = res.data.replace(/[\r\n]/g, "");
- let pdfBase64 = `data:application/pdf;base64,${result}`;
- base64ToPath(pdfBase64).then((path) => {
- if(path){
- this.oldfileList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: path,
- });
- }
- });
- }
- });
- this.$api.letter.getPolicyPrint2({
- companyId: item.id,
- policytype: "jq"
- }).then((res) => {//交强保单
- if (res.data) {
- let result = res.data.replace(/[\r\n]/g, "");
- let pdfBase64 = `data:application/pdf;base64,${result}`;
- base64ToPath(pdfBase64).then((path) => {
- if(path){
- this.oldfileList.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: path,
- });
- }
- });
- }
- });
- }
- if (this.orderInfo.sypolicyno) {
- this.$api.letter.getPolicyPrint({
- companyId: item.id,
- policytype: "sy"
- }).then((res) => {//商业保单
- if (res.data) {
- let result = res.data.replace(/[\r\n]/g, "");
- let pdfBase64 = `data:application/pdf;base64,${result}`;
- base64ToPath(pdfBase64).then((path) => {
- if(path){
- this.oldfileList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: path,
- });
- }
- });
- }
- });
- }
- break;
- case "华泰财险":
- if (this.orderInfo.jqpolicyno) {
- this.$api.letter.HuataigetPolicyPrint({
- companyId: item.id,
- riskCode: "0507",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- if(res.data.jqxPolicyUrl){
- this.oldfileList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqxPolicyUrl,
- });
- }
- if (res.data.jqxFlagUrl) {
- this.oldfileList.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqxFlagUrl,
- });
- }
- }
- })
- }
- if (this.orderInfo.sypolicyno) {
- this.$api.letter.HuataigetPolicyPrint({
- companyId: item.id,
- riskCode: "0510",
- type: '2',//2:保单
- }).then(res => {
- if (res.data && res.data.syxPolicyUrl) {
- this.oldfileList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data.syxPolicyUrl,
- });
- }
- })
- }
- break;
- case "中煤财险":
- if (this.orderInfo.jqpolicyno) {
- this.$api.letter.ZhongmeigetPolicyPrint({
- companyId: item.id,
- riskCode: "0507",
- type: '2',//2:保单
- }).then(res => {
- if (res.data && res.data[0]
- ) {
- this.oldfileList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data[0],
- });
- }
- })
- this.$api.letter.ZhongmeigetPolicyPrint({
- companyId: item.id,
- riskCode: "0507",
- type: '1',// 1:标志
- }).then(res => {
- if (res.data && res.data[0]) {
- this.oldfileList.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data[0],
- });
- }
- })
- }
- if (this.orderInfo.sypolicyno) {
- this.$api.letter.ZhongmeigetPolicyPrint({
- companyId: item.id,
- riskCode: "0510",
- type: '2',//2:保单
- }).then(res => {
- if (res.data && res.data[0]) {
- this.oldfileList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data[0],
- });
- }
- })
- }
- break;
- case "永诚财险":
- if (this.orderInfo.jqpolicyno) {
- this.$api.letter.yongchenggetPolicyPrint({
- companyId: item.id,
- riskCode: "0507",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- if(res.data.jqUrl){
- this.oldfileList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqUrl,
- });
- }
- if (res.data.jqFlagUrl) {
- this.oldfileList.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqFlagUrl,
- });
- }
- }
- })
- }
- if (this.orderInfo.sypolicyno) {
- this.$api.letter.yongchenggetPolicyPrint({
- companyId: item.id,
- riskCode: "0510",
- type: '2',//2:保单
- }).then(res => {
- if (res.data && res.data.syUrl) {
- this.oldfileList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data.syUrl,
- });
- }
- })
- }
- if (this.orderInfo.crossInsurance.length > 0) {
- this.orderInfo.crossInsurance.map(ele => {
- this.$api.letter.yongchenggetPolicyPrint({
- companyId: item.id,
- policyNumber: ele.policyNumber,
- riskCode: "0513",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "驾意险保单",
- filename: ele.policyNumber,
- fileurl: res.data.jyUrl,
- });
- }
- })
- })
- }
- break;
- case "国任财险":
- if (this.orderInfo.jqpolicyno) {
- this.$api.letter.guoRengetPolicyPrint({
- companyId: item.id,
- riskCode: "0507",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- });
- }
- })
- this.$api.letter.guoRengetPolicyPrint({
- companyId: item.id,
- riskCode: "0507",
- type: '1',//1:标志
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- });
- }
- })
- }
- if (this.orderInfo.sypolicyno) {
- this.$api.letter.guoRengetPolicyPrint({
- companyId: item.id,
- riskCode: "0510",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data,
- });
- }
- })
- }
- if (this.orderInfo.crossInsurance.length > 0) {
- this.orderInfo.crossInsurance.map(ele => {
- this.$api.letter.guoRengetPolicyPrint({
- companyId: item.id,
- policyNumber: ele.policyNumber,
- riskCode: "0513",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "驾意险保单",
- filename: ele.policyNumber,
- fileurl: res.data,
- });
- }
- })
- })
- }
- break;
- case "紫金财险":
- if (this.orderInfo.jqpolicyno) {
- this.$api.letter.zijingetPolicyPrint({
- companyId: item.id,
- riskCode: "0507",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- });
- }
- })
- this.$api.letter.zijingetPolicyPrint({
- companyId: item.id,
- riskCode: "0507",
- type: '1',//1:标志
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- });
- }
- })
- }
- if (this.orderInfo.sypolicyno) {
- this.$api.letter.zijingetPolicyPrint({
- companyId: item.id,
- riskCode: "0510",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data,
- });
- }
- })
- }
- if (this.orderInfo.crossInsurance.length > 0) {
- this.orderInfo.crossInsurance.map(ele => {
- this.$api.letter.zijingetPolicyPrint({
- companyId: item.id,
- policyNumber: ele.policyNumber,
- riskCode: "0513",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "驾意险保单",
- filename: ele.policyNumber,
- fileurl: res.data,
- });
- }
- })
- })
- }
- break;
- case "恒邦财险":
- case "安盛天平":
- case "中国人寿":
- case "众安财险":
- if (this.orderInfo.jqpolicyno || this.orderInfo.sypolicyno) {
- this.$api.letter.pythongetPolicyPrint({
- subOrderNo: item.id,
- }).then(res => {
- if (res.data) {
- if (res.data.jqxPolicyUrl) {
- this.oldfileList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqxPolicyUrl,
- });
- }
- if (res.data.jqxFlagUrl) {
- this.oldfileList.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data.jqxFlagUrl,
- });
- }
- }
- if (res.data.syxPolicyUrl) {
- this.oldfileList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data.syxPolicyUrl,
- });
- }
- if (res.data.jyxInfoList && res.data.jyxInfoList.length>0) {
- res.data.jyxInfoList.forEach(val=>{
- this.oldfileList.push({
- fileTitle: "驾意险保单",
- filename: 'xxxxxxxxxxxxxxxxxxxxxx',
- fileurl: val.jyx_policy_url,
- });
- })
- }
- })
- }
- break;
- case "大家财险":
- if (this.orderInfo.jqpolicyno) {
- this.$api.letter.obtainWarranty({
- companyId: item.id,
- riskCode: "0507",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "交强电子保单",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- });
- }
- })
- this.$api.letter.obtainWarranty({
- companyId: item.id,
- riskCode: "0507",
- type: '1',//1:标志
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "交强电子标志",
- filename: this.orderInfo.jqpolicyno,
- fileurl: res.data,
- });
- }
- })
- }
- if (this.orderInfo.sypolicyno) {
- this.$api.letter.obtainWarranty({
- companyId: item.id,
- riskCode: "0510",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "商业电子保单",
- filename: this.orderInfo.sypolicyno,
- fileurl: res.data,
- });
- }
- })
- }
- if (this.orderInfo.crossInsurance.length > 0) {
- this.orderInfo.crossInsurance.map(ele => {
- this.$api.letter.zijingetPolicyPrint({
- companyId: item.id,
- policyNumber: ele.policyNumber,
- riskCode: "0513",
- type: '2',//2:保单
- }).then(res => {
- if (res.data) {
- this.oldfileList.push({
- fileTitle: "驾意险保单",
- filename: ele.policyNumber,
- fileurl: res.data,
- });
- }
- })
- })
- }
- break;
- default:
- }
- //赋值费用信息
- this.feeDetailInfo=res.data.orderFeeResult;
- this.showInsureList = false;
- this.dialogVisible = true; //在页面上显示订单
- } else {
- this.$message.error("订单获取失败");
- }
- });
- },
- cancelorder(item) {
- this.$api.letter.zijincancelorder({ companyId: item.id }).then(res => {
- if(res.code==200){
- this.$message({
- message: res.msg,
- type: 'success'
- });
- this.findPage()
- }
- })
- },
- //y永城查询缴费状态
- refreshStatus(item){
- this.$api.letter.orderStatusyongcheng( item.id ).then(res => {
- if(res.code==200){
- this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
- this.loading = true;
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
- if (res.code == "200") {
- this.loading = false;
- this.pageResult = res.data.content;
- this.pageNum = res.data.pageNum;
- this.totalSize = res.data.totalSize;
- this.pageResult.forEach(val => {
- this.$set(val, "expanded", false);
- });
- } else {
- this.loading = false;
- }
- })
- }
- else{
- this.$message({ message:res.msg, type: "error" })
- }
- })
- },
- // 国任查询缴费状态
- refreshStatusGuoren(item){
- this.$api.letter.updateOrderInfoGuoren( {companyId:item.id} ).then(res => {
- if(res.code==200){
- this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
- this.loading = true;
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
- if (res.code == "200") {
- this.loading = false;
- this.pageResult = res.data.content;
- this.pageNum = res.data.pageNum;
- this.totalSize = res.data.totalSize;
- this.pageResult.forEach(val => {
- this.$set(val, "expanded", false);
- });
- } else {
- this.loading = false;
- }
- })
- }
- else{
- this.$message({ message:res.msg, type: "error" })
- }
- })
- },
- // 大家刷新核保状态
- refreshStatusDajia(item){
- this.$api.letter.updateOrderInfoDajia( {companyId:item.id} ).then(res => {
- if(res.code==200){
- this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
- this.loading = true;
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
- if (res.code == "200") {
- this.loading = false;
- this.pageResult = res.data.content;
- this.pageNum = res.data.pageNum;
- this.totalSize = res.data.totalSize;
- this.pageResult.forEach(val => {
- this.$set(val, "expanded", false);
- });
- } else {
- this.loading = false;
- }
- })
- }
- else{
- this.$message({ message:res.msg, type: "error" })
- }
- })
- },
- //华泰刷新核保状态
- updateStatusHuatai(item){
- this.$api.letter.orderStatushuatai( {companyId:item.id} ).then(res => {
- if(res.code==200){
- this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
- this.loading = true;
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
- if (res.code == "200") {
- this.loading = false;
- this.pageResult = res.data.content;
- this.pageNum = res.data.pageNum;
- this.totalSize = res.data.totalSize;
- this.pageResult.forEach(val => {
- this.$set(val, "expanded", false);
- });
- } else {
- this.loading = false;
- }
- })
- }
- else{
- this.$message({ message:res.msg, type: "error" })
- }
- })
- },
- //华泰更新订单状态
- updateOrderInfoHuatai(item){
- this.$api.letter.updateOrderInfoHuatai( {companyId:item.id} ).then(res => {
- if(res.code==200){
- this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
- this.loading = true;
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
- if (res.code == "200") {
- this.loading = false;
- this.pageResult = res.data.content;
- this.pageNum = res.data.pageNum;
- this.totalSize = res.data.totalSize;
- this.pageResult.forEach(val => {
- this.$set(val, "expanded", false);
- });
- } else {
- this.loading = false;
- }
- })
- }
- else{
- this.$message({ message:res.msg, type: "error" })
- }
- })
- },
- //中煤查询缴费状态
- updateStatus(item){
- this.$api.letter.orderStatuszhongmei( {companyId:item.id} ).then(res => {
- if(res.code==200){
- this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
- this.loading = true;
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
- if (res.code == "200") {
- this.loading = false;
- this.pageResult = res.data.content;
- this.pageNum = res.data.pageNum;
- this.totalSize = res.data.totalSize;
- this.pageResult.forEach(val => {
- this.$set(val, "expanded", false);
- });
- } else {
- this.loading = false;
- }
- })
- }
- else{
- this.$message({ message:res.msg, type: "error" })
- }
- })
- },
- //查询缴费状态
- querystatus(item) {
- if (item.inscompany == '紫金财险') {
- this.$api.letter.getOrderDetail({ companyId: item.id }).then(res => {
- if (res.code == '200') {
- this.$message({ message: res.msg, type: "success" })
- this.loading = true;
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
- if (res.code == "200") {
- this.loading = false;
- this.pageResult = res.data.content;
- this.pageNum = res.data.pageNum;
- this.totalSize = res.data.totalSize;
- this.pageResult.forEach(val => {
- this.$set(val, "expanded", false);
- });
- } else {
- this.loading = false;
- }
- })
- } else {
- this.$message({ message: res.msg, type: "error" })
- }
- })
- } else {
- this.$api.letter.pychonverifyPayment({ subOrderNo: item.id }).then(res => {
- if (res.code == '200') {
- this.$message({ message: "订单支付成功,正在更改状态", type: "success" })
- this.loading = true;
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
- if (res.code == "200") {
- this.loading = false;
- this.pageResult = res.data.content;
- this.pageNum = res.data.pageNum;
- this.totalSize = res.data.totalSize;
- this.pageResult.forEach(val => {
- this.$set(val, "expanded", false);
- });
- } else {
- this.loading = false;
- }
- })
- } else {
- this.$message({ message: res.msg, type: "error" })
- }
- })
- }
- },
- toChinesNum(num) {
- let changeNum = [
- "零", "1", "2", "3", "4", "5", "6", "7", "8", "9"
- ];
- let unit = ["", "0", "00", "000", "0000"];
- num = parseInt(num);
- let getWan = temp => {
- let strArr = temp
- .toString()
- .split("")
- .reverse();
- let newNum = "";
- let newArr = [];
- strArr.forEach((item, index) => {
- newArr.unshift(
- item === "0" ? changeNum[item] : changeNum[item] + unit[index]
- );
- });
- let numArr = [];
- newArr.forEach((m, n) => {
- if (m !== "零") numArr.push(n);
- });
- if (newArr.length > 1) {
- newArr.forEach((m, n) => {
- if (newArr[newArr.length - 1] === "零") {
- if (n <= numArr[numArr.length - 1]) {
- newNum += m;
- }
- } else {
- newNum += m;
- }
- });
- } else {
- newNum = newArr[0];
- }
- return newNum;
- };
- let overWan = Math.floor(num / 10000);
- let noWan = num % 10000;
- if (noWan.toString().length < 4) {
- noWan = "0" + noWan;
- }
- return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
- },
- getAllStaff() {
- var that = this;
- var personRequest = { //查询的默认条件
- pageNum: 1,
- pageSize: 9999999,
- columnFilters: {
- "deptId": {
- "name": "deptId",
- "value": "99"
- },
- "containsSubDept": {
- "name": "containsSubDept",
- "value": 1
- },
- "usertype": {
- "name": "usertype",
- "value": "A"
- },
- "status": {
- "name": "status",
- "value": "1"
- }
- }
- }
-
- this.$api.user.findPage(personRequest).then((res) => {
- if (res.code == 200) {
- if (res.data.content.length > 0) {
- that.staffList = [];
- Object.assign(that.staffList, res.data.content);
- } else {
- that.staffList = [];
- }
- } else {
- that.staffList = [];
- }
- })
- },
- getAllCompany: function () {
- // 获取数据
- this.$api.dept.findLeftDeptTree(this.peopledeptid).then(res => {
- for (let i = 0; i < res.data.length; i++) {
- if (res.data[i].id.indexOf('D') < 0) {
- this.totalComapny.push(res.data[i]);
- }
- }
- });
- },
-
- // 跳转页面锚链接Start
- jump(obj) {
- var s = document.getElementById(obj);
- var parent = s.parentNode
- for (let i = 0; i < parent.childNodes.length; i++) {
- if (parent.childNodes[i].tagName == 'DIV') {
- if (parent.childNodes[i].childNodes[0].classList.contains("active")) {
- parent.childNodes[i].childNodes[0].classList.remove("active");
- }
- }
- }
- s.childNodes[0].classList.add("active");
- },
- // 跳转页面锚链接End
- //条件查询
- queryGetOrderList() {
- this.queryForm.pageNum = 1;
- this.queryForm.pageSize = 20;
- this.getOrderList();
- },
- // 获取提交核保请求订单信息Start
- getOrderList: function () {
- this.ordersList=[];
- this.$api.task.findPage(this.queryForm).then(res => {
- this.ordersList = res.data.content;
- this.totalSize = res.data.totalSize;
- });
- },
- // 获取提交核保请求订单信息End
- handleCurrentChange(val) {//页数
- this.pageNum = val;
- this.queryForm.pageNum = val;
- this.getOrderList();
- },
- handleSizeChange(val) {//条数
- this.pageSize = val;
- this.pageNum = 1;
- this.queryForm.pageNum = 1;
- this.queryForm.pageSize = val;
- this.getOrderList();
- },
- //报价单
- bjdpreview(companyId) {
- let params = {
- companyId: companyId
- };
- this.$api.letter.getByCompanyId(params).then(res => {
- if (res.code == "200") {
- var data = res.data;
- if (data.kindinfo != null) {
- data.kindinfo.map((ele, index) => {
- switch (ele.kindCode) {
- case "A":
- if (ele.amount == 1) {
- ele.amount = "投保"
- } else {
- ele.amount = ele.amount
- }
- break;
- case "D4":
- case "SY_FJ_YBW2":
- ele.unitAmount = this.toChinesNum(ele.unitAmount);
- break;
- case "MJ1":
- case "MJ2":
- case "MJ3":
- case "MJ4":
- ele.deductibleRate = ele.deductibleRate + "%";
- break;
- default:
- ele.amount = this.toChinesNum(ele.amount);
- }
- return ele;
- });
- }
- this.queryOrders = data;
- this.logoImg = this.iconfftter(res.data.inscompany)
- this.bjddialogVisible = true;
- }
- });
- },
- iconfftter(icon) {
- return CommonUtil.getDataName({
- dataList: this.global.insCompanyList,
- value: "name",
- label: "icon",
- data: icon,
- });
- },
- // 截图粘贴
- copybjd(){
- let that=this
- html2Canvas(document.getElementById('pdfContentsDiv') , {
- allowTaint: true,
- taintTest: false,
- }).then(function (canvas) {
- let base64Data = ''
- // let blob = null
- base64Data = canvas.toDataURL('image/png', 1)
- const date = new Date()
- const saveInfo = {
- download: date.getTime() + `.png`,
- href: base64Data,
- }
- const element = document.createElement('a')
- element.style.display = 'none'
- for (const key in saveInfo) {
- element.setAttribute(key, saveInfo[key])
- }
- document.body.appendChild(element)
- element.click()
- setTimeout(() => {
- document.body.removeChild(element)
- }, 300)
- })
- },
- // 撤销二维码
- revokeCode(id){
- this.$api.letter.getRevokeQrCode(id).then(res => {
- if(res.code==200){
- this.$message({
- message: res.msg,
- type: 'success'
- });
- this.historyDialogVisible=false;
- }
- })
- },
- //二维码
- carcode(id) {
- this.$api.letter.getQrCode(id).then(res => {
- if (res.code == '200') {
- this.inscompany = res.data.inscompany;//保险公司
- this.sumpremium = res.data.sumpremium;//总价
- this.licenseNo = res.data.cPlateNo;//车牌号
- this.applyName = res.data.cInsuredNme;//车主
- this.jqpremium = res.data.jqpremium;//交强
- this.sypremium = res.data.sypremium;//商业
- this.taxamount = res.data.taxamount;//车船税
- this.jypremium = res.data.jypremium;//驾意险
- this.jqstartdate = res.data.jqstartdate;//交强起保日期
- this.systartdate = res.data.systartdate;//商业起保日期
- // this.mobile = res.data.applyinfo.mobile;//投保人手机号
-
- this.$nextTick(() => {
- this.creatQrCode(res.data.qrCodeUrl);
- });
- this.codedialogVisible = true;
- } else {
- this.$message({ message: res.msg, type: "warning" })
- }
- })
- },
- creatQrCode(text) {
- if (this.qrcode) {
- this.qrcode.clear();
- this.qrcode.makeCode(text);
- } else {
- this.qrcode = new QRCode("qrcode", {
- text: text,
- width: 180,
- height: 180,
- colorDark: "#000000",
- colorLight: "#ffffff",
- correctLevel: QRCode.CorrectLevel.H,
- });
- }
- },
- //查看详情
- qoutedetail(companyId) {
- let params = {
- companyId: companyId
- };
- this.$api.letter.getByCompanyId(params).then(res => {
- if (res.code == "200") {
-
- var data = res.data;
-
-
- data.kindinfo.map((ele, index) => {
- switch (ele.kindCode) {
- case "A":
- ele.amount = "投保";
- break;
- case "D4":
- case "SY_FJ_YBW2":
- ele.unitAmount = this.toChinesNum(ele.unitAmount);
-
- break;
- case "MJ1":
- case "MJ2":
- case "MJ3":
- case "MJ4":
- ele.deductibleRate = ele.deductibleRate + "%";
- break;
- default:
- ele.amount = this.toChinesNum(ele.amount);
- }
- return ele;
- });
- this.queryOrders = data;
- //赋值费用信息
- this.feeDetailInfo=data.orderFeeResult;
- }
- });
- this.dialogVisible = true;
- },
- //获取一个订单的全部信息End
- getHistoryList(orderNo) {
- this.$api.letter.getByOrderNo({ orderNo: orderNo }).then((res) => {
- this.HistoryList = res.data.insAreaCompanyList;
- //赋值quoteno字段,查看详情获取影像使用
- this.HistoryList.map((ele, index) => {
- ele.quoteno=res.data.quoteno;
- });
- })
- this.historyDialogVisible = true;
- },
-
- //订单修改
- CloseEdit(orderno) {
- this.$api.letter.getByOrderNo({ orderNo: orderno }).then((res) => {
- this.$router.push({ path: '/task/daikeLetter', query: { data: res.data } })
- })
- },
- // 打开任务转发
- openTaskForward(orderno) {
- this.taskForwardData.orderNo = orderno;
- this.taskForwardData.operatorId = this.peopleid;
- this.taskForwardDialogVisible = true;
- },
- comfirmTaskForward() {
- if (!this.taskForwardData.auditId) {
- return this.$message({ type: 'info', message: '请选择任务接收人' });
- }
- this.$confirm('是否确认转发任务?', '提示', {}).then(() => {
- this.$api.task.forwarding(this.taskForwardData).then(res => {
- if (res.code == '200') {
- this.$message({ type: 'success', message: res.msg });
- this.getOrderList();
- this.taskForwardDialogVisible = false;
- }else{
- this.$message.error(res.msg);
- }
- })
-
- }).catch(() => {
- })
- },
- changeAudit(e) {
- // for (let i = 0; i < this.staffList.length; i++) {
- // if (this.staffList[i].id == e) {
- // this.taskForwardData.auditname = this.staffList[i].name;
- // }
- // }
- },
- closeTaskForward() {
- for (let key in this.taskForwardData) {
- this.taskForwardData[key] = "";
- }
- this.taskForwardDialogVisible = false;
- },
- }
- }
- </script>
- <style>
- .saomazhifucodeClass .el-dialog__body,
- .saomazhifucodeClass .el-dialog__header {
- padding: 0;
- }
- </style>
- <style scoped lang="scss">
- /* 检索区Start */
- .ORcodebody {
- width: 100%;
- height: auto;
- box-sizing: border-box;
- }
-
- .code_title {
- width: 100%;
- height: 50px;
- background-color: #fdcb08;
- justify-content: center;
-
- &>span {
- font-size: 22px;
- color: #000;
- font-weight: bold;
- }
- }
-
- .ORcode {
- width: 100%;
- background: #fff;
- height: auto;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 30px;
- box-sizing: border-box;
- border-bottom: 6px dotted #fdcb08;
-
- &>div {
- width: 180px;
- height: 180px;
- border: 1px solid #000;
- border-radius: 5px;
- }
- }
-
- .ORtitle {
- background: #fff;
- width: 100%;
- padding: 20px;
- box-sizing: border-box;
- border-bottom: 1px solid #f2f2f2;
-
- &>div {
- width: 100%;
- margin: 10px 0;
- font-weight: bold;
- font-size: 14px;
- display: flex;
- align-items: center;
-
- &>span {
- &:nth-child(1) {
- color: #979797;
- text-align: end;
- width: 150px;
- }
-
- &:nth-child(2) {
- color: #000;
- margin-left: 10px;
- }
- }
- }
- }
-
- .queryForm {
- background: #f2f7fc;
- position: relative;
- border: 1px solid #ddd;
- border-radius: 10px;
- margin-top: 15px;
- margin-bottom: 15px;
- padding: 10px 20px 0;
-
- &:before {
- content: attr(title);
- position: absolute;
- left: 10%;
- transform: translate(-50%, -120%);
- padding: 0 10px;
- background-color: #fff;
- }
- }
-
- /* 检索区End */
- /* 页面的整体布局 */
- .page-container {
- margin: 0px 10px;
- }
-
- .task {
- border-color: #a6a6a6;
- line-height: 25px;
- font-size: 14px;
- margin-bottom: 10px;
-
- .row {
- margin-bottom: 10px;
- line-height: 28px;
- font-size: 12px;
-
- .label {
- padding: 0 10px;
- }
- }
- }
-
- .task_bottom {
- margin-top: 10px;
- }
-
- .leftContainer {
- width: 80px;
- position: fixed;
- top: 79px;
- left: 30px;
-
- .el-col {
- width: 80px;
- height: 80px;
- border-bottom: 1px solid #4d5c6f;
- background: #526176;
- cursor: pointer;
- color: #a6aeb9;
- border-radius: 0;
-
- a {
- display: block;
- color: #a6aeb9;
- text-decoration: none;
-
- &:hover {
- color: #fff;
- }
-
- &.active {
- color: #fff;
- }
- }
-
- i {
- font-size: 30px;
- margin: 15px 0px 5px;
- }
- }
- }
-
- .rightContainer {
- width: calc(100vw - 160px);
- margin-left: 100px;
-
- .header {
- .el-col {
- font-size: 18px;
- font-weight: bold;
- }
- }
-
- .bodyTitle {
- height: 40px;
- background: #f3f3f3;
- border: 1px solid #dddddd;
-
- &>label {
- margin: 0px 15px;
- font-weight: bold;
- }
- }
-
- .el-card {
- margin-bottom: 15px;
- }
- }
-
- .rightContainer #demo2 .body,
- .rightContainer #demo5 .body,
- .rightContainer #demo6 .body,
- .rightContainer #demo7 .body,
- .rightContainer #demo8 .body,
- .rightContainer #demo9 .body,
- .rightContainer #demo10 .body,
- .rightContainer #demo11 .body {
- border: 1px solid #ddd;
- padding: 15px;
- border-top: none;
- }
-
- .imageStyle {
- display: inline-block;
- width: 100px;
- height: 100px;
- box-shadow: #ddd 0px 0px 5px;
- margin-left: 20px;
- }
-
- .el-transfer-panel {
- width: calc(100%/3) !important;
- }
-
- .body {
- .el-row {
- margin-bottom: 15px;
-
- .el-col {
- label {
- text-align: right;
- width: 80px;
- font-size: 14px;
- width: 100%;
- line-height: 36px;
- display: inline-block;
- box-sizing: border-box;
- padding-right: 15px;
- }
- }
- }
- }
-
- .disabledInput {
- width: 80% !important;
- max-width: 200px;
- background-color: #f5f7fa;
- text-align: center !important;
- border: 1px solid #e4e7ed;
- color: #c0c4cc;
- cursor: not-allowed;
- border-radius: 4px;
- box-sizing: border-box;
- padding: 0px 10px;
- height: 36px;
- margin: 0px 10%;
- }
-
- .Risk {
- width: 100%;
- height: auto;
- display: flex;
- flex-direction: column;
- align-items: center;
- font-size: 12px;
- }
-
- .Risk_title {
- width: 100%;
- height: 40px;
-
- &>div {
- background: rgb(199, 20, 45);
- color: rgb(255, 255, 255);
- height: 100%;
- font-weight: 500;
- width: 33.3%;
- padding: 10px 20px;
- box-sizing: border-box;
- border: #fff solid 1px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-bottom: none;
-
- &:nth-child(1) {
- border-top-left-radius: 10px;
- }
-
- &:nth-child(2) {
- border-left: none;
- border-right: none;
- }
-
- &:nth-child(3) {
- border-top-right-radius: 10px;
- }
- }
- }
-
- .Risk_data {
- width: 100%;
- height: 40px;
-
- &>div {
- background: #fbf6f7;
- color: rgb(51, 51, 51);
- height: 100%;
- font-weight: 500;
- width: 33.3%;
- padding: 10px 20px;
- box-sizing: border-box;
- border: #fff solid 1px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-bottom: none;
-
- &:nth-child(2) {
- border-left: none;
- border-right: none;
- }
- }
- }
-
- .bjdbody {
- width: 100%;
- height: auto;
- background-color: rgb(199, 20, 45);
- padding: 20px 10px 0 10px;
- box-sizing: border-box;
- border-radius: 8px;
- }
-
- .bjdCarMessage,
- .bjdCarSum {
- width: 100%;
- height: auto;
- background-color: #fff;
- border-radius: 8px;
- margin-bottom: 10px;
- padding-bottom: 10px;
- }
-
- .bjdfooter {
- border-top: 1px solid #fff;
- padding: 10px;
- box-sizing: border-box;
- color: #fff;
- }
-
- .bjdCarSum {
- &>div {
- width: 100%;
- padding: 15px 20px;
- box-sizing: border-box;
- font-weight: bold;
- color: #000;
- border-bottom: 1px solid #f2f2f2;
- }
- }
-
- .bjdCarMessage1 {
- height: 80px;
- padding: 16px;
- box-sizing: border-box;
- border-bottom: 1px solid #f2f2f2;
- display: flex;
- align-items: center;
- color: #000;
-
- .f-c {
- &>span {
- &:nth-child(1) {
- font-size: 18px;
- font-weight: bold;
- }
- }
- }
- }
-
- .bjdCarMessage1>img,
- .bjdfooter>img {
- margin-right: 30px;
- }
-
- .bjdCarMessage1 .f-c>span:nth-child(2),
- .bjdCarMessage1 .f-c>span:nth-child(3) {
- font-size: 12px;
- margin-top: 5px;
- }
-
- .bjdCarMessage2_car {
- &>span {
- &:nth-child(1) {
- color: #000;
- font-weight: bold;
- }
-
- &:nth-child(2) {
- color: #999;
- }
- }
- }
-
- .bjdCarMessage2 {
- &>ul {
- li {
- margin: 20px 0;
- }
- }
- }
-
- .display {
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 10px;
- box-sizing: border-box;
- }
-
- .dis {
- display: flex;
- }
-
- .align {
- align-items: center;
- }
-
- .jus {
- justify-content: space-between;
- }
-
- .headers {
- display: flex;
- align-items: center;
- justify-content: space-between;
- flex-wrap: wrap;
- margin: 5px 0;
- font-weight: bold;
- color: #333;
- }
- /* 内容待定 */
- .headers_Custom {
- div {
- padding: 5px 30px;
- font-size: 16px;
- &>span {
- color: rgb(226, 118, 10);
- }
- }
- }
- .back {
- color: #303133;
- font-weight: 700;
- }
- .icon-img {
- display: block;
- width: 30px;
- height: 30px;
- }
- .Enclosure {
- width: 100%;
- background-color: #fff;
- padding: 20px;
- box-sizing: border-box;
- margin-bottom: 15px;
- border-radius: 6px;
- border: 1px solid #ebeef5;
- transition: all 0.2s ease-in-out;
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
- }
- .FeeEnclosure{
- /deep/ table {
- width: 100% !important;
- }
- /deep/ .cell {
- text-align: center;
- }
- /deep/ .el-table__empty-block{
- width: 100% !important;
- }
- }
- /deep/ {
- .el-input {
- &.is-disabled {
- .el-input__inner {
- color: #333;
- }
- }
- }
- }
- </style>
|