quoteDetail.vue 96 KB

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