billInfo1.vue 81 KB

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