billInfo1.vue 93 KB

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