quoteDetail.vue 96 KB

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