quoteDetail.vue 101 KB

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