quoteDetail.vue 97 KB

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