billInfo1.vue 81 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775
  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 v-if="item.coveragePremium">
  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>¥{{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>
  772. <u-popup v-model="toolPopupshow" mode="bottom" border-radius="10" height="">
  773. <view class="tool">
  774. <!-- <view class="dis j-c a-c" @click="toCarInfo">修改车辆信息</view> -->
  775. <view class="dis j-c a-c" @click="toInsureItems">修改险种配置</view>
  776. </view>
  777. <view class="cancell dis a-c j-c" @click="toolPopupshow=false">取消</view>
  778. </u-popup>
  779. <u-modal v-model="ziJinshow" title="特约保险"
  780. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  781. :scroll-height="{height: '300px'}" :confirm-style="{background:'#E6EEFF',color:'#0052FF'}">
  782. <view class="slot-content">
  783. <u-checkbox-group @change="ziJincontributingChange">
  784. <u-checkbox v-model="item.checked" active-color="rgb(255, 153, 0)"
  785. v-for="(item, index) in ziJinengageListData" :key="index"
  786. :name="item.clauseId">{{item.clauseName}}</u-checkbox>
  787. </u-checkbox-group>
  788. </view>
  789. </u-modal>
  790. <u-modal v-model="huaTaishow" title="华泰特约选择" :title-style="{fontWeight: 'bold'}"
  791. :scroll-height="{height: '300px'}">
  792. <view class="slot-content">
  793. <u-checkbox-group @change="huaTaicontributingChange">
  794. <u-checkbox v-model="item.checked" active-color="rgb(255, 153, 0)"
  795. v-for="(item, index) in huaTaiengageListData" :key="index"
  796. :name="item.engageCode">{{item.engageTitle}}</u-checkbox>
  797. </u-checkbox-group>
  798. </view>
  799. </u-modal>
  800. <!-- <u-modal v-model="auditNextShow" content="是否确认提交核保?" :show-title="false" :show-cancel-button="true"
  801. :confirm-style="{background:'#0052FF',color:'#fff',height:'40px',lineHeight:'40px'}"
  802. :cancel-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}" confirm-text="确定"
  803. @cancel="auditNextShow=false" @confirm="auditNextconfirm" :content-style="{fontWeight:'bold'}"></u-modal> -->
  804. <u-modal v-model="auditNextShow" :content="auditNextcontent" :show-title="false"
  805. :confirm-style="{background:'#0052FF',color:'#fff'}" :mask-close-able='true' @confirm="auditNextconfirm"
  806. :show-cancel-button="true">
  807. </u-modal>
  808. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  809. </view>
  810. </template>
  811. <script>
  812. import {
  813. mapState,
  814. mapMutations
  815. } from "vuex"
  816. import {
  817. pathToBase64,
  818. base64ToPath
  819. } from '@/common/pdf.js'
  820. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  821. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  822. export default {
  823. components: {
  824. uniPopup,
  825. previewImage
  826. },
  827. computed: {
  828. ...mapState(['userInfo', 'token', 'quotationType']),
  829. getHeight() {
  830. let height = uni.getSystemInfoSync().windowHeight;
  831. return `minHeight: ${height}px;`;
  832. }
  833. },
  834. data() {
  835. return {
  836. auditNextcontent: "是否确认提交核保",
  837. auditNextShow: false, //核保确认标识
  838. auditReturnInfoShow: false, //核保信息返回标识
  839. auditReturnInfoContent: "", //核保返回信息
  840. modificationFlag: false, //影响修改标识
  841. ziJinshow: false, //紫金特约
  842. huaTaishow: false, //紫金特约
  843. toolPopupshow: false, //底部弹窗
  844. agree: false,
  845. logoimg: "",
  846. insCompanyList: [{
  847. name: "中煤财险",
  848. icon: "../../static/insuranceicon/zhongmei.png"
  849. }, //华农
  850. {
  851. name: "恒邦财险",
  852. icon: "../../static/insuranceicon/hengbang.png"
  853. },
  854. {
  855. name: "安盛天平",
  856. icon: "../../static/insuranceicon/ansheng.png"
  857. },
  858. {
  859. name: "中国人寿",
  860. icon: "../../static/insuranceicon/renshou.png"
  861. },
  862. {
  863. name: "众安财险",
  864. icon: "../../static/insuranceicon/zhongan.png"
  865. },
  866. {
  867. name: "永诚财险",
  868. icon: "../../static/insuranceicon/yongcheng.png"
  869. },
  870. {
  871. name: "永安财险",
  872. icon: "../../static/insuranceicon/yongan.png"
  873. },
  874. {
  875. name: "紫金财险",
  876. icon: "../../static/insuranceicon/zijin.png"
  877. },
  878. {
  879. name: "国任财险",
  880. icon: "../../static/insuranceicon/guoren.png"
  881. },
  882. {
  883. name: "华泰财险",
  884. icon: "../../static/insuranceicon/huatai.png"
  885. },
  886. {
  887. name: "大家财险",
  888. icon: "../../static/insuranceicon/dajia.png"
  889. },
  890. {
  891. name: "太平财险",
  892. icon: "../../static/insuranceicon/taiping.png"
  893. },
  894. {
  895. name: "华农财险",
  896. icon: "../../static/insuranceicon/huanong.png"
  897. },
  898. {
  899. name: "渤海财险",
  900. icon: "../../static/insuranceicon/bohai.png"
  901. },
  902. {
  903. name: "泰康财险",
  904. icon: "../../static/insuranceicon/taikang.png"
  905. },
  906. ],
  907. companyId: "", //订单号
  908. orderInfo: {},
  909. licenseNo: "", //车牌号
  910. icon: "", //保险公司logo
  911. name: "", //保险公司名称
  912. carInfo: {}, //车辆信息
  913. ownerInfo: {}, //车主信息
  914. policyHolderInfo: {}, //投保人信息
  915. insuredPersonInfo: {}, //被保人信息
  916. riskList: [], //险种大类信息
  917. kindList: [], //商业险险别
  918. sumPermium: "", //报价金额
  919. taxAmount: "", //车船税金额
  920. jqpremium: "", //交强险金额
  921. sypremium: "", //商业险金额
  922. feerate: "",
  923. disrate: "",
  924. syappoint: "",
  925. orderstatus: "0", //订单状态
  926. CIStartDate: "", //交强险日期
  927. BIStartDate: "", //商业险日期
  928. showCarInfo: true,
  929. showextendInfo: true,
  930. insureList: [{
  931. amount: "0",
  932. coveragePremium: "",
  933. amtList: [{
  934. "label": "投保",
  935. "value": "1"
  936. }],
  937. kindCode: "A",
  938. isMainRisk: true,
  939. kindName: "机动车损失险"
  940. },
  941. {
  942. amount: "0",
  943. coveragePremium: "",
  944. amtList: [{
  945. "label": "10万",
  946. "value": "100000"
  947. }, {
  948. "label": "15万",
  949. "value": "150000"
  950. }, {
  951. "label": "20万",
  952. "value": "200000"
  953. }, {
  954. "label": "30万",
  955. "value": "300000"
  956. }, {
  957. "label": "50万",
  958. "value": "500000"
  959. }, {
  960. "label": "100万",
  961. "value": "1000000"
  962. }, {
  963. "label": "150万",
  964. "value": "1500000"
  965. }, {
  966. "label": "200万",
  967. "value": "2000000"
  968. }, {
  969. "label": "250万",
  970. "value": "2500000"
  971. }, {
  972. "label": "300万",
  973. "value": "3000000"
  974. }, {
  975. "label": "500万",
  976. "value": "5000000"
  977. }, {
  978. "label": "1000万",
  979. "value": "10000000"
  980. }],
  981. kindCode: "B",
  982. isMainRisk: true,
  983. kindName: "第三者责任险"
  984. },
  985. {
  986. amount: "0",
  987. coveragePremium: "",
  988. amtList: [{
  989. "label": "1万",
  990. "value": "10000"
  991. }, {
  992. "label": "2万",
  993. "value": "20000"
  994. }, {
  995. "label": "5万",
  996. "value": "50000"
  997. }, {
  998. "label": "10万",
  999. "value": "100000"
  1000. }, {
  1001. "label": "15万",
  1002. "value": "150000"
  1003. }, {
  1004. "label": "20万",
  1005. "value": "200000"
  1006. }],
  1007. kindCode: "D3",
  1008. isMainRisk: true,
  1009. kindName: "司机责任险"
  1010. },
  1011. {
  1012. amount: "0",
  1013. coveragePremium: "",
  1014. amtList: [{
  1015. "label": "1万",
  1016. "value": "10000"
  1017. }, {
  1018. "label": "2万",
  1019. "value": "20000"
  1020. }, {
  1021. "label": "5万",
  1022. "value": "50000"
  1023. }, {
  1024. "label": "10万",
  1025. "value": "100000"
  1026. }, {
  1027. "label": "15万",
  1028. "value": "150000"
  1029. }, {
  1030. "label": "20万",
  1031. "value": "200000"
  1032. }],
  1033. kindCode: "D4",
  1034. isMainRisk: true,
  1035. kindName: "乘客责任险"
  1036. },
  1037. {
  1038. amount: "0",
  1039. coveragePremium: "",
  1040. amtList: [{
  1041. "label": "2000",
  1042. "value": "2000"
  1043. }, {
  1044. "label": "5000",
  1045. "value": "5000"
  1046. }, {
  1047. "label": "1万",
  1048. "value": "10000"
  1049. }],
  1050. isMainRisk: false,
  1051. kindCode: "L",
  1052. kindName: "车身划痕险",
  1053. mainRiskCodeList: "A"
  1054. },
  1055. {
  1056. amount: "0",
  1057. coveragePremium: "",
  1058. amtList: [{
  1059. "label": "5%",
  1060. "value": "5"
  1061. }, {
  1062. "label": "10%",
  1063. "value": "10"
  1064. }, {
  1065. "label": "15%",
  1066. "value": "15"
  1067. }, {
  1068. "label": "20%",
  1069. "value": "20"
  1070. }],
  1071. isMainRisk: false,
  1072. kindCode: "MJ1",
  1073. kindName: "绝对免赔率特约险(车损)",
  1074. mainRiskCodeList: "A"
  1075. },
  1076. {
  1077. amount: "0",
  1078. coveragePremium: "",
  1079. amtList: [{
  1080. "label": "5%",
  1081. "value": "5"
  1082. }, {
  1083. "label": "10%",
  1084. "value": "10"
  1085. }, {
  1086. "label": "15%",
  1087. "value": "15"
  1088. }, {
  1089. "label": "20%",
  1090. "value": "20"
  1091. }],
  1092. isMainRisk: false,
  1093. kindCode: "MJ2",
  1094. kindName: "绝对免赔率特约险(三者)",
  1095. mainRiskCodeList: "B"
  1096. },
  1097. {
  1098. amount: "0",
  1099. coveragePremium: "",
  1100. amtList: [{
  1101. "label": "5%",
  1102. "value": "5"
  1103. }, {
  1104. "label": "10%",
  1105. "value": "10"
  1106. }, {
  1107. "label": "15%",
  1108. "value": "15"
  1109. }, {
  1110. "label": "20%",
  1111. "value": "20"
  1112. }],
  1113. isMainRisk: false,
  1114. kindCode: "MJ3",
  1115. kindName: "绝对免赔率特约险(司机)",
  1116. mainRiskCodeList: "D3"
  1117. },
  1118. {
  1119. amount: "0",
  1120. coveragePremium: "",
  1121. amtList: [{
  1122. "label": "5%",
  1123. "value": "5"
  1124. }, {
  1125. "label": "10%",
  1126. "value": "10"
  1127. }, {
  1128. "label": "15%",
  1129. "value": "15"
  1130. }, {
  1131. "label": "20%",
  1132. "value": "20"
  1133. }],
  1134. isMainRisk: false,
  1135. kindCode: "MJ4",
  1136. kindName: "绝对免赔率特约险(乘客)",
  1137. mainRiskCodeList: "D4"
  1138. },
  1139. {
  1140. amount: "0",
  1141. coveragePremium: "",
  1142. amtList: [{
  1143. "label": "投保",
  1144. "value": "1"
  1145. }],
  1146. isMainRisk: false,
  1147. kindCode: "BD",
  1148. kindName: "法定节假日限额翻倍险",
  1149. mainRiskCodeList: "B"
  1150. },
  1151. {
  1152. amount: "0",
  1153. amountDesc: "不投保",
  1154. coveragePremium: "",
  1155. amtList: [{
  1156. label: "不投保",
  1157. value: "0"
  1158. },
  1159. {
  1160. label: "1万",
  1161. value: "10000"
  1162. },
  1163. {
  1164. label: "2万",
  1165. value: "20000"
  1166. },
  1167. {
  1168. label: "5万",
  1169. value: "50000"
  1170. },
  1171. {
  1172. label: "10万",
  1173. value: "100000"
  1174. }
  1175. ],
  1176. kindCode: "SY_FJ_YBW1",
  1177. isMainRisk: false,
  1178. kindName: "附加医保-三者",
  1179. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1180. },
  1181. {
  1182. amount: "0",
  1183. amountDesc: "不投保",
  1184. coveragePremium: 0,
  1185. amtList: [{
  1186. label: "不投保",
  1187. value: "0"
  1188. },
  1189. {
  1190. label: "1万",
  1191. value: "10000"
  1192. },
  1193. {
  1194. label: "2万",
  1195. value: "20000"
  1196. },
  1197. {
  1198. label: "5万",
  1199. value: "50000"
  1200. },
  1201. {
  1202. label: "10万",
  1203. value: "100000"
  1204. }
  1205. ],
  1206. kindCode: "SY_FJ_YBW2",
  1207. isMainRisk: false,
  1208. kindName: "附加医保-座位险(乘客)",
  1209. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1210. },
  1211. {
  1212. amount: "0",
  1213. amountDesc: "不投保",
  1214. coveragePremium: 0,
  1215. amtList: [{
  1216. label: "不投保",
  1217. value: "0"
  1218. },
  1219. {
  1220. label: "1万",
  1221. value: "10000"
  1222. },
  1223. {
  1224. label: "2万",
  1225. value: "20000"
  1226. },
  1227. {
  1228. label: "5万",
  1229. value: "50000"
  1230. },
  1231. {
  1232. label: "10万",
  1233. value: "100000"
  1234. }
  1235. ],
  1236. kindCode: "SY_FJ_YBW3",
  1237. isMainRisk: false,
  1238. kindName: "附加医保-座位险(司机)",
  1239. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1240. },
  1241. ],
  1242. bottomData: [
  1243. // #ifdef APP-PLUS
  1244. {
  1245. text: '微信好友',
  1246. icon: '/static/image/share/weixinhaoyou.png',
  1247. name: 'wx'
  1248. },
  1249. {
  1250. text: '短信发送',
  1251. icon: '/static/image/share/shortMessage.png',
  1252. name: 'dx'
  1253. },
  1254. // #endif
  1255. {
  1256. text: '报价单',
  1257. icon: '/static/image/share/shortMessage.png',
  1258. name: 'bjd'
  1259. }
  1260. ],
  1261. vehicleModel: {}, //车型信息
  1262. showOwerInfo: true, //展示车主信息
  1263. showPolicyHolderInfo: true, //展示投保人信息
  1264. showAppoint: false, //展示特约
  1265. showApplyno: false, //展示投保单号
  1266. showPolicyno: false, //展示保单号
  1267. showPolicyFile: false, //展示电子保单
  1268. showPolicybzFile: false, //展示电子保单
  1269. policyList: [], //电子保单文件
  1270. policyList1: [], //电子标志文件
  1271. showCarImageInfo: true, //显示车辆影像
  1272. carImageListId: [],
  1273. ownerImageListId: [],
  1274. policyImageListId: [],
  1275. insuredImageListId: [],
  1276. imgRelationshipid: [],
  1277. imgNewCarinvoiceId: [],
  1278. imgList1: [],
  1279. imgList2: [],
  1280. imgList3: [],
  1281. imgList4: [],
  1282. imgList5: [],
  1283. imgList6: [],
  1284. imgList7: [],
  1285. imgList8: [],
  1286. imgRelationship: [], //其他证明
  1287. imgNewCarQualified: [], //合格证
  1288. imgNewCarInvoice: [], //发票
  1289. previewImgs: [],
  1290. dianzibaodan: "",
  1291. jypremium: "",
  1292. quoteno: "",
  1293. extendInfo: {},
  1294. routepage: "",
  1295. roadrescueList: [],
  1296. companyUnderwriting: "",
  1297. ziJinengageListData: [],
  1298. ziJinengageList: [],
  1299. huaTaiengageListData: [],
  1300. huaTaiengageList: [],
  1301. natureOfVehicleUseoptions: [],
  1302. vehicleTypeoptions: [],
  1303. trafficManagementVehicleTypeoptions: [],
  1304. energyTypeoptions: [],
  1305. businessVehicleUseoptions: [],
  1306. outOfBusinessVehicleUseoptions: [],
  1307. }
  1308. },
  1309. async onLoad(params) {
  1310. this.getDicType("businessVehicleUse"); //车辆用途(营业)
  1311. this.getDicType("outOfBusinessVehicleUse"); //车辆用途(非营业)
  1312. this.getDicType("natureOfVehicleUse"); //车辆性质
  1313. this.getDicType("vehicleType"); //车辆种类
  1314. this.getDicType("trafficManagementVehicleType"); //车辆类型
  1315. this.getDicType("energyType"); //能源种类
  1316. let pages = getCurrentPages(); // 当前页面路由
  1317. if (pages.length > 1) {
  1318. let beforePage = pages[pages.length - 2].route; // 上一个页面路由
  1319. this.routepage = beforePage;
  1320. }
  1321. if (!this.token) {
  1322. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1323. }
  1324. if (!!params.companyId) {
  1325. this.companyId = params.companyId;
  1326. let param = {
  1327. companyId: params.companyId
  1328. };
  1329. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1330. if (res.code == 200) {
  1331. this.icon = "";
  1332. this.quoteno = res.data.quoteno;
  1333. this.name = res.data.inscompany;
  1334. this.carInfo = res.data.carinfo;
  1335. this.carInfo.carnature = this.dictionaryMatching(this.natureOfVehicleUseoptions,
  1336. this
  1337. .carInfo
  1338. .carnature)
  1339. this.carInfo.vehicleUse = this.carInfo.carnature == '非营业' ? this.dictionaryMatching(this
  1340. .outOfBusinessVehicleUseoptions,
  1341. this
  1342. .carInfo
  1343. .vehicleUse) : this.dictionaryMatching(this.businessVehicleUseoptions,
  1344. this
  1345. .carInfo
  1346. .vehicleUse)
  1347. this.carInfo.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  1348. this
  1349. .carInfo
  1350. .cimodelclass)
  1351. this.carInfo.cartype = this.dictionaryMatching(this.trafficManagementVehicleTypeoptions,
  1352. this
  1353. .carInfo
  1354. .cartype)
  1355. this.carInfo.energyType = this.dictionaryMatching(this.energyTypeoptions,
  1356. this
  1357. .carInfo
  1358. .energyType)
  1359. this.extendInfo = res.data.extendInfo;
  1360. this.licenseNo = res.data.licenseno;
  1361. if (!!this.carInfo.loanStatus) {
  1362. this.carInfo.loanStatus = 1;
  1363. } else {
  1364. this.carInfo.loanStatus = 0;
  1365. }
  1366. if (!!this.carInfo.registerDate) {
  1367. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1368. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1369. if (month1 < 10) {
  1370. month1 = '0' + month1;
  1371. }
  1372. let day1 = new Date(this.carInfo.registerDate).getDate()
  1373. if (day1 < 10) {
  1374. day1 = '0' + day1;
  1375. }
  1376. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1377. }
  1378. if (!!this.carInfo.issueDate) {
  1379. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1380. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1381. if (month2 < 10) {
  1382. month2 = '0' + month2;
  1383. }
  1384. let day2 = new Date(this.carInfo.issueDate).getDate()
  1385. if (day2 < 10) {
  1386. day2 = '0' + day2;
  1387. }
  1388. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1389. }
  1390. if (!!this.carInfo.transferDate) {
  1391. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1392. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1393. if (month3 < 10) {
  1394. month3 = '0' + month3;
  1395. }
  1396. let day3 = new Date(this.carInfo.transferDate).getDate()
  1397. if (day3 < 10) {
  1398. day3 = '0' + day3;
  1399. }
  1400. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1401. }
  1402. this.ownerInfo = res.data.ownerinfo;
  1403. this.policyHolderInfo = res.data.applyinfo;
  1404. this.insuredPersonInfo = res.data.insureinfo;
  1405. this.riskList = res.data.riskinfo;
  1406. this.kindList = res.data.kindinfo;
  1407. this.roadrescueList = this.kindList.filter((val) => {
  1408. return ["TY1", "TY2", "TY3", "TY4"].includes(val.kindCode)
  1409. })
  1410. this.sumPermium = res.data.sumpremium;
  1411. this.taxAmount = res.data.taxamount;
  1412. this.sypremium = res.data.sypremium;
  1413. this.jqpremium = res.data.jqpremium;
  1414. this.jypremium = res.data.jypremium;
  1415. this.orderstatus = res.data.orderstatus;
  1416. this.feerate = res.data.feerate;
  1417. this.disrate = res.data.disrate;
  1418. this.jqdiscountrate = res.data.jqdiscountrate;
  1419. this.sydiscountrate = res.data.sydiscountrate;
  1420. this.syappoint = res.data.syappoint;
  1421. this.orderInfo = {};
  1422. Object.assign(this.orderInfo, res.data)
  1423. this.imageEcho(this.quoteno) // 影像获取完毕
  1424. this.insCompanyList.map(ele => {
  1425. if (ele.name == res.data.inscompany) {
  1426. uni.getImageInfo({
  1427. src: ele.icon,
  1428. success: image => {
  1429. pathToBase64(image.path)
  1430. .then(base64 => {
  1431. this.logoimg = base64;
  1432. })
  1433. .catch(error => {});
  1434. },
  1435. fail: err => {}
  1436. });
  1437. }
  1438. return ele;
  1439. })
  1440. }
  1441. if (this.name == '紫金财险') {
  1442. let Zijinres = await this.$http.post('/order/zijin/queryClauseData', param);
  1443. this.ziJinengageListData = Zijinres.data;
  1444. let data = this.ziJinengageListData.find(val => val.optType == 3)
  1445. if (data) {
  1446. this.ziJinengageList.push({
  1447. clauseCode: data.clauseCode,
  1448. clauseName: data.clauseName,
  1449. clauses: data.clauseContent,
  1450. riskCode: data.riskCode,
  1451. modifyFlag: data.modifyFlag,
  1452. optType: data.optType,
  1453. })
  1454. }
  1455. }
  1456. if (this.name == '华泰财险') {
  1457. let huaTaires = await this.$http.post('/order/huaTaiApi/queryClauseData', param);
  1458. this.huaTaiengageListData = huaTaires.data;
  1459. huaTaires.data.map(val => {
  1460. if (val.optType == '2') {
  1461. this.huaTaiengageList.push({
  1462. engageCode: val.engageCode,
  1463. engageDetail: val.engageDetail,
  1464. engageTitle: val.engageTitle,
  1465. riskCode: val.riskCode,
  1466. modifyFlag: val.modifyFlag,
  1467. })
  1468. }
  1469. })
  1470. }
  1471. } else {
  1472. uni.showModal({
  1473. showCancel: false,
  1474. title: "未查询到该订单"
  1475. })
  1476. }
  1477. if (this.orderstatus == '3') {
  1478. uni.setNavigationBarTitle({
  1479. title: "订单详情"
  1480. })
  1481. }
  1482. },
  1483. methods: {
  1484. ...mapMutations(['setOrderStage', 'setOrderType']),
  1485. //字典name匹配
  1486. dictionaryMatching(list, value) {
  1487. let obj = list.find(val => val.dictValue == value);
  1488. return obj.dictTag;
  1489. },
  1490. async getDicType(type) {
  1491. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  1492. if (res.code == 200) {
  1493. this[type + 'options'] = res.data.ddList;
  1494. // if (type == "trafficManagementVehicleType") {
  1495. //
  1496. // this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  1497. // this
  1498. // .carInfo
  1499. // .cimodelclass)
  1500. // }
  1501. }
  1502. },
  1503. ziJincontributingChange(param) {
  1504. this.ziJinengageList = [];
  1505. param.map(val => {
  1506. let list = this.ziJinengageListData.find(item => item.clauseId == val)
  1507. this.ziJinengageList.push({
  1508. clauseCode: list.clauseCode,
  1509. clauseName: list.clauseName,
  1510. clauses: list.clauseContent,
  1511. riskCode: list.riskCode,
  1512. modifyFlag: list.modifyFlag,
  1513. })
  1514. })
  1515. },
  1516. huaTaicontributingChange(param) {
  1517. this.huaTaiengageList = [];
  1518. param.map(val => {
  1519. let list = this.huaTaiengageListData.find(item => item.engageCode == val)
  1520. this.huaTaiengageList.push({
  1521. engageCode: list.engageCode,
  1522. engageDetail: list.engageDetail,
  1523. engageTitle: list.engageTitle,
  1524. riskCode: list.riskCode,
  1525. modifyFlag: list.modifyFlag,
  1526. })
  1527. })
  1528. },
  1529. //阅读并同意协议
  1530. agreed(e) {
  1531. this.agree = e.value;
  1532. },
  1533. toCarInfo() {
  1534. this.navigate({
  1535. url: '/pages/carInsure2/Information',
  1536. success: (res) => {
  1537. res.eventChannel.emit(
  1538. "acceptData", {
  1539. carInfo: this
  1540. .carInfo,
  1541. ownerInfo: this
  1542. .ownerInfo,
  1543. policyHolderInfo: this
  1544. .policyHolderInfo,
  1545. insuredPersonInfo: this
  1546. .insuredPersonInfo,
  1547. riskList: this
  1548. .riskList,
  1549. kindList: this
  1550. .kindList,
  1551. carInfoPositiveList: this
  1552. .carInfoPositiveList, //车辆
  1553. ownerInfoPositiveList: this
  1554. .ownerInfoPositiveList, //车主
  1555. policyHolderInfoPositiveList: this
  1556. .policyHolderInfoPositiveList, //投保
  1557. insuredPersonInfoPositiveList: this
  1558. .insuredPersonInfoPositiveList, //被保人
  1559. })
  1560. }
  1561. }, "navigateTo", true);
  1562. },
  1563. //去选择险种页面
  1564. toInsureItems() {
  1565. console.log();
  1566. this.navigate({
  1567. url: '/pages/carInsure2/insureItems',
  1568. success: (res) => {
  1569. res.eventChannel.emit("acceptData", {
  1570. carInfo: this.carInfo,
  1571. ownerInfo: this.ownerInfo,
  1572. policyHolderInfo: this.policyHolderInfo,
  1573. insuredPersonInfo: this.insuredPersonInfo,
  1574. riskList: this.riskList,
  1575. kindList: this.kindList
  1576. })
  1577. }
  1578. }, "navigateTo", true);
  1579. },
  1580. //删除图片
  1581. delCheckImage(param, IdList, srcList) {
  1582. this[IdList].map((ele, index) => {
  1583. if (param.imageId === ele.imageId) {
  1584. this[IdList].splice(index, 1);
  1585. }
  1586. return ele;
  1587. });
  1588. this[srcList].map((ele, index) => {
  1589. if (param.imageId === ele.imageId) {
  1590. this[srcList].splice(index, 1);
  1591. }
  1592. return ele;
  1593. });
  1594. },
  1595. //影像查询
  1596. async imageEcho(quotenos) {
  1597. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1598. if (imgres.code == "200") {
  1599. Object.keys(imgres.data).forEach((keys) => {
  1600. if (imgres.data[keys].url) {
  1601. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1602. switch (keys) {
  1603. case 'C01':
  1604. this.carImageListId.push({
  1605. imageId: imgres.data[keys].imageId,
  1606. imageType: imgres.data[keys].imageType,
  1607. })
  1608. this.imgList1.push(imgres.data[keys]);
  1609. break;
  1610. case 'D01':
  1611. this.carImageListId.push({
  1612. imageId: imgres.data[keys].imageId,
  1613. imageType: imgres.data[keys].imageType,
  1614. })
  1615. this.imgList2.push(imgres.data[keys]);
  1616. break;
  1617. case 'C02':
  1618. this.ownerImageListId.push({
  1619. imageId: imgres.data[keys].imageId,
  1620. imageType: imgres.data[keys].imageType,
  1621. })
  1622. this.imgList3.push(imgres.data[keys]);
  1623. break;
  1624. case 'D02':
  1625. this.ownerImageListId.push({
  1626. imageId: imgres.data[keys].imageId,
  1627. imageType: imgres.data[keys].imageType,
  1628. })
  1629. this.imgList4.push(imgres.data[keys]);
  1630. break;
  1631. case 'C03':
  1632. this.policyImageListId.push({
  1633. imageId: imgres.data[keys].imageId,
  1634. imageType: imgres.data[keys].imageType,
  1635. })
  1636. this.imgList5.push(imgres.data[keys]);
  1637. break;
  1638. case 'D03':
  1639. this.policyImageListId.push({
  1640. imageId: imgres.data[keys].imageId,
  1641. imageType: imgres.data[keys].imageType,
  1642. })
  1643. this.imgList6.push(imgres.data[keys]);
  1644. break;
  1645. case 'C04':
  1646. this.insuredImageListId.push({
  1647. imageId: imgres.data[keys].imageId,
  1648. imageType: imgres.data[keys].imageType,
  1649. })
  1650. this.imgList7.push(imgres.data[keys]);
  1651. break;
  1652. case 'D04':
  1653. this.insuredImageListId.push({
  1654. imageId: imgres.data[keys].imageId,
  1655. imageType: imgres.data[keys].imageType,
  1656. })
  1657. this.imgList8.push(imgres.data[keys]);
  1658. break;
  1659. default:
  1660. break;
  1661. }
  1662. }
  1663. });
  1664. }
  1665. },
  1666. async uploadRetry() {
  1667. const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
  1668. .policyImageListId, ...this.insuredImageListId, ...this
  1669. .imgRelationshipid
  1670. ];
  1671. if (mergedArray.length > 0) {
  1672. await this.$http.post('/ins/taskImage/uploadImages', {
  1673. imageList: mergedArray,
  1674. quoteNo: this.quoteno,
  1675. })
  1676. }
  1677. },
  1678. // 上传影像并提交核保
  1679. async submitAudit() {
  1680. // if (!this.agree) {
  1681. // return uni.showToast({
  1682. // title: '请阅读并同意协议',
  1683. // icon: "none",
  1684. // duration: 2000
  1685. // });
  1686. // }
  1687. this.auditNextShow = true;
  1688. },
  1689. async chooseImage(type, imageIdList, imgurl) {
  1690. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  1691. count: 1,
  1692. sizeType: ['compressed']
  1693. });
  1694. chooseImageRes.tempFilePaths.map((ele, index) => {
  1695. uni.uploadFile({
  1696. url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
  1697. filePath: ele,
  1698. name: "multipartFile",
  1699. formData: {
  1700. 'type': 'image',
  1701. },
  1702. header: {
  1703. Authorization: this.token,
  1704. },
  1705. success: async (imgRes) => {
  1706. let data = JSON.parse(imgRes.data);
  1707. data.data.url = this.$base.baseUrl + data.data.url;
  1708. if (data.code == "200") {
  1709. console.log()
  1710. if (this[imageIdList].some(v => v.imageType == type)) {
  1711. this[imageIdList].map(val => {
  1712. if (val.imageType == type) {
  1713. val.imageId = data.data.id;
  1714. }
  1715. })
  1716. } else {
  1717. this[imageIdList].push({
  1718. imageId: data.data.id,
  1719. imageType: type,
  1720. })
  1721. }
  1722. this[imgurl].push(data.data)
  1723. this.modificationFlag = true;
  1724. }
  1725. }
  1726. });
  1727. })
  1728. },
  1729. //影像预览
  1730. previewImage(e, type) {
  1731. this.previewImgs = this[type];
  1732. var current = e.currentTarget.dataset.src;
  1733. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  1734. },
  1735. //查询电子保单
  1736. async yonganprint() {
  1737. this.policyList = [];
  1738. this.policyList1 = [];
  1739. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  1740. companyId: this.companyId,
  1741. policytype: "jq"
  1742. }); //永安
  1743. if (res.data) {
  1744. let result = res.data.replace(/[\r\n]/g, "");
  1745. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1746. base64ToPath(pdfBase64)
  1747. .then(path => {
  1748. this.policyList.push({
  1749. fileTitle: "交强电子保单",
  1750. filename: this.orderInfo.jqpolicyno,
  1751. fileurl: path,
  1752. })
  1753. })
  1754. }
  1755. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1756. companyId: this.companyId,
  1757. policytype: "jq"
  1758. }); //永安
  1759. if (res1.data) {
  1760. let result = res1.data.replace(/[\r\n]/g, "");
  1761. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1762. base64ToPath(pdfBase64)
  1763. .then(path => {
  1764. this.policyList1.push({
  1765. fileTitle: "交强电子标志",
  1766. filename: this.orderInfo.jqpolicyno,
  1767. fileurl: path,
  1768. })
  1769. })
  1770. }
  1771. if (this.orderInfo.sypolicyno) {
  1772. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1773. companyId: this.companyId,
  1774. policytype: "sy"
  1775. }); //永安
  1776. if (res2.data) {
  1777. let result = res1.data.replace(/[\r\n]/g, "");
  1778. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1779. base64ToPath(pdfBase64)
  1780. .then(path => {
  1781. this.policyList.push({
  1782. fileTitle: "商业电子保单",
  1783. filename: this.orderInfo.sypolicyno,
  1784. fileurl: path,
  1785. })
  1786. })
  1787. }
  1788. }
  1789. },
  1790. async zhongMeigetPolicyPrint() {
  1791. this.policyList = [];
  1792. this.policyList1 = [];
  1793. if (this.orderInfo.jqpolicyno) {
  1794. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1795. companyId: this.companyId,
  1796. riskCode: "0507",
  1797. type: '2', //2:保单
  1798. });
  1799. if (res.code == '200') {
  1800. this.policyList.push({
  1801. fileTitle: "交强电子保单",
  1802. filename: this.orderInfo.jqpolicyno,
  1803. fileurl: res.data[0],
  1804. })
  1805. }
  1806. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1807. companyId: this.companyId,
  1808. riskCode: "0507",
  1809. type: '1', //1:标志
  1810. });
  1811. if (res1.code == '200') {
  1812. this.policyList1.push({
  1813. fileTitle: "交强电子标志",
  1814. filename: this.orderInfo.jqpolicyno,
  1815. fileurl: res1.data[0],
  1816. })
  1817. }
  1818. }
  1819. if (this.orderInfo.sypolicyno) {
  1820. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1821. companyId: this.companyId,
  1822. riskCode: "0510",
  1823. type: '2', //2:标志
  1824. });
  1825. if (res.code == '200') {
  1826. this.policyList.push({
  1827. fileTitle: "商业电子保单",
  1828. filename: this.orderInfo.sypolicyno,
  1829. fileurl: res.data[0],
  1830. })
  1831. }
  1832. }
  1833. },
  1834. async yongChenggetPolicyPrint() {
  1835. this.policyList = [];
  1836. this.policyList1 = [];
  1837. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1838. companyId: this.companyId,
  1839. riskCode: "0507",
  1840. type: '2', //2:保单
  1841. }); //永诚财险
  1842. if (res.code == '200') {
  1843. this.policyList.push({
  1844. fileTitle: "交强电子保单",
  1845. filename: this.orderInfo.jqpolicyno,
  1846. fileurl: res.data.jqUrl,
  1847. })
  1848. if (res.data.jqFlagUrl) {
  1849. this.policyList1.push({
  1850. fileTitle: "交强电子标志",
  1851. filename: this.orderInfo.jqpolicyno,
  1852. fileurl: res.data.jqFlagUrl,
  1853. })
  1854. }
  1855. }
  1856. if (this.orderInfo.sypolicyno) {
  1857. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1858. companyId: this.companyId,
  1859. riskCode: "0510",
  1860. type: '2', //2:保单
  1861. }); //永诚财险
  1862. if (res.code == '200') {
  1863. this.policyList.push({
  1864. fileTitle: "商业电子保单",
  1865. filename: this.orderInfo.sypolicyno,
  1866. fileurl: res.data.syUrl,
  1867. });
  1868. }
  1869. }
  1870. if (this.orderInfo.crossInsurance.length > 0) {
  1871. this.orderInfo.crossInsurance.map(async ele => {
  1872. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1873. companyId: this.companyId,
  1874. policyNumber: ele.policyNumber,
  1875. riskCode: "0513",
  1876. type: '2', //2:保单
  1877. });
  1878. if (res.code == '200') {
  1879. this.policyList.push({
  1880. fileTitle: "驾意险保单",
  1881. filename: ele.policyNumber,
  1882. fileurl: res.data.jyUrl,
  1883. })
  1884. }
  1885. })
  1886. }
  1887. },
  1888. //爬虫电子保单统一调用
  1889. async pythonprint() {
  1890. if (this.orderInfo.jqpolicyno) {
  1891. let params = {
  1892. subOrderNo: this.companyId,
  1893. };
  1894. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  1895. if (res1.code == '200') {
  1896. this.policyList = [];
  1897. this.policyList1 = [];
  1898. this.policyList.push({
  1899. fileTitle: "交强电子保单",
  1900. filename: this.orderInfo.jqpolicyno,
  1901. fileurl: res1.data.jqxPolicyUrl,
  1902. })
  1903. this.policyList1.push({
  1904. fileTitle: "交强电子标志",
  1905. filename: this.orderInfo.jqpolicyno,
  1906. fileurl: res1.data.jqxFlagUrl,
  1907. })
  1908. if (res1.data.syxPolicyUrl) {
  1909. this.policyList.push({
  1910. fileTitle: "商业电子保单",
  1911. filename: this.orderInfo.sypolicyno,
  1912. fileurl: res1.data.syxPolicyUrl,
  1913. });
  1914. }
  1915. if (res1.data.jyxInfoList.length > 0) {
  1916. res1.data.jyxInfoList.map(ele => {
  1917. this.policyList.push({
  1918. fileTitle: "驾意险保单",
  1919. filename: ele.application,
  1920. fileurl: ele.jyx_policy_url,
  1921. });
  1922. return ele;
  1923. })
  1924. }
  1925. }
  1926. }
  1927. },
  1928. async ziJingetPolicyPrint() {
  1929. this.policyList = [];
  1930. this.policyList1 = [];
  1931. if (this.orderInfo.jqpolicyno) {
  1932. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1933. companyId: this.companyId,
  1934. riskCode: "0507",
  1935. type: '2', //2:保单
  1936. });
  1937. if (res.code == '200') {
  1938. this.policyList.push({
  1939. fileTitle: "交强电子保单",
  1940. filename: this.orderInfo.jqpolicyno,
  1941. fileurl: res.data,
  1942. })
  1943. }
  1944. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  1945. companyId: this.companyId,
  1946. riskCode: "0507",
  1947. type: '1', //1:标志
  1948. });
  1949. if (res1.code == '200') {
  1950. this.policyList1.push({
  1951. fileTitle: "交强电子标志",
  1952. filename: this.orderInfo.jqpolicyno,
  1953. fileurl: res1.data,
  1954. })
  1955. }
  1956. }
  1957. if (this.orderInfo.sypolicyno) {
  1958. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1959. companyId: this.companyId,
  1960. riskCode: "0510",
  1961. type: '2', //2:标志
  1962. });
  1963. if (res.code == '200') {
  1964. this.policyList.push({
  1965. fileTitle: "商业电子保单",
  1966. filename: this.orderInfo.sypolicyno,
  1967. fileurl: res.data,
  1968. })
  1969. }
  1970. }
  1971. if (this.orderInfo.crossInsurance.length > 0) {
  1972. this.orderInfo.crossInsurance.map(async ele => {
  1973. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1974. companyId: this.companyId,
  1975. policyNumber: ele.policyNumber,
  1976. riskCode: "0513",
  1977. type: '2', //2:保单
  1978. });
  1979. if (res.code == '200') {
  1980. this.policyList.push({
  1981. fileTitle: "驾意险保单",
  1982. filename: ele.policyNumber,
  1983. fileurl: res.data,
  1984. })
  1985. }
  1986. })
  1987. }
  1988. },
  1989. async daJiagetPolicyPrint() {
  1990. this.policyList = [];
  1991. this.policyList1 = [];
  1992. if (this.orderInfo.jqpolicyno) {
  1993. let res = await this.$http.post('/api/dajia/obtainWarranty', {
  1994. companyId: this.companyId,
  1995. riskCode: "0507",
  1996. type: '2', //2:保单
  1997. });
  1998. if (res.code == '200') {
  1999. this.policyList.push({
  2000. fileTitle: "交强电子保单",
  2001. filename: this.orderInfo.jqpolicyno,
  2002. fileurl: res.data,
  2003. })
  2004. }
  2005. let res1 = await this.$http.post('/api/dajia/obtainWarranty', {
  2006. companyId: this.companyId,
  2007. riskCode: "0507",
  2008. type: '1', //1:标志
  2009. });
  2010. if (res1.code == '200') {
  2011. this.policyList1.push({
  2012. fileTitle: "交强电子标志",
  2013. filename: this.orderInfo.jqpolicyno,
  2014. fileurl: res1.data,
  2015. })
  2016. }
  2017. if (this.orderInfo.sypolicyno) {
  2018. let res = await this.$http.post('/api/dajia/obtainWarranty', {
  2019. companyId: this.companyId,
  2020. riskCode: "0510",
  2021. type: '2', //2:标志
  2022. });
  2023. if (res.code == '200') {
  2024. this.policyList.push({
  2025. fileTitle: "商业电子保单",
  2026. filename: this.orderInfo.sypolicyno,
  2027. fileurl: res.data,
  2028. })
  2029. }
  2030. }
  2031. }
  2032. },
  2033. async huaTaigetPolicyPrint() {
  2034. let apiType = this.orderInfo.apiType;
  2035. switch (apiType) {
  2036. case 1:
  2037. if (this.orderInfo.jqpolicyno) {
  2038. let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
  2039. companyId: this.companyId,
  2040. riskCode: "0507",
  2041. });
  2042. if (res.code == '200') {
  2043. this.policyList = [];
  2044. this.policyList1 = [];
  2045. this.policyList.push({
  2046. fileTitle: "交强电子保单",
  2047. filename: this.orderInfo.jqpolicyno,
  2048. fileurl: res.data.jqxPolicyUrl,
  2049. })
  2050. this.policyList1.push({
  2051. fileTitle: "交强电子标志",
  2052. filename: this.orderInfo.jqpolicyno,
  2053. fileurl: res.data.jqxFlagUrl,
  2054. })
  2055. if (res.data.syxPolicyUrl) {
  2056. this.policyList.push({
  2057. fileTitle: "商业电子保单",
  2058. filename: this.orderInfo.sypolicyno,
  2059. fileurl: res.data.syxPolicyUrl,
  2060. });
  2061. }
  2062. }
  2063. }
  2064. break;
  2065. case 2:
  2066. if (this.orderInfo.jqpolicyno) {
  2067. let params = {
  2068. subOrderNo: this.companyId,
  2069. };
  2070. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  2071. if (res1.code == '200') {
  2072. this.policyList = [];
  2073. this.policyList1 = [];
  2074. this.policyList.push({
  2075. fileTitle: "交强电子保单",
  2076. filename: this.orderInfo.jqpolicyno,
  2077. fileurl: res1.data.jqxPolicyUrl,
  2078. })
  2079. this.policyList1.push({
  2080. fileTitle: "交强电子标志",
  2081. filename: this.orderInfo.jqpolicyno,
  2082. fileurl: res1.data.jqxFlagUrl,
  2083. })
  2084. if (res1.data.syxPolicyUrl) {
  2085. this.policyList.push({
  2086. fileTitle: "商业电子保单",
  2087. filename: this.orderInfo.sypolicyno,
  2088. fileurl: res1.data.syxPolicyUrl,
  2089. });
  2090. }
  2091. if (res1.data.jyxInfoList.length > 0) {
  2092. res1.data.jyxInfoList.map(ele => {
  2093. this.policyList.push({
  2094. fileTitle: "驾意险保单",
  2095. filename: ele.application,
  2096. fileurl: ele.jyx_policy_url,
  2097. });
  2098. return ele;
  2099. })
  2100. }
  2101. }
  2102. }
  2103. break;
  2104. }
  2105. },
  2106. async guoRengetPolicyPrint() {
  2107. this.policyList = [];
  2108. this.policyList1 = [];
  2109. if (this.orderInfo.jqpolicyno) {
  2110. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2111. companyId: this.companyId,
  2112. riskCode: "0507",
  2113. type: '2', //2:保单
  2114. });
  2115. if (res.code == '200') {
  2116. this.policyList.push({
  2117. fileTitle: "交强电子保单",
  2118. filename: this.orderInfo.jqpolicyno,
  2119. fileurl: res.data,
  2120. })
  2121. }
  2122. let res1 = await this.$http.post('/api/guoRen/policyPrint', {
  2123. companyId: this.companyId,
  2124. riskCode: "0507",
  2125. type: '1', //1:标志
  2126. });
  2127. if (res1.code == '200') {
  2128. this.policyList1.push({
  2129. fileTitle: "交强电子标志",
  2130. filename: this.orderInfo.jqpolicyno,
  2131. fileurl: res1.data,
  2132. })
  2133. }
  2134. }
  2135. if (this.orderInfo.sypolicyno) {
  2136. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2137. companyId: this.companyId,
  2138. riskCode: "0510",
  2139. type: '2', //2:标志
  2140. });
  2141. if (res.code == '200') {
  2142. this.policyList.push({
  2143. fileTitle: "商业电子保单",
  2144. filename: this.orderInfo.sypolicyno,
  2145. fileurl: res.data,
  2146. })
  2147. }
  2148. }
  2149. if (this.orderInfo.crossInsurance.length > 0) {
  2150. this.orderInfo.crossInsurance.map(async ele => {
  2151. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2152. companyId: this.companyId,
  2153. policyNumber: ele.policyNumber,
  2154. riskCode: "0513",
  2155. type: '2', //2:保单
  2156. });
  2157. if (res.code == '200') {
  2158. this.policyList.push({
  2159. fileTitle: "驾意险保单",
  2160. filename: ele.policyNumber,
  2161. fileurl: res.data,
  2162. })
  2163. }
  2164. })
  2165. }
  2166. },
  2167. downloadPolicy(file) {
  2168. //#ifdef APP-PLUS
  2169. uni.showLoading({
  2170. title: '文件下载中'
  2171. });
  2172. let index = file.lastIndexOf("\/")
  2173. let licensename = file.substring(index + 1, file.length)
  2174. let dtask = plus.downloader.createDownload(file, {
  2175. filename: "_downloads/" + this.name + '-' + this.insuredPersonInfo.name + '-' + licensename
  2176. }, function(d, status) {
  2177. if (status == 200) {
  2178. uni.hideLoading()
  2179. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  2180. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  2181. plus.runtime.openFile(d.filename); //选择软件打开文件
  2182. } else {
  2183. uni.hideLoading()
  2184. //下载失败
  2185. plus.downloader.clear(); //清除下载任务
  2186. }
  2187. })
  2188. dtask.start();
  2189. //#endif
  2190. //#ifdef H5
  2191. var win = window.open();
  2192. win.document.write(
  2193. '<body style="margin:0px;"><object data="' +
  2194. file +
  2195. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  2196. file +
  2197. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  2198. );
  2199. //#endif
  2200. },
  2201. //选择缴费方式
  2202. openPayWay() {
  2203. this.navigate({
  2204. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  2205. }, 'navigateTo', true)
  2206. },
  2207. cancelShare() {
  2208. this.$refs.showshare.close()
  2209. },
  2210. //控制详情的展开和收起
  2211. controlShow(type) {
  2212. this[type] = !this[type];
  2213. },
  2214. //撤销核保
  2215. cancelUnderwriting() {
  2216. uni.showModal({
  2217. content: '是否确认撤销核保?',
  2218. success: async (res) => {
  2219. if (res.confirm) {
  2220. let param = {
  2221. "auditid": this.userInfo.sysUser.id, //核保人会员号
  2222. "auditopinion": '', //核保意见
  2223. "jqapplyno": "", //交强险投保单号
  2224. "jqappoint": "", //交强特别约定
  2225. "jqpolicyno": "", //交强保单号
  2226. "orderno": this.orderno, //订单号
  2227. "orderstatus": "0", //订单类型
  2228. "syapplyno": "", //商业险投保单号
  2229. "syappoint": "", //商业险特别约定
  2230. "sypolicyno": "" //商业保单号
  2231. }
  2232. let res = await this.$http.post('/insOrder/saveAudit', param);
  2233. uni.showToast({
  2234. title: '撤销成功',
  2235. icon: "none",
  2236. duration: 2000
  2237. });
  2238. setTimeout(() => {
  2239. this.setOrderStage(0);
  2240. this.setOrderType(0);
  2241. this.navigate({
  2242. url: "/pages/orders1/orders"
  2243. }, "switchTab", true);
  2244. }, 2000);
  2245. } else if (res.cancel) {
  2246. console.log('用户点击取消');
  2247. }
  2248. }
  2249. });
  2250. },
  2251. toChinesNum(num) {
  2252. let overWan = Math.floor(num / 10000);
  2253. let result = overWan + "万";
  2254. return result;
  2255. },
  2256. }
  2257. }
  2258. </script>
  2259. <style lang="scss" scoped>
  2260. @import '@/style/mixin.scss';
  2261. .page {
  2262. background: #F8FAFE;
  2263. padding: 0 16px 100px 16px;
  2264. }
  2265. .headers {
  2266. padding: 16px 16px 0 16px;
  2267. position: relative;
  2268. .price {
  2269. width: 100%;
  2270. height: 40px;
  2271. background: #FFFFFF;
  2272. border-radius: 6px 6px 0px 0px;
  2273. }
  2274. }
  2275. .header {
  2276. height: 80upx;
  2277. position: relative;
  2278. }
  2279. .header .title {
  2280. font-size: 30upx;
  2281. font-weight: bold;
  2282. }
  2283. .welfare {
  2284. margin-bottom: 20upx;
  2285. width: 100%;
  2286. box-sizing: border-box;
  2287. background: #FFFFFF;
  2288. border-radius: 20upx;
  2289. }
  2290. .welfare .body {
  2291. padding: 0 30upx 30upx;
  2292. box-sizing: border-box;
  2293. flex-wrap: wrap;
  2294. }
  2295. .welfare .body>.welfareItem {
  2296. width: 320upx;
  2297. height: 120upx;
  2298. padding: 10upx 20upx;
  2299. margin: 20upx 10upx 0upx;
  2300. border: 1px solid rgba($themeColor, 0.6);
  2301. box-sizing: border-box;
  2302. background: rgba($themeColor, 0.4);
  2303. border-radius: 10upx;
  2304. }
  2305. .welfare .body>.welfareItem .name {
  2306. color: $themeColor;
  2307. font-size: 30upx;
  2308. width: 210upx;
  2309. overflow: hidden;
  2310. text-overflow: ellipsis;
  2311. white-space: nowrap;
  2312. }
  2313. .welfare .body>.welfareItem .content {
  2314. font-size: 24upx;
  2315. width: 260upx;
  2316. overflow: hidden;
  2317. text-overflow: ellipsis;
  2318. white-space: nowrap;
  2319. }
  2320. /* 报价方案Start */
  2321. .quotePlan {
  2322. margin-bottom: 20upx;
  2323. width: 100%;
  2324. position: relative;
  2325. }
  2326. .quotePlan .header .adjustPlan {
  2327. color: $themeColor;
  2328. }
  2329. .kindList {
  2330. background-color: #F9F9F9;
  2331. padding: 10px;
  2332. height: auto;
  2333. width: 100%;
  2334. border-radius: 10px;
  2335. font-size: 13px;
  2336. color: rgba(35, 40, 50, 0.8);
  2337. }
  2338. .quotePlan .body .insurance {
  2339. padding-bottom: 20upx;
  2340. }
  2341. .quotePlan .body .row {
  2342. padding: 5px;
  2343. border-bottom: 1px solid #F3F3F3;
  2344. }
  2345. .quotePlan .body .row:last-child {
  2346. border: none;
  2347. }
  2348. .quotePlan .body .row .date {
  2349. color: #A4A4A4;
  2350. font-size: 22upx;
  2351. }
  2352. .quotePlan .body .insurance .kindList {
  2353. background: #F3F3F3;
  2354. padding: 0 10upx;
  2355. }
  2356. .addedServices .kindList {
  2357. background: #F3F3F3;
  2358. padding: 0 10upx;
  2359. }
  2360. .quotePlan .body .insurance .kindList .kindItem {
  2361. padding: 2px 0;
  2362. }
  2363. .quotePlan .body .insurance .kindList .kindItem>view {
  2364. font-size: 24upx;
  2365. }
  2366. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  2367. width: 310upx;
  2368. }
  2369. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  2370. width: 170upx;
  2371. }
  2372. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  2373. width: 170upx;
  2374. }
  2375. .addedServices .kindList .kindItem {
  2376. height: 65upx;
  2377. }
  2378. .addedServices .kindList .kindItem>view {
  2379. font-size: 24upx;
  2380. padding: 0upx 15upx;
  2381. }
  2382. /* 报价方案End */
  2383. .car {
  2384. width: 100%;
  2385. padding: 0upx 10px 0;
  2386. background-color: #fff;
  2387. border-radius: 6px;
  2388. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2389. margin-top: 10px;
  2390. position: relative;
  2391. .body {
  2392. .row {
  2393. padding: 5px;
  2394. border-bottom: 1px solid #F3F3F3;
  2395. }
  2396. .row:last-child {
  2397. border: none;
  2398. }
  2399. }
  2400. }
  2401. /* 预缴费Start */
  2402. .advancePaymentTotal {
  2403. margin-bottom: 20upx;
  2404. width: 100%;
  2405. box-sizing: border-box;
  2406. background: #FFFFFF;
  2407. border-radius: 20upx;
  2408. }
  2409. .advancePaymentTotal .body {
  2410. padding: 0upx 40upx 10upx;
  2411. }
  2412. .advancePaymentTotal .body .row {
  2413. height: 80upx;
  2414. border-bottom: 1px solid #F3F3F3;
  2415. }
  2416. /* 预缴费End */
  2417. /* 底部按钮Start */
  2418. .bottomBtn {
  2419. position: fixed;
  2420. bottom: 0;
  2421. left: 0;
  2422. right: 0;
  2423. height: auto;
  2424. z-index: 999;
  2425. background-color: #fff;
  2426. .agree {
  2427. padding: 4px 8px;
  2428. font-size: 22rpx;
  2429. color: #858585;
  2430. .tip {
  2431. color: #FF5600;
  2432. margin: 0upx 10upx;
  2433. }
  2434. }
  2435. .btnView {
  2436. width: 100%;
  2437. height: 38px;
  2438. background-color: #fff;
  2439. .btn {
  2440. height: 100%;
  2441. }
  2442. .btn:nth-child(1) {
  2443. width: 50%;
  2444. background-color: #E6EEFF;
  2445. color: #0052FF;
  2446. padding: 8px;
  2447. font-size: 13px;
  2448. }
  2449. .btn:nth-child(2) {
  2450. width: 50%;
  2451. color: #fff;
  2452. background-color: #0038AF;
  2453. font-weight: bold;
  2454. }
  2455. }
  2456. }
  2457. .tool {
  2458. padding: 10px;
  2459. view {
  2460. width: 100%;
  2461. padding: 8px 0;
  2462. border-bottom: 1px solid #f2f2f2;
  2463. font-size: 14px;
  2464. color: #232832;
  2465. }
  2466. }
  2467. .cancell {
  2468. width: 100%;
  2469. height: 46px;
  2470. background-color: #E6EEFF;
  2471. font-size: 16px;
  2472. color: #0052FF;
  2473. }
  2474. /* 底部按钮End */
  2475. .contributing {
  2476. width: 100%;
  2477. margin: 4px 0;
  2478. font-size: 14px;
  2479. text:nth-child(1) {
  2480. font-weight: bold;
  2481. color: #ff9000;
  2482. }
  2483. }
  2484. /* 人员信息Start */
  2485. .personInfo,
  2486. .advancePayment,
  2487. .imageInfo,
  2488. .appoint {}
  2489. .personInfo,
  2490. .advancePayment,
  2491. .imageInfo,
  2492. .appoint {
  2493. .title {
  2494. height: 80upx;
  2495. font-size: 15px;
  2496. box-shadow: inset 0 -3upx 0px #fafafa;
  2497. }
  2498. .content {
  2499. padding: 0px 5px 0;
  2500. background-color: #fff;
  2501. border-radius: 6px;
  2502. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2503. }
  2504. .uni-uploader {
  2505. padding: 8px;
  2506. background-color: #fff;
  2507. border-radius: 6px;
  2508. height: auto;
  2509. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2510. }
  2511. }
  2512. .uni-uploader__file {
  2513. position: relative;
  2514. }
  2515. .delImgIcon {
  2516. width: 40upx;
  2517. height: 40upx;
  2518. position: absolute;
  2519. right: 0upx;
  2520. top: 0upx;
  2521. color: #FFFFFF;
  2522. }
  2523. .showStatus {
  2524. font-size: 26upx;
  2525. color: #007AFF;
  2526. }
  2527. .personInfo .content .row,
  2528. .advancePayment .content .row {
  2529. height: 80upx;
  2530. border-bottom: 1px solid #F9F9F9;
  2531. flex-wrap: nowrap;
  2532. }
  2533. .personInfo .content .row .left,
  2534. .advancePayment .content .row .left {
  2535. width: 170upx;
  2536. flex-shrink: 0;
  2537. font-size: 28upx;
  2538. }
  2539. .appoint .content .row {
  2540. height: auto;
  2541. margin-top: 10upx;
  2542. }
  2543. .appoint .content .row>view {
  2544. width: 240upx;
  2545. flex-shrink: 1;
  2546. font-size: 28upx;
  2547. }
  2548. .appoint .content .row>textarea {
  2549. /* background: #007AFF; */
  2550. padding: 15upx;
  2551. box-sizing: border-box;
  2552. font-size: 26upx;
  2553. min-height: 160upx;
  2554. height: 100upx;
  2555. border: 1px solid #fafafa;
  2556. /* over */
  2557. }
  2558. .personInfo .content .row .right,
  2559. .advancePayment .content .row .right,
  2560. .appoint .content .row .right {
  2561. font-size: 28upx;
  2562. }
  2563. /* 人员信息End */
  2564. .checkButton {
  2565. font-size: 14px;
  2566. color: #FF5600;
  2567. }
  2568. .uni-popup__wrapper-box {
  2569. display: block;
  2570. position: relative;
  2571. }
  2572. .uni-share {
  2573. display: flex;
  2574. flex-direction: column;
  2575. background-color: #fff;
  2576. position: fixed;
  2577. bottom: 0;
  2578. left: 0;
  2579. right: 0;
  2580. }
  2581. .uni-share-title {
  2582. line-height: 30px;
  2583. font-size: 12px;
  2584. padding: 7px 0;
  2585. text-align: center;
  2586. }
  2587. .uni-share-content {
  2588. display: flex;
  2589. flex-direction: row;
  2590. flex-wrap: wrap;
  2591. justify-content: center;
  2592. padding: 15px;
  2593. }
  2594. .uni-share-content-box {
  2595. display: flex;
  2596. flex-direction: column;
  2597. align-items: center;
  2598. width: 100px;
  2599. }
  2600. .uni-share-content-image {
  2601. display: flex;
  2602. flex-direction: row;
  2603. justify-content: center;
  2604. align-items: center;
  2605. width: 30px;
  2606. height: 30px;
  2607. overflow: hidden;
  2608. border-radius: 5px;
  2609. }
  2610. .uni-share-content-text {
  2611. font-size: 13px;
  2612. color: #333;
  2613. padding-top: 5px;
  2614. padding-bottom: 10px;
  2615. }
  2616. .uni-share-btn {
  2617. height: 45px;
  2618. line-height: 45px;
  2619. font-size: 14px;
  2620. border-top-color: #f5f5f5;
  2621. border-top-width: 1px;
  2622. border-top-style: solid;
  2623. text-align: center;
  2624. color: #666;
  2625. }
  2626. uni-image>img {
  2627. display: block;
  2628. position: absolute;
  2629. top: 0;
  2630. left: 0;
  2631. opacity: 0;
  2632. }
  2633. uni-image>div,
  2634. uni-image>img {
  2635. width: 100%;
  2636. height: 100%;
  2637. }
  2638. .Discount {
  2639. image {
  2640. width: 16px;
  2641. height: 16px;
  2642. }
  2643. text {
  2644. font-size: 12px;
  2645. color: #333333;
  2646. }
  2647. }
  2648. .costDetails {
  2649. width: 100%;
  2650. height: auto;
  2651. background: rgba(0, 82, 255, 0.05);
  2652. border-radius: 10px;
  2653. .text1 {
  2654. font-size: 22rpx;
  2655. }
  2656. .text2 {
  2657. font-size: 24rpx;
  2658. }
  2659. .text2-color {
  2660. color: rgba(0, 82, 255, 0.8);
  2661. }
  2662. }
  2663. /deep/ {
  2664. .u-th {
  2665. background-color: #F2F6FF;
  2666. }
  2667. }
  2668. </style>