quoteDetail.vue 96 KB

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