quoteDetail.vue 101 KB

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