billInfo1.vue 89 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101
  1. <template>
  2. <view :style="getHeight">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <!-- 头部 -->
  6. <view class="headers dis f-c j-end">
  7. <view class="price dis a-c j-c">
  8. <image :src="logoimg" mode="" style="width: 20px;height: 20px;">
  9. </image>
  10. <text style="font-weight: bold;margin-left: 6px;font-size: 15px;">{{orderInfo.inscompany}}</text>
  11. </view>
  12. <view style="background-color: #fff;box-shadow: inset rgb(218, 227, 244) 0px 1px 4px 0px;"
  13. class="dis f-c p-2 ">
  14. <view class="" style="border-bottom: 1px dashed #EFEFEF;padding-bottom: 10px;">
  15. <view style="font-size: 16px;" class="dis j-s a-c ">
  16. <text style="color: #232832;font-weight: bold;">{{this.licenseNo}}</text>
  17. <text style="color: #FF5600;">¥{{sumPermium}}</text>
  18. </view>
  19. <text style="color: rgba(51,51,51,0.8);font-size: 14px;">{{carInfo.modelcname}}</text>
  20. </view>
  21. <view class="dis Circle" style="padding-top: 10px;">
  22. <view style="width: 49%;border-right: 1px dashed #EFEFEF;" class="dis f-c a-start ">
  23. <text style="font-weight: bold;" v-if="orderInfo.jqstartdate">{{ orderInfo.jqstartdate }}</text>
  24. <text v-else>-</text>
  25. <text style="font-size: 14px;color: rgba(51,51,51,0.8);">交强险起保日期</text>
  26. </view>
  27. <view style="width: 49%;" class="dis f-c a-end">
  28. <text style="font-weight: bold;" v-if="orderInfo.systartdate">{{ orderInfo.systartdate }}</text>
  29. <text v-else>-</text>
  30. <text style="font-size: 14px;color: rgba(51,51,51,0.8);">商业险起保日期</text>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="page">
  36. <view class="quotePlan">
  37. <view class="header d-flex a-center">
  38. <view class="title">报价方案</view>
  39. <!-- <view class="Discount dis a-c " style="margin-left: 10px;">
  40. <image src="/static/image/car-insure/youhui.png" mode=""></image>
  41. <text style="margin-left: 3px;">优惠金额</text>
  42. </view> -->
  43. </view>
  44. <view class="body" style="box-shadow: 0px 4px 10px 0px #DAE3F4;">
  45. <view class="row d-flex a-center j-sb">
  46. <view v-if="sumPermium">总额:</view>
  47. <view class="dis a-c">
  48. <text> ¥{{sumPermium}}</text>
  49. </view>
  50. </view>
  51. <view v-if="jqpremium" class="row d-flex a-center j-sb">
  52. <view>交强险:</view>
  53. <view class="dis a-c">
  54. <text> ¥{{jqpremium}}</text>
  55. </view>
  56. </view>
  57. <view v-if="jqpremium" class="row d-flex a-center j-c">
  58. <view class="costDetails">
  59. <view class="dis j-s a-c " style="border-bottom: 1px solid #f2f2f2;padding: 4px 6px;">
  60. <text class="text1">跟单比例:<text
  61. class="text2">{{orderInfo.feeOrderNewVo.exportFee[0].otherCostsProportion}}%</text>
  62. </text>
  63. <text class="text1">手续费比例:<text
  64. class="text2">{{orderInfo.feeOrderNewVo.exportFee[0].superviseCosts}}%</text>
  65. </text>
  66. <text class="text1">总比例:<text
  67. class="text2">{{orderInfo.feeOrderNewVo.exportFee[0].totalProportion}}%</text>
  68. </text>
  69. </view>
  70. <view class="dis j-s a-c" style="padding: 4px 6px;">
  71. <text class="text1">跟单费用:
  72. <text class="text2 text2-color"
  73. v-if="orderInfo.feeOrderNewVo.exportFee[0].otherCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[0].otherCostsPremiums}}</text>
  74. <text v-else>0</text>
  75. </text>
  76. <text class="text1">手续费用:
  77. <text class="text2 text2-color"
  78. v-if="orderInfo.feeOrderNewVo.exportFee[0].superviseCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[0].superviseCostsPremiums}}</text>
  79. <text v-else>0</text>
  80. </text>
  81. <text class="text1">总费用:
  82. <text class="text2 text2-color"
  83. v-if="orderInfo.feeOrderNewVo.exportFee[0].totalAmount">¥{{orderInfo.feeOrderNewVo.exportFee[0].totalAmount}}</text>
  84. <text v-else>0</text>
  85. </text>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="row d-flex a-center j-sb">
  90. <view>车船税:</view>
  91. <view>{{taxAmount}}</view>
  92. </view>
  93. <view v-if="jypremium" class="row d-flex a-center j-sb">
  94. <view>驾意险:</view>
  95. <view class="dis a-c">
  96. <text> ¥{{jypremium}}</text>
  97. </view>
  98. </view>
  99. <view v-if="jypremium" class="row d-flex a-center j-c">
  100. <view class="costDetails">
  101. <view class="dis j-s a-c " style="border-bottom: 1px solid #f2f2f2;padding: 4px 6px;">
  102. <text class="text1">跟单比例:<text
  103. class="text2">{{orderInfo.feeOrderNewVo.exportFee[2].otherCostsProportion}}%</text>
  104. </text>
  105. <text class="text1">手续费比例:<text
  106. class="text2">{{orderInfo.feeOrderNewVo.exportFee[2].superviseCosts}}%</text>
  107. </text>
  108. <text class="text1">总比例:<text
  109. class="text2">{{orderInfo.feeOrderNewVo.exportFee[2].totalProportion}}%</text>
  110. </text>
  111. </view>
  112. <view class="dis j-s a-c" style="padding: 4px 6px;">
  113. <text class="text1">跟单费用:
  114. <text class="text2 text2-color"
  115. v-if="orderInfo.feeOrderNewVo.exportFee[2].otherCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[2].otherCostsPremiums}}</text>
  116. <text v-else>0</text>
  117. </text>
  118. <text class="text1">手续费用:
  119. <text class="text2 text2-color"
  120. v-if="orderInfo.feeOrderNewVo.exportFee[2].superviseCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[2].superviseCostsPremiums}}</text>
  121. <text v-else>0</text>
  122. </text>
  123. <text class="text1">总费用:
  124. <text class="text2 text2-color"
  125. v-if="orderInfo.feeOrderNewVo.exportFee[2].totalAmount">¥{{orderInfo.feeOrderNewVo.exportFee[2].totalAmount}}</text>
  126. <text v-else>0</text>
  127. </text>
  128. </view>
  129. </view>
  130. </view>
  131. <view v-if="sypremium" class="row dis f-c">
  132. <view class="dis a-c j-s" style="width: 100%;">
  133. <view>商业险:</view>
  134. <view class="dis a-c">
  135. <text> ¥{{sypremium}}</text>
  136. </view>
  137. </view>
  138. <view class="costDetails">
  139. <view class="dis j-s a-c " style="border-bottom: 1px solid #f2f2f2;padding: 4px 6px;">
  140. <text class="text1">跟单比例:<text
  141. class="text2">{{orderInfo.feeOrderNewVo.exportFee[1].otherCostsProportion}}%</text>
  142. </text>
  143. <text class="text1">手续费比例:<text
  144. class="text2">{{orderInfo.feeOrderNewVo.exportFee[1].superviseCosts}}%</text>
  145. </text>
  146. <text class="text1">总比例:<text
  147. class="text2">{{orderInfo.feeOrderNewVo.exportFee[1].totalProportion}}%</text>
  148. </text>
  149. </view>
  150. <view class="dis j-s a-c" style="padding: 4px 6px;">
  151. <text class="text1">跟单费用:
  152. <text class="text2 text2-color"
  153. v-if="orderInfo.feeOrderNewVo.exportFee[1].otherCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[1].otherCostsPremiums}}</text>
  154. <text v-else>0</text>
  155. </text>
  156. <text class="text1">手续费用:
  157. <text class="text2 text2-color"
  158. v-if="orderInfo.feeOrderNewVo.exportFee[1].superviseCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[1].superviseCostsPremiums}}</text>
  159. <text v-else>0</text>
  160. </text>
  161. <text class="text1">总费用:
  162. <text class="text2 text2-color"
  163. v-if="orderInfo.feeOrderNewVo.exportFee[1].totalAmount">¥{{orderInfo.feeOrderNewVo.exportFee[1].totalAmount}}</text>
  164. <text v-else>0</text>
  165. </text>
  166. </view>
  167. </view>
  168. <view class="kindList mt-3">
  169. <view class="dis j-s" style="color: rgba(35,40,50,0.6);font-size: 24rpx;border-bottom: 1px silid
  170. #232832">
  171. <view class="dis j-start" style="width: 33.33%;">
  172. <text>险别/名称</text>
  173. </view>
  174. <view class="dis j-c" style="width: 33.33%;">
  175. <text>保额</text>
  176. </view>
  177. <view class="dis j-end" style="width: 33.33%;">
  178. <text>保费(元)</text>
  179. </view>
  180. </view>
  181. <block v-for="(item,index) in kindList" :key="index">
  182. <template v-if="item.coveragePremium">
  183. <view class="kindItem dis">
  184. <view class="dis j-start" style="width: 33.33%;">
  185. <text>{{item.kindName}}</text>
  186. </view>
  187. <view class="dis a-c j-c" v-if="['A'].includes(item.kindCode)"
  188. style="width: 33.33%;"><text>
  189. {{item.amount}}</text>
  190. </view>
  191. <view class="dis a-c j-c"
  192. v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)"
  193. style="width: 33.33%;">
  194. <text>{{toChinesNum(item.unitAmount)}}/座*{{orderInfo.carinfo.seatCount-1}}</text>
  195. </view>
  196. <view class="dis a-c j-c"
  197. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)"
  198. style="width: 33.33%;">
  199. <text>{{item.deductibleRate}}%</text>
  200. </view>
  201. <view class="dis a-c j-c" v-else style="width: 33.33%;">
  202. <text>{{toChinesNum(item.amount)}}</text>
  203. </view>
  204. <view class="dis a-c j-end" style="width: 33.33%;">
  205. <text>¥{{item.coveragePremium}}</text>
  206. </view>
  207. </view>
  208. </template>
  209. </block>
  210. </view>
  211. </view>
  212. <view class="addedServices" v-if="roadrescueList.length>0">
  213. <view class="row d-flex a-center j-sb">
  214. <view class="d-flex">增值服务<view class="d-flex a-center"
  215. style="color:#999;margin-left: 10upx;font-size: 24upx;">
  216. 不收费,使用不影响明年保费</view>
  217. </view>
  218. <view>赠送</view>
  219. </view>
  220. <view class="kindList">
  221. <view class="kindItem d-flex a-center j-sb" v-for="(item,index) in roadrescueList"
  222. :key="index">
  223. <view>{{item.kindName}}</view>
  224. <view class="d-flex j-end">{{item.serviceTimes}}次</view>
  225. </view>
  226. </view>
  227. </view>
  228. </view>
  229. </view>
  230. <view class="car">
  231. <view class="header d-flex a-center j-sb" @tap="showextendInfo = !showextendInfo">
  232. <view class="title">保费因素</view>
  233. <view class="adjustPlan d-flex">
  234. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  235. </view>
  236. </view>
  237. </view>
  238. <view class="body" v-if="showextendInfo">
  239. <view class="row d-flex a-center j-sb">
  240. <view>评分</view>
  241. <view>{{extendInfo.score?extendInfo.score:"无"}}</view>
  242. </view>
  243. <view class="row d-flex a-center j-sb">
  244. <view>鼎然-车辆风险评分:</view>
  245. <view>{{orderInfo.ubiPredictedInfoScore?orderInfo.ubiPredictedInfoScore:"无"}}</view>
  246. </view>
  247. <view class="row d-flex a-center j-sb">
  248. <view>交强评分</view>
  249. <view style="color: #ff9000;">{{extendInfo.jqScore?extendInfo.jqScore:"无"}}</view>
  250. </view>
  251. <view class="row d-flex a-center j-sb">
  252. <view>商业评分</view>
  253. <view style="color: #ff9000;">{{extendInfo.syScore?extendInfo.syScore:"无"}}</view>
  254. </view>
  255. <view class="row d-flex a-center j-sb">
  256. <view>出险信息</view>
  257. <view style="width: 200px;text-align: right;">
  258. {{extendInfo.accidentInfoStr?extendInfo.accidentInfoStr:"无"}}
  259. </view>
  260. </view>
  261. <view class="row d-flex a-center j-sb">
  262. <view>总赔付率</view>
  263. <view>{{extendInfo.lossRation}}</view>
  264. </view>
  265. <view class="row d-flex a-center j-sb">
  266. <view>交强赔付率</view>
  267. <view>{{extendInfo.jqLossRation}}</view>
  268. </view>
  269. <view class="row d-flex a-center j-sb">
  270. <view>商业赔付率</view>
  271. <view>{{extendInfo.syLossRation}}</view>
  272. </view>
  273. <view class="row d-flex a-center j-sb">
  274. <view>总折扣率</view>
  275. <view>{{extendInfo.totalAdjustRate}}</view>
  276. </view>
  277. <view class="row d-flex a-center j-sb">
  278. <view>交强险折扣</view>
  279. <view>{{extendInfo.jqAdjustRate}}</view>
  280. </view>
  281. <view class="row d-flex a-center j-sb">
  282. <view>商业险折扣</view>
  283. <view>{{extendInfo.syAdjustRate}}</view>
  284. </view>
  285. </view>
  286. </view>
  287. <view class="car">
  288. <view class="header d-flex a-center j-sb" @tap="showCarInfo = !showCarInfo">
  289. <view class="title">车辆信息</view>
  290. <view class="adjustPlan d-flex">
  291. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  292. </view>
  293. </view>
  294. </view>
  295. <view class="body" v-if="showCarInfo">
  296. <view class="row d-flex a-center j-sb">
  297. <view>车牌号</view>
  298. <view>{{carInfo.licenseNo}}</view>
  299. </view>
  300. <view class="row d-flex a-center j-sb">
  301. <view>品牌型号</view>
  302. <view>{{carInfo.modelcname}}</view>
  303. </view>
  304. <view class="row d-flex a-center j-sb">
  305. <view>车辆识别代码</view>
  306. <view>{{carInfo.vinNo}}</view>
  307. </view>
  308. <view class="row d-flex a-center j-sb">
  309. <view>发动机号</view>
  310. <view>{{carInfo.engineNo}}</view>
  311. </view>
  312. <view class="row d-flex a-center j-sb">
  313. <view>年款</view>
  314. <view>{{carInfo.caryear}}</view>
  315. </view>
  316. <view class="row d-flex a-center j-sb">
  317. <view>座位数</view>
  318. <view>{{carInfo.seatCount}}</view>
  319. </view>
  320. <view class="row d-flex a-center j-sb">
  321. <view>整备质量</view>
  322. <view>{{carInfo.completeKerbMass}}</view>
  323. </view>
  324. <view class="row d-flex a-center j-sb" v-if="carInfo.limitLoad">
  325. <view>核定载质量</view>
  326. <view>{{carInfo.limitLoad}}</view>
  327. </view>
  328. <view class="row d-flex a-center j-sb">
  329. <view>排量</view>
  330. <view>{{carInfo.enginedesc}}</view>
  331. </view>
  332. <view class="row d-flex a-center j-sb">
  333. <view>功率</view>
  334. <view>{{carInfo.powerScale}}</view>
  335. </view>
  336. <view class="row d-flex a-center j-sb">
  337. <view>新车购置价</view>
  338. <view>{{carInfo.purchasePrice}}</view>
  339. </view>
  340. <view class="row d-flex a-center j-sb">
  341. <view>使用性质</view>
  342. <view>{{carInfo.carnature}}</view>
  343. </view>
  344. <view class="row d-flex a-center j-sb">
  345. <view>车辆用途</view>
  346. <view>{{carInfo.vehicleUse}}</view>
  347. </view>
  348. <view class="row d-flex a-center j-sb">
  349. <view>车辆类型</view>
  350. <view>{{carInfo.cartype}}</view>
  351. </view>
  352. <view class="row d-flex a-center j-sb">
  353. <view>车辆种类</view>
  354. <view>{{carInfo.cimodelclass}}</view>
  355. </view>
  356. <view class="row d-flex a-center j-sb">
  357. <view>能源种类</view>
  358. <view>{{carInfo.energyType}}</view>
  359. </view>
  360. <view class="row d-flex a-center j-sb">
  361. <view>注册日期</view>
  362. <view>{{carInfo.registerDate }}</view>
  363. </view>
  364. <view class="row d-flex a-center j-sb">
  365. <view>发证日期</view>
  366. <view>{{carInfo.issueDate }}</view>
  367. </view>
  368. <view class="row d-flex a-center j-sb">
  369. <view>是否过户</view>
  370. <view>{{carInfo.transferFlag?'是':'否' }}</view>
  371. </view>
  372. <view class="row d-flex a-center j-sb" v-if="carInfo.transferFlag">
  373. <view>转移登记日期</view>
  374. <view>{{carInfo.transferDate }}</view>
  375. </view>
  376. <view class="row d-flex a-center j-sb">
  377. <view>商业是否过户</view>
  378. <view>{{carInfo.transferFlagBi?'是':'否' }}</view>
  379. </view>
  380. <view class="row d-flex a-center j-sb">
  381. <view>是否脱保</view>
  382. <view>{{carInfo.outOfInsurance?'是':'否' }}</view>
  383. </view>
  384. <view class="row d-flex a-center j-sb">
  385. <view>是否二手车</view>
  386. <view>{{carInfo.usedCar?'是':'否' }}</view>
  387. </view>
  388. </view>
  389. </view>
  390. <view class="car">
  391. <view class="header d-flex a-center j-sb" @tap="showtaxArrears = !showtaxArrears"
  392. v-if="orderInfo.taxArrears && orderInfo.taxArrears.length>0">
  393. <view class="title">欠税信息</view>
  394. <view class="adjustPlan d-flex">
  395. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  396. </view>
  397. </view>
  398. </view>
  399. <view class="body" style="padding: 10px 5px;" v-if="showtaxArrears">
  400. <u-table :th-style="{color:'#ff9000'}">
  401. <u-tr>
  402. <u-th style="font-size: 20rpx;">当年应缴(元)</u-th>
  403. <u-th style="font-size: 20rpx;">去年补缴(元)</u-th>
  404. <u-th style="font-size: 20rpx;">滞纳金(元)</u-th>
  405. <u-th style="font-size: 20rpx;">总计</u-th>
  406. </u-tr>
  407. <u-tr v-for="(item,index) in orderInfo.taxArrears" :key="index">
  408. <u-td>{{item.dayYearTax}}</u-td>
  409. <u-td>{{item.taxDefault}}</u-td>
  410. <u-td>{{item.lateFee}}</u-td>
  411. <u-td>{{orderInfo.taxamount}}</u-td>
  412. </u-tr>
  413. </u-table>
  414. </view>
  415. </view>
  416. <view class="personInfo">
  417. <view class="title d-flex a-center j-sb" @tap="showOwerInfo=!showOwerInfo">
  418. <text style="font-weight: bold;">车主</text>
  419. <view class="adjustPlan d-flex">
  420. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  421. </view>
  422. </view>
  423. </view>
  424. <view class="content" v-if="showOwerInfo">
  425. <view class="row d-flex a-center">
  426. <view class="left">姓名:</view>
  427. <view class="right d-flex flex-1">{{ownerInfo.name}}</view>
  428. </view>
  429. <view class="row d-flex a-center">
  430. <view class="left">证件类型:</view>
  431. <view class="right flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}</view>
  432. </view>
  433. <view class="row d-flex a-center">
  434. <view class="left">手机号:</view>
  435. <view class="right flex-1">{{ownerInfo.mobile}}</view>
  436. </view>
  437. <view class="row d-flex a-center">
  438. <view class="left">证件号:</view>
  439. <view class="right flex-1">{{ownerInfo.identifyNumber}}</view>
  440. </view>
  441. <view class="row d-flex a-center"
  442. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  443. <view class="left">地址:</view>
  444. <view class="right flex-1">{{ownerInfo.addr}}</view>
  445. </view>
  446. </view>
  447. </view>
  448. <!-- 投保人信息 -->
  449. <view class="personInfo">
  450. <view class="title d-flex a-center j-sb" @tap="showPolicyHolderInfo=!showPolicyHolderInfo">
  451. <text style="font-weight: bold;">投保人</text>
  452. <view class="adjustPlan d-flex">
  453. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  454. </view>
  455. </view>
  456. </view>
  457. <view class="content" v-if="showPolicyHolderInfo">
  458. <view class="row d-flex a-center">
  459. <view class="left">姓名:</view>
  460. <view class="right d-flex flex-1">{{policyHolderInfo.name}}</view>
  461. </view>
  462. <view class="row d-flex a-center">
  463. <view class="left">证件类型:</view>
  464. <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
  465. </view>
  466. </view>
  467. <view class="row d-flex a-center">
  468. <view class="left">手机号:</view>
  469. <view class="right d-flex flex-1">{{policyHolderInfo.mobile}}</view>
  470. </view>
  471. <view class="row d-flex a-center">
  472. <view class="left">证件号:</view>
  473. <view class="right d-flex flex-1">{{policyHolderInfo.identifyNumber}}</view>
  474. </view>
  475. <view class="row d-flex a-center"
  476. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  477. <view class="left">地址:</view>
  478. <view class="right d-flex flex-1">{{policyHolderInfo.addr}}</view>
  479. </view>
  480. </view>
  481. </view>
  482. <!-- 被保人信息 -->
  483. <view class="personInfo">
  484. <view class="title d-flex a-center j-sb" @tap="showInsuredPersonInfo=!showInsuredPersonInfo">
  485. <text style="font-weight: bold;">被保人</text>
  486. <view class="adjustPlan d-flex">
  487. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  488. </view>
  489. </view>
  490. </view>
  491. <view class="content" v-if="showInsuredPersonInfo">
  492. <view class="row d-flex a-center">
  493. <view class="left">姓名:</view>
  494. <view class="right d-flex flex-1">{{insuredPersonInfo.name}}</view>
  495. </view>
  496. <view class="row d-flex a-center">
  497. <view class="left">证件类型:</view>
  498. <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
  499. </view>
  500. </view>
  501. <view class="row d-flex a-center">
  502. <view class="left">手机号:</view>
  503. <view class="right d-flex flex-1">{{insuredPersonInfo.mobile}}</view>
  504. </view>
  505. <view class="row d-flex a-center">
  506. <view class="left">证件号:</view>
  507. <view class="right d-flex flex-1">{{insuredPersonInfo.identifyNumber}}</view>
  508. </view>
  509. <view class="row d-flex a-center"
  510. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  511. <view class="left">地址:</view>
  512. <view class="right d-flex flex-1">{{insuredPersonInfo.addr}}</view>
  513. </view>
  514. </view>
  515. </view>
  516. <view class="imageInfo">
  517. <view class="title d-flex a-center j-sb" @tap="showCarImageInfo=!showCarImageInfo">
  518. <text style="font-weight: bold;">车辆影像信息</text>
  519. <view class="adjustPlan d-flex">
  520. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  521. </view>
  522. </view>
  523. </view>
  524. <view class="uni-uploader" v-if="showCarImageInfo">
  525. <view class="uni-uploader-body dis j-s a-c">
  526. <view class="uni-uploader__files dis f-c a-c">
  527. <text>行驶证主页</text>
  528. <block v-for="(image,index) in imgList1" :key="index">
  529. <view class="uni-uploader__file">
  530. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  531. @tap="previewImage($event,'imgList1')"></image>
  532. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  533. @tap="delCheckImage(image,'carImageListId','imgList1')"></view>
  534. </view>
  535. </block>
  536. <view v-if="imgList1.length==0" class="uni-uploader__input-box"
  537. style="box-sizing: border-box;">
  538. <view class="uni-uploader__input" @tap="chooseImage('C01','carImageListId','imgList1')">
  539. </view>
  540. </view>
  541. </view>
  542. <view class="uni-uploader__files dis f-c a-c">
  543. <text>行驶证副本</text>
  544. <block v-for="(image,index) in imgList2" :key="index">
  545. <view class="uni-uploader__file">
  546. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  547. @tap="previewImage($event,'imgList2')"></image>
  548. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  549. @tap="delCheckImage(image,'carImageListId','imgList2')"></view>
  550. </view>
  551. </block>
  552. <view v-if="imgList2.length==0" class="uni-uploader__input-box"
  553. style="box-sizing: border-box;">
  554. <view class="uni-uploader__input" @tap="chooseImage('D01','carImageListId','imgList2')">
  555. </view>
  556. </view>
  557. </view>
  558. </view>
  559. </view>
  560. </view>
  561. <!-- 车辆影像信息End -->
  562. <!-- 车主影像信息Start -->
  563. <view class="imageInfo">
  564. <view class="title d-flex a-center j-sb" @tap="showOwnerImageInfo=!showOwnerImageInfo">
  565. <text style="font-weight: bold;">车主影像信息</text>
  566. <view class="adjustPlan d-flex">
  567. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  568. </view>
  569. </view>
  570. </view>
  571. <view class="uni-uploader" v-if="showOwnerImageInfo">
  572. <view class="uni-uploader-body dis j-s a-c">
  573. <view class="uni-uploader__files dis f-c a-c">
  574. <text>正面</text>
  575. <block v-for="(image,index) in imgList3" :key="index">
  576. <view class="uni-uploader__file">
  577. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  578. @tap="previewImage($event,'imgList3')"></image>
  579. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  580. @tap="delCheckImage(image,'ownerImageListId','imgList3')"></view>
  581. </view>
  582. </block>
  583. <view v-if="imgList3.length==0" class="uni-uploader__input-box"
  584. style="box-sizing: border-box;">
  585. <view class="uni-uploader__input"
  586. @tap="chooseImage('C02','ownerImageListId','imgList3')"></view>
  587. </view>
  588. </view>
  589. <view class="uni-uploader__files dis f-c a-c">
  590. <text>反面</text>
  591. <block v-for="(image,index) in imgList4" :key="index">
  592. <view class="uni-uploader__file">
  593. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  594. @tap="previewImage($event,'imgList4')"></image>
  595. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  596. @tap="delCheckImage(image,'ownerImageListId','imgList4')"></view>
  597. </view>
  598. </block>
  599. <view v-if="imgList4.length==0" class="uni-uploader__input-box"
  600. style="box-sizing: border-box;">
  601. <view class="uni-uploader__input"
  602. @tap="chooseImage('D02','ownerImageListId','imgList4')"></view>
  603. </view>
  604. </view>
  605. </view>
  606. </view>
  607. </view>
  608. <!-- 车主影像信息End -->
  609. <!-- 投保人影像信息Start -->
  610. <view class="imageInfo">
  611. <view class="title d-flex a-center j-sb" @tap="showPolicyImageInfo=!showPolicyImageInfo">
  612. <text style="font-weight: bold;">投保人影像信息</text>
  613. <view class="adjustPlan d-flex">
  614. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  615. </view>
  616. </view>
  617. </view>
  618. <view class="uni-uploader" v-if="showPolicyImageInfo">
  619. <view class="uni-uploader-body dis j-s a-c">
  620. <view class="uni-uploader__files dis f-c a-c">
  621. <text>正面</text>
  622. <block v-for="(image,index) in imgList5" :key="index">
  623. <view class="uni-uploader__file">
  624. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  625. @tap="previewImage($event,'imgList5')"></image>
  626. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  627. @tap="delCheckImage(image,'policyImageListId','imgList5')"></view>
  628. </view>
  629. </block>
  630. <view v-if="imgList5.length==0" class="uni-uploader__input-box"
  631. style="box-sizing: border-box;">
  632. <view class="uni-uploader__input"
  633. @tap="chooseImage('C03','policyImageListId','imgList5')"></view>
  634. </view>
  635. </view>
  636. <view class="uni-uploader__files dis f-c a-c">
  637. <text>反面</text>
  638. <block v-for="(image,index) in imgList6" :key="index">
  639. <view class="uni-uploader__file">
  640. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  641. @tap="previewImage($event,'imgList6')"></image>
  642. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  643. @tap="delCheckImage(image,'policyImageListId','imgList6')"></view>
  644. </view>
  645. </block>
  646. <view v-if="imgList6.length==0" class="uni-uploader__input-box"
  647. style="box-sizing: border-box;">
  648. <view class="uni-uploader__input"
  649. @tap="chooseImage('D03','policyImageListId','imgList6')"></view>
  650. </view>
  651. </view>
  652. </view>
  653. </view>
  654. </view>
  655. <!-- 投保人影像信息End -->
  656. <!-- 被保人影像信息Start -->
  657. <view class="imageInfo">
  658. <view class="title d-flex a-center j-sb" @tap="showInsuredImageInfo=!showInsuredImageInfo">
  659. <text style="font-weight: bold;">被保人影像信息</text>
  660. <view class="adjustPlan d-flex">
  661. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  662. </view>
  663. </view>
  664. </view>
  665. <view class="uni-uploader" v-if="showInsuredImageInfo">
  666. <view class="uni-uploader-body dis j-s a-c">
  667. <view class="uni-uploader__files dis f-c a-c">
  668. <text>正面</text>
  669. <block v-for="(image,index) in imgList7" :key="index">
  670. <view class="uni-uploader__file">
  671. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  672. @tap="previewImage($event,'imgList7')"></image>
  673. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  674. @tap="delCheckImage(image,'insuredImageListId','imgList7')"></view>
  675. </view>
  676. </block>
  677. <view v-if="imgList7.length==0" class="uni-uploader__input-box"
  678. style="box-sizing: border-box;">
  679. <view class="uni-uploader__input"
  680. @tap="chooseImage('C04','insuredImageListId','imgList7')"></view>
  681. </view>
  682. </view>
  683. <view class="uni-uploader__files dis f-c a-c">
  684. <text>反面</text>
  685. <block v-for="(image,index) in imgList8" :key="index">
  686. <view class="uni-uploader__file">
  687. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  688. @tap="previewImage($event,'imgList8')"></image>
  689. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  690. @tap="delCheckImage(image,'insuredImageListId','imgList8')"></view>
  691. </view>
  692. </block>
  693. <view v-if="imgList8.length==0" class="uni-uploader__input-box"
  694. style="box-sizing: border-box;">
  695. <view class="uni-uploader__input"
  696. @tap="chooseImage('D04','insuredImageListId','imgList8')"></view>
  697. </view>
  698. </view>
  699. </view>
  700. </view>
  701. </view>
  702. <!-- 被保人影像信息End -->
  703. <!-- 新车影像信息Start -->
  704. <view class="imageInfo">
  705. <view class="title d-flex a-center j-sb" @tap="showNewCarImageInfo=!showNewCarImageInfo">
  706. <text style="font-weight: bold;">新车照片</text>
  707. <view class="adjustPlan d-flex">
  708. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  709. </view>
  710. </view>
  711. </view>
  712. <view class="uni-uploader" v-if="showNewCarImageInfo">
  713. <view class="uni-uploader-body dis j-s a-c">
  714. <view class="uni-uploader__files dis f-c a-c">
  715. <text>新车合格证</text>
  716. <block v-for="(image,index) in imgNewCarQualified" :key="index">
  717. <view class="uni-uploader__file">
  718. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  719. @tap="previewImage($event,'imgNewCarQualified')"></image>
  720. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  721. @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarQualified')">
  722. </view>
  723. </view>
  724. </block>
  725. <view v-if="imgNewCarQualified.length==0" class="uni-uploader__input-box"
  726. style="box-sizing: border-box;">
  727. <view class="uni-uploader__input"
  728. @tap="chooseImage('XC00','imgNewCarinvoiceId','imgNewCarQualified')"></view>
  729. </view>
  730. </view>
  731. <view class="uni-uploader__files dis f-c a-c">
  732. <text>购车发票</text>
  733. <block v-for="(image,index) in imgNewCarInvoice" :key="index">
  734. <view class="uni-uploader__file">
  735. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  736. @tap="previewImage($event,'imgNewCarInvoice')"></image>
  737. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  738. @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarInvoice')"></view>
  739. </view>
  740. </block>
  741. <view v-if="imgNewCarInvoice.length==0" class="uni-uploader__input-box"
  742. style="box-sizing: border-box;">
  743. <view class="uni-uploader__input"
  744. @tap="chooseImage('GC00','imgNewCarinvoiceId','imgNewCarInvoice')"></view>
  745. </view>
  746. </view>
  747. </view>
  748. </view>
  749. </view>
  750. <!-- 新车影像信息End -->
  751. <!-- 验车照Start -->
  752. <view class="imageInfo">
  753. <view class="title d-flex a-center j-sb" @tap="showCarCheckImageInfo=!showCarCheckImageInfo">
  754. <text style="font-weight: bold;">其他关系证明</text>
  755. <view class="adjustPlan d-flex">
  756. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  757. </view>
  758. </view>
  759. </view>
  760. <view class="uni-uploader" v-if="showCarCheckImageInfo">
  761. <view class="uni-uploader-body dis j-s a-c">
  762. <view class="uni-uploader__files">
  763. <block v-for="(image,index) in imgRelationship" :key="index">
  764. <view class="uni-uploader__file">
  765. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  766. @tap="previewImage($event,'imgRelationship')"></image>
  767. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center "
  768. @tap="delCheckImage('imgRelationship',index)"></view>
  769. </view>
  770. </block>
  771. <view class="uni-uploader__input-box" style="box-sizing: border-box;">
  772. <view class="uni-uploader__input"
  773. @tap="chooseImage('GX00','imgRelationshipid','imgRelationship')"></view>
  774. </view>
  775. </view>
  776. </view>
  777. </view>
  778. </view>
  779. <!-- 特约 -->
  780. <view class="appoint" v-if="['紫金财险','华泰财险'].includes(this.name)">
  781. <view class="title d-flex a-center j-sb" @tap="showAppoint=!showAppoint">
  782. <text style="font-weight: bold;">特约</text>
  783. <view class="adjustPlan d-flex">
  784. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  785. </view>
  786. </view>
  787. </view>
  788. <view class=" dis f-c j-c " v-if="showAppoint"
  789. style="background-color: #fff;padding: 8px 15px;border-radius: 6px;">
  790. <template v-if="this.name=='紫金财险'">
  791. <u-button type="warning" size="mini" style="width: 80px;margin-top: 5px;"
  792. @click="ziJinshow=true">特约选择</u-button>
  793. <view class="contributing dis f-c" v-for="(ziJinitem,ziJinindex) in ziJinengageList"
  794. :key="ziJinindex">
  795. <text style="font-size: 14px;">{{ziJinitem.clauseName}}</text>
  796. <u-input v-if="ziJinitem.modifyFlag==1" :border="true" v-model="ziJinitem.clauses"
  797. size="mini" type="textarea" :custom-style="{fontSize:'12px'}" />
  798. <text v-else>{{ziJinitem.clauses}}</text>
  799. </view>
  800. </template>
  801. <template v-if="this.name=='华泰财险'">
  802. <u-button type="warning" size="mini" style="width: 80px;margin-top: 5px;"
  803. @click="huaTaishow=true">特约选择</u-button>
  804. <view class="contributing dis f-c" v-for="(huaTaiitem, huaTaiindex) in huaTaiengageList"
  805. :key="huaTaiindex">
  806. <text style="font-size: 14px;">{{huaTaiitem.engageTitle}}</text>
  807. <u-input v-if="huaTaiitem.modifyFlag==1" :border="true" v-model="huaTaiitem.engageDetail"
  808. size="mini" type="textarea" :custom-style="{fontSize:'12px'}" />
  809. <text v-else>{{huaTaiitem.engageDetail}}</text>
  810. </view>
  811. </template>
  812. </view>
  813. </view>
  814. <view class="personInfo" v-if="!!orderInfo.jqapplyno">
  815. <view class="title d-flex a-center j-sb" @tap="showApplyno=!showApplyno">
  816. <text style="font-weight: bold;">投保单号</text>
  817. <view class="adjustPlan d-flex">
  818. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  819. </view>
  820. </view>
  821. </view>
  822. <view class="content" v-if="showApplyno">
  823. <view v-if="!!orderInfo.jqapplyno" style="padding: 8px 0 ;border-bottom: 1px solid #f2f2f2;">
  824. <text>交强险:</text>
  825. <text>{{orderInfo.jqapplyno}}</text>
  826. </view>
  827. <view v-if="!!orderInfo.syapplyno" style="padding: 8px 0 ;">
  828. <text>商业险:</text>
  829. <text>{{orderInfo.syapplyno}}</text>
  830. </view>
  831. </view>
  832. </view>
  833. <view class="personInfo" v-if="!!orderInfo.jqpolicyno">
  834. <view class="title d-flex a-center j-sb" @tap="showPolicyno=!showPolicyno">
  835. <text style="font-weight: bold;">保单号</text>
  836. <view class="adjustPlan d-flex">
  837. <view class="icon iconfont icon-down-weixuanzhong" style="font-weight: bold;color: #B3B3B3;">
  838. </view>
  839. </view>
  840. </view>
  841. <view class="content" v-if="showPolicyno">
  842. <view class="row d-flex a-center" v-if="!!orderInfo.jqpolicyno">
  843. <view class="left">交强险:</view>
  844. <view class="right d-flex flex-1">{{orderInfo.jqpolicyno}}</view>
  845. </view>
  846. <view class="row d-flex a-center" v-if="!!orderInfo.sypolicyno">
  847. <view class="left">商业险:</view>
  848. <view class="right d-flex flex-1">{{orderInfo.sypolicyno}}</view>
  849. </view>
  850. </view>
  851. </view>
  852. </view>
  853. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  854. <u-modal v-model="auditNextShow" content="是否确认提交核保?" :show-title="false" :show-cancel-button="true"
  855. :confirm-style="{background:'#0052FF',color:'#fff',height:'40px',lineHeight:'40px'}"
  856. :cancel-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}" confirm-text="确定"
  857. @cancel="auditNextShow=false" @confirm="auditNextconfirm" :content-style="{fontWeight:'bold'}"></u-modal>
  858. <!-- <u-modal v-model="auditReturnInfoShow" :content="auditReturnInfoContent" :show-title="false"
  859. :show-cancel-button="true"></u-modal> -->
  860. </view>
  861. </template>
  862. <script>
  863. import {
  864. mapState,
  865. mapMutations
  866. } from "vuex"
  867. import {
  868. pathToBase64,
  869. base64ToPath
  870. } from '@/common/pdf.js'
  871. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  872. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  873. export default {
  874. components: {
  875. uniPopup,
  876. previewImage
  877. },
  878. computed: {
  879. ...mapState(['userInfo', 'token', 'quotationType']),
  880. getHeight() {
  881. let height = uni.getSystemInfoSync().windowHeight;
  882. return `minHeight: ${height}px;`;
  883. }
  884. },
  885. data() {
  886. return {
  887. auditNextShow: false, //核保确认标识
  888. auditReturnInfoShow: false, //核保信息返回标识
  889. auditReturnInfoContent: "", //核保返回信息
  890. modificationFlag: false, //影响修改标识
  891. ziJinshow: false, //紫金特约
  892. huaTaishow: false, //紫金特约
  893. toolPopupshow: false, //底部弹窗
  894. agree: false,
  895. logoimg: "",
  896. insCompanyList: [{
  897. name: "中煤财险",
  898. icon: "../../static/insuranceicon/zhongmei.png"
  899. }, //华农
  900. {
  901. name: "恒邦财险",
  902. icon: "../../static/insuranceicon/hengbang.png"
  903. },
  904. {
  905. name: "安盛天平",
  906. icon: "../../static/insuranceicon/ansheng.png"
  907. },
  908. {
  909. name: "中国人寿",
  910. icon: "../../static/insuranceicon/renshou.png"
  911. },
  912. {
  913. name: "众安财险",
  914. icon: "../../static/insuranceicon/zhongan.png"
  915. },
  916. {
  917. name: "永诚财险",
  918. icon: "../../static/insuranceicon/yongcheng.png"
  919. },
  920. {
  921. name: "永安财险",
  922. icon: "../../static/insuranceicon/yongan.png"
  923. },
  924. {
  925. name: "紫金财险",
  926. icon: "../../static/insuranceicon/zijin.png"
  927. },
  928. {
  929. name: "国任财险",
  930. icon: "../../static/insuranceicon/guoren.png"
  931. },
  932. {
  933. name: "华泰财险",
  934. icon: "../../static/insuranceicon/huatai.png"
  935. },
  936. {
  937. name: "大家财险",
  938. icon: "../../static/insuranceicon/dajia.png"
  939. },
  940. {
  941. name: "太平财险",
  942. icon: "../../static/insuranceicon/taiping.png"
  943. },
  944. {
  945. name: "华农财险",
  946. icon: "../../static/insuranceicon/huanong.png"
  947. },
  948. {
  949. name: "渤海财险",
  950. icon: "../../static/insuranceicon/bohai.png"
  951. },
  952. ],
  953. companyId: "", //订单号
  954. orderInfo: {},
  955. licenseNo: "", //车牌号
  956. icon: "", //保险公司logo
  957. name: "", //保险公司名称
  958. carInfo: {}, //车辆信息
  959. ownerInfo: {}, //车主信息
  960. policyHolderInfo: {}, //投保人信息
  961. insuredPersonInfo: {}, //被保人信息
  962. riskList: [], //险种大类信息
  963. kindList: [], //商业险险别
  964. sumPermium: "", //报价金额
  965. taxAmount: "", //车船税金额
  966. jqpremium: "", //交强险金额
  967. sypremium: "", //商业险金额
  968. feerate: "",
  969. disrate: "",
  970. syappoint: "",
  971. orderstatus: "0", //订单状态
  972. CIStartDate: "", //交强险日期
  973. BIStartDate: "", //商业险日期
  974. showCarInfo: false,
  975. showextendInfo: false,
  976. insureList: [{
  977. amount: "0",
  978. coveragePremium: "",
  979. amtList: [{
  980. "label": "投保",
  981. "value": "1"
  982. }],
  983. kindCode: "A",
  984. isMainRisk: true,
  985. kindName: "机动车损失险"
  986. },
  987. {
  988. amount: "0",
  989. coveragePremium: "",
  990. amtList: [{
  991. "label": "10万",
  992. "value": "100000"
  993. }, {
  994. "label": "15万",
  995. "value": "150000"
  996. }, {
  997. "label": "20万",
  998. "value": "200000"
  999. }, {
  1000. "label": "30万",
  1001. "value": "300000"
  1002. }, {
  1003. "label": "50万",
  1004. "value": "500000"
  1005. }, {
  1006. "label": "100万",
  1007. "value": "1000000"
  1008. }, {
  1009. "label": "150万",
  1010. "value": "1500000"
  1011. }, {
  1012. "label": "200万",
  1013. "value": "2000000"
  1014. }, {
  1015. "label": "250万",
  1016. "value": "2500000"
  1017. }, {
  1018. "label": "300万",
  1019. "value": "3000000"
  1020. }, {
  1021. "label": "500万",
  1022. "value": "5000000"
  1023. }, {
  1024. "label": "1000万",
  1025. "value": "10000000"
  1026. }],
  1027. kindCode: "B",
  1028. isMainRisk: true,
  1029. kindName: "第三者责任险"
  1030. },
  1031. {
  1032. amount: "0",
  1033. coveragePremium: "",
  1034. amtList: [{
  1035. "label": "1万",
  1036. "value": "10000"
  1037. }, {
  1038. "label": "2万",
  1039. "value": "20000"
  1040. }, {
  1041. "label": "5万",
  1042. "value": "50000"
  1043. }, {
  1044. "label": "10万",
  1045. "value": "100000"
  1046. }, {
  1047. "label": "15万",
  1048. "value": "150000"
  1049. }, {
  1050. "label": "20万",
  1051. "value": "200000"
  1052. }],
  1053. kindCode: "D3",
  1054. isMainRisk: true,
  1055. kindName: "司机责任险"
  1056. },
  1057. {
  1058. amount: "0",
  1059. coveragePremium: "",
  1060. amtList: [{
  1061. "label": "1万",
  1062. "value": "10000"
  1063. }, {
  1064. "label": "2万",
  1065. "value": "20000"
  1066. }, {
  1067. "label": "5万",
  1068. "value": "50000"
  1069. }, {
  1070. "label": "10万",
  1071. "value": "100000"
  1072. }, {
  1073. "label": "15万",
  1074. "value": "150000"
  1075. }, {
  1076. "label": "20万",
  1077. "value": "200000"
  1078. }],
  1079. kindCode: "D4",
  1080. isMainRisk: true,
  1081. kindName: "乘客责任险"
  1082. },
  1083. {
  1084. amount: "0",
  1085. coveragePremium: "",
  1086. amtList: [{
  1087. "label": "2000",
  1088. "value": "2000"
  1089. }, {
  1090. "label": "5000",
  1091. "value": "5000"
  1092. }, {
  1093. "label": "1万",
  1094. "value": "10000"
  1095. }],
  1096. isMainRisk: false,
  1097. kindCode: "L",
  1098. kindName: "车身划痕险",
  1099. mainRiskCodeList: "A"
  1100. },
  1101. {
  1102. amount: "0",
  1103. coveragePremium: "",
  1104. amtList: [{
  1105. "label": "5%",
  1106. "value": "5"
  1107. }, {
  1108. "label": "10%",
  1109. "value": "10"
  1110. }, {
  1111. "label": "15%",
  1112. "value": "15"
  1113. }, {
  1114. "label": "20%",
  1115. "value": "20"
  1116. }],
  1117. isMainRisk: false,
  1118. kindCode: "MJ1",
  1119. kindName: "绝对免赔率特约险(车损)",
  1120. mainRiskCodeList: "A"
  1121. },
  1122. {
  1123. amount: "0",
  1124. coveragePremium: "",
  1125. amtList: [{
  1126. "label": "5%",
  1127. "value": "5"
  1128. }, {
  1129. "label": "10%",
  1130. "value": "10"
  1131. }, {
  1132. "label": "15%",
  1133. "value": "15"
  1134. }, {
  1135. "label": "20%",
  1136. "value": "20"
  1137. }],
  1138. isMainRisk: false,
  1139. kindCode: "MJ2",
  1140. kindName: "绝对免赔率特约险(三者)",
  1141. mainRiskCodeList: "B"
  1142. },
  1143. {
  1144. amount: "0",
  1145. coveragePremium: "",
  1146. amtList: [{
  1147. "label": "5%",
  1148. "value": "5"
  1149. }, {
  1150. "label": "10%",
  1151. "value": "10"
  1152. }, {
  1153. "label": "15%",
  1154. "value": "15"
  1155. }, {
  1156. "label": "20%",
  1157. "value": "20"
  1158. }],
  1159. isMainRisk: false,
  1160. kindCode: "MJ3",
  1161. kindName: "绝对免赔率特约险(司机)",
  1162. mainRiskCodeList: "D3"
  1163. },
  1164. {
  1165. amount: "0",
  1166. coveragePremium: "",
  1167. amtList: [{
  1168. "label": "5%",
  1169. "value": "5"
  1170. }, {
  1171. "label": "10%",
  1172. "value": "10"
  1173. }, {
  1174. "label": "15%",
  1175. "value": "15"
  1176. }, {
  1177. "label": "20%",
  1178. "value": "20"
  1179. }],
  1180. isMainRisk: false,
  1181. kindCode: "MJ4",
  1182. kindName: "绝对免赔率特约险(乘客)",
  1183. mainRiskCodeList: "D4"
  1184. },
  1185. {
  1186. amount: "0",
  1187. coveragePremium: "",
  1188. amtList: [{
  1189. "label": "投保",
  1190. "value": "1"
  1191. }],
  1192. isMainRisk: false,
  1193. kindCode: "BD",
  1194. kindName: "法定节假日限额翻倍险",
  1195. mainRiskCodeList: "B"
  1196. },
  1197. {
  1198. amount: "0",
  1199. amountDesc: "不投保",
  1200. coveragePremium: "",
  1201. amtList: [{
  1202. label: "不投保",
  1203. value: "0"
  1204. },
  1205. {
  1206. label: "1万",
  1207. value: "10000"
  1208. },
  1209. {
  1210. label: "2万",
  1211. value: "20000"
  1212. },
  1213. {
  1214. label: "5万",
  1215. value: "50000"
  1216. },
  1217. {
  1218. label: "10万",
  1219. value: "100000"
  1220. }
  1221. ],
  1222. kindCode: "SY_FJ_YBW1",
  1223. isMainRisk: false,
  1224. kindName: "附加医保-三者",
  1225. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1226. },
  1227. {
  1228. amount: "0",
  1229. amountDesc: "不投保",
  1230. coveragePremium: 0,
  1231. amtList: [{
  1232. label: "不投保",
  1233. value: "0"
  1234. },
  1235. {
  1236. label: "1万",
  1237. value: "10000"
  1238. },
  1239. {
  1240. label: "2万",
  1241. value: "20000"
  1242. },
  1243. {
  1244. label: "5万",
  1245. value: "50000"
  1246. },
  1247. {
  1248. label: "10万",
  1249. value: "100000"
  1250. }
  1251. ],
  1252. kindCode: "SY_FJ_YBW2",
  1253. isMainRisk: false,
  1254. kindName: "附加医保-座位险(乘客)",
  1255. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1256. },
  1257. {
  1258. amount: "0",
  1259. amountDesc: "不投保",
  1260. coveragePremium: 0,
  1261. amtList: [{
  1262. label: "不投保",
  1263. value: "0"
  1264. },
  1265. {
  1266. label: "1万",
  1267. value: "10000"
  1268. },
  1269. {
  1270. label: "2万",
  1271. value: "20000"
  1272. },
  1273. {
  1274. label: "5万",
  1275. value: "50000"
  1276. },
  1277. {
  1278. label: "10万",
  1279. value: "100000"
  1280. }
  1281. ],
  1282. kindCode: "SY_FJ_YBW3",
  1283. isMainRisk: false,
  1284. kindName: "附加医保-座位险(司机)",
  1285. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1286. },
  1287. ],
  1288. bottomData: [
  1289. // #ifdef APP-PLUS
  1290. {
  1291. text: '微信好友',
  1292. icon: '/static/image/share/weixinhaoyou.png',
  1293. name: 'wx'
  1294. },
  1295. {
  1296. text: '短信发送',
  1297. icon: '/static/image/share/shortMessage.png',
  1298. name: 'dx'
  1299. },
  1300. // #endif
  1301. {
  1302. text: '报价单',
  1303. icon: '/static/image/share/shortMessage.png',
  1304. name: 'bjd'
  1305. }
  1306. ],
  1307. vehicleModel: {}, //车型信息
  1308. showtaxArrears: false, //欠税信息
  1309. showOwerInfo: false, //展示车主信息
  1310. showPolicyHolderInfo: false, //展示投保人信息
  1311. showInsuredPersonInfo: false, //展示被保人信息
  1312. showProposalWay: false, //获取保单方式
  1313. showAdvancePayment: false, //展示保费
  1314. showAppoint: false, //展示特约
  1315. showDistribution: false, //展示快递
  1316. showApplyno: false, //展示投保单号
  1317. showPolicyno: false, //展示保单号
  1318. showPolicyFile: false, //展示电子保单
  1319. showPolicybzFile: false, //展示电子保单
  1320. policyList: [], //电子保单文件
  1321. policyList1: [], //电子标志文件
  1322. showCarImageInfo: false, //显示车辆影像
  1323. carImageListId: [],
  1324. showOwnerImageInfo: false, //显示车主影像
  1325. ownerImageListId: [],
  1326. showPolicyImageInfo: false, //显示投保人影像
  1327. policyImageListId: [],
  1328. showInsuredImageInfo: false, //显示被保人影像
  1329. insuredImageListId: [],
  1330. showCarCheckImageInfo: false, //显示验车照影像
  1331. imgRelationshipid: [],
  1332. showNewCarImageInfo: false, //显示新车影像
  1333. imgNewCarinvoiceId: [],
  1334. imgList1: [],
  1335. imgList2: [],
  1336. imgList3: [],
  1337. imgList4: [],
  1338. imgList5: [],
  1339. imgList6: [],
  1340. imgList7: [],
  1341. imgList8: [],
  1342. imgRelationship: [], //其他证明
  1343. imgNewCarQualified: [], //合格证
  1344. imgNewCarInvoice: [], //发票
  1345. previewImgs: [],
  1346. dianzibaodan: "",
  1347. jypremium: "",
  1348. quoteno: "",
  1349. extendInfo: {},
  1350. routepage: "",
  1351. roadrescueList: [],
  1352. companyUnderwriting: "",
  1353. ziJinengageListData: [],
  1354. ziJinengageList: [],
  1355. huaTaiengageListData: [],
  1356. huaTaiengageList: [],
  1357. natureOfVehicleUseoptions: [],
  1358. vehicleTypeoptions: [],
  1359. trafficManagementVehicleTypeoptions: [],
  1360. energyTypeoptions: [],
  1361. businessVehicleUseoptions: [],
  1362. outOfBusinessVehicleUseoptions: [],
  1363. }
  1364. },
  1365. async onLoad(params) {
  1366. this.getDicType("businessVehicleUse"); //车辆用途(营业)
  1367. this.getDicType("outOfBusinessVehicleUse"); //车辆用途(非营业)
  1368. this.getDicType("natureOfVehicleUse"); //车辆性质
  1369. this.getDicType("vehicleType"); //车辆种类
  1370. this.getDicType("trafficManagementVehicleType"); //车辆类型
  1371. this.getDicType("energyType"); //能源种类
  1372. let pages = getCurrentPages(); // 当前页面路由
  1373. if (pages.length > 1) {
  1374. let beforePage = pages[pages.length - 2].route; // 上一个页面路由
  1375. this.routepage = beforePage;
  1376. }
  1377. if (!this.token) {
  1378. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1379. }
  1380. if (!!params.companyId) {
  1381. this.companyId = params.companyId;
  1382. let param = {
  1383. companyId: params.companyId
  1384. };
  1385. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1386. if (res.code == 200) {
  1387. this.icon = "";
  1388. this.quoteno = res.data.quoteno;
  1389. this.name = res.data.inscompany;
  1390. this.carInfo = res.data.carinfo;
  1391. this.carInfo.carnature = this.dictionaryMatching(this.natureOfVehicleUseoptions,
  1392. this
  1393. .carInfo
  1394. .carnature)
  1395. this.carInfo.vehicleUse = this.carInfo.carnature == '非营业' ? this.dictionaryMatching(this
  1396. .outOfBusinessVehicleUseoptions,
  1397. this
  1398. .carInfo
  1399. .vehicleUse) : this.dictionaryMatching(this.businessVehicleUseoptions,
  1400. this
  1401. .carInfo
  1402. .vehicleUse)
  1403. this.carInfo.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  1404. this
  1405. .carInfo
  1406. .cimodelclass)
  1407. this.carInfo.cartype = this.dictionaryMatching(this.trafficManagementVehicleTypeoptions,
  1408. this
  1409. .carInfo
  1410. .cartype)
  1411. this.carInfo.energyType = this.dictionaryMatching(this.energyTypeoptions,
  1412. this
  1413. .carInfo
  1414. .energyType)
  1415. this.extendInfo = res.data.extendInfo;
  1416. this.licenseNo = res.data.licenseno;
  1417. if (!!this.carInfo.loanStatus) {
  1418. this.carInfo.loanStatus = 1;
  1419. } else {
  1420. this.carInfo.loanStatus = 0;
  1421. }
  1422. if (!!this.carInfo.registerDate) {
  1423. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1424. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1425. if (month1 < 10) {
  1426. month1 = '0' + month1;
  1427. }
  1428. let day1 = new Date(this.carInfo.registerDate).getDate()
  1429. if (day1 < 10) {
  1430. day1 = '0' + day1;
  1431. }
  1432. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1433. }
  1434. if (!!this.carInfo.issueDate) {
  1435. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1436. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1437. if (month2 < 10) {
  1438. month2 = '0' + month2;
  1439. }
  1440. let day2 = new Date(this.carInfo.issueDate).getDate()
  1441. if (day2 < 10) {
  1442. day2 = '0' + day2;
  1443. }
  1444. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1445. }
  1446. if (!!this.carInfo.transferDate) {
  1447. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1448. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1449. if (month3 < 10) {
  1450. month3 = '0' + month3;
  1451. }
  1452. let day3 = new Date(this.carInfo.transferDate).getDate()
  1453. if (day3 < 10) {
  1454. day3 = '0' + day3;
  1455. }
  1456. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1457. }
  1458. this.ownerInfo = res.data.ownerinfo;
  1459. this.policyHolderInfo = res.data.applyinfo;
  1460. this.insuredPersonInfo = res.data.insureinfo;
  1461. this.riskList = res.data.riskinfo;
  1462. this.kindList = res.data.kindinfo;
  1463. this.roadrescueList = this.kindList.filter((val) => {
  1464. return ["TY1", "TY2", "TY3", "TY4"].includes(val.kindCode)
  1465. })
  1466. this.sumPermium = res.data.sumpremium;
  1467. this.taxAmount = res.data.taxamount;
  1468. this.sypremium = res.data.sypremium;
  1469. this.jqpremium = res.data.jqpremium;
  1470. this.jypremium = res.data.jypremium;
  1471. this.orderstatus = res.data.orderstatus;
  1472. this.feerate = res.data.feerate;
  1473. this.disrate = res.data.disrate;
  1474. this.jqdiscountrate = res.data.jqdiscountrate;
  1475. this.sydiscountrate = res.data.sydiscountrate;
  1476. this.syappoint = res.data.syappoint;
  1477. this.orderInfo = {};
  1478. Object.assign(this.orderInfo, res.data)
  1479. this.imageEcho(this.quoteno) // 影像获取完毕
  1480. this.insCompanyList.map(ele => {
  1481. if (ele.name == res.data.inscompany) {
  1482. uni.getImageInfo({
  1483. src: ele.icon,
  1484. success: image => {
  1485. pathToBase64(image.path)
  1486. .then(base64 => {
  1487. this.logoimg = base64;
  1488. })
  1489. .catch(error => {});
  1490. },
  1491. fail: err => {}
  1492. });
  1493. }
  1494. return ele;
  1495. })
  1496. }
  1497. if (this.name == '紫金财险') {
  1498. let Zijinres = await this.$http.post('/order/zijin/queryClauseData', param);
  1499. this.ziJinengageListData = Zijinres.data;
  1500. let data = this.ziJinengageListData.find(val => val.optType == 3)
  1501. if (data) {
  1502. this.ziJinengageList.push({
  1503. clauseCode: data.clauseCode,
  1504. clauseName: data.clauseName,
  1505. clauses: data.clauseContent,
  1506. riskCode: data.riskCode,
  1507. modifyFlag: data.modifyFlag,
  1508. optType: data.optType,
  1509. })
  1510. }
  1511. }
  1512. if (this.name == '华泰财险') {
  1513. let huaTaires = await this.$http.post('/order/huaTaiApi/queryClauseData', param);
  1514. this.huaTaiengageListData = huaTaires.data;
  1515. huaTaires.data.map(val => {
  1516. if (val.optType == '2') {
  1517. this.huaTaiengageList.push({
  1518. engageCode: val.engageCode,
  1519. engageDetail: val.engageDetail,
  1520. engageTitle: val.engageTitle,
  1521. riskCode: val.riskCode,
  1522. modifyFlag: val.modifyFlag,
  1523. })
  1524. }
  1525. })
  1526. }
  1527. } else {
  1528. uni.showModal({
  1529. showCancel: false,
  1530. title: "未查询到该订单"
  1531. })
  1532. }
  1533. },
  1534. methods: {
  1535. ...mapMutations(['setOrderStage', 'setOrderType']),
  1536. //字典name匹配
  1537. dictionaryMatching(list, value) {
  1538. let obj = list.find(val => val.dictValue == value);
  1539. return obj.dictTag;
  1540. },
  1541. async getDicType(type) {
  1542. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  1543. if (res.code == 200) {
  1544. this[type + 'options'] = res.data.ddList;
  1545. // if (type == "trafficManagementVehicleType") {
  1546. //
  1547. // this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  1548. // this
  1549. // .carInfo
  1550. // .cimodelclass)
  1551. // }
  1552. }
  1553. },
  1554. ziJincontributingChange(param) {
  1555. this.ziJinengageList = [];
  1556. param.map(val => {
  1557. let list = this.ziJinengageListData.find(item => item.clauseId == val)
  1558. this.ziJinengageList.push({
  1559. clauseCode: list.clauseCode,
  1560. clauseName: list.clauseName,
  1561. clauses: list.clauseContent,
  1562. riskCode: list.riskCode,
  1563. modifyFlag: list.modifyFlag,
  1564. })
  1565. })
  1566. },
  1567. huaTaicontributingChange(param) {
  1568. this.huaTaiengageList = [];
  1569. param.map(val => {
  1570. let list = this.huaTaiengageListData.find(item => item.engageCode == val)
  1571. this.huaTaiengageList.push({
  1572. engageCode: list.engageCode,
  1573. engageDetail: list.engageDetail,
  1574. engageTitle: list.engageTitle,
  1575. riskCode: list.riskCode,
  1576. modifyFlag: list.modifyFlag,
  1577. })
  1578. })
  1579. },
  1580. //阅读并同意协议
  1581. agreed(e) {
  1582. this.agree = e.value;
  1583. },
  1584. toCarInfo() {
  1585. this.navigate({
  1586. url: '/pages/carInsure2/Information',
  1587. success: (res) => {
  1588. res.eventChannel.emit(
  1589. "acceptData", {
  1590. carInfo: this
  1591. .carInfo,
  1592. ownerInfo: this
  1593. .ownerInfo,
  1594. policyHolderInfo: this
  1595. .policyHolderInfo,
  1596. insuredPersonInfo: this
  1597. .insuredPersonInfo,
  1598. riskList: this
  1599. .riskList,
  1600. kindList: this
  1601. .kindList,
  1602. carInfoPositiveList: this
  1603. .carInfoPositiveList, //车辆
  1604. ownerInfoPositiveList: this
  1605. .ownerInfoPositiveList, //车主
  1606. policyHolderInfoPositiveList: this
  1607. .policyHolderInfoPositiveList, //投保
  1608. insuredPersonInfoPositiveList: this
  1609. .insuredPersonInfoPositiveList, //被保人
  1610. })
  1611. }
  1612. }, "navigateTo", true);
  1613. },
  1614. //去选择险种页面
  1615. toInsureItems() {
  1616. console.log();
  1617. this.navigate({
  1618. url: '/pages/carInsure2/insureItems',
  1619. success: (res) => {
  1620. res.eventChannel.emit("acceptData", {
  1621. carInfo: this.carInfo,
  1622. ownerInfo: this.ownerInfo,
  1623. policyHolderInfo: this.policyHolderInfo,
  1624. insuredPersonInfo: this.insuredPersonInfo,
  1625. riskList: this.riskList,
  1626. kindList: this.kindList
  1627. })
  1628. }
  1629. }, "navigateTo", true);
  1630. },
  1631. //删除图片
  1632. delCheckImage(param, IdList, srcList) {
  1633. this[IdList].map((ele, index) => {
  1634. if (param.imageId === ele.imageId) {
  1635. this[IdList].splice(index, 1);
  1636. }
  1637. return ele;
  1638. });
  1639. this[srcList].map((ele, index) => {
  1640. if (param.imageId === ele.imageId) {
  1641. this[srcList].splice(index, 1);
  1642. }
  1643. return ele;
  1644. });
  1645. },
  1646. //影像查询
  1647. async imageEcho(quotenos) {
  1648. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1649. if (imgres.code == "200") {
  1650. Object.keys(imgres.data).forEach((keys) => {
  1651. if (imgres.data[keys].url) {
  1652. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1653. switch (keys) {
  1654. case 'C01':
  1655. this.carImageListId.push({
  1656. imageId: imgres.data[keys].imageId,
  1657. imageType: imgres.data[keys].imageType,
  1658. })
  1659. this.imgList1.push(imgres.data[keys]);
  1660. break;
  1661. case 'D01':
  1662. this.carImageListId.push({
  1663. imageId: imgres.data[keys].imageId,
  1664. imageType: imgres.data[keys].imageType,
  1665. })
  1666. this.imgList2.push(imgres.data[keys]);
  1667. break;
  1668. case 'C02':
  1669. this.ownerImageListId.push({
  1670. imageId: imgres.data[keys].imageId,
  1671. imageType: imgres.data[keys].imageType,
  1672. })
  1673. this.imgList3.push(imgres.data[keys]);
  1674. break;
  1675. case 'D02':
  1676. this.ownerImageListId.push({
  1677. imageId: imgres.data[keys].imageId,
  1678. imageType: imgres.data[keys].imageType,
  1679. })
  1680. this.imgList4.push(imgres.data[keys]);
  1681. break;
  1682. case 'C03':
  1683. this.policyImageListId.push({
  1684. imageId: imgres.data[keys].imageId,
  1685. imageType: imgres.data[keys].imageType,
  1686. })
  1687. this.imgList5.push(imgres.data[keys]);
  1688. break;
  1689. case 'D03':
  1690. this.policyImageListId.push({
  1691. imageId: imgres.data[keys].imageId,
  1692. imageType: imgres.data[keys].imageType,
  1693. })
  1694. this.imgList6.push(imgres.data[keys]);
  1695. break;
  1696. case 'C04':
  1697. this.insuredImageListId.push({
  1698. imageId: imgres.data[keys].imageId,
  1699. imageType: imgres.data[keys].imageType,
  1700. })
  1701. this.imgList7.push(imgres.data[keys]);
  1702. break;
  1703. case 'D04':
  1704. this.insuredImageListId.push({
  1705. imageId: imgres.data[keys].imageId,
  1706. imageType: imgres.data[keys].imageType,
  1707. })
  1708. this.imgList8.push(imgres.data[keys]);
  1709. break;
  1710. default:
  1711. break;
  1712. }
  1713. }
  1714. });
  1715. }
  1716. },
  1717. async uploadRetry() {
  1718. const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
  1719. .policyImageListId, ...this.insuredImageListId, ...this
  1720. .imgRelationshipid
  1721. ];
  1722. if (mergedArray.length > 0) {
  1723. await this.$http.post('/ins/taskImage/uploadImages', {
  1724. imageList: mergedArray,
  1725. quoteNo: this.quoteno,
  1726. })
  1727. }
  1728. },
  1729. async auditNextconfirm() {
  1730. if (this.modificationFlag) {
  1731. await this.uploadRetry();
  1732. }
  1733. let pro = this.quotationType.themeCode;
  1734. switch (this.name) {
  1735. case "永安财险":
  1736. let yaimage = await this.$http.post(
  1737. '/order/yongAn/submitImage', {
  1738. companyId: this.companyId
  1739. });
  1740. if (yaimage.code == '200') {
  1741. let yaaudit = await this.$http.post(
  1742. '/order/yongAn/audit', {
  1743. companyId: this.companyId,
  1744. jqappoint: "",
  1745. syappoint: ""
  1746. });
  1747. if (yaaudit.code == '200') {
  1748. uni.showModal({
  1749. content: '订单自核成功',
  1750. cancelText: '暂不缴费',
  1751. confirmText: '立即缴费',
  1752. success: (res1) => {
  1753. if (res1.confirm) {
  1754. if (pro == "QD") {
  1755. uni.navigateTo({
  1756. url: "/pages/orders1/paymentCode?companyId=" +
  1757. this
  1758. .companyId
  1759. })
  1760. } else {
  1761. uni.navigateTo({
  1762. url: "/pages/orders1/paymentCode1?companyId=" +
  1763. this
  1764. .companyId
  1765. })
  1766. }
  1767. } else {
  1768. this.navigate({
  1769. url: "/pages/orders1/orders"
  1770. }, "switchTab",
  1771. true);
  1772. }
  1773. }
  1774. });
  1775. } else {
  1776. uni.showModal({
  1777. content: '核保失败(' + yaaudit.msg + ')',
  1778. cancelText: '返回订单',
  1779. confirmText: '修改',
  1780. success: async (res2) => {
  1781. if (res2.confirm) {
  1782. this.navigate({
  1783. url: "/pages/carInsure2/insureItems"
  1784. }, "switchTab",
  1785. true);
  1786. } else {
  1787. this.navigate({
  1788. url: "/pages/orders1/orders"
  1789. }, "switchTab",
  1790. true);
  1791. }
  1792. }
  1793. });
  1794. }
  1795. } else {
  1796. uni.showModal({
  1797. content: '影像上传失败(' + yaimage.msg + ')',
  1798. cancelText: '返回订单',
  1799. confirmText: '修改',
  1800. success: async (res3) => {
  1801. if (res3.confirm) {
  1802. } else {
  1803. this.navigate({
  1804. url: "/pages/orders1/orders"
  1805. }, "switchTab",
  1806. true);
  1807. }
  1808. }
  1809. });
  1810. }
  1811. break;
  1812. case "中煤财险":
  1813. let zmimage = await this.$http.post(
  1814. '/order/zhongMeiApi/submitImage', {
  1815. companyId: this.companyId
  1816. });
  1817. if (zmimage.code == '200') {
  1818. let zmaudit = await this.$http.post(
  1819. '/order/zhongMeiApi/audit', {
  1820. companyId: this.companyId,
  1821. jqappoint: "",
  1822. syappoint: ""
  1823. });
  1824. if (zmaudit.code == '200') {
  1825. uni.showModal({
  1826. content: '订单自核成功',
  1827. cancelText: '暂不缴费',
  1828. confirmText: '立即缴费',
  1829. success: (res1) => {
  1830. if (res1.confirm) {
  1831. if (pro == "QD") {
  1832. uni.navigateTo({
  1833. url: "/pages/orders1/paymentCode?companyId=" +
  1834. this
  1835. .companyId
  1836. })
  1837. } else {
  1838. uni.navigateTo({
  1839. url: "/pages/orders1/paymentCode1?companyId=" +
  1840. this
  1841. .companyId
  1842. })
  1843. }
  1844. } else {
  1845. this.navigate({
  1846. url: "/pages/orders1/orders"
  1847. }, "switchTab",
  1848. true);
  1849. }
  1850. }
  1851. });
  1852. } else {
  1853. uni.showModal({
  1854. content: '核保失败(' + zmaudit.msg + ')',
  1855. cancelText: '返回订单',
  1856. confirmText: '修改',
  1857. success: async (res2) => {
  1858. if (res2.confirm) {
  1859. this.navigate({
  1860. url: "/pages/carInsure2/insureItems"
  1861. }, "switchTab",
  1862. true);
  1863. } else {
  1864. this.navigate({
  1865. url: "/pages/orders1/orders"
  1866. }, "switchTab",
  1867. true);
  1868. }
  1869. }
  1870. });
  1871. }
  1872. } else {
  1873. uni.showModal({
  1874. content: '影像上传失败(' + zmimage.msg + ')',
  1875. cancelText: '返回订单',
  1876. confirmText: '修改',
  1877. success: async (res3) => {
  1878. if (res3.confirm) {
  1879. } else {
  1880. this.navigate({
  1881. url: "/pages/orders1/orders"
  1882. }, "switchTab",
  1883. true);
  1884. }
  1885. }
  1886. });
  1887. }
  1888. break;
  1889. case "永诚财险":
  1890. let ycimage = await this.$http.post(
  1891. '/api/yongCheng/uploadImage', {
  1892. companyId: this.companyId
  1893. });
  1894. if (ycimage.code == '200') {
  1895. let ycaudit = await this.$http.post(
  1896. '/api/yongCheng/audit', {
  1897. companyId: this.companyId,
  1898. });
  1899. if (ycaudit.code == '200') {
  1900. uni.showModal({
  1901. content: '订单自核成功',
  1902. cancelText: '暂不缴费',
  1903. confirmText: '立即缴费',
  1904. success: (res1) => {
  1905. if (res1.confirm) {
  1906. if (pro == "QD") {
  1907. uni.navigateTo({
  1908. url: "/pages/orders1/paymentCode?companyId=" +
  1909. this
  1910. .companyId
  1911. })
  1912. } else {
  1913. uni.navigateTo({
  1914. url: "/pages/orders1/paymentCode1?companyId=" +
  1915. this
  1916. .companyId
  1917. })
  1918. }
  1919. } else {
  1920. this.navigate({
  1921. url: "/pages/orders1/orders"
  1922. }, "switchTab",
  1923. true);
  1924. }
  1925. }
  1926. });
  1927. } else {
  1928. uni.showModal({
  1929. content: '核保失败(' + ycaudit.msg + ')',
  1930. cancelText: '返回订单',
  1931. confirmText: '修改',
  1932. success: async (res2) => {
  1933. if (res2.confirm) {
  1934. this.navigate({
  1935. url: "/pages/carInsure2/insureItems"
  1936. }, "switchTab",
  1937. true);
  1938. } else {
  1939. this.navigate({
  1940. url: "/pages/orders1/orders"
  1941. }, "switchTab",
  1942. true);
  1943. }
  1944. }
  1945. });
  1946. }
  1947. } else {
  1948. uni.showModal({
  1949. content: '影像上传失败(' + ycimage.msg + ')',
  1950. cancelText: '返回订单',
  1951. confirmText: '修改',
  1952. success: async (res3) => {
  1953. if (res3.confirm) {
  1954. } else {
  1955. this.navigate({
  1956. url: "/pages/orders1/orders"
  1957. }, "switchTab",
  1958. true);
  1959. }
  1960. }
  1961. });
  1962. }
  1963. break;
  1964. case "国任财险":
  1965. let grimage = await this.$http.post(
  1966. '/api/guoRen/uploadImage', {
  1967. companyId: this.companyId
  1968. });
  1969. if (grimage.code == '200') {
  1970. let graudit = await this.$http.post(
  1971. '/api/guoRen/audit', {
  1972. companyId: this.companyId,
  1973. });
  1974. if (graudit.code == '200') {
  1975. uni.showModal({
  1976. content: '订单自核成功',
  1977. cancelText: '暂不缴费',
  1978. confirmText: '立即缴费',
  1979. success: (res1) => {
  1980. if (res1.confirm) {
  1981. if (pro == "QD") {
  1982. uni.navigateTo({
  1983. url: "/pages/orders1/paymentCode?companyId=" +
  1984. this
  1985. .companyId
  1986. })
  1987. } else {
  1988. uni.navigateTo({
  1989. url: "/pages/orders1/paymentCode1?companyId=" +
  1990. this
  1991. .companyId
  1992. })
  1993. }
  1994. } else {
  1995. this.navigate({
  1996. url: "/pages/orders1/orders"
  1997. }, "switchTab",
  1998. true);
  1999. }
  2000. }
  2001. });
  2002. } else {
  2003. uni.showModal({
  2004. content: '核保失败(' + graudit.msg + ')',
  2005. cancelText: '返回订单',
  2006. confirmText: '修改',
  2007. success: async (res2) => {
  2008. if (res2.confirm) {
  2009. this.navigate({
  2010. url: "/pages/carInsure2/insureItems"
  2011. }, "switchTab",
  2012. true);
  2013. } else {
  2014. this.navigate({
  2015. url: "/pages/orders1/orders"
  2016. }, "switchTab",
  2017. true);
  2018. }
  2019. }
  2020. });
  2021. }
  2022. } else {
  2023. uni.showModal({
  2024. content: '影像上传失败(' + grimage.msg + ')',
  2025. cancelText: '返回订单',
  2026. confirmText: '修改',
  2027. success: async (res3) => {
  2028. if (res3.confirm) {
  2029. } else {
  2030. this.navigate({
  2031. url: "/pages/orders1/orders"
  2032. }, "switchTab",
  2033. true);
  2034. }
  2035. }
  2036. });
  2037. }
  2038. break;
  2039. case "大家财险":
  2040. let djimage = await this.$http.post(
  2041. '/api/dajia/submitImage', {
  2042. companyId: this.companyId
  2043. });
  2044. if (djimage.code == '200') {
  2045. let djaudit = await this.$http.post(
  2046. '/api/dajia/audit', {
  2047. companyId: this.companyId,
  2048. });
  2049. if (djaudit.code == '200') {
  2050. uni.showModal({
  2051. content: '订单自核成功',
  2052. cancelText: '暂不缴费',
  2053. confirmText: '立即缴费',
  2054. success: (res1) => {
  2055. if (res1.confirm) {
  2056. if (pro == "QD") {
  2057. uni.navigateTo({
  2058. url: "/pages/orders1/paymentCode?companyId=" +
  2059. this
  2060. .companyId
  2061. })
  2062. } else {
  2063. uni.navigateTo({
  2064. url: "/pages/orders1/paymentCode1?companyId=" +
  2065. this
  2066. .companyId
  2067. })
  2068. }
  2069. } else {
  2070. this.navigate({
  2071. url: "/pages/orders1/orders"
  2072. }, "switchTab",
  2073. true);
  2074. }
  2075. }
  2076. });
  2077. } else {
  2078. uni.showModal({
  2079. content: '核保失败(' + djaudit.msg + ')',
  2080. cancelText: '返回订单',
  2081. confirmText: '修改',
  2082. success: async (res2) => {
  2083. if (res2.confirm) {
  2084. this.navigate({
  2085. url: "/pages/carInsure2/insureItems"
  2086. }, "switchTab",
  2087. true);
  2088. } else {
  2089. this.navigate({
  2090. url: "/pages/orders1/orders"
  2091. }, "switchTab",
  2092. true);
  2093. }
  2094. }
  2095. });
  2096. }
  2097. } else {
  2098. uni.showModal({
  2099. content: '影像上传失败(' + djimage.msg + ')',
  2100. cancelText: '返回订单',
  2101. confirmText: '修改',
  2102. success: async (res3) => {
  2103. if (res3.confirm) {
  2104. } else {
  2105. this.navigate({
  2106. url: "/pages/orders1/orders"
  2107. }, "switchTab",
  2108. true);
  2109. }
  2110. }
  2111. });
  2112. }
  2113. break;
  2114. case "紫金财险":
  2115. let zjimage = await this.$http.post(
  2116. '/order/zijin/submitImage', {
  2117. companyId: this.companyId
  2118. });
  2119. if (zjimage.code == '200') {
  2120. let zjaudit = await this.$http.post(
  2121. '/order/zijin/audit', {
  2122. companyId: this.companyId,
  2123. engageList: this.ziJinengageList,
  2124. });
  2125. if (zjaudit.code == '200') {
  2126. uni.showModal({
  2127. content: '订单自核成功',
  2128. cancelText: '暂不缴费',
  2129. confirmText: '立即缴费',
  2130. success: (res1) => {
  2131. if (res1.confirm) {
  2132. if (pro == "QD") {
  2133. uni.navigateTo({
  2134. url: "/pages/orders1/paymentCode?companyId=" +
  2135. this
  2136. .companyId
  2137. })
  2138. } else {
  2139. uni.navigateTo({
  2140. url: "/pages/orders1/paymentCode1?companyId=" +
  2141. this
  2142. .companyId
  2143. })
  2144. }
  2145. } else {
  2146. this.navigate({
  2147. url: "/pages/orders1/orders"
  2148. }, "switchTab",
  2149. true);
  2150. }
  2151. }
  2152. });
  2153. } else {
  2154. uni.showModal({
  2155. content: '核保失败(' + zjaudit.msg + ')',
  2156. cancelText: '返回订单',
  2157. confirmText: '修改',
  2158. success: async (res2) => {
  2159. if (res2.confirm) {
  2160. this.navigate({
  2161. url: "/pages/carInsure2/insureItems"
  2162. }, "switchTab",
  2163. true);
  2164. } else {
  2165. this.navigate({
  2166. url: "/pages/orders1/orders"
  2167. }, "switchTab",
  2168. true);
  2169. }
  2170. }
  2171. });
  2172. }
  2173. } else {
  2174. uni.showModal({
  2175. content: '影像上传失败(' + zjimage.msg + ')',
  2176. cancelText: '返回订单',
  2177. confirmText: '修改',
  2178. success: async (res3) => {
  2179. if (res3.confirm) {
  2180. } else {
  2181. this.navigate({
  2182. url: "/pages/orders1/orders"
  2183. }, "switchTab",
  2184. true);
  2185. }
  2186. }
  2187. });
  2188. }
  2189. break;
  2190. case "华泰财险":
  2191. let htimage = await this.$http.post(
  2192. '/order/huaTaiApi/submitImage', {
  2193. companyId: this.companyId
  2194. });
  2195. if (htimage.code == '200') {
  2196. let htaudit = await this.$http.post(
  2197. '/order/huaTaiApi/audit', {
  2198. companyId: this.companyId,
  2199. engageList: this.huaTaiengageList,
  2200. });
  2201. if (htaudit.code == '200') {
  2202. uni.showModal({
  2203. content: '订单自核成功',
  2204. cancelText: '暂不缴费',
  2205. confirmText: '立即缴费',
  2206. success: (res1) => {
  2207. if (res1.confirm) {
  2208. if (pro == "QD") {
  2209. uni.navigateTo({
  2210. url: "/pages/orders1/paymentCode?companyId=" +
  2211. this
  2212. .companyId
  2213. })
  2214. } else {
  2215. uni.navigateTo({
  2216. url: "/pages/orders1/paymentCode1?companyId=" +
  2217. this
  2218. .companyId
  2219. })
  2220. }
  2221. } else {
  2222. this.navigate({
  2223. url: "/pages/orders1/orders"
  2224. }, "switchTab",
  2225. true);
  2226. }
  2227. }
  2228. });
  2229. } else {
  2230. uni.showModal({
  2231. content: '核保失败(' + htaudit.msg + ')',
  2232. cancelText: '返回订单',
  2233. confirmText: '修改',
  2234. success: async (res2) => {
  2235. if (res2.confirm) {
  2236. this.navigate({
  2237. url: "/pages/carInsure2/insureItems"
  2238. }, "switchTab",
  2239. true);
  2240. } else {
  2241. this.navigate({
  2242. url: "/pages/orders1/orders"
  2243. }, "switchTab",
  2244. true);
  2245. }
  2246. }
  2247. });
  2248. }
  2249. } else {
  2250. uni.showModal({
  2251. content: '影像上传失败(' + htimage.msg + ')',
  2252. cancelText: '返回订单',
  2253. confirmText: '修改',
  2254. success: async (res3) => {
  2255. if (res3.confirm) {
  2256. } else {
  2257. this.navigate({
  2258. url: "/pages/orders1/orders"
  2259. }, "switchTab",
  2260. true);
  2261. }
  2262. }
  2263. });
  2264. }
  2265. break;
  2266. case "渤海财险":
  2267. let bhimage = await this.$http.post(
  2268. '/order/boHaiApi/submitImage', {
  2269. companyId: this.companyId
  2270. });
  2271. if (bhimage.code == '200') {
  2272. let bhaudit = await this.$http.post(
  2273. '/order/boHaiApi/audit', {
  2274. companyId: this.companyId,
  2275. jqappoint: "",
  2276. syappoint: ""
  2277. });
  2278. if (bhaudit.code == '200') {
  2279. uni.showModal({
  2280. content: '订单自核成功',
  2281. cancelText: '暂不缴费',
  2282. confirmText: '立即缴费',
  2283. success: (res1) => {
  2284. if (res1.confirm) {
  2285. if (pro == "QD") {
  2286. uni.navigateTo({
  2287. url: "/pages/orders1/paymentCode?companyId=" +
  2288. this
  2289. .companyId
  2290. })
  2291. } else {
  2292. uni.navigateTo({
  2293. url: "/pages/orders1/paymentCode1?companyId=" +
  2294. this
  2295. .companyId
  2296. })
  2297. }
  2298. } else {
  2299. this.navigate({
  2300. url: "/pages/orders1/orders"
  2301. }, "switchTab",
  2302. true);
  2303. }
  2304. }
  2305. });
  2306. } else {
  2307. uni.showModal({
  2308. content: '核保失败(' + bhaudit.msg + ')',
  2309. cancelText: '返回订单',
  2310. confirmText: '修改',
  2311. success: async (res2) => {
  2312. if (res2.confirm) {
  2313. this.navigate({
  2314. url: "/pages/carInsure2/insureItems"
  2315. }, "switchTab",
  2316. true);
  2317. } else {
  2318. this.navigate({
  2319. url: "/pages/orders1/orders"
  2320. }, "switchTab",
  2321. true);
  2322. }
  2323. }
  2324. });
  2325. }
  2326. } else {
  2327. uni.showModal({
  2328. content: '影像上传失败(' + bhimage.msg + ')',
  2329. cancelText: '返回订单',
  2330. confirmText: '修改',
  2331. success: async (res3) => {
  2332. if (res3.confirm) {
  2333. } else {
  2334. this.navigate({
  2335. url: "/pages/orders1/orders"
  2336. }, "switchTab",
  2337. true);
  2338. }
  2339. }
  2340. });
  2341. }
  2342. break;
  2343. case "恒邦财险":
  2344. case "安盛天平":
  2345. case "众安财险":
  2346. case "中国人寿":
  2347. case "太平财险":
  2348. case "华农财险":
  2349. let pythonimage = await this.$http.post(
  2350. '/insurance/crawler/submitImage', {
  2351. subOrderNo: this.companyId
  2352. });
  2353. if (pythonimage.code == '200') {
  2354. let pythonaudit = await this.$http.post(
  2355. '/insurance/crawler/audit', {
  2356. subOrderNo: this.companyId,
  2357. });
  2358. if (pythonaudit.code == '200') {
  2359. uni.showModal({
  2360. content: '订单自核成功',
  2361. cancelText: '暂不缴费',
  2362. confirmText: '立即缴费',
  2363. success: (res1) => {
  2364. if (res1.confirm) {
  2365. if (pro == "QD") {
  2366. uni.navigateTo({
  2367. url: "/pages/orders1/paymentCode?companyId=" +
  2368. this
  2369. .companyId
  2370. })
  2371. } else {
  2372. uni.navigateTo({
  2373. url: "/pages/orders1/paymentCode1?companyId=" +
  2374. this
  2375. .companyId
  2376. })
  2377. }
  2378. } else {
  2379. this.navigate({
  2380. url: "/pages/orders1/orders"
  2381. }, "switchTab",
  2382. true);
  2383. }
  2384. }
  2385. });
  2386. } else {
  2387. uni.showModal({
  2388. content: '核保失败(' + pythonaudit.msg + ')',
  2389. cancelText: '返回订单',
  2390. confirmText: '修改',
  2391. success: async (res2) => {
  2392. if (res2.confirm) {
  2393. this.navigate({
  2394. url: "/pages/carInsure2/insureItems"
  2395. }, "switchTab",
  2396. true);
  2397. } else {
  2398. this.navigate({
  2399. url: "/pages/orders1/orders"
  2400. }, "switchTab",
  2401. true);
  2402. }
  2403. }
  2404. });
  2405. }
  2406. } else {
  2407. uni.showModal({
  2408. content: '影像上传失败(' + pythonimage.msg + ')',
  2409. cancelText: '返回订单',
  2410. confirmText: '修改',
  2411. success: async (res3) => {
  2412. if (res3.confirm) {
  2413. } else {
  2414. this.navigate({
  2415. url: "/pages/orders1/orders"
  2416. }, "switchTab",
  2417. true);
  2418. }
  2419. }
  2420. });
  2421. }
  2422. break;
  2423. }
  2424. },
  2425. // 上传影像并提交核保
  2426. async submitAudit() {
  2427. if (!this.agree) {
  2428. return uni.showToast({
  2429. title: '请阅读并同意协议',
  2430. icon: "none",
  2431. duration: 2000
  2432. });
  2433. }
  2434. this.auditNextShow = true;
  2435. },
  2436. async chooseImage(type, imageIdList, imgurl) {
  2437. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  2438. count: 1,
  2439. sizeType: ['compressed']
  2440. });
  2441. chooseImageRes.tempFilePaths.map((ele, index) => {
  2442. uni.uploadFile({
  2443. url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
  2444. filePath: ele,
  2445. name: "multipartFile",
  2446. formData: {
  2447. 'type': 'image',
  2448. },
  2449. header: {
  2450. Authorization: this.token,
  2451. },
  2452. success: async (imgRes) => {
  2453. let data = JSON.parse(imgRes.data);
  2454. data.data.url = this.$base.baseUrl + data.data.url;
  2455. if (data.code == "200") {
  2456. console.log()
  2457. if (this[imageIdList].some(v => v.imageType == type)) {
  2458. this[imageIdList].map(val => {
  2459. if (val.imageType == type) {
  2460. val.imageId = data.data.id;
  2461. }
  2462. })
  2463. } else {
  2464. this[imageIdList].push({
  2465. imageId: data.data.id,
  2466. imageType: type,
  2467. })
  2468. }
  2469. this[imgurl].push(data.data)
  2470. this.modificationFlag = true;
  2471. }
  2472. }
  2473. });
  2474. })
  2475. },
  2476. //影像预览
  2477. previewImage(e, type) {
  2478. this.previewImgs = this[type];
  2479. var current = e.currentTarget.dataset.src;
  2480. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  2481. },
  2482. downloadPolicy(file) {
  2483. //#ifdef APP-PLUS
  2484. uni.showLoading({
  2485. title: '文件下载中'
  2486. });
  2487. let index = file.lastIndexOf("\/")
  2488. let licensename = file.substring(index + 1, file.length)
  2489. let dtask = plus.downloader.createDownload(file, {
  2490. filename: "_downloads/" + this.name + '-' + this.insuredPersonInfo.name + '-' + licensename
  2491. }, function(d, status) {
  2492. if (status == 200) {
  2493. uni.hideLoading()
  2494. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  2495. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  2496. plus.runtime.openFile(d.filename); //选择软件打开文件
  2497. } else {
  2498. uni.hideLoading()
  2499. //下载失败
  2500. plus.downloader.clear(); //清除下载任务
  2501. }
  2502. })
  2503. dtask.start();
  2504. //#endif
  2505. //#ifdef H5
  2506. var win = window.open();
  2507. win.document.write(
  2508. '<body style="margin:0px;"><object data="' +
  2509. file +
  2510. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  2511. file +
  2512. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  2513. );
  2514. //#endif
  2515. },
  2516. //选择缴费方式
  2517. openPayWay() {
  2518. this.navigate({
  2519. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  2520. }, 'navigateTo', true)
  2521. },
  2522. cancelShare() {
  2523. this.$refs.showshare.close()
  2524. },
  2525. //控制详情的展开和收起
  2526. controlShow(type) {
  2527. this[type] = !this[type];
  2528. },
  2529. //撤销核保
  2530. cancelUnderwriting() {
  2531. uni.showModal({
  2532. content: '是否确认撤销核保?',
  2533. success: async (res) => {
  2534. if (res.confirm) {
  2535. let param = {
  2536. "auditid": this.userInfo.sysUser.id, //核保人会员号
  2537. "auditopinion": '', //核保意见
  2538. "jqapplyno": "", //交强险投保单号
  2539. "jqappoint": "", //交强特别约定
  2540. "jqpolicyno": "", //交强保单号
  2541. "orderno": this.orderno, //订单号
  2542. "orderstatus": "0", //订单类型
  2543. "syapplyno": "", //商业险投保单号
  2544. "syappoint": "", //商业险特别约定
  2545. "sypolicyno": "" //商业保单号
  2546. }
  2547. let res = await this.$http.post('/insOrder/saveAudit', param);
  2548. uni.showToast({
  2549. title: '撤销成功',
  2550. icon: "none",
  2551. duration: 2000
  2552. });
  2553. setTimeout(() => {
  2554. this.setOrderStage(0);
  2555. this.setOrderType(0);
  2556. this.navigate({
  2557. url: "/pages/orders1/orders"
  2558. }, "switchTab", true);
  2559. }, 2000);
  2560. } else if (res.cancel) {
  2561. console.log('用户点击取消');
  2562. }
  2563. }
  2564. });
  2565. },
  2566. toChinesNum(num) {
  2567. let overWan = Math.floor(num / 10000);
  2568. let result = overWan + "万";
  2569. return result;
  2570. },
  2571. }
  2572. }
  2573. </script>
  2574. <style lang="scss" scoped>
  2575. @import '@/style/mixin.scss';
  2576. .page {
  2577. background: #F8FAFE;
  2578. padding: 0 16px 100px 16px;
  2579. }
  2580. .headers {
  2581. width: 100%;
  2582. height: auto;
  2583. background: linear-gradient(180deg, #0052FF 0%, #F8FAFE 110%);
  2584. padding: 16px 16px 0 16px;
  2585. .price {
  2586. width: 100%;
  2587. height: 40px;
  2588. background: #FFFFFF;
  2589. border-radius: 6px 6px 0px 0px;
  2590. }
  2591. }
  2592. .header {
  2593. height: 80upx;
  2594. position: relative;
  2595. }
  2596. .header .title {
  2597. font-size: 30upx;
  2598. font-weight: bold;
  2599. }
  2600. .welfare {
  2601. margin-bottom: 20upx;
  2602. width: 100%;
  2603. box-sizing: border-box;
  2604. background: #FFFFFF;
  2605. border-radius: 20upx;
  2606. }
  2607. .welfare .body {
  2608. padding: 0 30upx 30upx;
  2609. box-sizing: border-box;
  2610. flex-wrap: wrap;
  2611. }
  2612. .welfare .body>.welfareItem {
  2613. width: 320upx;
  2614. height: 120upx;
  2615. padding: 10upx 20upx;
  2616. margin: 20upx 10upx 0upx;
  2617. border: 1px solid rgba($themeColor, 0.6);
  2618. box-sizing: border-box;
  2619. background: rgba($themeColor, 0.4);
  2620. border-radius: 10upx;
  2621. }
  2622. .welfare .body>.welfareItem .name {
  2623. color: $themeColor;
  2624. font-size: 30upx;
  2625. width: 210upx;
  2626. overflow: hidden;
  2627. text-overflow: ellipsis;
  2628. white-space: nowrap;
  2629. }
  2630. .welfare .body>.welfareItem .content {
  2631. font-size: 24upx;
  2632. width: 260upx;
  2633. overflow: hidden;
  2634. text-overflow: ellipsis;
  2635. white-space: nowrap;
  2636. }
  2637. /* 报价方案Start */
  2638. .quotePlan {
  2639. margin-bottom: 20upx;
  2640. width: 100%;
  2641. }
  2642. .quotePlan .header .adjustPlan {
  2643. color: $themeColor;
  2644. }
  2645. .quotePlan .body {
  2646. background-color: #fff;
  2647. padding: 10px;
  2648. border-radius: 6px;
  2649. .kindList {
  2650. background-color: #F9F9F9;
  2651. padding: 10px;
  2652. height: auto;
  2653. width: 100%;
  2654. border-radius: 10px;
  2655. font-size: 13px;
  2656. color: rgba(35, 40, 50, 0.8);
  2657. }
  2658. }
  2659. .quotePlan .body .insurance {
  2660. padding-bottom: 20upx;
  2661. }
  2662. .quotePlan .body .row {
  2663. padding: 5px;
  2664. border-bottom: 1px solid #F3F3F3;
  2665. }
  2666. .quotePlan .body .row:last-child {
  2667. border: none;
  2668. }
  2669. .quotePlan .body .row .date {
  2670. color: #A4A4A4;
  2671. font-size: 22upx;
  2672. }
  2673. .quotePlan .body .insurance .kindList {
  2674. background: #F3F3F3;
  2675. padding: 0 10upx;
  2676. }
  2677. .addedServices .kindList {
  2678. background: #F3F3F3;
  2679. padding: 0 10upx;
  2680. }
  2681. .quotePlan .body .insurance .kindList .kindItem {
  2682. padding: 2px 0;
  2683. }
  2684. .quotePlan .body .insurance .kindList .kindItem>view {
  2685. font-size: 24upx;
  2686. }
  2687. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  2688. width: 310upx;
  2689. }
  2690. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  2691. width: 170upx;
  2692. }
  2693. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  2694. width: 170upx;
  2695. }
  2696. .addedServices .kindList .kindItem {
  2697. height: 65upx;
  2698. }
  2699. .addedServices .kindList .kindItem>view {
  2700. font-size: 24upx;
  2701. padding: 0upx 15upx;
  2702. }
  2703. /* 报价方案End */
  2704. .car {
  2705. width: 100%;
  2706. .body {
  2707. padding: 0upx 30upx 0;
  2708. background-color: #fff;
  2709. border-radius: 6px;
  2710. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2711. .row {
  2712. padding: 5px;
  2713. border-bottom: 1px solid #F3F3F3;
  2714. }
  2715. .row:last-child {
  2716. border: none;
  2717. }
  2718. }
  2719. }
  2720. /* 预缴费Start */
  2721. .advancePaymentTotal {
  2722. margin-bottom: 20upx;
  2723. width: 100%;
  2724. box-sizing: border-box;
  2725. background: #FFFFFF;
  2726. border-radius: 20upx;
  2727. }
  2728. .advancePaymentTotal .body {
  2729. padding: 0upx 40upx 10upx;
  2730. }
  2731. .advancePaymentTotal .body .row {
  2732. height: 80upx;
  2733. border-bottom: 1px solid #F3F3F3;
  2734. }
  2735. /* 预缴费End */
  2736. /* 底部按钮Start */
  2737. .bottomBtn {
  2738. position: fixed;
  2739. bottom: 0;
  2740. left: 0;
  2741. right: 0;
  2742. height: auto;
  2743. z-index: 999;
  2744. background-color: #fff;
  2745. .agree {
  2746. padding: 4px 8px;
  2747. font-size: 22rpx;
  2748. color: #858585;
  2749. .tip {
  2750. color: #FF5600;
  2751. margin: 0upx 10upx;
  2752. }
  2753. }
  2754. .btnView {
  2755. width: 100%;
  2756. height: 38px;
  2757. background-color: #fff;
  2758. .btn {
  2759. height: 100%;
  2760. }
  2761. .btn:nth-child(1) {
  2762. width: 50%;
  2763. background-color: #E6EEFF;
  2764. color: #0052FF;
  2765. padding: 8px;
  2766. font-size: 13px;
  2767. }
  2768. .btn:nth-child(2) {
  2769. width: 50%;
  2770. color: #fff;
  2771. background-color: #0038AF;
  2772. font-weight: bold;
  2773. }
  2774. }
  2775. }
  2776. .tool {
  2777. padding: 10px;
  2778. view {
  2779. width: 100%;
  2780. padding: 8px 0;
  2781. border-bottom: 1px solid #f2f2f2;
  2782. font-size: 14px;
  2783. color: #232832;
  2784. }
  2785. }
  2786. .cancell {
  2787. width: 100%;
  2788. height: 46px;
  2789. background-color: #E6EEFF;
  2790. font-size: 16px;
  2791. color: #0052FF;
  2792. }
  2793. /* 底部按钮End */
  2794. .contributing {
  2795. width: 100%;
  2796. margin: 4px 0;
  2797. font-size: 14px;
  2798. text:nth-child(1) {
  2799. font-weight: bold;
  2800. color: #ff9000;
  2801. }
  2802. }
  2803. /* 人员信息Start */
  2804. .personInfo,
  2805. .advancePayment,
  2806. .imageInfo,
  2807. .appoint {}
  2808. .personInfo,
  2809. .advancePayment,
  2810. .imageInfo,
  2811. .appoint {
  2812. .title {
  2813. height: 80upx;
  2814. font-size: 15px;
  2815. box-shadow: inset 0 -3upx 0px #fafafa;
  2816. }
  2817. .content {
  2818. padding: 0px 5px 0;
  2819. background-color: #fff;
  2820. border-radius: 6px;
  2821. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2822. }
  2823. .uni-uploader {
  2824. padding: 8px;
  2825. background-color: #fff;
  2826. border-radius: 6px;
  2827. height: auto;
  2828. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2829. }
  2830. }
  2831. .uni-uploader__file {
  2832. position: relative;
  2833. }
  2834. .delImgIcon {
  2835. width: 40upx;
  2836. height: 40upx;
  2837. position: absolute;
  2838. right: 0upx;
  2839. top: 0upx;
  2840. color: #FFFFFF;
  2841. }
  2842. .showStatus {
  2843. font-size: 26upx;
  2844. color: #007AFF;
  2845. }
  2846. .personInfo .content .row,
  2847. .advancePayment .content .row {
  2848. height: 80upx;
  2849. border-bottom: 1px solid #F9F9F9;
  2850. flex-wrap: nowrap;
  2851. }
  2852. .personInfo .content .row .left,
  2853. .advancePayment .content .row .left {
  2854. width: 170upx;
  2855. flex-shrink: 0;
  2856. font-size: 28upx;
  2857. }
  2858. .appoint .content .row {
  2859. height: auto;
  2860. margin-top: 10upx;
  2861. }
  2862. .appoint .content .row>view {
  2863. width: 240upx;
  2864. flex-shrink: 1;
  2865. font-size: 28upx;
  2866. }
  2867. .appoint .content .row>textarea {
  2868. /* background: #007AFF; */
  2869. padding: 15upx;
  2870. box-sizing: border-box;
  2871. font-size: 26upx;
  2872. min-height: 160upx;
  2873. height: 100upx;
  2874. border: 1px solid #fafafa;
  2875. /* over */
  2876. }
  2877. .personInfo .content .row .right,
  2878. .advancePayment .content .row .right,
  2879. .appoint .content .row .right {
  2880. font-size: 28upx;
  2881. }
  2882. /* 人员信息End */
  2883. .checkButton {
  2884. margin: 0 20upx 0 20upx;
  2885. font-size: 24upx;
  2886. width: 80upx;
  2887. height: 50upx;
  2888. background: $themeColor;
  2889. font-weight: bold;
  2890. color: #FFFFFF;
  2891. border-radius: 5upx;
  2892. }
  2893. .uni-popup__wrapper-box {
  2894. display: block;
  2895. position: relative;
  2896. }
  2897. .uni-share {
  2898. display: flex;
  2899. flex-direction: column;
  2900. background-color: #fff;
  2901. position: fixed;
  2902. bottom: 0;
  2903. left: 0;
  2904. right: 0;
  2905. }
  2906. .uni-share-title {
  2907. line-height: 30px;
  2908. font-size: 12px;
  2909. padding: 7px 0;
  2910. text-align: center;
  2911. }
  2912. .uni-share-content {
  2913. display: flex;
  2914. flex-direction: row;
  2915. flex-wrap: wrap;
  2916. justify-content: center;
  2917. padding: 15px;
  2918. }
  2919. .uni-share-content-box {
  2920. display: flex;
  2921. flex-direction: column;
  2922. align-items: center;
  2923. width: 100px;
  2924. }
  2925. .uni-share-content-image {
  2926. display: flex;
  2927. flex-direction: row;
  2928. justify-content: center;
  2929. align-items: center;
  2930. width: 30px;
  2931. height: 30px;
  2932. overflow: hidden;
  2933. border-radius: 5px;
  2934. }
  2935. .uni-share-content-text {
  2936. font-size: 13px;
  2937. color: #333;
  2938. padding-top: 5px;
  2939. padding-bottom: 10px;
  2940. }
  2941. .uni-share-btn {
  2942. height: 45px;
  2943. line-height: 45px;
  2944. font-size: 14px;
  2945. border-top-color: #f5f5f5;
  2946. border-top-width: 1px;
  2947. border-top-style: solid;
  2948. text-align: center;
  2949. color: #666;
  2950. }
  2951. uni-image>img {
  2952. display: block;
  2953. position: absolute;
  2954. top: 0;
  2955. left: 0;
  2956. opacity: 0;
  2957. }
  2958. uni-image>div,
  2959. uni-image>img {
  2960. width: 100%;
  2961. height: 100%;
  2962. }
  2963. .Discount {
  2964. image {
  2965. width: 16px;
  2966. height: 16px;
  2967. }
  2968. text {
  2969. font-size: 12px;
  2970. color: #333333;
  2971. }
  2972. }
  2973. .costDetails {
  2974. width: 100%;
  2975. height: auto;
  2976. background-color: #F9F9F9;
  2977. border-radius: 10px;
  2978. .text1 {
  2979. font-size: 22rpx;
  2980. }
  2981. .text2 {
  2982. font-size: 24rpx;
  2983. }
  2984. .text2-color {
  2985. color: rgba(0, 82, 255, 0.8);
  2986. }
  2987. }
  2988. </style>