quote1.vue 114 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485
  1. <template>
  2. <view :style="getHeight" style="background-color: #F5F5F5;">
  3. <!-- 头部 -->
  4. <view class="carInfo w-100 px-3 box-sizing">
  5. <view class="d-flex">
  6. <view class="icon iconfont icon-tree-round-car flex-shrink topLeft"></view>
  7. <view class="topRight d-flex flex-1 p-3 flex-column" style="color: #FFFFFF;">
  8. <view class="d-flex flex-1">
  9. <view class="font-lg d-flex a-center">{{this.carInfo.licenseNo}}
  10. <view class="icon iconfont icon-bianji1 ml-2" @tap="toCarInfo"></view>
  11. </view>
  12. </view>
  13. <view class="brandName">{{this.carInfo.modelcname}}</view>
  14. </view>
  15. </view>
  16. <view class="other d-flex j-sb px-3">
  17. <view class="d-flex flex-1 a-center">
  18. <view class="privilege d-flex a-center j-center flex-shrink px-2">特权</view>
  19. <view class="content">每月自动查违章,无违章领奖励</view>
  20. </view>
  21. <view class="flex-shrink icon iconfont icon-youjiantou d-flex a-center font-sm"></view>
  22. </view>
  23. </view>
  24. <!-- 报价方案 -->
  25. <view class="pageContent">
  26. <view class="quotePlan mx-3">
  27. <view class="header j-sb d-flex a-center px-3">
  28. <view class="title font-md">报价方案</view>
  29. <view class="adjustPlan main-text-color" @tap="toInsureItems">调整方案</view>
  30. </view>
  31. <view class="body">
  32. <view class="insurance">
  33. <template v-if="jqstartDate">
  34. <view class="row j-sb d-flex a-center">
  35. <view>交强险</view>
  36. <view>投保</view>
  37. </view>
  38. </template>
  39. <template v-if="systartDate">
  40. <block v-for="(item,index) in insuranceData" :key="index">
  41. <template v-if="item.amount!=0">
  42. <view class="row j-sb d-flex a-center">
  43. <view>{{item.kindName}}</view>
  44. <text
  45. v-if="['TY2','TY3','TY4'].includes(item.kindCode)">{{item.amountDesc}}</text>
  46. <block v-else v-for="(item2,index2) in item.amtList" :key="index2">
  47. <template v-if="item2.value == item.amount">
  48. <view>{{item2.label}}</view>
  49. </template>
  50. </block>
  51. </view>
  52. </template>
  53. </block>
  54. </template>
  55. <view class="dis j-s a-c" v-if="jqstartDate">
  56. <view style="margin-right: 40px;">交强起保日期:</view>
  57. <u-input type="select" :select-open="jqstartShow" v-model="jqstartDate"
  58. @click="jqstartShow = true" style="width: 100px;"></u-input>
  59. <u-picker v-model="jqstartShow" mode="time" :params="params"
  60. @confirm="jqstartconfirm"></u-picker>
  61. </view>
  62. <view class="dis j-s a-c" v-if="jqendDate">
  63. <view style="margin-right: 40px;">交强终保日期:</view>
  64. <u-input type="select" :select-open="jqendShow" v-model="jqendDate"
  65. @click="jqendShow = true" style="width: 100px;"></u-input>
  66. <u-picker v-model="jqendShow" mode="time" :params="params"
  67. @confirm="jqendconfirm"></u-picker>
  68. </view>
  69. <view class="dis j-s a-c" v-if="systartDate">
  70. <view style="margin-right: 40px;">商业起保日期:</view>
  71. <u-input type="select" :select-open="systartShow" v-model="systartDate"
  72. @click="systartShow = true" style="width: 100px;"></u-input>
  73. <u-picker v-model="systartShow" mode="time" :params="params"
  74. @confirm="systartconfirm"></u-picker>
  75. </view>
  76. <view class="dis j-s a-c" v-if="syendDate">
  77. <view style="margin-right: 40px;">商业终保日期:</view>
  78. <u-input type="select" :select-open="syendShow" v-model="syendDate"
  79. @click="syendShow = true" style="width: 100px;"></u-input>
  80. <u-picker v-model="syendShow" mode="time" :params="params"
  81. @confirm="syendconfirm"></u-picker>
  82. </view>
  83. </view>
  84. <!-- <view class="addedServices">
  85. <view class="row j-sb d-flex a-center">
  86. <view>增值服务</view>
  87. <view>赠送</view>
  88. </view>
  89. <view style="padding: 15upx;color: #A6A6A6;font-size: 24upx;background-color: #F8FAFC;">
  90. 注:包含道路救援/安全检测/代为驾驶/代为送检,投保以上商业主险免费赠送,各家保司各个地区旅游差异,具体以保单信息为准</view>
  91. </view> -->
  92. </view>
  93. </view>
  94. <view class="quoteCompany">
  95. <view class="header dis a-c j-s">
  96. <view class="title d-flex">精选保险公司<view class="icon iconfont icon-Group-"></view>
  97. </view>
  98. <!-- <view class="">
  99. <u-checkbox v-model="Selectchecked" @change="SelectAll($event)"
  100. active-color="rgb(250, 53, 52)">全选</u-checkbox>
  101. </view> -->
  102. </view>
  103. <block v-for="(totalitem,totalindex) in totalCompanyList" :key="totalindex">
  104. <template>
  105. <view class="quoteCompanyItem">
  106. <view class="top dis f-c">
  107. <ls-loading v-show="totalitem.quoteCode==1" text="掌柜正在为您报价,请稍等......"
  108. :animation="animation" fontSize="22" />
  109. <view class="companyIcon dis j-s a-c">
  110. <view class="dis">
  111. <!-- 勾选框 -->
  112. <u-checkbox
  113. @change="event=>checkboxChange(event,totalitem.id,totalitem.cnName, totalindex)"
  114. v-model="totalitem.checked" active-color="rgb(250, 53, 52)"></u-checkbox>
  115. <!-- logo -->
  116. <image :src="totalitem.logo"></image>
  117. <!-- 名称 -->
  118. <view class="companyName">{{totalitem.namesimple}}</view>
  119. </view>
  120. <!-- 价格 -->
  121. <text v-show="totalitem.quoteCode==200"
  122. class="sum">¥{{totalitem.result.sumPermium}}</text>
  123. <text
  124. v-show="(totalitem.quoteCode != '200') && (totalitem.quoteCode != '0') && (totalitem.quoteCode != '1')"
  125. class="sum" style="color: #999;font-size: 12px;"
  126. @click="ErrorMsg(totalitem.msg,totalitem.namesimple)">报价失败,请点击查看</text>
  127. </view>
  128. <view v-show="totalitem.quoteCode==200" class="dis Premium f-wrap"
  129. style="font-size: 12px;color: #ee7000;">
  130. <text v-if="totalitem.result.jqPremium">交强险:¥{{totalitem.result.jqPremium}}</text>
  131. <text v-if="totalitem.result.syPremium"
  132. style="margin: 0 5px;">商业险:¥{{totalitem.result.syPremium}}</text>
  133. <text v-if="totalitem.result.taxAmount">车船税:¥{{totalitem.result.taxAmount}}</text>
  134. <text v-if="totalitem.result.jyPremium">驾意险:¥{{totalitem.result.jyPremium}}</text>
  135. </view>
  136. <view v-show="totalitem.quoteCode==200" class="dis Premium f-wrap"
  137. style="font-size: 12px;color: #6495ed;border-top: 1px solid #f2f2f2;">
  138. <text
  139. v-if="totalitem.result.jqPremium">交强险:{{totalitem.result.startDateJq}}~{{totalitem.result.endDateJq}}
  140. </text>
  141. <u-icon style="color:#ee7000;font-size: 16px;" name="clock"
  142. @click="syncData(totalitem.result)"></u-icon>
  143. <text
  144. v-if="totalitem.result.startDateSy">商业险:{{totalitem.result.startDateSy}}~{{totalitem.result.endDateSy}}
  145. </text>
  146. <text v-if="totalitem.namesimple == '永诚财险'">光博分:{{ totalitem.result.ilogPreUdwMess ?
  147. totalitem.result.ilogPreUdwMess : '无' }}</text>
  148. <text v-else>评分:{{ totalitem.result.ilogPreUdwMess ?
  149. totalitem.result.ilogPreUdwMess : '无' }}</text>
  150. <text v-if="totalitem.result.accidentInfoStr">出险信息:{{ totalitem.result.accidentInfoStr ?
  151. totalitem.result.accidentInfoStr : '无' }}</text>
  152. <text v-if="totalitem.result.jqScore">交强类型评分:{{ totalitem.result.jqScore ?
  153. totalitem.result.jqScore : '无' }}</text>
  154. <text v-if="totalitem.result.syScore">商业类型评分:{{ totalitem.result.syScore ?
  155. totalitem.result.syScore : '无' }}</text>
  156. <text v-if="totalitem.result.lossRation">总赔付率:{{ totalitem.result.lossRation ?
  157. totalitem.result.lossRation : '无' }}</text>
  158. <text v-if="totalitem.result.jqLossRation">交强赔付率:{{ totalitem.result.jqLossRation ?
  159. totalitem.result.jqLossRation : '无' }}</text>
  160. <text v-if="totalitem.result.syLossRation">商业赔付率:{{ totalitem.result.syLossRation ?
  161. totalitem.result.syLossRation : '无' }}</text>
  162. </view>
  163. <text v-if="totalitem.result.tips && totalitem.namesimple == '众安财险'"
  164. style="color: red;">{{ totalitem.result.tips}}</text>
  165. <template v-if="totalitem.result.iszdj !=null && totalitem.result.iszdj!=''">
  166. <text v-if="totalitem.result.iszdj==0" style="color: red;">假单交</text>
  167. <text v-else="totalitem.result.iszdj==1" style="color: red;">真单交</text>
  168. </template>
  169. <view class="dis j-s f-c" v-if="totalitem.checked">
  170. <view class="dis j-s a-c">
  171. <u-form-item label="报价协议选择" v-if="totalitem.isTaxSource!=1"
  172. :prop="totalitem.agreementId" label-width="200" :border-bottom='false'
  173. style="padding: 0;">
  174. <u-input type="select" :select-open="totalitem.selectShow"
  175. v-model="totalitem.agreementName" placeholder="请选择协议"
  176. @click="totalitem.selectShow = true"></u-input>
  177. <u-select mode="single-column" :list="totalitem.agreement" value-name="id"
  178. label-name="agreementName" v-model="totalitem.selectShow"
  179. @confirm="val=>selectConfirm(val,totalindex)"></u-select>
  180. </u-form-item>
  181. <u-button v-if="totalitem.namesimple == '紫金财险'" size="mini " type="warning"
  182. :hair-line="false" @click="zijinPopupshow=true"
  183. style="margin-left: 10px;">意外险选择</u-button>
  184. <u-button v-if="totalitem.namesimple == '国任财险'" size="mini " type="warning"
  185. :hair-line="false" @click="guoRencontributing(totalitem.agreementId)"
  186. style="margin-left: 10px;">特约选择</u-button>
  187. </view>
  188. <u-form-item label="商业险折扣" v-if="totalitem.namesimple == '中国人寿'" placeholder="请输入数字"
  189. label-width="200" :border-bottom='false' style="padding: 0;">
  190. <u-input type="number" v-model="totalitem.syAdjustRate"></u-input>
  191. </u-form-item>
  192. <u-form-item label="自主定价系数" v-if="totalitem.namesimple == '紫金财险'"
  193. placeholder="请输入数字" label-width="200" :border-bottom='false'
  194. style="padding: 0;">
  195. <u-input type="number" v-model="totalitem.coefficient"></u-input>
  196. </u-form-item>
  197. <text
  198. style="color: #ff9000;font-weight: bold;">{{totalitem.underwritingDescription}}</text>
  199. </view>
  200. <template
  201. v-if="totalitem.namesimple == '中国人寿' && totalitem.checked && totalitem.agreementId && renshouaccidentalDrivingVo.id">
  202. <view class="accident-style dis f-c ">
  203. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  204. <view class=" accident-ins dis a-c j-s">
  205. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  206. @change="checkboxChangeInfo($event,totalindex)"
  207. active-color="rgb(255, 170, 0)"></u-checkbox>
  208. <view class=" dis a-c j-s " @click="renshouPopupshow=true">
  209. <text
  210. style="font-size: 14px;">{{renshouaccidentalDrivingVo.productName}}</text>
  211. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  212. </view>
  213. </view>
  214. <view class=" dis j-s a-c">
  215. <view class="">
  216. <text style="font-size: 14px;">保费:</text>
  217. <text
  218. style="font-size: 14px;color: #ee7000;">¥{{renshouaccidentalDrivingVo.totalPremium*renshouaccidentalDrivingVo.quantity}}.00起</text>
  219. </view>
  220. <view class="">
  221. <text style="font-size: 14px;">份数:</text>
  222. <u-number-box v-model="renshouaccidentalDrivingVo.quantity" :min="1"
  223. :max="1" :disabled-input="true" :input-width="70" :input-height="44"
  224. size="26"></u-number-box>
  225. </view>
  226. </view>
  227. </view>
  228. </template>
  229. <template
  230. v-if="totalitem.namesimple == '中煤财险' && totalitem.checked && totalitem.agreementId && zhongmeiaccidentalDrivingVo.rideRiskCode">
  231. <view class="accident-style dis f-c ">
  232. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  233. <view class=" accident-ins dis a-c j-s">
  234. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  235. @change="checkboxChangeInfo($event,totalindex)"
  236. active-color="rgb(255, 170, 0)"></u-checkbox>
  237. <view class=" dis a-c j-s " @click="zhongmeiPopupshow=true">
  238. <text
  239. style="font-size: 14px;">{{zhongmeiaccidentalDrivingVo.rideRiskName}}</text>
  240. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  241. </view>
  242. </view>
  243. <view class=" dis j-s a-c">
  244. <view class="">
  245. <text style="font-size: 14px;">保费:</text>
  246. <text
  247. style="font-size: 14px;color: #ee7000;">¥{{zhongmeiaccidentalDrivingVo.unitPremium*zhongmeiaccidentalDrivingVo.quantity}}</text>
  248. </view>
  249. <view class="">
  250. <text style="font-size: 14px;">份数:</text>
  251. <u-number-box v-model="zhongmeiaccidentalDrivingVo.quantity" :min="1"
  252. :max="Number(zhongmeiaccidentalDrivingVo.maxQuantity)"
  253. :disabled-input="true" :input-width="70" :input-height="44"
  254. size="26"></u-number-box>
  255. </view>
  256. </view>
  257. </view>
  258. </template>
  259. <template
  260. v-if="totalitem.namesimple == '紫金财险' && totalitem.checked && totalitem.agreementId ">
  261. <text style="font-weight: bold;font-size: 12px;"
  262. v-if="zijinaccidentalDrivingVo.length>0">意外险信息</text>
  263. <view class="accident-style dis f-c "
  264. v-for="(item,index) in zijinaccidentalDrivingVo" :key="index">
  265. <view class=" accident-ins dis a-c j-s">
  266. <view class=" dis a-c j-s ">
  267. <text style="font-size: 14px;">{{item.projectName}}</text>
  268. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  269. </view>
  270. </view>
  271. <view class=" dis j-s a-c">
  272. <view class="">
  273. <text style="font-size: 14px;">保费:</text>
  274. <text
  275. style="font-size: 14px;color: #ee7000;">¥{{item.sumPremium*item.quantity}}.00</text>
  276. </view>
  277. <view class="">
  278. <text style="font-size: 14px;">份数:</text>
  279. <u-number-box v-model="item.quantity" :min="1" :max="item.maxQuantity"
  280. :disabled-input="item.maxQuantity==1?true :false" :input-width="70"
  281. :input-height="44" size="26"></u-number-box>
  282. </view>
  283. </view>
  284. </view>
  285. </template>
  286. <template
  287. v-if="totalitem.namesimple == '渤海财险' && totalitem.checked && totalitem.agreementId && bohaiaccidentalDrivingVo.productCode">
  288. <view class="accident-style dis f-c ">
  289. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  290. <view class=" accident-ins dis a-c j-s">
  291. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  292. @change="checkboxChangeInfo($event,totalindex)"
  293. active-color="rgb(255, 170, 0)"></u-checkbox>
  294. <view class=" dis a-c j-s " @click="bohaiPopupshow=true">
  295. <text
  296. style="font-size: 14px;">{{bohaiaccidentalDrivingVo.packageName}}</text>
  297. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  298. </view>
  299. </view>
  300. <view class=" dis j-s a-c">
  301. <view class="">
  302. <text style="font-size: 14px;">保费:</text>
  303. <text
  304. style="font-size: 14px;color: #ee7000;">¥{{bohaiaccidentalDrivingVo.premium*bohaiaccidentalDrivingVo.copies}}.00</text>
  305. </view>
  306. <view class="">
  307. <text style="font-size: 14px;">份数:</text>
  308. <u-number-box v-model="bohaiaccidentalDrivingVo.copies" :min="1"
  309. :max="1" :disabled-input="true" :input-width="70" :input-height="44"
  310. size="26"></u-number-box>
  311. </view>
  312. </view>
  313. </view>
  314. </template>
  315. <template
  316. v-if="totalitem.namesimple == '恒邦财险' && totalitem.checked && totalitem.agreementId && hengbangaccidentalDrivingVo.programcode">
  317. <view class="accident-style dis f-c ">
  318. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  319. <view class=" accident-ins dis a-c j-s">
  320. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  321. @change="checkboxChangeInfo($event,totalindex)"
  322. active-color="rgb(255, 170, 0)"></u-checkbox>
  323. <view class=" dis a-c j-s " @click="hengbangPopupshow=true">
  324. <text
  325. style="font-size: 14px;">{{hengbangaccidentalDrivingVo.programname}}</text>
  326. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  327. </view>
  328. </view>
  329. <view class=" dis j-s a-c">
  330. <view class="">
  331. <text style="font-size: 14px;">保费:</text>
  332. <text
  333. style="font-size: 14px;color: #ee7000;">¥{{hengbangaccidentalDrivingVo.sumgrosspremium*hengbangaccidentalDrivingVo.quantity}}.00</text>
  334. </view>
  335. <view class="">
  336. <text style="font-size: 14px;">份数:</text>
  337. <u-number-box v-model="hengbangaccidentalDrivingVo.quantity" :min="1"
  338. :max="1" :disabled-input="true" :input-width="70" :input-height="44"
  339. size="26"></u-number-box>
  340. </view>
  341. </view>
  342. </view>
  343. </template>
  344. <template
  345. v-if="totalitem.namesimple == '太平财险' && totalitem.checked && totalitem.agreementId && taipingaccidentalDrivingVo.id">
  346. <view class="accident-style dis f-c ">
  347. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  348. <view class=" accident-ins dis a-c j-s">
  349. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  350. @change="checkboxChangeInfo($event,totalindex)"
  351. active-color="rgb(255, 170, 0)"></u-checkbox>
  352. <view class=" dis a-c j-s " @click="taipingPopupshow=true">
  353. <text
  354. style="font-size: 14px;">{{taipingaccidentalDrivingVo.rationName}}</text>
  355. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  356. </view>
  357. </view>
  358. <view class=" dis j-s a-c">
  359. <view class="">
  360. <text style="font-size: 14px;">保费:</text>
  361. <text
  362. style="font-size: 14px;color: #ee7000;">¥{{taipingaccidentalDrivingVo.price*taipingaccidentalDrivingVo.quantity}}.00</text>
  363. </view>
  364. <view class="">
  365. <text style="font-size: 14px;">份数:</text>
  366. <u-number-box v-model="taipingaccidentalDrivingVo.quantity" :min="1"
  367. :max="taipingaccidentalDrivingVo.maxQuantity" :disabled-input="true"
  368. :input-width="70" :input-height="44" size="26"></u-number-box>
  369. </view>
  370. </view>
  371. </view>
  372. </template>
  373. <template
  374. v-if="totalitem.namesimple == '众安财险' && totalitem.checked && totalitem.agreementId && zhonganaccidentalDrivingVo.combination">
  375. <view class="accident-style dis f-c ">
  376. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  377. <view class=" accident-ins dis a-c j-s">
  378. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  379. @change="checkboxChangeInfo($event,totalindex)"
  380. active-color="rgb(255, 170, 0)"></u-checkbox>
  381. <view class=" dis a-c j-s " @click="zhonganPopupshow=true">
  382. <text
  383. style="font-size: 14px;">{{zhonganaccidentalDrivingVo.name}}</text>
  384. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  385. </view>
  386. </view>
  387. <view class=" dis j-s a-c">
  388. <text style="font-size: 14px;">份数:</text>
  389. <u-number-box v-model="zhonganaccidentalDrivingVo.quantity" :min="1"
  390. :max="1" :disabled-input="true" :input-width="70" :input-height="44"
  391. size="26"></u-number-box>
  392. </view>
  393. </view>
  394. </template>
  395. <template
  396. v-if="totalitem.namesimple == '华农财险' && totalitem.checked && totalitem.agreementId && huanongaccidentalDrivingVo.planCode">
  397. <view class="accident-style dis f-c ">
  398. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  399. <view class=" accident-ins dis a-c j-s">
  400. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  401. @change="checkboxChangeInfo($event,totalindex)"
  402. active-color="rgb(255, 170, 0)"></u-checkbox>
  403. <view class=" dis a-c j-s " @click="huanongPopupshow=true">
  404. <text
  405. style="font-size: 14px;">{{huanongaccidentalDrivingVo.planName}}</text>
  406. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  407. </view>
  408. </view>
  409. <view class=" dis j-s a-c">
  410. <text style="font-size: 14px;">份数:</text>
  411. <u-number-box v-model="huanongaccidentalDrivingVo.allQuantity" :min="1"
  412. :input-width="70" :input-height="44" size="26"></u-number-box>
  413. </view>
  414. </view>
  415. </template>
  416. <template
  417. v-if="totalitem.namesimple == '永诚财险' && totalitem.checked && totalitem.agreementId && yongchengaccidentalDrivingVo.rideRiskCode">
  418. <view class="accident-style dis f-c ">
  419. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  420. <view class=" accident-ins dis a-c j-s">
  421. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  422. @change="checkboxChangeInfo($event,totalindex)"
  423. active-color="rgb(255, 170, 0)"></u-checkbox>
  424. <view class=" dis a-c j-s " @click="yongchengPopupshow=true">
  425. <text
  426. style="font-size: 14px;">{{yongchengaccidentalDrivingVo.rideRiskName}}</text>
  427. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  428. </view>
  429. </view>
  430. <view class=" dis j-s a-c">
  431. <view class="">
  432. <text style="font-size: 14px;">保费:</text>
  433. <text
  434. style="font-size: 14px;color: #ee7000;">¥{{yongchengaccidentalDrivingVo.premium*yongchengaccidentalDrivingVo.quantity}}</text>
  435. </view>
  436. <view class="">
  437. <text style="font-size: 14px;">份数:</text>
  438. <u-number-box v-model="yongchengaccidentalDrivingVo.quantity" :min="1"
  439. :max="100" :input-width="70" :input-height="44"
  440. size="26"></u-number-box>
  441. </view>
  442. </view>
  443. </view>
  444. </template>
  445. <template
  446. v-if="totalitem.namesimple == '安盛天平' && totalitem.checked && totalitem.agreementId && anshengaccidentalDrivingVo.planCode">
  447. <view class="accident-style dis f-c ">
  448. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  449. <view class=" accident-ins dis a-c j-s">
  450. <text style="font-size: 14px;">分类</text>
  451. <view class=" dis a-c j-s " @click="anshengPopupshow=true">
  452. <text
  453. style="font-size: 14px;">{{anshengaccidentalDrivingVo.planCode}}{{anshengaccidentalDrivingVo.planChineseName}}</text>
  454. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  455. </view>
  456. </view>
  457. <template v-if="anshengInsuranceData.length>0">
  458. <view class=" accident-ins dis a-c j-s">
  459. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  460. @change="checkboxChangeInfo($event,totalindex)"
  461. active-color="rgb(255, 170, 0)"></u-checkbox>
  462. <view class=" dis a-c j-s " @click="anshengPopupshow1=true">
  463. <text
  464. style="font-size: 14px;">{{anshengaccidentalDrivingVo.productCode}}{{anshengaccidentalDrivingVo.productName}}</text>
  465. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  466. </view>
  467. </view>
  468. <view class=" dis j-s a-c">
  469. <text style="font-size: 14px;">份数:</text>
  470. <u-number-box v-model="anshengaccidentalDrivingVo.quantity" :min="1"
  471. :max="1" :disabled-input="true" :input-width="70" :input-height="44"
  472. size="26"></u-number-box>
  473. </view>
  474. </template>
  475. </view>
  476. </template>
  477. <template
  478. v-if="totalitem.namesimple == '国任财险' && totalitem.checked && totalitem.agreementId && guorenaccidentalDrivingVo.goodsCode">
  479. <view class="accident-style dis f-c ">
  480. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  481. <view class=" accident-ins dis a-c j-s">
  482. <text style="font-size: 14px;">分类</text>
  483. <view class=" dis a-c j-s " @click="guorenPopupshow=true">
  484. <text
  485. style="font-size: 14px;">{{guorenaccidentalDrivingVo.goodDesc}}</text>
  486. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  487. </view>
  488. </view>
  489. <template v-if="guorenInsuranceData.length>0">
  490. <view class=" accident-ins dis a-c j-s">
  491. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  492. @change="checkboxChangeInfo($event,totalindex)"
  493. active-color="rgb(255, 170, 0)"></u-checkbox>
  494. <view class=" dis a-c j-s " @click="guorenPopupshow1=true">
  495. <text
  496. style="font-size: 14px;">{{guorenaccidentalDrivingVo.prodCName}}</text>
  497. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  498. </view>
  499. </view>
  500. <view class=" dis j-s a-c">
  501. <view class="">
  502. <text style="font-size: 14px;">保费:</text>
  503. <text
  504. style="font-size: 14px;color: #ee7000;">¥{{guorenaccidentalDrivingVo.premium*guorenaccidentalDrivingVo.quantity}}.00</text>
  505. </view>
  506. <view class="">
  507. <text style="font-size: 14px;">份数:</text>
  508. <u-number-box v-model="guorenaccidentalDrivingVo.quantity" :min="1"
  509. :max="Number(guorenaccidentalDrivingVo.policyNum)"
  510. :input-width="70" :input-height="44" size="26"></u-number-box>
  511. </view>
  512. </view>
  513. </template>
  514. </view>
  515. </template>
  516. <template
  517. v-if="totalitem.namesimple == '大家财险' && totalitem.checked && totalitem.agreementId && dajiaaccidentalDrivingVo.rideRiskCode">
  518. <view class="accident-style dis f-c ">
  519. <text style="font-weight: bold;font-size: 12px;">意外险信息</text>
  520. <view class=" accident-ins dis a-c j-s">
  521. <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
  522. @change="checkboxChangeInfo($event,totalindex)"
  523. active-color="rgb(255, 170, 0)"></u-checkbox>
  524. <view class=" dis a-c j-s " @click="dajiaPopupshow=true">
  525. <text
  526. style="font-size: 14px;">{{dajiaaccidentalDrivingVo.rideRiskName}}</text>
  527. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  528. </view>
  529. </view>
  530. <view class=" dis j-s a-c">
  531. <view class="">
  532. <text style="font-size: 14px;">保费:</text>
  533. <text
  534. style="font-size: 14px;color: #ee7000;">¥{{dajiaaccidentalDrivingVo.price*dajiaaccidentalDrivingVo.quantity}}.00</text>
  535. </view>
  536. <view class="">
  537. <text style="font-size: 14px;">份数:</text>
  538. <u-number-box v-model="dajiaaccidentalDrivingVo.quantity" :min="1"
  539. :max="1" :disabled-input="true" :input-width="70" :input-height="44"
  540. size="26"></u-number-box>
  541. </view>
  542. </view>
  543. </view>
  544. </template>
  545. <view v-if="totalitem.namesimple == '国任财险' && guoRenSpecialAgreementVo.length>0">
  546. <text style="font-weight: bold;font-size: 12px;">特别约定</text>
  547. <view class="contributing dis f-c"
  548. v-for="(guoRenitem,guoRenindex) in guoRenSpecialAgreementVo" :key="guoRenindex">
  549. <text>{{guoRenitem.clauses}}</text>
  550. <text>{{guoRenitem.clausesContext}}</text>
  551. </view>
  552. </view>
  553. <view v-show="totalitem.quoteCode==200" class="dis j-end"
  554. style="border-top: 1px solid #f2f2f2;padding: 10px 0;">
  555. <u-button v-if="totalitem.lastYearMsg" size="mini " type="warning"
  556. :hair-line="false" @click="YearMsg(totalitem.lastYearMsg,totalitem.namesimple)"
  557. style="margin-left: 10px;">上年信息</u-button>
  558. <u-button v-if='totalitem.result.predictInfo' size="mini " type="warning"
  559. :hair-line="false" @click="preUnderwriting(totalitem.result.predictInfo)"
  560. style="margin-left: 10px;">预核保信息</u-button>
  561. <u-button size="mini " type="warning" :hair-line="false"
  562. @click="bjdpreview(totalitem.result.companyId)"
  563. style="margin-left: 10px;">报价单</u-button>
  564. <u-button size="mini" style="background-color: #ea552d;margin-left: 10px;"
  565. type="error" :hair-line="false" :disabled="totalitem.result.tips"
  566. @click="querydetial(totalitem.result.companyId)">查看详情</u-button>
  567. </view>
  568. </view>
  569. </view>
  570. </template>
  571. </block>
  572. </view>
  573. </view>
  574. <wyb-popup ref="lastYearMsgCI" type="center" mode="size-fixed" height="900" radius="6" :showCloseIcon="true">
  575. <view class="popupBody">
  576. <view class="popHeader d-flex a-center j-center">
  577. 投保方案建议
  578. </view>
  579. <scroll-view scroll-top="0" scroll-y="true" class="popupScroll">
  580. </scroll-view>
  581. <view class="popBottom d-flex a-center j-center main-text-color" @tap="adjustPopupInsureSubmit">我知道了
  582. </view>
  583. </view>
  584. </wyb-popup>
  585. <!-- 人寿驾意险弹框 -->
  586. <u-popup v-model="renshouPopupshow" mode="center" width="70%" border-radius="10">
  587. <view class="popContent dis f-c a-c">
  588. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  589. <u-radio style="margin: 4px 0;" @change="RSradioChange"
  590. v-for="(item, index) in renshouInsuranceData" :key="index" :name="item.id">
  591. {{item.productName}}
  592. </u-radio>
  593. </u-radio-group>
  594. </view>
  595. </u-popup>
  596. <!-- 中煤驾意险弹框 -->
  597. <u-popup v-model="zhongmeiPopupshow" mode="center" width="70%" border-radius="10">
  598. <view class="popContent dis f-c a-c">
  599. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  600. <u-radio style="margin: 4px 0;" @change="ZMradioChange"
  601. v-for="(item, index) in zhongmeiInsuranceData" :key="index" :name="item.rideRiskCode">
  602. {{item.rideRiskName}}
  603. </u-radio>
  604. </u-radio-group>
  605. </view>
  606. </u-popup>
  607. <!-- 恒邦驾意险弹框 -->
  608. <u-popup v-model="hengbangPopupshow" mode="center" width="80%" border-radius="10">
  609. <view class="popContent dis f-c a-c">
  610. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  611. <u-radio style="margin: 4px 0;flex: auto;" @change="HBradioChange"
  612. v-for="(item, index) in hengbangInsuranceData" :key="index" :name="item.programcode">
  613. {{item.programname}}
  614. </u-radio>
  615. </u-radio-group>
  616. </view>
  617. </u-popup>
  618. <!-- 众安驾意险弹框 -->
  619. <u-popup v-model="zhonganPopupshow" mode="center" width="50%" border-radius="10">
  620. <view class="popContent dis f-c a-c">
  621. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  622. <u-radio style="margin: 4px 0;flex: auto;" @change="ZAradioChange"
  623. v-for="(item, index) in zhonganInsuranceData" :key="index" :name="item.combination">
  624. {{item.name}}
  625. </u-radio>
  626. </u-radio-group>
  627. </view>
  628. </u-popup>
  629. <!-- 华农驾意险弹框 -->
  630. <u-popup v-model="huanongPopupshow" mode="center" width="50%" border-radius="10">
  631. <view class="popContent dis f-c a-c">
  632. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  633. <u-radio style="margin: 4px 0;flex: auto;" @change="HNradioChange"
  634. v-for="(item, index) in huanongInsuranceData" :key="index" :name="item.planCode">
  635. {{item.planName}}
  636. </u-radio>
  637. </u-radio-group>
  638. </view>
  639. </u-popup>
  640. <u-popup v-model="yongchengPopupshow" mode="center" width="50%" border-radius="10">
  641. <view class="popContent dis f-c a-c">
  642. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  643. <u-radio style="margin: 4px 0;flex: auto;" @change="YCradioChange"
  644. v-for="(item, index) in yongchengInsuranceData" :key="index" :name="item.code">
  645. {{item.name}}
  646. </u-radio>
  647. </u-radio-group>
  648. </view>
  649. </u-popup>
  650. <!-- 安盛驾意险弹框 -->
  651. <u-popup v-model="anshengPopupshow" mode="center" width="90%" border-radius="10">
  652. <view class="popContent dis f-c a-c">
  653. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  654. <u-radio style="margin: 4px 0;flex: auto;" @change="ASprogrammeradioChange"
  655. v-for="(item, index) in anshengprogrammeData" :key="index" :name="item.planCode">
  656. {{item.planCode}}{{item.planChineseName}}
  657. </u-radio>
  658. </u-radio-group>
  659. </view>
  660. </u-popup>
  661. <u-popup v-model="anshengPopupshow1" mode="center" width="90%" border-radius="10">
  662. <view class="popContent dis f-c a-c">
  663. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  664. <u-radio style="margin: 4px 0;flex: auto;" @change="ASInsuranceradioChange"
  665. v-for="(item, index) in anshengInsuranceData" :key="index" :name="item.productCode">
  666. {{item.productCode}}{{item.productName}}
  667. </u-radio>
  668. </u-radio-group>
  669. </view>
  670. </u-popup>
  671. <!-- 紫金驾意险弹框 -->
  672. <u-modal v-model="zijinPopupshow" title="意外险" :scroll-height="{height: '300px'}">
  673. <view class="slot-content">
  674. <u-checkbox-group @change="ZJcheckboxGroupChange">
  675. <u-checkbox style="margin: 8px 0;flex: auto;" class="ZJcheckboxGroup" v-model="item.checked"
  676. active-color="rgb(255, 153, 0)" v-for="(item, index) in zijinInsuranceData" :key="index"
  677. :name="item.projectCode">{{item.projectName}}</u-checkbox>
  678. </u-checkbox-group>
  679. </view>
  680. </u-modal>
  681. <!-- 国任驾意险弹框 -->
  682. <u-popup v-model="guorenPopupshow" mode="center" width="70%" border-radius="10">
  683. <view class="popContent dis f-c a-c">
  684. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  685. <u-radio style="margin: 4px 0;flex: auto;" @change="GRprogrammeradioChange"
  686. v-for="(item, index) in guorenprogrammeData" :key="index" :name="item.goodId">
  687. {{item.goodDesc}}
  688. </u-radio>
  689. </u-radio-group>
  690. </view>
  691. </u-popup>
  692. <u-popup v-model="guorenPopupshow1" mode="center" width="70%" border-radius="10">
  693. <view class="popContent dis f-c a-c">
  694. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  695. <u-radio style="margin: 4px 0;flex: auto;" @change="GRInsuranceradioChange"
  696. v-for="(item, index) in guorenInsuranceData" :key="index" :name="item.prodCode">
  697. {{item.prodCName}}
  698. </u-radio>
  699. </u-radio-group>
  700. </view>
  701. </u-popup>
  702. <!-- 国任特约弹框 -->
  703. <u-modal v-model="guoRencontributingshow" title="国任特约选择" :title-style="{fontWeight: 'bold'}"
  704. :scroll-height="{height: '300px'}">
  705. <view class="slot-content">
  706. <u-checkbox-group @change="guoRencontributingChange" style="display: contents;">
  707. <u-checkbox v-model="item.checked" active-color="rgb(255, 153, 0)"
  708. v-for="(item, index) in guoRenSpecialAgreementData" :key="index"
  709. :name="item.clauseCode">{{item.clauseCode}}{{item.clauses}}</u-checkbox>
  710. </u-checkbox-group>
  711. </view>
  712. </u-modal>
  713. <!-- 大家驾意险弹框 -->
  714. <u-popup v-model="dajiaPopupshow" mode="center" width="80%" border-radius="10">
  715. <view class="popContent dis f-c a-c">
  716. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  717. <u-radio style="margin: 4px 0;flex: auto;" @change="DJradioChange"
  718. v-for="(item, index) in dajiaInsuranceData" :key="index" :name="item.id">
  719. {{item.productName}}
  720. </u-radio>
  721. </u-radio-group>
  722. </view>
  723. </u-popup>
  724. <!-- 太平驾意险弹框 -->
  725. <u-popup v-model="taipingPopupshow" mode="center" width="80%" border-radius="10">
  726. <view class="popContent dis f-c a-c">
  727. <u-radio-group size="30" active-color="rgb(255, 170, 0)">
  728. <u-radio style="margin: 4px 0;flex: auto;" @change="TPradioChange"
  729. v-for="(item, index) in taipingInsuranceData" :key="index" :name="item.id">
  730. {{item.rationName}}
  731. </u-radio>
  732. </u-radio-group>
  733. </view>
  734. </u-popup>
  735. <!-- 渤海驾意险弹框 -->
  736. <u-popup v-model="bohaiPopupshow" mode="center" width="80%" border-radius="10">
  737. <view class="popContent dis f-c a-c">
  738. <u-radio-group size="30" active-color="rgb(255, 170, 0)" style="display: grid;">
  739. <u-radio style="margin: 4px 0;" @change="BHradioChange" v-for="(item, index) in bohaiInsuranceData"
  740. :key="index" :name="item.productCode">
  741. {{item.packageName}}
  742. </u-radio>
  743. </u-radio-group>
  744. </view>
  745. </u-popup>
  746. <u-modal v-model="preUnderwritingshow" width="90%" title="预核保信息" :title-style="{fontWeight: 'bold'}">
  747. <view class="" style="padding: 10px;overflow-y:auto;height: 400px;">
  748. <view v-for="(item,index) in RSpreUnderwritingList" :key="index">
  749. <view class="dis f-c ">
  750. <text style="font-weight: bold;">审核意见</text>
  751. <text style="font-size: 12px;">{{item.opinion}}</text>
  752. </view>
  753. <view class="dis f-c">
  754. <text style="font-weight: bold;">备注</text>
  755. <text style="font-size: 12px;">{{item.description}}</text>
  756. </view>
  757. </view>
  758. </view>
  759. </u-modal>
  760. <u-modal v-model="Generateshow" content="是否生成新的订单?" :content-style="{fontWeight: 'bold'}"
  761. :show-cancel-button="true" :show-title="false" :confirm-style="{color: '#ff9000'}"
  762. @confirm="GenerateModalConfirm"></u-modal>
  763. <view class="infoBottom d-flex a-center j-center j-sb">
  764. <button type="default" class="d-flex a-center j-center" @tap="toNext">保费计算</button>
  765. </view>
  766. </view>
  767. </template>
  768. <script>
  769. import {
  770. mapState
  771. } from "vuex"
  772. import {
  773. delEmptyQueryNodes
  774. } from '@/plugins/utils';
  775. import insuranceList from './insuranceType.js';
  776. import wybPopup from '@/components/common/wyb-popup/wyb-popup.vue'
  777. import lsLoading from '@/components/common/ls-loading/ls-loading.vue';
  778. export default {
  779. components: {
  780. wybPopup,
  781. lsLoading
  782. },
  783. computed: {
  784. ...mapState(['userInfo']),
  785. getHeight() {
  786. let height = uni.getSystemInfoSync().windowHeight;
  787. return `minHeight: ${height}px;`;
  788. }
  789. },
  790. // 监听导航栏的按钮
  791. onNavigationBarButtonTap(e) {
  792. if (e.index == 0) {
  793. this.navigate({
  794. url: '/pages/index/index'
  795. }, "switchTab", true);
  796. }
  797. },
  798. data() {
  799. return {
  800. shadowStyle: {
  801. backgroundImage: "none",
  802. paddingTop: "0",
  803. marginTop: "20rpx"
  804. },
  805. Selectchecked: false,
  806. params: {
  807. year: true, //年
  808. month: true, //月
  809. day: true, //日
  810. hour: true, //时
  811. minute: true, //分
  812. second: true, //秒
  813. },
  814. preUnderwritingshow: false, //预核保信息
  815. Generateshow: false,
  816. zhongmeiPopupshow: false,
  817. zhongmeiInsuranceData: [], //中煤意外险list
  818. zhongmeiaccidentalDrivingVo: [], //中煤意外险
  819. zijinPopupshow: false,
  820. zijinInsuranceData: [], //紫金意外险list
  821. zijinaccidentalDrivingVo: [], //紫金意外险
  822. huanongPopupshow: false,
  823. huanongInsuranceData: [], //华农意外险list
  824. huanongaccidentalDrivingVo: [], //华农意外险
  825. taipingPopupshow: false,
  826. taipingInsuranceData: [], //太平意外险list
  827. taipingaccidentalDrivingVo: [], //太平意外险
  828. anshengPopupshow: false,
  829. anshengPopupshow1: false,
  830. anshengprogrammeData: [],
  831. anshengInsuranceData: [], //安盛意外险list
  832. anshengaccidentalDrivingVo: {}, //安盛意外险
  833. guorenPopupshow: false,
  834. guorenPopupshow1: false,
  835. guorenprogrammeData: [],
  836. guorenInsuranceData: [], //国任意外险list
  837. guorenaccidentalDrivingVo: {}, //国任意外险
  838. guoRencontributingshow: false, //国任特约
  839. dajiaPopupshow: false,
  840. dajiaInsuranceData: [], //大家意外险list
  841. dajiaaccidentalDrivingVo: {}, //大家意外险
  842. guoRenSpecialAgreementData: [],
  843. guoRenSpecialAgreementVo: [],
  844. yongchengPopupshow: false,
  845. yongchengInsuranceData: [], //永诚意外险list
  846. yongchengaccidentalDrivingVo: {}, //永诚意外险
  847. zhonganPopupshow: false,
  848. zhonganInsuranceData: [], //-众安意外险list
  849. zhonganaccidentalDrivingVo: {}, //众安意外险
  850. hengbangPopupshow: false,
  851. hengbangInsuranceData: [], //-恒邦意外险list
  852. hengbangaccidentalDrivingVo: {}, //恒邦意外险
  853. renshouPopupshow: false,
  854. renshouInsuranceData: [], //-人寿意外险list
  855. renshouaccidentalDrivingVo: {}, //人寿意外险
  856. bohaiPopupshow: false,
  857. bohaiInsuranceData: [], //渤海意外险list
  858. bohaiaccidentalDrivingVo: {}, //渤海意外险
  859. jqstartShow: false, //交强起保日期
  860. jqendShow: false, //交强终保日期
  861. systartShow: false, //商业起保日期
  862. syendShow: false, //商业终保日期
  863. content: ``,
  864. vehicleAndVesselTaxForm: {}, //车船税信息
  865. agreementList: [],
  866. zmDrivingForm: {}, //中煤驾意险
  867. zjaccidentalDrivingVo: [], //紫金驾意险
  868. carInfoPositiveList: [], //车辆影像
  869. ownerInfoPositiveList: [], //车主影像
  870. policyHolderInfoPositiveList: [], //投保人影像
  871. insuredPersonInfoPositiveList: [], //被保人影像
  872. orderno: "", //订单号
  873. show1: false, //华农
  874. animation: 'twinkle', //动画类型
  875. jqjishi: false,
  876. syjishi: false,
  877. timeArray: [],
  878. jqTimeIndex: 0,
  879. syTimeIndex: 0,
  880. time1: "",
  881. time2: "",
  882. carTypeList: [], //车辆品牌型号列表
  883. msg: "",
  884. quoteno: "", //报价编号
  885. hasKindCodeA: false, //是否含有车损险
  886. carInfo: {}, //车辆信息
  887. ownerInfo: {}, //车主信息
  888. policyHolderInfo: {}, //投保人信息
  889. insuredPersonInfo: {}, //被保人信息
  890. riskList: [], //险种大类信息
  891. kindList: [], //商业险险别
  892. showCarInfo: false, //控制车辆信息显示
  893. showInsureDate: true, //控制险种时间显示
  894. jqstartDate: "", //交强险日期
  895. jqendDate: " ", //交强险日期
  896. systartDate: "", //商业险日期
  897. syendDate: "", //商业险日期
  898. insuranceData: insuranceList.data,
  899. insureList: [{
  900. amount: "0",
  901. amountDesc: "投保",
  902. amtList: [{
  903. "label": "不投保",
  904. "value": "0"
  905. }, {
  906. "label": "投保",
  907. "value": "1"
  908. }],
  909. kindCode: "A",
  910. isMainRisk: true,
  911. kindName: "机动车损失险",
  912. desc: "保险期间内,被保险人或被保险机动车驾驶人在使用被保险机动车过程中,因自然灾害、意外事故、机动车被盗窃、抢劫、抢夺等情况(详见保险条款)造成被保险机动车直接损失,且不属于免除保险人责任的范围,保险人依照本保险合同的约定负责赔偿的险种。"
  913. },
  914. {
  915. amount: "0",
  916. amountDesc: "不投保",
  917. amtList: [{
  918. label: "不投保",
  919. value: "0"
  920. },
  921. {
  922. label: "50万",
  923. value: "500000"
  924. },
  925. {
  926. label: "100万",
  927. value: "1000000"
  928. },
  929. {
  930. label: "150万",
  931. value: "1500000"
  932. },
  933. {
  934. label: "200万",
  935. value: "2000000"
  936. },
  937. {
  938. label: "250万",
  939. value: "2500000"
  940. },
  941. {
  942. label: "300万",
  943. value: "3000000"
  944. },
  945. {
  946. label: "500万",
  947. value: "5000000"
  948. },
  949. {
  950. label: "1000万",
  951. value: "10000000"
  952. }
  953. ],
  954. kindCode: "B",
  955. isMainRisk: true,
  956. kindName: "第三者责任险",
  957. desc: "保险期间内,被保险人或其允许的驾驶人在使用被保险机动车过程中发生意外事故,致使第三者遭受人身伤亡或财产直接损毁,依法应当对第三者承担的损害赔偿责任,且不属于免除保险人责任的范围,保险人依照本保险合同的约定,对于超过机动车交通事故责任强制保险各分项赔偿限额的部分负责赔偿的险种。"
  958. },
  959. {
  960. amount: "0",
  961. amountDesc: "不投保",
  962. amtList: [{
  963. label: "不投保",
  964. value: "0"
  965. },
  966. {
  967. label: "1万",
  968. value: "10000"
  969. },
  970. {
  971. label: "2万",
  972. value: "20000"
  973. },
  974. {
  975. label: "3万",
  976. value: "30000"
  977. },
  978. {
  979. label: "4万",
  980. value: "40000"
  981. },
  982. {
  983. label: "5万",
  984. value: "50000"
  985. },
  986. {
  987. label: "6万",
  988. value: "60000"
  989. },
  990. {
  991. label: "7万",
  992. value: "70000"
  993. },
  994. {
  995. label: "8万",
  996. value: "80000"
  997. },
  998. {
  999. label: "9万",
  1000. value: "90000"
  1001. },
  1002. {
  1003. label: "10万",
  1004. value: "100000"
  1005. },
  1006. {
  1007. label: "15万",
  1008. value: "150000"
  1009. },
  1010. {
  1011. label: "20万",
  1012. value: "200000"
  1013. },
  1014. {
  1015. label: "25万",
  1016. value: "250000"
  1017. },
  1018. {
  1019. label: "30万",
  1020. value: "300000"
  1021. },
  1022. {
  1023. label: "35万",
  1024. value: "350000"
  1025. },
  1026. {
  1027. label: "40万",
  1028. value: "400000"
  1029. },
  1030. {
  1031. label: "45万",
  1032. value: "450000"
  1033. },
  1034. {
  1035. label: "50万",
  1036. value: "500000"
  1037. },
  1038. ],
  1039. kindCode: "D3",
  1040. isMainRisk: true,
  1041. kindName: "司机责任险",
  1042. desc: "保险期间内,被保险人或其允许的驾驶人在使用被保险机动车过程中发生意外事故,致使车上人员遭受人身伤亡,且不属于免除保险人责任的范围,依法应当对车上人员承担的损害赔偿责任,保险人依照本保险合同的约定负责赔偿的险种。"
  1043. },
  1044. {
  1045. amount: "0",
  1046. amountDesc: "不投保",
  1047. amtList: [{
  1048. "label": "不投保",
  1049. "value": "0"
  1050. }, {
  1051. "label": "1万",
  1052. "value": "10000"
  1053. }, {
  1054. "label": "2万",
  1055. "value": "20000"
  1056. }, {
  1057. "label": "4万",
  1058. "value": "40000"
  1059. }, {
  1060. "label": "5万",
  1061. "value": "50000"
  1062. }, {
  1063. "label": "10万",
  1064. "value": "100000"
  1065. }, {
  1066. "label": "15万",
  1067. "value": "150000"
  1068. }, {
  1069. "label": "20万",
  1070. "value": "200000"
  1071. }],
  1072. kindCode: "D4",
  1073. isMainRisk: true,
  1074. kindName: "乘客责任险",
  1075. desc: "保险期间内,被保险人或其允许的驾驶人在使用被保险机动车过程中发生意外事故,致使车上人员遭受人身伤亡,且不属于免除保险人责任的范围,依法应当对车上人员承担的损害赔偿责任,保险人依照本保险合同的约定负责赔偿的险种。"
  1076. },
  1077. {
  1078. amount: "0",
  1079. amountDesc: "不投保",
  1080. amtList: [{
  1081. "label": "不投保",
  1082. "value": "0"
  1083. }, {
  1084. "label": "2000",
  1085. "value": "2000"
  1086. }, {
  1087. "label": "5000",
  1088. "value": "5000"
  1089. }, {
  1090. "label": "1万",
  1091. "value": "10000"
  1092. }],
  1093. desc: "保险期间内,被保险机动车在被保险人或被保险机动车驾驶人使用过程中,发生无明显碰撞痕迹的车身划痕损失,保险人按照保险合同约定负责赔偿的险种",
  1094. isMainRisk: true,
  1095. kindCode: "L",
  1096. kindName: "车身划痕险",
  1097. mainRiskCodeList: "A"
  1098. },
  1099. {
  1100. amount: "0",
  1101. amountDesc: "不投保",
  1102. amtList: [{
  1103. "label": "不投保",
  1104. "value": "0"
  1105. }, {
  1106. "label": "5%",
  1107. "value": "5"
  1108. }, {
  1109. "label": "10%",
  1110. "value": "10"
  1111. }, {
  1112. "label": "15%",
  1113. "value": "15"
  1114. }, {
  1115. "label": "20%",
  1116. "value": "20"
  1117. }],
  1118. desc: "被保险机动车发生主险约定的保险事故,保险人按照主险的约定计算赔款后,扣减本特约条款约定的免赔的险种。",
  1119. isMainRisk: true,
  1120. kindCode: "MJ1",
  1121. kindName: "绝对免赔率特约险(车损)",
  1122. mainRiskCodeList: "A"
  1123. },
  1124. {
  1125. amount: "0",
  1126. amountDesc: "不投保",
  1127. amtList: [{
  1128. "label": "不投保",
  1129. "value": "0"
  1130. }, {
  1131. "label": "5%",
  1132. "value": "5"
  1133. }, {
  1134. "label": "10%",
  1135. "value": "10"
  1136. }, {
  1137. "label": "15%",
  1138. "value": "15"
  1139. }, {
  1140. "label": "20%",
  1141. "value": "20"
  1142. }],
  1143. desc: "被保险机动车发生主险约定的保险事故,保险人按照主险的约定计算赔款后,扣减本特约条款约定的免赔的险种。",
  1144. isMainRisk: true,
  1145. kindCode: "MJ2",
  1146. kindName: "绝对免赔率特约险(三者)",
  1147. mainRiskCodeList: "B"
  1148. },
  1149. {
  1150. amount: "0",
  1151. amountDesc: "不投保",
  1152. amtList: [{
  1153. "label": "不投保",
  1154. "value": "0"
  1155. }, {
  1156. "label": "5%",
  1157. "value": "5"
  1158. }, {
  1159. "label": "10%",
  1160. "value": "10"
  1161. }, {
  1162. "label": "15%",
  1163. "value": "15"
  1164. }, {
  1165. "label": "20%",
  1166. "value": "20"
  1167. }],
  1168. desc: "被保险机动车发生主险约定的保险事故,保险人按照主险的约定计算赔款后,扣减本特约条款约定的免赔的险种。",
  1169. isMainRisk: true,
  1170. kindCode: "MJ3",
  1171. kindName: "绝对免赔率特约险(司机)",
  1172. mainRiskCodeList: "D3"
  1173. },
  1174. {
  1175. amount: "0",
  1176. amountDesc: "不投保",
  1177. amtList: [{
  1178. "label": "不投保",
  1179. "value": "0"
  1180. }, {
  1181. "label": "5%",
  1182. "value": "5"
  1183. }, {
  1184. "label": "10%",
  1185. "value": "10"
  1186. }, {
  1187. "label": "15%",
  1188. "value": "15"
  1189. }, {
  1190. "label": "20%",
  1191. "value": "20"
  1192. }],
  1193. desc: "被保险机动车发生主险约定的保险事故,保险人按照主险的约定计算赔款后,扣减本特约条款约定的免赔的险种。",
  1194. isMainRisk: true,
  1195. kindCode: "MJ4",
  1196. kindName: "绝对免赔率特约险(乘客)",
  1197. mainRiskCodeList: "D4"
  1198. },
  1199. {
  1200. amount: "0",
  1201. amountDesc: "不投保",
  1202. coveragePremium: 0,
  1203. amtList: [{
  1204. label: "不投保",
  1205. value: "0"
  1206. },
  1207. {
  1208. label: "1万",
  1209. value: "10000"
  1210. },
  1211. {
  1212. label: "2万",
  1213. value: "20000"
  1214. },
  1215. {
  1216. label: "4万",
  1217. value: "40000"
  1218. },
  1219. {
  1220. label: "5万",
  1221. value: "50000"
  1222. },
  1223. {
  1224. label: "8万",
  1225. value: "80000"
  1226. },
  1227. {
  1228. label: "10万",
  1229. value: "100000"
  1230. },
  1231. {
  1232. label: "20万",
  1233. value: "200000"
  1234. },
  1235. {
  1236. label: "30万",
  1237. value: "300000"
  1238. },
  1239. {
  1240. label: "50万",
  1241. value: "500000"
  1242. },
  1243. {
  1244. label: "100万",
  1245. value: "1000000"
  1246. },
  1247. {
  1248. label: "200万",
  1249. value: "2000000"
  1250. },
  1251. {
  1252. label: "300万",
  1253. value: "3000000"
  1254. },
  1255. ],
  1256. kindCode: "SY_FJ_YBW1",
  1257. isMainRisk: true,
  1258. kindName: "附加医保-三者",
  1259. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1260. },
  1261. {
  1262. amount: "0",
  1263. amountDesc: "不投保",
  1264. coveragePremium: 0,
  1265. amtList: [{
  1266. label: "不投保",
  1267. value: "0"
  1268. },
  1269. {
  1270. label: "1万",
  1271. value: "10000"
  1272. },
  1273. {
  1274. label: "2万",
  1275. value: "20000"
  1276. },
  1277. {
  1278. label: "5万",
  1279. value: "50000"
  1280. },
  1281. {
  1282. label: "10万",
  1283. value: "100000"
  1284. }
  1285. ],
  1286. kindCode: "SY_FJ_YBW2",
  1287. isMainRisk: true,
  1288. kindName: "附加医保-座位险(乘客)",
  1289. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1290. },
  1291. {
  1292. amount: "0",
  1293. amountDesc: "不投保",
  1294. coveragePremium: 0,
  1295. amtList: [{
  1296. label: "不投保",
  1297. value: "0"
  1298. },
  1299. {
  1300. label: "1万",
  1301. value: "10000"
  1302. },
  1303. {
  1304. label: "2万",
  1305. value: "20000"
  1306. },
  1307. {
  1308. label: "5万",
  1309. value: "50000"
  1310. },
  1311. {
  1312. label: "10万",
  1313. value: "100000"
  1314. }
  1315. ],
  1316. kindCode: "SY_FJ_YBW3",
  1317. isMainRisk: true,
  1318. kindName: "附加医保-座位险(司机)",
  1319. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1320. },
  1321. {
  1322. amount: "0",
  1323. amountDesc: "不投保",
  1324. coveragePremium: 0,
  1325. amtList: [{
  1326. label: "不投保",
  1327. value: "0"
  1328. },
  1329. {
  1330. label: "2次",
  1331. value: "2"
  1332. },
  1333. {
  1334. label: "7次",
  1335. value: "7"
  1336. },
  1337. {
  1338. label: "12次",
  1339. value: "12"
  1340. },
  1341. {
  1342. label: "17次",
  1343. value: "17"
  1344. },
  1345. {
  1346. label: "22次",
  1347. value: "22"
  1348. },
  1349. ],
  1350. kindCode: "TY1",
  1351. isMainRisk: true,
  1352. kindName: "道路救援服务特约条款",
  1353. desc: "道路救援服务特约条款是指在保险期内,被保险机动车在使用过程中发生故障而丧失行驶能力时,保险人根据被保险人的请求,向被保险人提供道路救援服务。"
  1354. },
  1355. {
  1356. amount: 0,
  1357. amountDesc: "不投保",
  1358. kindCode: "TY2",
  1359. isMainRisk: true,
  1360. kindName: "车辆安全检测特约条款",
  1361. desc: "安全检测特约条款是指保险期间内,为保障车辆安全运行,保险人或其受托人根据被保险人请求,为被保险机动车提供车辆安全检测服务。"
  1362. },
  1363. {
  1364. amount: 0,
  1365. amountDesc: "不投保",
  1366. kindCode: "TY3",
  1367. isMainRisk: true,
  1368. kindName: "代为驾驶服务特约条款",
  1369. desc: "代为驾驶特约条款是指保险期间内,在被保险人或其允许的驾驶人因饮酒、服用药物等原因无法驾驶或存在重大安全驾驶隐患时,提供单程30公里以内的短途代驾服务。"
  1370. },
  1371. {
  1372. amount: 0,
  1373. amountDesc: "不投保",
  1374. kindCode: "TY4",
  1375. isMainRisk: true,
  1376. kindName: "代为送检服务特约条款",
  1377. desc: "代为送检特约条款是指保险期间内,由保险人或其受托人代替车辆所有人进行车辆送检。"
  1378. },
  1379. {
  1380. amount: "0",
  1381. amountDesc: "不投保",
  1382. amtList: [{
  1383. label: "不投保",
  1384. value: "0"
  1385. },
  1386. {
  1387. label: "50万",
  1388. value: "500000"
  1389. },
  1390. {
  1391. label: "100万",
  1392. value: "1000000"
  1393. },
  1394. {
  1395. label: "150万",
  1396. value: "1500000"
  1397. },
  1398. {
  1399. label: "200万",
  1400. value: "2000000"
  1401. },
  1402. {
  1403. label: "250万",
  1404. value: "2500000"
  1405. },
  1406. {
  1407. label: "300万",
  1408. value: "3000000"
  1409. },
  1410. {
  1411. label: "500万",
  1412. value: "5000000"
  1413. },
  1414. {
  1415. label: "1000万",
  1416. value: "10000000"
  1417. }
  1418. ],
  1419. desc: "保险期间内,被保险人或其允许的驾驶人在法定节假日期间使用被保险机动车发生机动车第三者责任保险范围内的事故,并经公安部门或保险人查勘确认的,被保险机动车第三者责任保险所适用的责任限额在保险单载明的基础上增加一倍的险种",
  1420. isMainRisk: true,
  1421. kindCode: "BD",
  1422. kindName: "法定节假日限额翻倍险",
  1423. mainRiskCodeList: "B"
  1424. }
  1425. ],
  1426. accidentForm: {
  1427. fen: "1"
  1428. }, //意外险内容
  1429. //永诚转保确认码
  1430. cqryCdeJq: "",
  1431. cqryCdeSy: "",
  1432. renewalCodeJq: "", //交强确认码
  1433. renewalCodeSy: "", //商业确认码
  1434. //-----------------
  1435. totalCompanyList: [], //保险公司列表
  1436. insAreaCompanyEditingDtos: [],
  1437. notStartedQuote: true, //未开始报价(true表示未开始报价,false表示已经报价结束)
  1438. quoteCompanyCount: 0,
  1439. ycdrivingJoyCoverage: {},
  1440. RSpreUnderwritingList: [], //人寿预核保信息
  1441. }
  1442. },
  1443. async onLoad(params) {
  1444. if (params.orderno) {
  1445. let res = await this.$http.post('/insurance/order/revise', {
  1446. orderNo: params.orderno
  1447. });
  1448. this.carInfo = res.data.carinfo; //车辆信息
  1449. this.ownerInfo = res.data.ownerinfo; //车主信息
  1450. this.policyHolderInfo = res.data.applyinfo; //投保人信息
  1451. this.insuredPersonInfo = res.data.insureinfo; //被保人信息
  1452. this.riskList = res.data.risk; //险种大类
  1453. this.kindList = res.data.king; //商业险险别
  1454. this.vehicleAndVesselTaxForm = res.data.vehicleAndVesselTax; //车船税信息
  1455. this.orderno = res.data.orderno;
  1456. this.quoteno = res.data.quoteno;
  1457. this.imageEcho(res.data.quoteno) // 影像获取完毕
  1458. this.insAreaCompanyEditingDtos = res.data.insAreaCompanyEditingDtos;
  1459. if (this.riskList.length > 0) {
  1460. for (let i = 0; i < this.riskList.length; i++) {
  1461. if (this.riskList[i].riskCode == '0507') {
  1462. this.jqstartDate = this.riskList[i].startDate;
  1463. this.jqendDate = this.riskList[i].endDate;
  1464. }
  1465. if (this.riskList[i].riskCode == '0510') {
  1466. this.systartDate = this.riskList[i].startDate;
  1467. this.syendDate = this.riskList[i].endDate;
  1468. this.kindList.map(ele1 => {
  1469. this.insuranceData.map(ele2 => {
  1470. if (ele2.kindCode == ele1.kindCode) {
  1471. switch (ele1.kindCode) {
  1472. case 'D4':
  1473. case 'SY_FJ_YBW2':
  1474. ele2.amount = ele1.unitAmount;
  1475. break;
  1476. case "MJ1":
  1477. case "MJ2":
  1478. case "MJ3":
  1479. case "MJ4":
  1480. ele2.amount = ele1.deductibleRate;
  1481. break;
  1482. case "TY1":
  1483. case "TY2":
  1484. case "TY3":
  1485. case "TY4":
  1486. ele2.amount = ele1.serviceTimes;
  1487. ele2.amountDesc = ele1.serviceTimes +
  1488. '次'
  1489. break;
  1490. default:
  1491. ele2.amount = ele1.amount;
  1492. }
  1493. }
  1494. })
  1495. })
  1496. }
  1497. }
  1498. }
  1499. } else {
  1500. const eventChannel = this.getOpenerEventChannel()
  1501. // 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
  1502. eventChannel.on('acceptData', async (data) => {
  1503. this.carInfo = data.carInfo; //车辆信息
  1504. this.ownerInfo = data.ownerInfo; //车主信息
  1505. this.policyHolderInfo = data.policyHolderInfo; //投保人信息
  1506. this.insuredPersonInfo = data.insuredPersonInfo; //被保人信息
  1507. this.riskList = data.riskList; //险种大类
  1508. this.kindList = data.kindList; //商业险险别
  1509. this.vehicleAndVesselTaxForm = data.vehicleAndVesselTaxForm; //车船税信息
  1510. this.carInfoPositiveList = data.carInfoPositiveList; //车辆
  1511. this.ownerInfoPositiveList = data.ownerInfoPositiveList; //车主
  1512. this.policyHolderInfoPositiveList = data.policyHolderInfoPositiveList; //投保
  1513. this.insuredPersonInfoPositiveList = data.insuredPersonInfoPositiveList; //被保人
  1514. if (this.riskList.length > 0) {
  1515. for (let i = 0; i < this.riskList.length; i++) {
  1516. if (this.riskList[i].riskCode == '0507') {
  1517. this.jqstartDate = this.riskList[i].startDate;
  1518. this.jqendDate = this.riskList[i].endDate;
  1519. }
  1520. if (this.riskList[i].riskCode == '0510') {
  1521. this.systartDate = this.riskList[i].startDate;
  1522. this.syendDate = this.riskList[i].endDate;
  1523. this.kindList.map(ele1 => {
  1524. this.insuranceData.map(ele2 => {
  1525. if (ele2.kindCode == ele1.kindCode) {
  1526. switch (ele1.kindCode) {
  1527. case 'D4':
  1528. case 'SY_FJ_YBW2':
  1529. ele2.amount = ele1.unitAmount;
  1530. break;
  1531. case "MJ1":
  1532. case "MJ2":
  1533. case "MJ3":
  1534. case "MJ4":
  1535. ele2.amount = ele1.deductibleRate;
  1536. break;
  1537. case "TY1":
  1538. case "TY2":
  1539. case "TY3":
  1540. case "TY4":
  1541. ele2.amount = ele1.serviceTimes;
  1542. ele2.amountDesc = ele1.serviceTimes +
  1543. '次'
  1544. break;
  1545. default:
  1546. ele2.amount = ele1.amount;
  1547. }
  1548. }
  1549. })
  1550. })
  1551. }
  1552. }
  1553. }
  1554. })
  1555. }
  1556. const storage = uni.getStorageSync('historyInfo');
  1557. if (storage) {
  1558. Object.keys(storage).forEach(key => {
  1559. this[key] = storage[key]
  1560. })
  1561. } else {
  1562. this.commpanyList();
  1563. }
  1564. },
  1565. onHide() {
  1566. let historyInfo = {
  1567. quoteno: this.quoteno,
  1568. orderno: this.orderno,
  1569. totalCompanyList: this.totalCompanyList,
  1570. zijinInsuranceData: this.zijinInsuranceData, //紫金意外险list
  1571. zijinaccidentalDrivingVo: this.zijinaccidentalDrivingVo, //紫金意外险
  1572. anshengprogrammeData: this.anshengprogrammeData,
  1573. anshengInsuranceData: this.anshengInsuranceData, //安盛意外险list
  1574. anshengaccidentalDrivingVo: this.anshengaccidentalDrivingVo, //安盛意外险
  1575. yongchengInsuranceData: this.yongchengInsuranceData, //永诚意外险list
  1576. yongchengaccidentalDrivingVo: this.yongchengaccidentalDrivingVo, //永诚意外险
  1577. zhonganInsuranceData: this.zhonganInsuranceData, //-众安意外险list
  1578. zhonganaccidentalDrivingVo: this.zhonganaccidentalDrivingVo, //众安意外险
  1579. hengbangInsuranceData: this.hengbangInsuranceData, //-恒邦意外险list
  1580. hengbangaccidentalDrivingVo: this.hengbangaccidentalDrivingVo, //恒邦意外险
  1581. renshouInsuranceData: this.renshouInsuranceData, //-人寿意外险list
  1582. renshouaccidentalDrivingVo: this.renshouaccidentalDrivingVo, //人寿意外险
  1583. }
  1584. let res = delEmptyQueryNodes(historyInfo);
  1585. uni.setStorageSync('historyInfo', res);
  1586. uni.removeStorageSync("companyId")
  1587. },
  1588. methods: {
  1589. preUnderwriting(list) {
  1590. this.RSpreUnderwritingList = list;
  1591. this.preUnderwritingshow = true;
  1592. },
  1593. // SelectAll(e) {
  1594. // this.totalCompanyList.map((ele, index) => {
  1595. // e.value ? ele.checked = true : ele.checked = false;
  1596. // this.checkboxChange(e, ele.id, ele.cnName, index)
  1597. // })
  1598. // },
  1599. jqstartconfirm(e) {
  1600. this.jqstartDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
  1601. this.jqendDate = this.oneYearPast(this.jqstartDate)
  1602. },
  1603. jqendconfirm(e) {
  1604. this.jqendDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
  1605. },
  1606. systartconfirm(e) {
  1607. this.systartDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
  1608. this.syendDate = this.oneYearPast(this.systartDate)
  1609. },
  1610. syendconfirm(e) {
  1611. this.syendDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
  1612. },
  1613. //影像查询
  1614. async imageEcho(quotenos) {
  1615. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1616. if (imgres.code == "200") {
  1617. Object.keys(imgres.data).forEach((keys) => {
  1618. if (imgres.data[keys].url) {
  1619. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1620. switch (keys) {
  1621. case 'C01':
  1622. this.carInfoPositiveList.push({
  1623. imageId: imgres.data[keys].imageId,
  1624. imageType: imgres.data[keys].imageType,
  1625. })
  1626. break;
  1627. case 'D01':
  1628. this.carInfoPositiveList.push({
  1629. imageId: imgres.data[keys].imageId,
  1630. imageType: imgres.data[keys].imageType,
  1631. })
  1632. break;
  1633. case 'C02':
  1634. this.ownerInfoPositiveList.push({
  1635. imageId: imgres.data[keys].imageId,
  1636. imageType: imgres.data[keys].imageType,
  1637. });
  1638. break;
  1639. case 'D02':
  1640. this.ownerInfoPositiveList.push({
  1641. imageId: imgres.data[keys].imageId,
  1642. imageType: imgres.data[keys].imageType,
  1643. });
  1644. break;
  1645. case 'C03':
  1646. this.policyHolderInfoPositiveList.push({
  1647. imageId: imgres.data[keys].imageId,
  1648. imageType: imgres.data[keys].imageType,
  1649. });
  1650. break;
  1651. case 'D03':
  1652. this.policyHolderInfoPositiveList.push({
  1653. imageId: imgres.data[keys].imageId,
  1654. imageType: imgres.data[keys].imageType,
  1655. });
  1656. break;
  1657. case 'C04':
  1658. this.insuredPersonInfoPositiveList.push({
  1659. imageId: imgres.data[keys].imageId,
  1660. imageType: imgres.data[keys].imageType,
  1661. });
  1662. break;
  1663. case 'D04':
  1664. this.insuredPersonInfoPositiveList.push({
  1665. imageId: imgres.data[keys].imageId,
  1666. imageType: imgres.data[keys].imageType,
  1667. });
  1668. break;
  1669. default:
  1670. break;
  1671. }
  1672. }
  1673. });
  1674. }
  1675. },
  1676. //查看详情
  1677. querydetial(id) {
  1678. this.navigate({
  1679. url: "/pages/carInsure1/quoteDetail1?companyId=" + id
  1680. },
  1681. "navigateTo", true);
  1682. },
  1683. //报价单
  1684. bjdpreview(id) {
  1685. let pro = this.userInfo.sysUser.managementSource;
  1686. if (pro == "3") {
  1687. uni.navigateTo({
  1688. url: "/pages/orders/quotation1?companyId=" + id
  1689. })
  1690. } else {
  1691. uni.navigateTo({
  1692. url: "/pages/orders/quotation?companyId=" + id
  1693. })
  1694. }
  1695. },
  1696. //选择协议
  1697. selectConfirm(e, index) {
  1698. this.totalCompanyList[index].agreementId = e[0].value;
  1699. this.totalCompanyList[index].agreementName = e[0].label;
  1700. this.totalCompanyList[index].apiType = e[0].extra;
  1701. },
  1702. //国任特约
  1703. async guoRencontributing(id) {
  1704. let guoRen = await this.$http.post('/api/guoRen/queryClauseData', {
  1705. agreementId: id,
  1706. })
  1707. if (guoRen.code == '200') {
  1708. this.guoRenSpecialAgreementData = guoRen.data;
  1709. this.guoRencontributingshow = true;
  1710. }
  1711. },
  1712. guoRencontributingChange(param) {
  1713. this.guoRenSpecialAgreementVo = [];
  1714. param.map(val => {
  1715. let list = this.guoRenSpecialAgreementData.find(item => item.clauseCode == val)
  1716. this.guoRenSpecialAgreementVo.push({
  1717. clauseCode: list.clauseCode,
  1718. clauses: list.clauses,
  1719. clausesContext: list.clausesContext,
  1720. riskCode: list.riskCode,
  1721. riskName: list.riskName,
  1722. })
  1723. })
  1724. },
  1725. /**
  1726. * 选择保险公司方法
  1727. * @param {String} event change选中事件
  1728. * @param {String} code 保险公司ID
  1729. * @param {String} name 保险公司主体全拼
  1730. * @param {String} index 选中下标
  1731. */
  1732. async checkboxChange(event, code, name, index) {
  1733. if (event.value) {
  1734. let ins = this.totalCompanyList[index].namesimple;
  1735. this.totalCompanyList[index].checked = event.value;
  1736. let list = this.totalCompanyList[index].agreement;
  1737. // let arr = this.totalCompanyList[index].agreement;
  1738. // let list = [];
  1739. // list = arr.filter(item => {
  1740. // return item.licenseNo.length > 0 ? item.licenseNo.includes(this.carInfo.licenseNo.slice(0,2)) : "true"
  1741. // })
  1742. list.map(ele => {
  1743. ele.extra = ele.apiType;
  1744. return ele;
  1745. })
  1746. this.totalCompanyList[index].agreement = list;
  1747. this.totalCompanyList[index].agreementId = this.totalCompanyList[index].agreement[0].id;
  1748. this.totalCompanyList[index].agreementName = this.totalCompanyList[index].agreement[0]
  1749. .agreementName;
  1750. this.totalCompanyList[index].apiType = this.totalCompanyList[index].agreement[0].extra;
  1751. this.totalCompanyList[index].underwritingDescription = this.totalCompanyList[index].agreement[0]
  1752. .underwritingDescription;
  1753. switch (ins) {
  1754. case '永诚财险':
  1755. let yccallback = await this.$http.post('/api/yongCheng/gainAccidentList', {
  1756. agreementId: this.totalCompanyList[index].agreement[0].id,
  1757. companyCode: code,
  1758. seatNum: Number(this.carInfo.seatCount)
  1759. });
  1760. if (yccallback.code == '200') {
  1761. let yccallback1 = await this.$http.post(
  1762. '/api/yongCheng/gainAccidentSchemeList', {
  1763. agreementId: this.totalCompanyList[index].agreement[0].id,
  1764. companyCode: code,
  1765. code: yccallback.data[0].code,
  1766. seatNum: Number(this.carInfo.seatCount)
  1767. });
  1768. yccallback1.data.map(val => {
  1769. yccallback.data[0].premium += Number(val.premium)
  1770. return val;
  1771. })
  1772. let data = yccallback.data;
  1773. data.map(ele => {
  1774. ele.quantity = 1;
  1775. return ele;
  1776. })
  1777. this.yongchengInsuranceData = data;
  1778. this.yongchengaccidentalDrivingVo = {
  1779. rideRiskCode: data[0].code,
  1780. rideRiskName: data[0].name,
  1781. quantity: data[0].quantity,
  1782. premium: data[0].premium,
  1783. };
  1784. this.ycdrivingJoyCoverage = {
  1785. agreementId: this.totalCompanyList[index].agreement[0].id,
  1786. companyCode: code,
  1787. seatNum: Number(this.carInfo.seatCount)
  1788. }
  1789. }
  1790. break;
  1791. case '紫金财险':
  1792. let zjcallback = await this.$http.post('/order/zijin/queryVehicleProducts', {
  1793. agreementId: this.totalCompanyList[index].agreement[0].id,
  1794. seatCount: Number(this.carInfo.seatCount)
  1795. });
  1796. if (zjcallback.code == '200') {
  1797. let data = zjcallback.data;
  1798. data.map(ele => {
  1799. ele.quantity = 1;
  1800. return ele;
  1801. })
  1802. this.zijinInsuranceData = data;
  1803. }
  1804. break;
  1805. case '安盛天平':
  1806. let ascallback = await this.$http.post('/insurance/crawler/getDrivingInsurance', {
  1807. agreementId: this.totalCompanyList[index].agreement[0].id
  1808. });
  1809. if (ascallback.code == '200') {
  1810. let data = ascallback.data;
  1811. data.map(ele => {
  1812. ele.departmentProductList.map(val => {
  1813. val.quantity = 1;
  1814. })
  1815. return ele;
  1816. })
  1817. this.anshengprogrammeData = data;
  1818. this.anshengInsuranceData = data[0].departmentProductList;
  1819. this.anshengaccidentalDrivingVo = {
  1820. personFlag: data[0].personFlag,
  1821. planChineseName: data[0].planChineseName,
  1822. planCode: data[0].planCode,
  1823. planSeries: data[0].planSeries,
  1824. productCode: data[0].departmentProductList[0].productCode,
  1825. productName: data[0].departmentProductList[0].productName,
  1826. quantity: data[0].departmentProductList[0].quantity
  1827. }
  1828. }
  1829. break;
  1830. case '国任财险':
  1831. let grcallback = await this.$http.post('/api/guoRen/syncNonAutoIns', {
  1832. agreementId: this.totalCompanyList[index].agreement[0].id
  1833. });
  1834. if (grcallback.code == '200') {
  1835. let data = grcallback.data;
  1836. this.guorenprogrammeData = data;
  1837. let grcallback1 = await this.$http.post('/api/guoRen/syncNonAutoIns', {
  1838. goodsCode: grcallback.data[0].goodId
  1839. });
  1840. this.guorenInsuranceData = grcallback1.data;
  1841. this.guorenaccidentalDrivingVo = {
  1842. goodsCode: data[0].goodId, //驾意险商品号
  1843. prodCode: grcallback1.data[0].prodCode, //产品code
  1844. riskCode: grcallback1.data[0].riskCode, //险种code
  1845. premium: grcallback1.data[0].premium, //保费
  1846. amount: grcallback1.data[0].amount, //保额
  1847. quantity: Number(grcallback1.data[0].policyNum), //份数
  1848. goodDesc: data[0].goodDesc, //驾意险商品名称
  1849. prodCName: grcallback1.data[0].prodCName, //产品名称
  1850. policyNum: Number(grcallback1.data[0].appnum), //最大份数
  1851. }
  1852. }
  1853. break;
  1854. case '大家财险':
  1855. let djcallback = await this.$http.post('/api/dajia/accidentalDrivingList', {
  1856. agreementId: this.totalCompanyList[index].agreement[0].id
  1857. });
  1858. if (djcallback.code == '200') {
  1859. let data = djcallback.data;
  1860. data.map(ele => {
  1861. ele.quantity = 1;
  1862. return ele;
  1863. })
  1864. this.dajiaInsuranceData = data;
  1865. this.dajiaaccidentalDrivingVo = {
  1866. rideRiskCode: data[0].id,
  1867. rideRiskName: data[0].productName,
  1868. quantity: data[0].quantity,
  1869. price: data[0].price,
  1870. };
  1871. }
  1872. break;
  1873. case '中煤财险':
  1874. let zmcallback = await this.$http.post('/order/zhongMeiApi/queryRideAccident', {
  1875. agreementId: this.totalCompanyList[index].agreement[0].id,
  1876. seatNum: Number(this.carInfo.seatCount)
  1877. });
  1878. if (zmcallback.code == '200') {
  1879. let data = zmcallback.data;
  1880. data.map(ele => {
  1881. ele.quantity = 1;
  1882. return ele;
  1883. })
  1884. this.zhongmeiInsuranceData = data;
  1885. this.zhongmeiaccidentalDrivingVo = {
  1886. rideRiskCode: data[0].rideRiskCode,
  1887. rideRiskName: data[0].rideRiskName,
  1888. quantity: data[0].quantity,
  1889. maxQuantity: data[0].maxQuantity,
  1890. unitPremium: data[0].unitPremium,
  1891. };
  1892. }
  1893. break;
  1894. case '渤海财险':
  1895. let bhcallback = await this.$http.post('/order/boHaiApi/productQuery', {
  1896. agreementId: this.totalCompanyList[index].agreement[0].id,
  1897. insuredPersonInfo: this.insuredPersonInfo,
  1898. policyHolderInfo: this.policyHolderInfo,
  1899. carnature: this.carInfo.carnature,
  1900. cimodelclass: this.carInfo.cimodelclass,
  1901. exhaustScale: this.carInfo.enginedesc,
  1902. limitLoad: "",
  1903. powerScale: this.carInfo.powerScale,
  1904. seatCount: Number(this.carInfo.seatCount),
  1905. vehicleUse: this.carInfo.vehicleUse,
  1906. });
  1907. if (bhcallback.code == '200') {
  1908. let data = bhcallback.data;
  1909. data.map(ele => {
  1910. ele.copies = 1;
  1911. return ele;
  1912. })
  1913. this.bohaiInsuranceData = data;
  1914. this.bohaiaccidentalDrivingVo = {
  1915. packageCode: data[0].packageCode,
  1916. productCode: data[0].productCode,
  1917. copies: data[0].copies,
  1918. premium: data[0].premium,
  1919. packageName: data[0].packageName,
  1920. };
  1921. }
  1922. break;
  1923. case '中国人寿':
  1924. case '恒邦财险':
  1925. case '众安财险':
  1926. case '太平财险':
  1927. case '华农财险':
  1928. let Insurancecallback = await this.$http.post(
  1929. '/insurance/crawler/getDrivingInsurance', {
  1930. agreementId: this.totalCompanyList[index].agreement[0].id
  1931. });
  1932. if (Insurancecallback.code == 200) {
  1933. let data = Insurancecallback.data;
  1934. if (ins == '华农财险') {
  1935. data.map(ele => {
  1936. ele.accidentType = "";
  1937. ele.allQuantity = 1;
  1938. return ele;
  1939. })
  1940. data[0].accidentType = data[0].planCode;
  1941. } else {
  1942. data.map(ele => {
  1943. ele.quantity = 1;
  1944. return ele;
  1945. })
  1946. }
  1947. this[name + "InsuranceData"] = data;
  1948. this[name + 'accidentalDrivingVo'] = data[0];
  1949. }
  1950. break;
  1951. default:
  1952. break;
  1953. }
  1954. } else {}
  1955. },
  1956. //驾意险勾选框
  1957. checkboxChangeInfo(event, index) {
  1958. this.totalCompanyList[index].jychecked = event.value;
  1959. },
  1960. //中煤
  1961. ZMradioChange(id) {
  1962. let info = this.zhongmeiInsuranceData.find(val => val.rideRiskCode == id)
  1963. this.zhongmeiaccidentalDrivingVo = {
  1964. rideRiskCode: info.rideRiskCode,
  1965. rideRiskName: info.rideRiskName,
  1966. quantity: info.quantity,
  1967. maxQuantity: info.maxQuantity,
  1968. unitPremium: info.unitPremium,
  1969. }
  1970. this.zhongmeiPopupshow = false;
  1971. },
  1972. //渤海意外险
  1973. BHradioChange(id) {
  1974. let info = this.bohaiInsuranceData.find(val => val.productCode == id)
  1975. this.bohaiaccidentalDrivingVo = {
  1976. packageCode: info.packageCode,
  1977. productCode: info.productCode,
  1978. copies: info.copies,
  1979. packageName: info.packageName,
  1980. premium: info.premium,
  1981. }
  1982. this.bohaiPopupshow = false;
  1983. },
  1984. //人寿意外险
  1985. RSradioChange(id) {
  1986. this.renshouaccidentalDrivingVo = this.renshouInsuranceData.find(val => val.id == id)
  1987. this.renshouPopupshow = false;
  1988. },
  1989. //恒邦意外险
  1990. HBradioChange(id) {
  1991. this.hengbangaccidentalDrivingVo = this.hengbangInsuranceData.find(val => val.programcode ==
  1992. id)
  1993. this.hengbangPopupshow = false;
  1994. },
  1995. //众安意外险
  1996. ZAradioChange(id) {
  1997. this.zhonganaccidentalDrivingVo = this.zhonganInsuranceData.find(val => val.combination == id)
  1998. this.zhonganPopupshow = false;
  1999. },
  2000. //华农驾意险
  2001. HNradioChange(id) {
  2002. this.huanongaccidentalDrivingVo = this.huanongInsuranceData.find(val => val.planCode == id);
  2003. this.huanongaccidentalDrivingVo.accidentType = this.huanongaccidentalDrivingVo.planCode;
  2004. this.huanongPopupshow = false;
  2005. },
  2006. //大家意外险
  2007. DJradioChange(id) {
  2008. let info = this.dajiaInsuranceData.find(val => val.id == id)
  2009. this.dajiaaccidentalDrivingVo = {
  2010. rideRiskCode: info.id,
  2011. rideRiskName: info.productName,
  2012. quantity: info.quantity,
  2013. price: info.price,
  2014. };
  2015. this.dajiaPopupshow = false;
  2016. },
  2017. TPradioChange(id) {
  2018. this.taipingaccidentalDrivingVo = this.taipingInsuranceData.find(val => val.id == id)
  2019. this.taipingPopupshow = false;
  2020. },
  2021. //永诚意外险
  2022. async YCradioChange(id) {
  2023. let premium = 0;
  2024. let yccallback1 = await this.$http.post(
  2025. '/api/yongCheng/gainAccidentSchemeList', {
  2026. agreementId: this.ycdrivingJoyCoverage.agreementId,
  2027. companyCode: this.ycdrivingJoyCoverage.companyCode,
  2028. code: id,
  2029. seatNum: this.ycdrivingJoyCoverage.seatNum
  2030. });
  2031. yccallback1.data.forEach(val => {
  2032. premium += Number(val.premium);
  2033. })
  2034. let info = this.yongchengInsuranceData.find(val => val.code == id)
  2035. this.yongchengaccidentalDrivingVo.rideRiskCode = info.code;
  2036. this.yongchengaccidentalDrivingVo.rideRiskName = info.name;
  2037. this.yongchengaccidentalDrivingVo.quantity = info.quantity;
  2038. this.yongchengaccidentalDrivingVo.premium = premium;
  2039. this.yongchengPopupshow = false;
  2040. },
  2041. //安盛一级选择
  2042. ASprogrammeradioChange(id) {
  2043. let info = this.anshengprogrammeData.find((val => val.planCode == id))
  2044. this.anshengPopupshow = false;
  2045. this.anshengInsuranceData = info.departmentProductList;
  2046. let dataInfo = {
  2047. personFlag: info.personFlag,
  2048. planChineseName: info.planChineseName,
  2049. planCode: info.planCode,
  2050. planSeries: info.planSeries,
  2051. productCode: info.departmentProductList[0].productCode,
  2052. productName: info.departmentProductList[0].productName,
  2053. quantity: info.departmentProductList[0].quantity
  2054. }
  2055. Object.assign(this.anshengaccidentalDrivingVo, dataInfo);
  2056. },
  2057. //安盛二级选择
  2058. ASInsuranceradioChange(id) {
  2059. let info = this.anshengInsuranceData.find((val => val.productCode == id))
  2060. Object.assign(this.anshengaccidentalDrivingVo, info);
  2061. this.anshengPopupshow1 = false;
  2062. },
  2063. //国任一级选择
  2064. async GRprogrammeradioChange(id) {
  2065. let info = this.guorenprogrammeData.find((val => val.goodId == id))
  2066. this.guorenPopupshow = false;
  2067. this.guorenaccidentalDrivingVo.goodsCode = info.goodId;
  2068. this.guorenaccidentalDrivingVo.goodDesc = info.goodDesc;
  2069. let res = await this.$http.post('/api/guoRen/syncNonAutoIns', {
  2070. goodsCode: info.goodId
  2071. });
  2072. if (res.code == '200') {
  2073. this.guorenInsuranceData = res.data;
  2074. let dataInfo = {
  2075. prodCode: res.data[0].prodCode, //产品code
  2076. riskCode: res.data[0].riskCode, //险种code
  2077. premium: res.data[0].premium, //保费
  2078. amount: res.data[0].amount, //保额
  2079. quantity: Number(res.data[0].policyNum), //份数
  2080. prodCName: res.data[0].prodCName, //产品名称
  2081. policyNum: res.data[0].appnum, //最大份数
  2082. }
  2083. Object.assign(this.guorenaccidentalDrivingVo, dataInfo);
  2084. } else {
  2085. uni.showToast({
  2086. title: res.msg,
  2087. icon: 'none',
  2088. });
  2089. this.guorenInsuranceData = []
  2090. }
  2091. },
  2092. //国任二级选择
  2093. GRInsuranceradioChange(id) {
  2094. let info = this.guorenInsuranceData.find((val => val.prodCode == id))
  2095. let dataInfo = {
  2096. prodCode: info.prodCode, //产品code
  2097. riskCode: info.riskCode, //险种code
  2098. premium: info.premium, //保费
  2099. amount: info.amount, //保额
  2100. quantity: Number(info.policyNum), //份数
  2101. prodCName: info.prodCName, //产品名称
  2102. policyNum: info.appnum, //最大份数
  2103. }
  2104. Object.assign(this.guorenaccidentalDrivingVo, dataInfo);
  2105. this.guorenPopupshow1 = false;
  2106. },
  2107. //紫金意外险
  2108. ZJcheckboxGroupChange(detail) {
  2109. this.zijinaccidentalDrivingVo = [];
  2110. detail.map(val => {
  2111. let list = this.zijinInsuranceData.find(item => item.projectCode == val)
  2112. this.zijinaccidentalDrivingVo.push(list)
  2113. })
  2114. },
  2115. //获取保险公司列表
  2116. async commpanyList() {
  2117. let commpanykad = await this.$http.get('/tax/manager/getAllAgreement');
  2118. commpanykad.data.map(ele => {
  2119. ele["result"] = {};
  2120. ele["quoteCode"] = 0;
  2121. ele["checked"] = false;
  2122. ele["jychecked"] = false;
  2123. ele["msg"] = "";
  2124. ele["agreementId"] = "";
  2125. ele["lastYearMsg"] = "";
  2126. ele["agreementName"] = "";
  2127. ele["apiType"] = "";
  2128. ele["coefficient"] = "";
  2129. ele["syAdjustRate"] = "";
  2130. ele["selectShow"] = false;
  2131. ele['underwritingDescription'] = "";
  2132. })
  2133. if (this.insAreaCompanyEditingDtos.length > 0) {
  2134. commpanykad.data.forEach((val, index) => {
  2135. this.insAreaCompanyEditingDtos.map(ele => {
  2136. if (val.namesimple == ele.inscompany) {
  2137. commpanykad.data[index].quoteCode = 200;
  2138. commpanykad.data[index].result = ele;
  2139. }
  2140. })
  2141. })
  2142. }
  2143. this.totalCompanyList = commpanykad.data;
  2144. },
  2145. async toNext() {
  2146. var allAreFalse = this.totalCompanyList.every(function(element) {
  2147. return element.checked === false;
  2148. });
  2149. if (!allAreFalse) {
  2150. this.OrderStageProcessing();
  2151. } else {
  2152. uni.showToast({
  2153. title: "请选择保险公司后,在进行报价",
  2154. icon: 'none',
  2155. });
  2156. }
  2157. },
  2158. async OrderStageProcessing() {
  2159. this.riskList.map(val => {
  2160. if (val.riskCode == '0507') {
  2161. val.startDate = this.jqstartDate;
  2162. val.endDate = this.jqendDate;
  2163. } else if (val.riskCode == '0510') {
  2164. val.startDate = this.systartDate;
  2165. val.endDate = this.syendDate;
  2166. }
  2167. })
  2168. let param = {
  2169. userId: this.userInfo.sysUser.id,
  2170. quoteno: this.quoteno ? this.quoteno : "",
  2171. orderNo: this.orderno ? this.orderno : "",
  2172. carInfo: this.carInfo,
  2173. insuredPersonInfo: this.insuredPersonInfo,
  2174. ownerInfo: this.ownerInfo,
  2175. policyHolderInfo: this.policyHolderInfo,
  2176. kindList: this.kindList,
  2177. riskList: this.riskList,
  2178. vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
  2179. };
  2180. let orders = await this.$http.post('/insurance/order/generateOrder', param);
  2181. if (orders.code == '200') {
  2182. this.orderno = orders.data.orderno;
  2183. this.quoteno = orders.data.quoteno;
  2184. let mergedArray = [];
  2185. let mergedArrayList = mergedArray.concat(this.carInfoPositiveList, this
  2186. .ownerInfoPositiveList, this
  2187. .policyHolderInfoPositiveList, this.insuredPersonInfoPositiveList)
  2188. if (mergedArrayList.length > 0) {
  2189. await this.$http.post('/ins/taskImage/uploadImages', {
  2190. imageList: mergedArrayList,
  2191. quoteNo: this.quoteno,
  2192. })
  2193. }
  2194. this.totalCompanyList.map((ele, index) => {
  2195. if (ele.checked) {
  2196. //动态调用报价接口
  2197. ele.quoteCode = "1";
  2198. this.ToolClickFun(ele.cnName, index, ele.id);
  2199. }
  2200. });
  2201. } else if (orders.code == '1001') {
  2202. this.Generateshow = true;
  2203. } else {
  2204. uni.showToast({
  2205. title: orders.msg,
  2206. icon: 'none',
  2207. });
  2208. }
  2209. },
  2210. GenerateModalConfirm() {
  2211. this.orderno = "";
  2212. this.quoteno = "";
  2213. this.toNext();
  2214. },
  2215. //动态函数
  2216. ToolClickFun(MethodName, Parameter, companyId) {
  2217. this[`${MethodName}`](Parameter, companyId)
  2218. },
  2219. //永安报价
  2220. async yongan(num, id) {
  2221. let params = {
  2222. orderNo: this.orderno,
  2223. companyId: id
  2224. };
  2225. let quote = await this.$http('/order/yongAn/quote', params);
  2226. if (quote.msg == "重复投保" && quote.code == "501") {
  2227. if (!!quote.data.jqStartDate && !quote.data.syStartDate) {
  2228. this.jqstartDate = quote.data.jqStartDate;
  2229. this.jqendDate = quote.data.jqEndDate;
  2230. if (this.riskList.length > 0) {
  2231. for (let i = 0; i < this.riskList.length; i++) {
  2232. if (this.riskList[i].riskCode == "0507") {
  2233. this.riskList[i].startDate = quote.data.jqStartDate;
  2234. this.riskList[i].endDate = quote.data.jqEndDate;
  2235. }
  2236. }
  2237. }
  2238. let param = {
  2239. userId: this.userInfo.sysUser.id,
  2240. quoteno: this.quoteno,
  2241. orderNo: this.orderno,
  2242. carInfo: this.carInfo,
  2243. insuredPersonInfo: this.insuredPersonInfo,
  2244. ownerInfo: this.ownerInfo,
  2245. policyHolderInfo: this.policyHolderInfo,
  2246. kindList: this.kindList,
  2247. riskList: this.riskList,
  2248. vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
  2249. };
  2250. await this.$http.post('/insurance/order/generateOrder', param);
  2251. return this.yongan(num, id);
  2252. } else if (!!quote.data.syStartDate && !quote.data.jqStartDate) {
  2253. } else if (!!quote.data.syStartDate && !!quote.data.jqStartDate) {
  2254. } else {
  2255. this.totalCompanyList[num].quoteCode = "3";
  2256. this.totalCompanyList[num].msg = "重复投保";
  2257. }
  2258. } else if (quote.code == "500" || quote.code == "502" || quote.code ==
  2259. "-9999") {
  2260. this.totalCompanyList[num].quoteCode = "-9999";
  2261. this.totalCompanyList[num].msg = quote.msg;
  2262. } else {
  2263. this.totalCompanyList[num].quoteCode = 200;
  2264. this.totalCompanyList[num].result = quote.data;
  2265. }
  2266. },
  2267. //中煤报价
  2268. async zhongmei(num, id) {
  2269. let jychecked = this.totalCompanyList[num].jychecked;
  2270. let params = {
  2271. accidentalDrivingVo: jychecked ? this.zhongmeiaccidentalDrivingVo : {},
  2272. orderNo: this.orderno,
  2273. companyId: id,
  2274. agreementId: this.totalCompanyList[num].agreementId,
  2275. };
  2276. let res = await this.$http.post('/order/zhongMeiApi/quote', params);
  2277. this.totalCompanyList[num].msg = res.msg;
  2278. if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
  2279. this.totalCompanyList[num].quoteCode = "4";
  2280. this.totalCompanyList[num].msg = res.msg;
  2281. return;
  2282. } else if (
  2283. res.data == null &&
  2284. res.msg.indexOf("交强险平台返回") > -1 &&
  2285. res.msg.indexOf(";终保日期") > -1
  2286. ) {
  2287. let time =
  2288. res.msg.substr(res.msg.indexOf(";终保日期 ") + 6, 16) + ":00";
  2289. this.jqstartDate = time;
  2290. this.jqendDate = this.oneYearPast(time);
  2291. if (this.riskList.length > 0) {
  2292. for (let i = 0; i < this.riskList.length; i++) {
  2293. if (this.riskList[i].riskCode == "0507") {
  2294. this.riskList[i].startDate = time;
  2295. this.riskList[i].endDate = this.oneYearPast(time);
  2296. }
  2297. }
  2298. }
  2299. let param = {
  2300. userId: this.userInfo.sysUser.id,
  2301. quoteno: this.quoteno,
  2302. orderNo: this.orderno,
  2303. carInfo: this.carInfo,
  2304. insuredPersonInfo: this.insuredPersonInfo,
  2305. ownerInfo: this.ownerInfo,
  2306. policyHolderInfo: this.policyHolderInfo,
  2307. kindList: this.kindList,
  2308. riskList: this.riskList,
  2309. vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
  2310. };
  2311. await this.$http.post('/insurance/order/generateOrder', param);
  2312. return this.zhongmei(num, id);
  2313. } else if (res.code == '200') {
  2314. if (res.data.warnMessageList != null && res.data.warnMessageList[
  2315. 0] != null && res.data
  2316. .warnMessageList[
  2317. 0] != "") {
  2318. this.totalCompanyList[num].lastYearMsg = "";
  2319. let dat = res.data.warnMessageList;
  2320. dat.map(ele => {
  2321. this.totalCompanyList[num].lastYearMsg += ele +
  2322. '<br>';
  2323. })
  2324. }
  2325. this.totalCompanyList[num].quoteCode = 200;
  2326. this.totalCompanyList[num].result = res.data;
  2327. } else {
  2328. this.totalCompanyList[num].quoteCode = "3";
  2329. this.totalCompanyList[num].msg = res.msg;
  2330. return;
  2331. }
  2332. },
  2333. //渤海报价
  2334. async bohai(num, id) {
  2335. let jychecked = this.totalCompanyList[num].jychecked;
  2336. let params = {
  2337. accidentalDrivingVo: jychecked ? [this.bohaiaccidentalDrivingVo] : [],
  2338. orderNo: this.orderno,
  2339. companyId: id,
  2340. agreementId: this.totalCompanyList[num].agreementId,
  2341. };
  2342. let res = await this.$http.post('/order/boHaiApi/quote', params);
  2343. this.totalCompanyList[num].msg = res.msg;
  2344. if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
  2345. this.totalCompanyList[num].quoteCode = "4";
  2346. this.totalCompanyList[num].msg = res.msg;
  2347. return;
  2348. } else if (
  2349. res.data == null &&
  2350. res.msg.indexOf("交强险平台返回") > -1 &&
  2351. res.msg.indexOf(";终保日期") > -1
  2352. ) {
  2353. let time =
  2354. res.msg.substr(res.msg.indexOf(";终保日期 ") + 6, 16) + ":00";
  2355. this.jqstartDate = time;
  2356. this.jqendDate = this.oneYearPast(time);
  2357. if (this.riskList.length > 0) {
  2358. for (let i = 0; i < this.riskList.length; i++) {
  2359. if (this.riskList[i].riskCode == "0507") {
  2360. this.riskList[i].startDate = time;
  2361. this.riskList[i].endDate = this.oneYearPast(time);
  2362. }
  2363. }
  2364. }
  2365. let param = {
  2366. userId: this.userInfo.sysUser.id,
  2367. quoteno: this.quoteno,
  2368. orderNo: this.orderno,
  2369. carInfo: this.carInfo,
  2370. insuredPersonInfo: this.insuredPersonInfo,
  2371. ownerInfo: this.ownerInfo,
  2372. policyHolderInfo: this.policyHolderInfo,
  2373. kindList: this.kindList,
  2374. riskList: this.riskList,
  2375. vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
  2376. };
  2377. await this.$http.post('/insurance/order/generateOrder', param);
  2378. return this.zhongmei(num, id);
  2379. } else if (res.code == '200') {
  2380. if (res.data.warnMessageList != null && res.data.warnMessageList[
  2381. 0] != null && res.data
  2382. .warnMessageList[
  2383. 0] != "") {
  2384. this.totalCompanyList[num].lastYearMsg = "";
  2385. let dat = res.data.warnMessageList;
  2386. dat.map(ele => {
  2387. this.totalCompanyList[num].lastYearMsg += ele +
  2388. '<br>';
  2389. })
  2390. }
  2391. this.totalCompanyList[num].quoteCode = 200;
  2392. this.totalCompanyList[num].result = res.data;
  2393. } else {
  2394. this.totalCompanyList[num].quoteCode = "3";
  2395. this.totalCompanyList[num].msg = res.msg;
  2396. return;
  2397. }
  2398. },
  2399. //永诚报价
  2400. async yongcheng(num, id) {
  2401. let jychecked = this.totalCompanyList[num].jychecked
  2402. let params = {
  2403. accidentalDrivingVo: jychecked ? this
  2404. .yongchengaccidentalDrivingVo : {},
  2405. orderNo: this.orderno,
  2406. companyId: id,
  2407. cqryCdeJq: this.cqryCdeJq,
  2408. cqryCdeSy: this.cqryCdeSy,
  2409. renewalCodeJq: this.renewalCodeJq,
  2410. renewalCodeSy: this.renewalCodeSy,
  2411. agreementId: this.totalCompanyList[num].agreementId,
  2412. };
  2413. let res = await this.$http.post('/api/yongCheng/quote', params);
  2414. this.totalCompanyList[num].msg = res.msg;
  2415. if (res.code == "200") {
  2416. if (res.data.warnMessageList != null && res.data
  2417. .warnMessageList[0] != null && res.data
  2418. .warnMessageList[
  2419. 0] != "") {
  2420. this.totalCompanyList[num].lastYearMsg = "";
  2421. let dat = res.data.warnMessageList;
  2422. dat.map(ele => {
  2423. this.totalCompanyList[num].lastYearMsg += ele +
  2424. '<br>';
  2425. })
  2426. }
  2427. this.totalCompanyList[num].quoteCode = 200;
  2428. this.totalCompanyList[num].result = res.data;
  2429. } else if (res.code == "101") {
  2430. this.totalCompanyList[num].quoteCode = "101";
  2431. this.totalCompanyList[num].msg = res.msg;
  2432. this.cqryCdeJq = res.data.cqryCdeJq;
  2433. this.cqryCdeSy = res.data.cqryCdeSy;
  2434. let jq = res.data.renewalCodeJq.replace(/[\r\n]/g, "");
  2435. let jqBase64 = `data:image/png;base64,${jq}`;
  2436. this.renewalCodeJqImg = jqBase64;
  2437. if (res.data.renewalCodeSy) {
  2438. let sy = res.data.renewalCodeSy.replace(/[\r\n]/g, "");
  2439. let syBase64 = `data:image/png;base64,${sy}`;
  2440. this.renewalCodeSyImg = syBase64;
  2441. }
  2442. this.renewalCodedialogVisible = true;
  2443. } else {
  2444. this.totalCompanyList[num].quoteCode = "3";
  2445. this.totalCompanyList[num].msg = res.msg;
  2446. return;
  2447. }
  2448. },
  2449. //紫金报价
  2450. async zijin(num, id) {
  2451. let params = {
  2452. accidentalDrivingVo: this.zijinaccidentalDrivingVo,
  2453. orderNo: this.orderno,
  2454. companyId: id,
  2455. agreementId: this.totalCompanyList[num].agreementId,
  2456. coefficient: this.totalCompanyList[num].coefficient,
  2457. };
  2458. let res = await this.$http.post('/order/zijin/quote', params);
  2459. this.totalCompanyList[num].msg = res.msg;
  2460. if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
  2461. this.totalCompanyList[num].quoteCode = "4";
  2462. this.totalCompanyList[num].msg = res.msg;
  2463. return;
  2464. } else if (
  2465. res.data == null &&
  2466. res.msg.indexOf("交强险平台返回") > -1 &&
  2467. res.msg.indexOf(";终保日期") > -1
  2468. ) {
  2469. let time =
  2470. res.msg.substr(res.msg.indexOf(";终保日期 ") + 6, 16) +
  2471. ":00";
  2472. this.jqstartDate = time;
  2473. this.jqendDate = this.oneYearPast(time);
  2474. this.systartDate = time;
  2475. this.syendDate = this.oneYearPast(time);
  2476. if (this.riskList.length > 0) {
  2477. for (let i = 0; i < this.riskList.length; i++) {
  2478. if (this.riskList[i].riskCode == "0507") {
  2479. this.riskList[i].startDate = time;
  2480. this.riskList[i].endDate = this.oneYearPast(
  2481. time);
  2482. } else if (this.riskList[i].riskCode == "0510") {
  2483. this.riskList[i].startDate = time;
  2484. this.riskList[i].endDate = this.oneYearPast(
  2485. time);
  2486. }
  2487. }
  2488. }
  2489. let param = {
  2490. userId: this.userInfo.sysUser.id,
  2491. quoteno: this.quoteno,
  2492. orderNo: this.orderno,
  2493. carInfo: this.carInfo,
  2494. insuredPersonInfo: this.insuredPersonInfo,
  2495. ownerInfo: this.ownerInfo,
  2496. policyHolderInfo: this.policyHolderInfo,
  2497. kindList: this.kindList,
  2498. riskList: this.riskList,
  2499. vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
  2500. };
  2501. await this.$http.post('/insurance/order/generateOrder',
  2502. param);
  2503. return this.zijin(num, id);
  2504. } else if (res.code == '200') {
  2505. if (res.data.warnMessageList != null && res.data
  2506. .warnMessageList[0] != null && res.data
  2507. .warnMessageList[
  2508. 0] != "") {
  2509. this.totalCompanyList[num].lastYearMsg = "";
  2510. let dat = res.data.warnMessageList;
  2511. dat.map(ele => {
  2512. this.totalCompanyList[num].lastYearMsg +=
  2513. ele + '<br>';
  2514. })
  2515. }
  2516. this.totalCompanyList[num].quoteCode = 200;
  2517. this.totalCompanyList[num].result = res.data;
  2518. } else {
  2519. this.totalCompanyList[num].quoteCode = "3";
  2520. this.totalCompanyList[num].msg = res.msg;
  2521. return;
  2522. }
  2523. },
  2524. //国任报价
  2525. async guoRen(num, id) {
  2526. let jychecked = this.totalCompanyList[num].jychecked
  2527. let params = {
  2528. accidentalDrivingVo: jychecked ? this
  2529. .guorenaccidentalDrivingVo : {},
  2530. orderNo: this.orderno,
  2531. companyId: id,
  2532. agreementId: this.totalCompanyList[num]
  2533. .agreementId,
  2534. guoRenSpecialAgreementVo: this.guoRenSpecialAgreementVo,
  2535. };
  2536. let res = await this.$http.post('/api/guoRen/quote',
  2537. params);
  2538. this.totalCompanyList[num].msg = res.msg;
  2539. if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
  2540. this.totalCompanyList[num].quoteCode = "4";
  2541. this.totalCompanyList[num].msg = res.msg;
  2542. return;
  2543. } else if (
  2544. res.data == null &&
  2545. res.msg.indexOf("交强险平台返回") > -1 &&
  2546. res.msg.indexOf(";终保日期") > -1
  2547. ) {
  2548. let time =
  2549. res.msg.substr(res.msg.indexOf(";终保日期 ") + 6, 16) +
  2550. ":00";
  2551. this.jqstartDate = time;
  2552. this.jqendDate = this.oneYearPast(time);
  2553. this.systartDate = time;
  2554. this.syendDate = this.oneYearPast(time);
  2555. if (this.riskList.length > 0) {
  2556. for (let i = 0; i < this.riskList.length; i++) {
  2557. if (this.riskList[i].riskCode == "0507") {
  2558. this.riskList[i].startDate = time;
  2559. this.riskList[i].endDate = this
  2560. .oneYearPast(time);
  2561. } else if (this.riskList[i].riskCode ==
  2562. "0510") {
  2563. this.riskList[i].startDate = time;
  2564. this.riskList[i].endDate = this
  2565. .oneYearPast(time);
  2566. }
  2567. }
  2568. }
  2569. let param = {
  2570. userId: this.userInfo.sysUser.id,
  2571. quoteno: this.quoteno,
  2572. orderNo: this.orderno,
  2573. carInfo: this.carInfo,
  2574. insuredPersonInfo: this.insuredPersonInfo,
  2575. ownerInfo: this.ownerInfo,
  2576. policyHolderInfo: this.policyHolderInfo,
  2577. kindList: this.kindList,
  2578. riskList: this.riskList,
  2579. vehicleAndVesselTax: this
  2580. .vehicleAndVesselTaxForm,
  2581. };
  2582. await this.$http.post('/insurance/order/generateOrder',
  2583. param);
  2584. return this.guoRen(num, id);
  2585. } else if (res.code == '200') {
  2586. if (res.data.warnMessageList != null && res.data
  2587. .warnMessageList[0] != null && res.data
  2588. .warnMessageList[
  2589. 0] != "") {
  2590. this.totalCompanyList[num].lastYearMsg = "";
  2591. let dat = res.data.warnMessageList;
  2592. dat.map(ele => {
  2593. this.totalCompanyList[num]
  2594. .lastYearMsg += ele + '<br>';
  2595. })
  2596. }
  2597. this.totalCompanyList[num].quoteCode = 200;
  2598. this.totalCompanyList[num].result = res.data;
  2599. } else {
  2600. this.totalCompanyList[num].quoteCode = "3";
  2601. this.totalCompanyList[num].msg = res.msg;
  2602. return;
  2603. }
  2604. },
  2605. //大家报价
  2606. async dajia(num, id) {
  2607. let jychecked = this.totalCompanyList[num].jychecked
  2608. let params = {
  2609. accidentalDrivingVo: jychecked ? this
  2610. .dajiaaccidentalDrivingVo : {},
  2611. orderNo: this.orderno,
  2612. companyId: id,
  2613. cqryCdeJq: this.cqryCdeJq,
  2614. cqryCdeSy: this.cqryCdeSy,
  2615. renewalCodeJq: this.renewalCodeJq,
  2616. renewalCodeSy: this.renewalCodeSy,
  2617. agreementId: this.totalCompanyList[num]
  2618. .agreementId,
  2619. };
  2620. let res = await this.$http.post('/api/dajia/quote',
  2621. params);
  2622. this.totalCompanyList[num].msg = res.msg;
  2623. if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
  2624. this.totalCompanyList[num].quoteCode = "4";
  2625. this.totalCompanyList[num].msg = res.msg;
  2626. return;
  2627. } else if (
  2628. res.data == null &&
  2629. res.msg.indexOf("交强险平台返回") > -1 &&
  2630. res.msg.indexOf(";终保日期") > -1
  2631. ) {
  2632. let time =
  2633. res.msg.substr(res.msg.indexOf(";终保日期 ") + 6,
  2634. 16) + ":00";
  2635. this.jqstartDate = time;
  2636. this.jqendDate = this.oneYearPast(time);
  2637. this.systartDate = time;
  2638. this.syendDate = this.oneYearPast(time);
  2639. if (this.riskList.length > 0) {
  2640. for (let i = 0; i < this.riskList
  2641. .length; i++) {
  2642. if (this.riskList[i].riskCode == "0507") {
  2643. this.riskList[i].startDate = time;
  2644. this.riskList[i].endDate = this
  2645. .oneYearPast(time);
  2646. } else if (this.riskList[i].riskCode ==
  2647. "0510") {
  2648. this.riskList[i].startDate = time;
  2649. this.riskList[i].endDate = this
  2650. .oneYearPast(time);
  2651. }
  2652. }
  2653. }
  2654. let param = {
  2655. userId: this.userInfo.sysUser.id,
  2656. quoteno: this.quoteno,
  2657. orderNo: this.orderno,
  2658. carInfo: this.carInfo,
  2659. insuredPersonInfo: this.insuredPersonInfo,
  2660. ownerInfo: this.ownerInfo,
  2661. policyHolderInfo: this.policyHolderInfo,
  2662. kindList: this.kindList,
  2663. riskList: this.riskList,
  2664. vehicleAndVesselTax: this
  2665. .vehicleAndVesselTaxForm,
  2666. };
  2667. await this.$http.post(
  2668. '/insurance/order/generateOrder', param);
  2669. return this.dajia(num, id);
  2670. } else if (res.code == '200') {
  2671. if (res.data.warnMessageList != null && res.data
  2672. .warnMessageList[0] != null && res.data
  2673. .warnMessageList[
  2674. 0] != "") {
  2675. this.totalCompanyList[num].lastYearMsg = "";
  2676. let dat = res.data.warnMessageList;
  2677. dat.map(ele => {
  2678. this.totalCompanyList[num]
  2679. .lastYearMsg += ele + '<br>';
  2680. })
  2681. }
  2682. this.totalCompanyList[num].quoteCode = 200;
  2683. this.totalCompanyList[num].result = res.data;
  2684. } else {
  2685. this.totalCompanyList[num].quoteCode = "3";
  2686. this.totalCompanyList[num].msg = res.msg;
  2687. return;
  2688. }
  2689. },
  2690. //华泰报价
  2691. async huatai(num, id) {
  2692. let params = {
  2693. accidentalDrivingVo: {},
  2694. orderNo: this.orderno,
  2695. companyId: id,
  2696. cqryCdeJq: this.cqryCdeJq,
  2697. cqryCdeSy: this.cqryCdeSy,
  2698. renewalCodeJq: this.renewalCodeJq,
  2699. renewalCodeSy: this.renewalCodeSy,
  2700. agreementId: this.totalCompanyList[num]
  2701. .agreementId,
  2702. };
  2703. let res = await this.$http.post(
  2704. '/order/huaTaiApi/quote', params);
  2705. this.totalCompanyList[num].msg = res.msg;
  2706. if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
  2707. this.totalCompanyList[num].quoteCode = "4";
  2708. this.totalCompanyList[num].msg = res.msg;
  2709. return;
  2710. } else if (
  2711. res.data == null &&
  2712. res.msg.indexOf("交强险平台返回") > -1 &&
  2713. res.msg.indexOf(";终保日期") > -1
  2714. ) {
  2715. let time =
  2716. res.msg.substr(res.msg.indexOf(";终保日期 ") +
  2717. 6, 16) + ":00";
  2718. this.jqstartDate = time;
  2719. this.jqendDate = this.oneYearPast(time);
  2720. this.systartDate = time;
  2721. this.syendDate = this.oneYearPast(time);
  2722. if (this.riskList.length > 0) {
  2723. for (let i = 0; i < this.riskList
  2724. .length; i++) {
  2725. if (this.riskList[i].riskCode ==
  2726. "0507") {
  2727. this.riskList[i].startDate = time;
  2728. this.riskList[i].endDate = this
  2729. .oneYearPast(time);
  2730. } else if (this.riskList[i].riskCode ==
  2731. "0510") {
  2732. this.riskList[i].startDate = time;
  2733. this.riskList[i].endDate = this
  2734. .oneYearPast(time);
  2735. }
  2736. }
  2737. }
  2738. let param = {
  2739. userId: this.userInfo.sysUser.id,
  2740. quoteno: this.quoteno,
  2741. orderNo: this.orderno,
  2742. carInfo: this.carInfo,
  2743. insuredPersonInfo: this
  2744. .insuredPersonInfo,
  2745. ownerInfo: this.ownerInfo,
  2746. policyHolderInfo: this
  2747. .policyHolderInfo,
  2748. kindList: this.kindList,
  2749. riskList: this.riskList,
  2750. vehicleAndVesselTax: this
  2751. .vehicleAndVesselTaxForm,
  2752. };
  2753. await this.$http.post(
  2754. '/insurance/order/generateOrder', param
  2755. );
  2756. return this.huatai(num, id);
  2757. } else if (res.code == '200') {
  2758. if (res.data.warnMessageList != null && res
  2759. .data.warnMessageList[0] != null && res
  2760. .data
  2761. .warnMessageList[
  2762. 0] != "") {
  2763. this.totalCompanyList[num].lastYearMsg =
  2764. "";
  2765. let dat = res.data.warnMessageList;
  2766. dat.map(ele => {
  2767. this.totalCompanyList[num]
  2768. .lastYearMsg += ele + '<br>';
  2769. })
  2770. }
  2771. this.totalCompanyList[num].quoteCode = 200;
  2772. this.totalCompanyList[num].result = res.data;
  2773. } else {
  2774. this.totalCompanyList[num].quoteCode = "3";
  2775. this.totalCompanyList[num].msg = res.msg;
  2776. return;
  2777. }
  2778. },
  2779. //爬虫统一报价接口
  2780. async quoteInsurance(num, id, apiType, jychecked) {
  2781. const companyId = uni.getStorageSync('companyId');
  2782. let api = apiType === 2 ?
  2783. "/insurance/crawler/quote" :
  2784. "anshengquote";
  2785. let ccidenttype = this.totalCompanyList[num]
  2786. .cnName;
  2787. let namesimple = this.totalCompanyList[num]
  2788. .namesimple;
  2789. let params = {
  2790. orderNo: this.orderno,
  2791. companyId: id,
  2792. agreementId: this.totalCompanyList[num]
  2793. .agreementId,
  2794. accidentalDrivingVo: jychecked ? this[
  2795. ccidenttype +
  2796. 'accidentalDrivingVo'] : {},
  2797. };
  2798. if (id = 'GPIC1000000') {
  2799. if (companyId) {
  2800. params.discount = this.totalCompanyList[num]
  2801. .syAdjustRate;
  2802. params.lastCompanyId = companyId;
  2803. }
  2804. }
  2805. let res = await this.$http.post(`${api}`,
  2806. params);
  2807. this.totalCompanyList[num].msg = res.msg;
  2808. switch (namesimple) {
  2809. case '安盛天平':
  2810. case '恒邦财险':
  2811. case '中国人寿':
  2812. case '太平财险':
  2813. case '华农财险':
  2814. if (!!res.data) {
  2815. if (res.data.warnMessageList !=
  2816. null && res.data
  2817. .warnMessageList[0] != null &&
  2818. res.data
  2819. .warnMessageList[
  2820. 0] != "") {
  2821. this.totalCompanyList[num]
  2822. .lastYearMsg = "";
  2823. let dat = res.data
  2824. .warnMessageList;
  2825. dat.map(ele => {
  2826. this.totalCompanyList[
  2827. num]
  2828. .lastYearMsg +=
  2829. ele + '<br>';
  2830. })
  2831. }
  2832. this.totalCompanyList[num]
  2833. .quoteCode = 200;
  2834. this.totalCompanyList[num].result =
  2835. res.data;
  2836. if (res.data.syAdjustRate) {
  2837. this.totalCompanyList[num].syAdjustRate = res.data.syAdjustRate;
  2838. uni.setStorageSync('companyId', res.data.companyId);
  2839. }
  2840. } else {
  2841. this.totalCompanyList[num]
  2842. .quoteCode = "3";
  2843. this.totalCompanyList[num].msg =
  2844. res.msg;
  2845. return;
  2846. }
  2847. break;
  2848. case '众安财险':
  2849. if (!!res.data) {
  2850. if (res.data.warnMessageList !=
  2851. null && res.data
  2852. .warnMessageList[0] != null &&
  2853. res.data
  2854. .warnMessageList[
  2855. 0] != "") {
  2856. this.totalCompanyList[num]
  2857. .lastYearMsg = "";
  2858. let dat = res.data
  2859. .warnMessageList;
  2860. dat.map(ele => {
  2861. this.totalCompanyList[
  2862. num]
  2863. .lastYearMsg +=
  2864. ele + '<br>';
  2865. })
  2866. }
  2867. this.totalCompanyList[num]
  2868. .quoteCode = 200;
  2869. this.totalCompanyList[num].result =
  2870. res.data;
  2871. } else {
  2872. this.totalCompanyList[num]
  2873. .quoteCode = "3";
  2874. this.totalCompanyList[num].msg =
  2875. res.msg;
  2876. return;
  2877. }
  2878. break;
  2879. default:
  2880. break;
  2881. }
  2882. },
  2883. //华农
  2884. huanong(num, id) {
  2885. this.quoteInsurance(num, id, this
  2886. .totalCompanyList[num].apiType, this
  2887. .totalCompanyList[num].jychecked);
  2888. },
  2889. //太平
  2890. taiping(num, id) {
  2891. this.quoteInsurance(num, id, this
  2892. .totalCompanyList[num].apiType, this
  2893. .totalCompanyList[num].jychecked);
  2894. },
  2895. //安盛天平
  2896. ansheng(num, id) {
  2897. this.quoteInsurance(num, id, this
  2898. .totalCompanyList[num].apiType, this
  2899. .totalCompanyList[num].jychecked);
  2900. },
  2901. //众安
  2902. zhongan(num, id) {
  2903. this.quoteInsurance(num, id, this
  2904. .totalCompanyList[num].apiType, this
  2905. .totalCompanyList[num].jychecked);
  2906. },
  2907. //人寿
  2908. renshou(num, id) {
  2909. this.quoteInsurance(num, id, this
  2910. .totalCompanyList[num].apiType, this
  2911. .totalCompanyList[num].jychecked);
  2912. },
  2913. //恒邦
  2914. hengbang(num, id) {
  2915. this.quoteInsurance(num, id, this
  2916. .totalCompanyList[num].apiType, this
  2917. .totalCompanyList[num].jychecked);
  2918. },
  2919. Lastyear() {
  2920. this.$refs.lastYearMsgCI.show() // 显示
  2921. },
  2922. adjustPopupInsureSubmit() {
  2923. this.$refs.lastYearMsgCI.hide() // 显示
  2924. },
  2925. // 重新选择车型
  2926. toCarInfo() {
  2927. this.navigate({
  2928. url: '/pages/carInsure1/carInfo1',
  2929. success: (res) => {
  2930. res.eventChannel.emit(
  2931. "acceptData", {
  2932. carInfo: this
  2933. .carInfo,
  2934. ownerInfo: this
  2935. .ownerInfo,
  2936. policyHolderInfo: this
  2937. .policyHolderInfo,
  2938. insuredPersonInfo: this
  2939. .insuredPersonInfo,
  2940. riskList: this
  2941. .riskList,
  2942. kindList: this
  2943. .kindList,
  2944. carInfoPositiveList: this
  2945. .carInfoPositiveList, //车辆
  2946. ownerInfoPositiveList: this
  2947. .ownerInfoPositiveList, //车主
  2948. policyHolderInfoPositiveList: this
  2949. .policyHolderInfoPositiveList, //投保
  2950. insuredPersonInfoPositiveList: this
  2951. .insuredPersonInfoPositiveList, //被保人
  2952. })
  2953. }
  2954. }, "navigateTo", true);
  2955. },
  2956. // 重新选择方案
  2957. toInsureItems() {
  2958. this.navigate({
  2959. url: '/pages/carInsure1/insureItems1',
  2960. success: (res) => {
  2961. res.eventChannel.emit(
  2962. "acceptData", {
  2963. carInfo: this
  2964. .carInfo,
  2965. ownerInfo: this
  2966. .ownerInfo,
  2967. policyHolderInfo: this
  2968. .policyHolderInfo,
  2969. insuredPersonInfo: this
  2970. .insuredPersonInfo,
  2971. riskList: this
  2972. .riskList,
  2973. kindList: this
  2974. .kindList,
  2975. carInfoPositiveList: this
  2976. .carInfoPositiveList, //车辆
  2977. ownerInfoPositiveList: this
  2978. .ownerInfoPositiveList, //车主
  2979. policyHolderInfoPositiveList: this
  2980. .policyHolderInfoPositiveList, //投保
  2981. insuredPersonInfoPositiveList: this
  2982. .insuredPersonInfoPositiveList, //被保人
  2983. vehicleModel: this
  2984. .vehicleAndVesselTaxForm,
  2985. })
  2986. }
  2987. }, "navigateTo", true);
  2988. },
  2989. // 显示报错信息
  2990. ErrorMsg(msg, title) {
  2991. uni.showModal({
  2992. title: title + "报价提示",
  2993. content: msg,
  2994. showCancel: false,
  2995. confirmText: "关闭"
  2996. })
  2997. },
  2998. //上年信息
  2999. YearMsg(msg, title) {
  3000. let content = msg.replace(/<br>/g, "\r\n")
  3001. uni.showModal({
  3002. title: title + "上年信息",
  3003. content: content,
  3004. showCancel: false,
  3005. confirmText: "关闭"
  3006. })
  3007. },
  3008. //使用此时间
  3009. syncData(item) {
  3010. this.jqstartDate = item.startDateJq ? item
  3011. .startDateJq : this.jqstartDate
  3012. this.jqendDate = item.endDateJq ? item
  3013. .endDateJq : this.endDateJq
  3014. this.systartDate = item.startDateSy ? item
  3015. .startDateSy : this.systartDate
  3016. this.syendDate = item.endDateSy ? item
  3017. .endDateSy : this.syendDate
  3018. uni.showToast({
  3019. title: '时间已替换',
  3020. icon: 'none',
  3021. duration: 1000
  3022. });
  3023. },
  3024. oneYearPast(time) {
  3025. var date = new Date(time);
  3026. date.setSeconds(date.getSeconds() - 1);
  3027. date.setFullYear(date.getFullYear() + 1); //一年后
  3028. date.setTime(date.getTime()); //一年后的前一天
  3029. var strYear = date.getFullYear();
  3030. var strDay = date.getDate();
  3031. var strMonth = date.getMonth() + 1;
  3032. var hh = date.getHours();
  3033. var minutes = date.getMinutes(); // 分
  3034. var Seconds = date.getSeconds();
  3035. if (hh < 10) {
  3036. hh = "0" + hh;
  3037. }
  3038. if (minutes < 10) {
  3039. minutes = "0" + minutes;
  3040. }
  3041. if (Seconds < 10) {
  3042. Seconds = "0" + Seconds;
  3043. }
  3044. if (strMonth < 10) {
  3045. strMonth = "0" + strMonth;
  3046. }
  3047. if (strDay < 10) {
  3048. strDay = "0" + strDay;
  3049. }
  3050. var datastr =
  3051. strYear + "-" + strMonth + "-" + strDay +
  3052. " " + hh + ":" + minutes + ":" + Seconds;
  3053. return datastr;
  3054. },
  3055. },
  3056. }
  3057. </script>
  3058. <style lang="scss" scoped>
  3059. @import '@/style/mixin.scss';
  3060. /* 头部车辆信息和特权Start */
  3061. .carInfo {
  3062. height: 330upx;
  3063. background: -webkit-linear-gradient(0deg, rgba($themeColor, 0.6), rgba($themeColor, 0.8));
  3064. background-size: 100% 100%;
  3065. }
  3066. .carInfo .topLeft {
  3067. width: 120upx;
  3068. font-size: 90upx;
  3069. color: #FFFFFF;
  3070. }
  3071. .carInfo .topRight .brandName {
  3072. width: 400upx;
  3073. overflow: hidden;
  3074. text-overflow: ellipsis;
  3075. white-space: nowrap;
  3076. }
  3077. .carInfo .other {
  3078. background-color: #FFFFFF;
  3079. height: 80upx;
  3080. border-radius: 15upx;
  3081. box-sizing: border-box;
  3082. }
  3083. .carInfo .other .privilege {
  3084. background-color: rgba($themeColor, 0.6);
  3085. font-size: 24upx;
  3086. color: #FFFFFF;
  3087. font-weight: bold;
  3088. }
  3089. .carInfo .other .content {
  3090. width: 460upx;
  3091. margin-left: 15upx;
  3092. overflow: hidden;
  3093. text-overflow: ellipsis;
  3094. white-space: nowrap;
  3095. }
  3096. .carInfo .other .icon {
  3097. width: 30upx;
  3098. }
  3099. /* 头部车辆信息和特权End */
  3100. .pageContent {
  3101. position: relative;
  3102. top: -50upx;
  3103. padding-bottom: 100px;
  3104. }
  3105. /* 报价方案Start */
  3106. .quotePlan {
  3107. background: #FFFFFF;
  3108. position: relative;
  3109. border-radius: 20upx;
  3110. }
  3111. .quotePlan .header {
  3112. height: 80upx;
  3113. position: relative;
  3114. border-bottom: 1px solid #E6E8EA;
  3115. }
  3116. .quotePlan .header .title {
  3117. // font-size: 30upx;
  3118. font-weight: bold;
  3119. padding-left: 25upx;
  3120. }
  3121. .quotePlan .header .title:before {
  3122. content: "";
  3123. position: absolute;
  3124. left: 30upx;
  3125. top: 25upx;
  3126. width: 8upx;
  3127. height: 30upx;
  3128. background-color: $themeColor;
  3129. }
  3130. .quotePlan .body {
  3131. padding: 0 30upx 10upx;
  3132. }
  3133. .quotePlan .body .insurance {
  3134. padding-bottom: 20upx;
  3135. border-bottom: 1px dashed #E6E8EA;
  3136. }
  3137. .accident-style {
  3138. >view {
  3139. margin-bottom: 15px;
  3140. }
  3141. .accident-ins {
  3142. text {
  3143. margin-right: 10px;
  3144. }
  3145. }
  3146. }
  3147. .popContent {
  3148. padding: 10px;
  3149. max-height: 400px;
  3150. }
  3151. .carTypeItem {
  3152. padding: 0 30upx 20upx;
  3153. border-bottom: 1px solid #e5e5e5;
  3154. margin-top: 20upx;
  3155. width: 100%;
  3156. box-sizing: border-box;
  3157. }
  3158. .carTypeItem .nav .carseriesName {
  3159. font-size: 34upx;
  3160. width: 360upx;
  3161. font-family: PingFangSC-Medium, PingFangSC;
  3162. color: #4a4a4a;
  3163. overflow: hidden;
  3164. text-overflow: ellipsis;
  3165. white-space: nowrap;
  3166. }
  3167. .carTypeItem .nav .modelName {
  3168. font-size: 26upx;
  3169. width: 400upx;
  3170. font-family: PingFangSC-Medium, PingFangSC;
  3171. overflow: hidden;
  3172. text-overflow: ellipsis;
  3173. white-space: nowrap;
  3174. }
  3175. .carTypeItem .nav .nav_box {
  3176. margin: 10upx 0;
  3177. }
  3178. .carTypeItem .nav .nav_box .zid {
  3179. display: inline-block;
  3180. padding: 6upx 10upx;
  3181. font-size: 24upx;
  3182. height: 40upx;
  3183. background: #AFC9F7;
  3184. border-radius: 25upx;
  3185. color: #007AFF;
  3186. font-weight: bold;
  3187. line-height: 40upx;
  3188. }
  3189. .carTypeItem .nav .nav_box>p {
  3190. margin-left: 30upx;
  3191. color: #999;
  3192. font-size: 24upx;
  3193. }
  3194. .carTypeItem .price {
  3195. font-size: 16px;
  3196. width: 200upx;
  3197. flex-shrink: 0;
  3198. font-family: PingFangSC-Regular, PingFangSC;
  3199. font-weight: 400;
  3200. color: #007AFF;
  3201. }
  3202. .quotePlan .body .row {
  3203. height: 70upx;
  3204. }
  3205. .quotePlan .body .date {
  3206. background-color: $themeColor;
  3207. color: $themeColor;
  3208. font-size: 22upx;
  3209. padding: 0upx 7upx;
  3210. border-radius: 3upx;
  3211. margin: 10upx;
  3212. margin-right: 10upx;
  3213. }
  3214. /* 报价方案End */
  3215. /* 报价公司Start */
  3216. .quoteCompany {
  3217. margin: 20upx 30upx;
  3218. box-sizing: border-box;
  3219. /* background:#FFFFFF; */
  3220. position: relative;
  3221. border-radius: 20upx;
  3222. }
  3223. .quoteCompany .header {
  3224. height: 80upx;
  3225. padding: 0 30upx;
  3226. position: relative;
  3227. }
  3228. .quoteCompany .header .title {
  3229. font-size: 30upx;
  3230. font-weight: bold;
  3231. padding-left: 25upx;
  3232. }
  3233. .quoteCompany .header .title .icon {
  3234. color: rgba($themeColor, 0.6);
  3235. margin-left: 15upx;
  3236. }
  3237. .quoteCompanyItem {
  3238. margin-bottom: 20upx;
  3239. background: #FFFFFF;
  3240. border-radius: 15upx;
  3241. padding: 10px 20px 0 20px;
  3242. box-sizing: border-box;
  3243. cursor: pointer;
  3244. }
  3245. .quoteCompanyItem>view>view {
  3246. padding: 5px 0;
  3247. }
  3248. .quoteCompanyItem .top {
  3249. position: relative;
  3250. }
  3251. .quoteCompanyItem .top .companyIcon {
  3252. flex-shrink: 0;
  3253. }
  3254. .quoteCompanyItem .top .companyIcon image {
  3255. width: 34px;
  3256. height: 34px;
  3257. margin-right: 10px;
  3258. }
  3259. .quoteCompanyItem .top .Premium text {
  3260. margin-right: 10px;
  3261. }
  3262. .quoteCompanyItem .top .companyName {
  3263. font-size: 32upx;
  3264. font-weight: bold;
  3265. width: 180upx;
  3266. }
  3267. .quoteCompanyItem .top .totalMoney {
  3268. font-size: 40upx;
  3269. font-weight: bold;
  3270. color: $themeColor;
  3271. position: absolute;
  3272. top: -15upx;
  3273. right: 0;
  3274. }
  3275. .quoteCompanyItem .top .tip {
  3276. font-size: 26upx;
  3277. font-weight: bold;
  3278. color: #999;
  3279. position: absolute;
  3280. top: 0upx;
  3281. right: 0;
  3282. }
  3283. .sum {
  3284. color: #ea552d;
  3285. font-size: 22px;
  3286. font-weight: bold;
  3287. }
  3288. .quoteCompanyItem .top .signs {
  3289. width: 500upx;
  3290. overflow: hidden;
  3291. text-overflow: ellipsis;
  3292. white-space: nowrap;
  3293. }
  3294. .quoteCompanyItem .top .sign {
  3295. height: 40upx;
  3296. margin: 0upx 10upx;
  3297. background: rgba($themeColor, 0.6);
  3298. color: $themeColor;
  3299. font-size: 20upx;
  3300. margin-right: 10upx;
  3301. border-radius: 6upx;
  3302. padding: 0 2px;
  3303. line-height: 40upx;
  3304. }
  3305. .jqsign {
  3306. height: 20px;
  3307. background: rgba(255, 177, 177, 0.55);
  3308. color: #fd0a0a;
  3309. font-size: 20upx;
  3310. border-radius: 6upx;
  3311. padding: 0 10px;
  3312. box-sizing: border-box;
  3313. }
  3314. .quoteCompanyItem .body {
  3315. padding: 20upx 0;
  3316. flex-wrap: wrap;
  3317. }
  3318. .quoteCompanyItem .body>view {
  3319. flex-shrink: 0;
  3320. width: 50%;
  3321. overflow: hidden;
  3322. text-overflow: ellipsis;
  3323. white-space: nowrap;
  3324. }
  3325. .quoteCompanyItem .body .icon-exchange {
  3326. margin-right: 15upx;
  3327. display: inline-block;
  3328. }
  3329. /* 报价公司End */
  3330. /* 查看详情按钮Start */
  3331. .btn {
  3332. font-size: 16px;
  3333. color: #fff;
  3334. background-color: #ea552d;
  3335. margin-top: 10px;
  3336. }
  3337. /* 底部的样式Start */
  3338. .infoBottom {
  3339. height: 140upx;
  3340. position: fixed;
  3341. bottom: 0;
  3342. left: 0;
  3343. right: 0;
  3344. background: #FFFFFF;
  3345. border-top: 1upx solid #EEEEEE;
  3346. z-index: 99;
  3347. }
  3348. .infoBottom>button {
  3349. // font-size: 30upx;
  3350. background: $themeColor;
  3351. color: #FFFFFF;
  3352. flex: 1;
  3353. margin: 0upx 30upx;
  3354. }
  3355. .slot-content {
  3356. padding: 10px;
  3357. box-sizing: border-box;
  3358. }
  3359. .ZJcheckboxGroup {
  3360. border-bottom: 2px solid #f2f2f2;
  3361. }
  3362. .contributing {
  3363. width: 100%;
  3364. margin: 4px 0;
  3365. font-size: 12px;
  3366. text:nth-child(1) {
  3367. font-weight: bold;
  3368. color: #ff9000;
  3369. }
  3370. }
  3371. /* 查看详情按钮End */
  3372. </style>