quoteDetail.vue 95 KB

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