OfflinePay.vue 99 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748
  1. <template>
  2. <div class="page-container">
  3. <!-- 查询条件(按车牌号查询) -->
  4. <div class="queryForm" title="检索区" style="padding-top:10px;padding-left:15px;">
  5. <el-form size="mini" ref="queryForm" :model="queryForm" label-width="120px">
  6. <el-row>
  7. <el-col :span="6" style="height: 40px;">
  8. <el-form-item label="所属机构">
  9. <el-select v-model="queryForm.deptId" filterable placeholder="所属机构" clearable style="width: 100%;">
  10. <el-option v-for="item in totalComapny" :key="item.id" :label="item.name" :value="item.id">
  11. </el-option>
  12. </el-select>
  13. </el-form-item>
  14. </el-col>
  15. <el-col :span="6" style="height: 40px;">
  16. <el-form-item label="任务号">
  17. <el-input clearable placeholder="任务号" v-model="queryForm.quoteNo"></el-input>
  18. </el-form-item>
  19. </el-col>
  20. <el-col :span="6" style="height: 40px;">
  21. <el-form-item label="订单号">
  22. <el-input clearable placeholder="订单号" v-model="queryForm.orderNo"></el-input>
  23. </el-form-item>
  24. </el-col>
  25. <el-col :span="6" style="height: 40px;">
  26. <el-form-item label="车牌号">
  27. <el-input clearable placeholder="车牌号" v-model="queryForm.licenseNo"></el-input>
  28. </el-form-item>
  29. </el-col>
  30. <el-col :span="6" style="height: 40px;">
  31. <el-form-item label="车架号">
  32. <el-input clearable placeholder="车架号" v-model="queryForm.frameNo"></el-input>
  33. </el-form-item>
  34. </el-col>
  35. <el-col :span="6" style="height: 40px;">
  36. <el-form-item label="发动机号">
  37. <el-input clearable placeholder="发动机号" v-model="queryForm.engineNo"></el-input>
  38. </el-form-item>
  39. </el-col>
  40. <el-col :span="6" style="height: 40px;">
  41. <el-form-item label="投保险种">
  42. <el-select v-model="queryForm.riskCode" placeholder="请选择" style="width: 100%;" clearable>
  43. <el-option label="单交强" value="单交强"></el-option>
  44. <el-option label="单商业" value="单商业"></el-option>
  45. <el-option label="单三者" value="单三者"></el-option>
  46. <el-option label="交强+商业" value="交强+商业"></el-option>
  47. <el-option label="交强+三者" value="交强+三者"></el-option>
  48. </el-select>
  49. </el-form-item>
  50. </el-col>
  51. <el-col :span="6" style="height: 40px;">
  52. <el-form-item label="代理人工号">
  53. <el-input clearable placeholder="代理人工号" v-model="queryForm.userid"></el-input>
  54. </el-form-item>
  55. </el-col>
  56. <el-col :span="6" style="height: 40px;">
  57. <el-form-item label="代理人姓名">
  58. <el-input clearable placeholder="代理人姓名" v-model="queryForm.username"></el-input>
  59. </el-form-item>
  60. </el-col>
  61. <el-col :span="6" style="height: 40px;">
  62. <el-form-item label="被保险人">
  63. <el-input clearable placeholder="被保人姓名" v-model="queryForm.insureName"></el-input>
  64. </el-form-item>
  65. </el-col>
  66. <el-col :span="6">
  67. <el-form-item label="受理人工号">
  68. <el-input clearable placeholder="受理人工号" v-model="queryForm.auditId"></el-input>
  69. </el-form-item>
  70. </el-col>
  71. <el-col :span="6" style="height: 40px;">
  72. <el-form-item label="保险公司">
  73. <el-select v-model="queryForm.insCompany" filterable class="widths" clearable>
  74. <el-option v-for="val in companyList" :key='val.id' :label="val.name" :value="val.id" ></el-option>
  75. </el-select>
  76. </el-form-item>
  77. </el-col>
  78. <el-col :span="12" style="height: 40px;">
  79. <el-form-item label="报价时间">
  80. <el-date-picker v-model="queryForm.quoteDate" style="width:100%" type="daterange" align="left"
  81. range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
  82. </el-form-item>
  83. </el-col>
  84. <el-col :span="12" style="height: 40px;">
  85. <el-form-item label="起保时间">
  86. <el-date-picker v-model="queryForm.policyDate" style="width:100%" type="daterange" align="left"
  87. range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
  88. </el-form-item>
  89. </el-col>
  90. <el-col :span="24" class="u-f u-f-je" style="height: 40px;">
  91. <div class="u-f" style="margin-bottom: 20px; width: 120px;height: 32px; border-radius: 5px;overflow: hidden;"
  92. @click="queryGetOrderList">
  93. <div class="u-f u-f1 u-f-ajc" style="background: #409EFF;color:#fff">查询</div>
  94. <div class="u-f u-f1 u-f-ajc" style="background: #F78948;color:#fff">{{ totalSize }}</div>
  95. </div>
  96. </el-col>
  97. </el-row>
  98. </el-form>
  99. </div>
  100. <!-- 任务区域 -->
  101. <div class="tasks">
  102. <div v-if="ordersList.length == 0" class="u-f-ajc" style="padding: 240px 0;">
  103. 暂无数据
  104. </div>
  105. <el-card v-if="ordersList.length > 0" class="task" :body-style="{ padding: '15px' }" shadow="never"
  106. v-for="(order, orderItem) in ordersList" :key="order.orderno">
  107. <el-row class="row">
  108. <el-col :span="2" class="u-f u-f-je">
  109. <label class="label" style="font-size: 18px;font-weight:bold;">{{ (pageNum - 1) * pageSize + orderItem + 1
  110. }}</label>
  111. <label class="label">任务号</label>
  112. </el-col>
  113. <el-col :span="4">
  114. <el-input size="mini" disabled v-model="order.quoteno"></el-input>
  115. </el-col>
  116. <el-col :span="2" class="u-f u-f-je">
  117. <label class="label">订单号</label>
  118. </el-col>
  119. <el-col :span="4">
  120. <el-input size="mini" disabled v-model="order.orderno"></el-input>
  121. </el-col>
  122. <el-col :span="2" class="u-f u-f-je">
  123. <label class="label">任务状态</label>
  124. </el-col>
  125. <el-col :span="4">
  126. <div v-for="(orderStatusItem, orderStatusIndex) in global.orderStatus" :key="orderStatusIndex">
  127. <template v-if="orderStatusItem.value == order.orderstatus">
  128. <el-input size="mini" disabled v-model="orderStatusItem.label"></el-input>
  129. </template>
  130. </div>
  131. </el-col>
  132. <el-col :span="2" class="u-f u-f-je">
  133. <label class="label">录单时间</label>
  134. </el-col>
  135. <el-col :span="4">
  136. <el-input size="mini" disabled v-model="order.createtime"></el-input>
  137. </el-col>
  138. </el-row>
  139. <el-row class="row">
  140. <el-col :span="2" class="u-f u-f-je">
  141. <label class="label">工号</label>
  142. </el-col>
  143. <el-col :span="4">
  144. <el-input size="mini" disabled v-model="order.userid"></el-input>
  145. </el-col>
  146. <el-col :span="2" class="u-f u-f-je">
  147. <label class="label">名称</label>
  148. </el-col>
  149. <el-col :span="4">
  150. <el-input size="mini" disabled v-model="order.username"></el-input>
  151. </el-col>
  152. <el-col :span="2" class="u-f u-f-je">
  153. <label class="label">团队归属</label>
  154. </el-col>
  155. <el-col :span="4">
  156. <el-input size="mini" disabled v-model="order.deptname"></el-input>
  157. </el-col>
  158. <el-col :span="2" class="u-f u-f-je">
  159. <label class="label">归属机构</label>
  160. </el-col>
  161. <el-col :span="4">
  162. <div v-for="(item, index) in totalComapny" :key="index" v-if="order.deptid.split('D')[0] == item.id">
  163. <el-input size="mini" disabled v-model="item.name"></el-input>
  164. </div>
  165. <!-- <el-input size="mini" disabled v-model="order.deptid"></el-input> -->
  166. </el-col>
  167. </el-row>
  168. <el-row class="row">
  169. <el-col :span="2" class="u-f u-f-je">
  170. <label class="label">车牌号</label>
  171. </el-col>
  172. <el-col :span="4">
  173. <el-input size="mini" disabled v-model="order.carinfo.licenseNo"></el-input>
  174. </el-col>
  175. <el-col :span="2" class="u-f u-f-je">
  176. <label class="label">被保险人</label>
  177. </el-col>
  178. <el-col :span="4">
  179. <el-input size="mini" disabled v-model="order.insureinfo.name"></el-input>
  180. </el-col>
  181. <el-col :span="2" class="u-f u-f-je">
  182. <label class="label">投保险种</label>
  183. </el-col>
  184. <el-col :span="4">
  185. <el-input size="mini" disabled v-model="order.product"></el-input>
  186. </el-col>
  187. </el-row>
  188. <el-row class="row">
  189. <div v-for="(riskItem, riskIndex) in order.riskinfo" :key="riskIndex">
  190. <template v-if="riskItem.riskCode == '0507'">
  191. <el-col :span="2" class="u-f u-f-je">
  192. <label class="label">交强险起保时间</label>
  193. </el-col>
  194. <el-col :span="4">
  195. <el-input size="mini" disabled v-model="riskItem.startDate"></el-input>
  196. </el-col>
  197. <el-col :span="2" class="u-f u-f-je">
  198. <label class="label">交强险终保时间</label>
  199. </el-col>
  200. <el-col :span="4">
  201. <el-input size="mini" disabled v-model="riskItem.endDate"></el-input>
  202. </el-col>
  203. </template>
  204. </div>
  205. <div v-for="(riskItem, riskIndex) in order.riskinfo" :key="riskItem.riskCode">
  206. <template v-if="riskItem.riskCode == '0510'">
  207. <el-col :span="2" class="u-f u-f-je">
  208. <label class="label">商业险起保时间</label>
  209. </el-col>
  210. <el-col :span="4">
  211. <el-input size="mini" disabled v-model="riskItem.startDate"></el-input>
  212. </el-col>
  213. <el-col :span="2" class="u-f u-f-je">
  214. <label class="label">商业险终保时间</label>
  215. </el-col>
  216. <el-col :span="4">
  217. <div v-for="(riskItem, riskIndex) in order.riskinfo" :key="riskIndex">
  218. <template v-if="riskItem.riskCode == '0510'">
  219. <el-input size="mini" disabled v-model="riskItem.endDate"></el-input>
  220. </template>
  221. </div>
  222. </el-col>
  223. </template>
  224. </div>
  225. </el-row>
  226. <el-row class="task_bottom u-f u-f-je">
  227. <el-button size="mini" type="primary" style="background:#419fff;border: 1px solid #419fff;"
  228. @click="CloseEdit(order.orderno)">编辑</el-button>
  229. <el-button size="mini" type="primary" style="background:#DE504C;border: 1px solid #DE504C;"
  230. @click="openTaskForward(order.orderno)">任务转发</el-button>
  231. <el-button size="mini" type="primary" style="background:#F99070;border: 1px solid #F99070;"
  232. @click="getHistoryList(order.orderno)">报价轨迹</el-button>
  233. </el-row>
  234. </el-card>
  235. <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="pageNum"
  236. :page-sizes="[20, 40, 50, 100]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper"
  237. :total="totalSize" style="text-align: end;margin-bottom: 15px;">
  238. </el-pagination>
  239. </div>
  240. <el-dialog title="车辆报价信息详情" :visible.sync="dialogVisible" width="90%" center>
  241. <div class="Enclosure" v-if="orderInfo">
  242. <div class="home flex j-s a-c back">
  243. <div class="flex j-s a-c color">
  244. <img src="../../../src/icon/company.png" alt class="icon-img" />
  245. <span style="margin-left:10px;">报价信息</span>
  246. </div>
  247. </div>
  248. <div style="padding:20px;font-weight:bold;font-size:20px;">
  249. <span>总保费</span>
  250. <span style="color:#ff7612;">¥{{ orderInfo.sumpremium }}</span>
  251. <span style="padding-left: 20px">总费用</span>
  252. <span style="color:#ff7612;" >
  253. ¥{{orderInfo.orderCommissionVo&&orderInfo.orderCommissionVo.totalFeePremium?orderInfo.orderCommissionVo.totalFeePremium:0 }}</span>
  254. </div>
  255. <div class="headers headers_Custom">
  256. <div v-show="orderInfo.jqpremium">
  257. 交强险金额:
  258. <span>
  259. ¥{{
  260. orderInfo.jqpremium }}
  261. </span>
  262. </div>
  263. <div v-if="orderInfo.orderCommissionVo&&orderInfo.orderCommissionVo.jqFeeRate">
  264. 手续费比例:
  265. <span>
  266. {{
  267. orderInfo.orderCommissionVo.jqFeeRate }}%
  268. </span>
  269. </div>
  270. <div v-if="orderInfo.orderCommissionVo&&orderInfo.orderCommissionVo.jqFeePremium">
  271. 手续费金额:
  272. <span>
  273. ¥{{orderInfo.orderCommissionVo.jqFeePremium }}
  274. </span>
  275. </div>
  276. <div v-show="orderInfo.taxamount">
  277. 车船税:
  278. <span>¥{{ orderInfo.taxamount }}</span>
  279. </div>
  280. <div v-show="orderInfo.jqstartdate">
  281. 交强险起保日期:
  282. <span>{{ orderInfo.jqstartdate }}</span>
  283. </div>
  284. </div>
  285. <div class="headers headers_Custom" >
  286. <div v-show="orderInfo.sypremium">
  287. 商业险金额:
  288. <span>¥{{ orderInfo.sypremium }}</span>
  289. </div>
  290. <div v-if="orderInfo.orderCommissionVo&&orderInfo.orderCommissionVo.syFeeRate">
  291. 手续费比例:
  292. <span>
  293. {{
  294. orderInfo.orderCommissionVo.syFeeRate }}%
  295. </span>
  296. </div>
  297. <div v-if="orderInfo.orderCommissionVo&&orderInfo.orderCommissionVo.syFeePremium">
  298. 手续费金额:
  299. <span>
  300. ¥{{orderInfo.orderCommissionVo.syFeePremium }}
  301. </span>
  302. </div>
  303. <div v-show="orderInfo.systartdate">
  304. 商业险起保日期:
  305. <span>{{ orderInfo.systartdate }}</span>
  306. </div>
  307. </div>
  308. <div class="headers headers_Custom" >
  309. <div v-if="orderInfo.jypremium">
  310. 驾意险:
  311. <span>¥{{ orderInfo.jypremium }}</span>
  312. </div>
  313. </div>
  314. </div>
  315. <div class="Enclosure" v-if="orderInfo.extendInfo">
  316. <div class="home flex j-s a-c back">
  317. <div class="flex j-s a-c color">
  318. <img src="../../../src/icon/company.png" alt class="icon-img" />
  319. <span style="margin-left:10px;">保费因素</span>
  320. </div>
  321. </div>
  322. <el-descriptions size="small">
  323. <el-descriptions-item label="评分">{{ orderInfo.extendInfo.score }}</el-descriptions-item>
  324. <el-descriptions-item label="出险信息">{{ orderInfo.extendInfo.accidentInfoStr }}</el-descriptions-item>
  325. <el-descriptions-item label="商业险折扣比例">{{ orderInfo.extendInfo.nirrratio }}</el-descriptions-item>
  326. <el-descriptions-item label="交强险折扣比例">{{ orderInfo.extendInfo.nirrratioCI }}</el-descriptions-item>
  327. <el-descriptions-item label="自主定价系数">{{ orderInfo.extendInfo.pricingAdjustValue }}</el-descriptions-item>
  328. <el-descriptions-item label="业务员交强险销售费用浮动率">
  329. {{ orderInfo.extendInfo.jqFeeSaleChangeRateA4
  330. }}
  331. </el-descriptions-item>
  332. <el-descriptions-item label="交强深度定价分档">{{ orderInfo.extendInfo.deepPriceGradeCI }}</el-descriptions-item>
  333. <el-descriptions-item label="业务员商业险销售费用浮动率">
  334. {{ orderInfo.extendInfo.syFeeSaleChangeRateA4
  335. }}
  336. </el-descriptions-item>
  337. <el-descriptions-item label="商业深度定价分档">{{ orderInfo.extendInfo.deepPriceGradeBI }}</el-descriptions-item>
  338. </el-descriptions>
  339. </div>
  340. <div class="Enclosure" v-if="orderInfo">
  341. <div class="home flex j-s a-c back">
  342. <div class="flex j-s a-c color">
  343. <img src="../../../src/icon/company.png" alt class="icon-img" />
  344. <span style="margin-left:10px;">车辆信息</span>
  345. </div>
  346. </div>
  347. <el-descriptions size="small">
  348. <el-descriptions-item label="车牌号">{{ orderInfo.carinfo.licenseNo }}</el-descriptions-item>
  349. <el-descriptions-item label="车辆识别代码">{{ orderInfo.carinfo.vinNo }}</el-descriptions-item>
  350. <el-descriptions-item label="品牌型号">{{ orderInfo.carinfo.modelcname }}</el-descriptions-item>
  351. <el-descriptions-item label="发动机号">{{ orderInfo.carinfo.engineNo }}</el-descriptions-item>
  352. <el-descriptions-item label="年款">{{ orderInfo.carinfo.caryear }}</el-descriptions-item>
  353. <el-descriptions-item label="座位数">{{ orderInfo.carinfo.seatCount }}</el-descriptions-item>
  354. <el-descriptions-item label="新车购置价">{{ orderInfo.carinfo.purchasePrice }}</el-descriptions-item>
  355. <el-descriptions-item label="使用性质">
  356. {{ orderInfo.carinfo.carnature == '8A' ? '家庭自用' : ''
  357. }}
  358. </el-descriptions-item>
  359. <el-descriptions-item label="注册日期">{{ orderInfo.carinfo.registerDate }}</el-descriptions-item>
  360. <el-descriptions-item label="发证日期">{{ orderInfo.carinfo.issueDate }}</el-descriptions-item>
  361. <el-descriptions-item label="是否过户">
  362. {{ orderInfo.carinfo.transferFlag == true ? '是' : '否'
  363. }}
  364. </el-descriptions-item>
  365. </el-descriptions>
  366. </div>
  367. <div class="Enclosure" v-if="orderInfo">
  368. <div class="home flex j-s a-c back">
  369. <div class="flex j-s a-c color">
  370. <img src="../../../src/icon/company.png" alt class="icon-img" />
  371. <span style="margin-left:10px;">车主信息</span>
  372. </div>
  373. </div>
  374. <el-descriptions size="small">
  375. <el-descriptions-item label="车主姓名">{{ orderInfo.ownerinfo.name }}</el-descriptions-item>
  376. <el-descriptions-item label="证件类型">{{ orderInfo.ownerinfo.identifyType }}</el-descriptions-item>
  377. <el-descriptions-item label="身份证号">{{ orderInfo.ownerinfo.identifyNumber }}</el-descriptions-item>
  378. <el-descriptions-item label="手机号">{{ orderInfo.ownerinfo.mobile }}</el-descriptions-item>
  379. <el-descriptions-item label="地址">{{ orderInfo.ownerinfo.addr }}</el-descriptions-item>
  380. <el-descriptions-item label="电子邮箱">{{ orderInfo.ownerinfo.email }}</el-descriptions-item>
  381. </el-descriptions>
  382. </div>
  383. <div class="Enclosure" v-if="orderInfo">
  384. <div class="home flex j-s a-c back">
  385. <div class="flex j-s a-c color">
  386. <img src="../../../src/icon/company.png" alt class="icon-img" />
  387. <span style="margin-left:10px;">投保人信息</span>
  388. </div>
  389. </div>
  390. <el-descriptions size="small">
  391. <el-descriptions-item label="投保人姓名">{{ orderInfo.applyinfo.name }}</el-descriptions-item>
  392. <el-descriptions-item label="证件类型"> {{ orderInfo.applyinfo.identifyType }}</el-descriptions-item>
  393. <el-descriptions-item label="身份证号">{{ orderInfo.applyinfo.identifyNumber }}</el-descriptions-item>
  394. <el-descriptions-item label="手机号">{{ orderInfo.applyinfo.mobile }}</el-descriptions-item>
  395. <el-descriptions-item label="地址">{{ orderInfo.applyinfo.addr }}</el-descriptions-item>
  396. <el-descriptions-item label="电子邮箱">{{ orderInfo.applyinfo.email }}</el-descriptions-item>
  397. </el-descriptions>
  398. </div>
  399. <div class="Enclosure" v-if="orderInfo">
  400. <div class="home flex j-s a-c back">
  401. <div class="flex j-s a-c color">
  402. <img src="../../../src/icon/company.png" alt class="icon-img" />
  403. <span style="margin-left:10px;">被保人信息</span>
  404. </div>
  405. </div>
  406. <el-descriptions size="small">
  407. <el-descriptions-item label="被保人姓名">{{ orderInfo.insureinfo.name }}</el-descriptions-item>
  408. <el-descriptions-item label="证件类型"> {{ orderInfo.insureinfo.identifyType}}</el-descriptions-item>
  409. <el-descriptions-item label="身份证号">{{ orderInfo.insureinfo.identifyNumber }}</el-descriptions-item>
  410. <el-descriptions-item label="手机号">{{ orderInfo.insureinfo.mobile }}</el-descriptions-item>
  411. <el-descriptions-item label="地址">{{ orderInfo.insureinfo.addr }}</el-descriptions-item>
  412. <el-descriptions-item label="电子邮箱">{{ orderInfo.insureinfo.email }}</el-descriptions-item>
  413. </el-descriptions>
  414. </div>
  415. <div class="Enclosure" v-if="orderInfo">
  416. <div class="home flex j-s a-c back">
  417. <div class="flex j-s a-c color">
  418. <img src="../../../src/icon/company.png" alt class="icon-img" />
  419. <span style="margin-left:10px;">险种信息</span>
  420. </div>
  421. </div>
  422. <div style="font-size:12px">
  423. <div class="headers kindinfocss" style="justify-content: space-around">
  424. <span>商业险险别</span>
  425. <span>保额(元)</span>
  426. <span>保费(元)</span>
  427. </div>
  428. <div class="headers kindinfocss" style="color:rgb(255, 118, 18); justify-content:space-around;"
  429. v-for="(kindinfoitem, kindinfoindex) in orderInfo.kindinfo" :key="kindinfoindex">
  430. <template v-if="kindinfoitem.coveragePremium">
  431. <span>{{ kindinfoitem.kindName }}</span>
  432. <span v-if="['D4', 'SY_FJ_YBW2'].includes(kindinfoitem.kindCode)">{{ kindinfoitem.unitAmount }}</span>
  433. <span v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(kindinfoitem.kindCode)">
  434. {{
  435. kindinfoitem.deductibleRate
  436. }}
  437. </span>
  438. <span v-else>{{ kindinfoitem.amount }}</span>
  439. <span>{{ kindinfoitem.coveragePremium }}</span>
  440. </template>
  441. </div>
  442. </div>
  443. </div>
  444. <div class="Enclosure" v-if="orderInfo.accidentInfo&&orderInfo.accidentInfo.length>0">
  445. <div class="home flex j-s a-c back">
  446. <div class="flex j-s a-c color">
  447. <img src="../../../src/icon/company.png" alt class="icon-img" />
  448. <span style="margin-left:10px;">驾意险</span>
  449. </div>
  450. </div>
  451. <div style="font-size:12px" >
  452. <div class="jyxStyle" style=" font-weight: bold;color: #333;">
  453. <span style="width:50%;margin-left:50px">产品</span>
  454. <span style="width:20%">份数</span>
  455. <span style="width:20%">价格</span>
  456. </div>
  457. <div v-for="(kindinfoitem, kindinfoindex) in orderInfo.accidentInfo" :key="kindinfoindex">
  458. <div style="margin-top:20px" class="jyxStyle">
  459. <span style="width:50%;margin-left:50px">{{ kindinfoitem.projectName }}</span>
  460. <span style="width:20%">{{ kindinfoitem.quantity ?kindinfoitem.quantity:'1' }}</span>
  461. <span style="width:20%">{{ kindinfoitem.actualPremium}}/份</span>
  462. </div>
  463. </div>
  464. </div>
  465. </div>
  466. <div class="Enclosure" v-if="orderInfo">
  467. <div class="home flex j-s a-c back">
  468. <div class="flex j-s a-c color">
  469. <img src="../../../src/icon/company.png" alt class="icon-img" />
  470. <span style="margin-left:10px;">欠税明细</span>
  471. </div>
  472. </div>
  473. <div style="font-size:12px">
  474. <div class="headers kindinfocss" style="justify-content: space-around;">
  475. <span>日期</span>
  476. <span>欠费(元)</span>
  477. <span>滞纳金(元)</span>
  478. </div>
  479. <div class="headers kindinfocss" style="color:rgb(255, 118, 18); justify-content:space-around;"
  480. v-for="(taxArrearsitem, taxArrearsindex) in orderInfo.taxArrears" :key="taxArrearsindex">
  481. <span>{{ taxArrearsitem.years }}</span>
  482. <span>{{ taxArrearsitem.taxDefault }}</span>
  483. <span>{{ taxArrearsitem.lateFee }}</span>
  484. </div>
  485. </div>
  486. </div>
  487. <div class="Enclosure" v-if="orderInfo&&feeDetailInfo">
  488. <div class="home flex j-s a-c back">
  489. <div class="flex j-s a-c color">
  490. <img src="../../../src/icon/company.png" alt class="icon-img" />
  491. <span style="margin-left:10px;">费用明细</span>
  492. </div>
  493. </div>
  494. <div style="font-size:12px;width: 100%" class="FeeEnclosure">
  495. <el-table :data="feeDetailInfo" :border="true" width="100%" :stripe="true" size="mini">
  496. <el-table-column prop="feeTypeName" label="费用类型" width="10%"></el-table-column>
  497. <el-table-column label="交强险费用跟单明细" width="30%">
  498. <el-table-column prop="jqFeeRateAll" label="手续费比例/跟单费比例/总比例" width="15%"></el-table-column>
  499. <el-table-column prop="jqFeeAmountAll" label="手续费金额/跟单费金额/总金额" width="15%"></el-table-column>
  500. </el-table-column>
  501. <el-table-column label="商业险费用跟单明细" width="30%">
  502. <el-table-column prop="syFeeRateAll" label="手续费比例/跟单费比例/总比例" width="15%"></el-table-column>
  503. <el-table-column prop="syFeeAmountAll" label="手续费金额/跟单费金额/总金额" width="15%"></el-table-column>
  504. </el-table-column>
  505. <el-table-column label="非车险费用跟单明细" width="30%">
  506. <el-table-column prop="fcFeeRate" label="比例" width="15%"></el-table-column>
  507. <el-table-column prop="fcFeeAmount" label="金额" width="15%"></el-table-column>
  508. </el-table-column>
  509. </el-table>
  510. </div>
  511. </div>
  512. <div class="Enclosure" v-if="orderInfo">
  513. <div class="home flex j-s a-c back">
  514. <div class="flex j-s a-c color">
  515. <img src="../../../src/icon/company.png" alt class="icon-img" />
  516. <span style="margin-left:10px;">影像</span>
  517. </div>
  518. </div>
  519. <div style="font-size:12px;padding:10px 0">
  520. <div style="margin-bottom: 10px;">
  521. <el-row class="u-f-ac bodyTitle">
  522. <label @click="pic1Control = !pic1Control">行驶证影像</label>
  523. </el-row>
  524. <el-row class="body" v-show="pic1Control">
  525. <el-row style="padding:10px;">
  526. <viewer :images="carImageList">
  527. <img class="imageStyle" v-for="(imageItem, imageIndex) in carImageList" :src="imageItem"
  528. :key="imageIndex" />
  529. </viewer>
  530. </el-row>
  531. </el-row>
  532. </div>
  533. <div style="margin-bottom: 10px;">
  534. <el-row class="u-f-ac bodyTitle">
  535. <label @click="pic2Control = !pic2Control">车主身份证影像</label>
  536. </el-row>
  537. <el-row class="body" v-show="pic2Control">
  538. <el-row style="padding:10px;">
  539. <viewer :images="ownerImageList">
  540. <img class="imageStyle" v-for="(imageItem, imageIndex) in ownerImageList" :src="imageItem"
  541. :key="imageIndex" />
  542. </viewer>
  543. </el-row>
  544. </el-row>
  545. </div>
  546. <div style="margin-bottom: 10px;">
  547. <el-row class="u-f-ac bodyTitle">
  548. <label @click="pic3Control = !pic3Control">投保人身份证影像</label>
  549. </el-row>
  550. <el-row class="body" v-show="pic3Control">
  551. <el-row style="padding:10px;">
  552. <viewer :images="policyImageList">
  553. <img class="imageStyle" v-for="(imageItem, imageIndex) in policyImageList" :src="imageItem"
  554. :key="imageIndex" />
  555. </viewer>
  556. </el-row>
  557. </el-row>
  558. </div>
  559. <div style="margin-bottom: 10px;">
  560. <el-row class="u-f-ac bodyTitle">
  561. <label @click="pic4Control = !pic4Control">被保人身份证影像</label>
  562. </el-row>
  563. <el-row class="body" v-show="pic4Control">
  564. <el-row style="padding:10px;">
  565. <viewer :images="insuredImageList">
  566. <img class="imageStyle" v-for="(imageItem, imageIndex) in insuredImageList" :src="imageItem"
  567. :key="imageIndex" />
  568. </viewer>
  569. </el-row>
  570. </el-row>
  571. </div>
  572. <div style="margin-bottom: 10px;">
  573. <el-row class="u-f-ac bodyTitle">
  574. <label @click="pic5Control = !pic5Control">验车照影像</label>
  575. </el-row>
  576. <el-row class="body" v-show="pic5Control">
  577. <el-row style="padding:10px;">
  578. <viewer :images="carCheckImageList">
  579. <img class="imageStyle" v-for="(imageItem, imageIndex) in carCheckImageList" :src="imageItem"
  580. :key="imageIndex" />
  581. </viewer>
  582. </el-row>
  583. </el-row>
  584. </div>
  585. </div>
  586. </div>
  587. <div class="Enclosure" v-if="orderInfo">
  588. <div class="home flex j-s a-c back">
  589. <div class="flex j-s a-c color">
  590. <img src="../../../src/icon/company.png" alt class="icon-img" />
  591. <span style="margin-left:10px;">投保单号</span>
  592. </div>
  593. </div>
  594. <el-descriptions size="small" :column="2">
  595. <el-descriptions-item label="交强险投保单号">{{ orderInfo.jqapplyno }}</el-descriptions-item>
  596. <el-descriptions-item label="商业险投保单号">{{ orderInfo.syapplyno }}</el-descriptions-item>
  597. <el-descriptions-item label="交强险保单号">{{ orderInfo.jqpolicyno }}</el-descriptions-item>
  598. <el-descriptions-item label="商业险保单号">{{ orderInfo.sypolicyno }}</el-descriptions-item>
  599. </el-descriptions>
  600. </div>
  601. <div class="Enclosure" v-if="orderInfo && orderInfo.orderstatus == 4">
  602. <div class="home flex j-s a-c back">
  603. <div class="flex j-s a-c color">
  604. <img src="../../../src/icon/company.png" alt class="icon-img" />
  605. <span style="margin-left:10px;">审核意见</span>
  606. </div>
  607. </div>
  608. <div style='font-size:12px;padding: 10px 50px'>{{orderInfo.auditopinion}}</div>
  609. </div>
  610. <div class="Enclosure" v-if="orderInfo && orderInfo.orderstatus == 3">
  611. <div class="home flex j-s a-c back">
  612. <div class="flex j-s a-c color">
  613. <img src="../../../src/icon/company.png" alt class="icon-img" />
  614. <span style="margin-left:10px;">电子保单</span>
  615. </div>
  616. </div>
  617. <el-row class="body" >
  618. <el-row v-for="(oldfileItem, oldfileIndex) in oldfileList" :key="oldfileIndex">
  619. <el-col :span="2" style="margin-right: 15px;">
  620. <label>{{ oldfileItem.fileTitle }}:</label>
  621. </el-col>
  622. <el-col :span="6" class="u-f u-f-column">
  623. <div class="u-f u-f-jsb u-f-ac" style="width: 170px;">
  624. <div
  625. style="height: 36px;line-height: 36px; width: 200px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">
  626. {{ licenseNo }}</div>
  627. <el-button style="cursor: pointer;" type="text" @click="viewfile(oldfileItem)">下载
  628. </el-button>
  629. </div>
  630. </el-col>
  631. </el-row>
  632. </el-row>
  633. </div>
  634. <span slot="footer" class="dialog-footer">
  635. <el-button size="small" @click="dialogVisible = false">关闭</el-button>
  636. </span>
  637. </el-dialog>
  638. <el-dialog title="订单报价记录" :visible.sync="historyDialogVisible" width="1300px">
  639. <!-- 订单历史轨迹内容区域 -->
  640. <el-table size="small" :data="HistoryList" height="250" border style="width:100%" v-loading="loading"
  641. :header-cell-style="{ background: '#F2F7FC', fontWeight: '700', color: '#ee7000' }" highlight-current-row>
  642. <el-table-column prop="inscompany" label="保险公司" align="center"></el-table-column>
  643. <el-table-column prop="createtime" label="报价时间" align="center"></el-table-column>
  644. <el-table-column prop="jqpremium" label="交强险" align="center"></el-table-column>
  645. <el-table-column prop="sypremium" label="商业险" align="center"></el-table-column>
  646. <el-table-column prop="taxamount" label="车船税" align="center"></el-table-column>
  647. <el-table-column prop="sumpremium" label="总保费" align="center"></el-table-column>
  648. <el-table-column prop="orderstatus" label="状态" align="center">
  649. <template slot-scope="scope">
  650. <el-tag v-if="scope.row.orderstatus == '0'" type="success" size="small">报价中</el-tag>
  651. <el-tag v-if="scope.row.orderstatus == '1'" type="warning" size="small">待核保</el-tag>
  652. <el-tag v-if="scope.row.orderstatus == '2'" type="danger" size="small">已核保待缴费</el-tag>
  653. <el-tag v-if="scope.row.orderstatus == '3'" type="danger" size="small">已承保</el-tag>
  654. <el-tag v-if="scope.row.orderstatus == '4'" type="danger" size="small">核保退回</el-tag>
  655. </template>
  656. </el-table-column>
  657. <el-table-column label="操作" align="center" min-width="150" fixed="right">
  658. <template slot-scope="scope">
  659. <el-button type="text" size="small" @click="OrderDetails(scope.row)">查看详情</el-button>
  660. <el-button size="small" type="text" style="color:rgb(240, 12, 10)"
  661. @click="bjdpreview(scope.row.id)">报价单</el-button>
  662. <el-button size="small" v-show="scope.row.orderstatus == '2'" type="text" style="color:rgb(240, 12, 10)"
  663. @click="carcode(scope.row.id)">付款码</el-button>
  664. <el-button size="mini" type="text" v-if="scope.row.orderstatus == '2' && ['紫金财险'].includes(scope.row.inscompany)"
  665. @click="cancelorder(scope.row)" style="color:#f56c6c">撤单</el-button>
  666. <el-button type="text" size="mini" v-if="scope.row.orderstatus == '2'" @click="revokeCode(scope.row.id)">撤销二维码</el-button>
  667. <el-button size="mini" type="text"
  668. v-if="scope.row.orderstatus == '2' && ['恒邦财险', '众安财险', '中国人寿', '安盛天平', '紫金财险'].includes(scope.row.inscompany)"
  669. @click="querystatus(scope.row)" style="color:#f56c6c">状态更新</el-button>
  670. <el-button size="mini" type="text"
  671. v-if="scope.row.orderstatus == '2' && scope.row.inscompany=='永诚财险'"
  672. @click="refreshStatus(scope.row)" style="color:#f56c6c">状态更新</el-button>
  673. <el-button size="mini" type="text"
  674. v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='永诚财险'"
  675. @click="refreshStatus(scope.row)" style="color:#f56c6c">更新订单</el-button>
  676. <el-button size="mini" type="text"
  677. v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='中煤财险'"
  678. @click="updateStatus(scope.row)" style="color:#f56c6c">更新订单</el-button>
  679. <el-button size="mini" type="text"
  680. v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='华泰财险'"
  681. @click="updateStatusHuatai(scope.row)" style="color:#f56c6c">更新订单</el-button>
  682. <el-button size="mini" type="text"
  683. v-if="scope.row.orderstatus == '2' && scope.row.inscompany=='华泰财险'"
  684. @click="updateOrderInfoHuatai(scope.row)" style="color:#f56c6c">状态更新</el-button>
  685. <el-button size="mini" type="text"
  686. v-if="scope.row.orderstatus == '2' && scope.row.inscompany=='国任财险'"
  687. @click="refreshStatusGuoren(scope.row)" style="color:#f56c6c">状态更新</el-button>
  688. <el-button size="mini" type="text"
  689. v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='国任财险'"
  690. @click="refreshStatusGuoren(scope.row)" style="color:#f56c6c">更新订单</el-button>
  691. <el-button size="mini" type="text"
  692. v-if="scope.row.orderstatus == '1' && scope.row.inscompany=='大家财险'"
  693. @click="refreshStatusDajia(scope.row)" style="color:#f56c6c">更新订单</el-button>
  694. <el-button size="mini" type="text"
  695. v-if="scope.row.orderstatus == '2' && scope.row.inscompany=='大家财险'"
  696. @click="refreshStatusDajia(scope.row)" style="color:#f56c6c">状态更新</el-button>
  697. </template>
  698. </el-table-column>
  699. </el-table>
  700. <span slot="footer" class="dialog-footer">
  701. <el-button size="small" type="primary" style="background: #DE504C;border: 1px solid #DE504C;"
  702. @click="historyDialogVisible = false">关 闭</el-button>
  703. </span>
  704. </el-dialog>
  705. <!-- 任务转发内容区域 -->
  706. <el-dialog title="订单任务转发" :visible.sync="taskForwardDialogVisible" width="800px" @close="closeTaskForward">
  707. <div class="u-f-ac" style="height:40px;background-color: #F5F5F7;padding-left: 30px;">
  708. 订单号:{{ taskForwardData.orderNo }} </div>
  709. <el-form :model="taskForwardData" label-width="100px" size="small" style="text-align:left;">
  710. <el-row style="margin-top: 20px;padding: 0px 20px;">
  711. <el-col :span="10">
  712. <el-form-item label="任务接收人" prop="auditid">
  713. <el-select size="small" style="width: 100%" filterable v-model="taskForwardData.auditId" placeholder="请选择"
  714. @change="changeAudit">
  715. <el-option v-for="item in staffList" :key="item.userId" :label="item.name" :value="item.userId">
  716. </el-option>
  717. </el-select>
  718. </el-form-item>
  719. </el-col>
  720. </el-row>
  721. </el-form>
  722. <span slot="footer" class="dialog-footer">
  723. <el-button size="small" type="primary" style="background: #5EB2D3;border: 1px solid #5EB2D3;"
  724. @click="comfirmTaskForward">确 定</el-button>
  725. </span>
  726. </el-dialog>
  727. <el-dialog :visible.sync="bjddialogVisible" width="570px" top="1vh" v-if="queryOrders">
  728. <div class="bjdbody" id='pdfContentsDiv'>
  729. <div class="bjdCarMessage">
  730. <div class="bjdCarMessage1">
  731. <img src="../../../static/bjdcar.png" class="align" alt style="width:60px;height:60px;" />
  732. <div class="dis f-c" style="height:100%">
  733. <span>{{ queryOrders.carinfo.licenseNo }}</span>
  734. <span>{{ queryOrders.carinfo.modelcname }}</span>
  735. </div>
  736. </div>
  737. <div class="bjdCarMessage2">
  738. <ul>
  739. <li>
  740. <div class="bjdCarMessage2_car dis">
  741. <span>订单号:</span>
  742. <span>{{ queryOrders.orderno }}</span>
  743. </div>
  744. </li>
  745. <li>
  746. <div class="bjdCarMessage2_car dis">
  747. <span>车主姓名:</span>
  748. <span>{{ queryOrders.ownerinfo.name }}</span>
  749. </div>
  750. </li>
  751. <li>
  752. <div class="bjdCarMessage2_car dis">
  753. <span>投保人姓名:</span>
  754. <span>{{ queryOrders.applyinfo.name }}</span>
  755. </div>
  756. </li>
  757. <li>
  758. <div class="bjdCarMessage2_car dis">
  759. <span>被保人姓名:</span>
  760. <span>{{ queryOrders.insureinfo.name }}</span>
  761. </div>
  762. </li>
  763. <li>
  764. <div class="bjdCarMessage2_car dis">
  765. <span>发动机号:</span>
  766. <span>{{ queryOrders.carinfo.engineNo }}</span>
  767. </div>
  768. </li>
  769. <li>
  770. <div class="bjdCarMessage2_car dis">
  771. <span>车架号:</span>
  772. <span>{{ queryOrders.carinfo.vinNo }}</span>
  773. </div>
  774. </li>
  775. <li>
  776. <div class="bjdCarMessage2_car dis">
  777. <span>座位数:</span>
  778. <span>{{ queryOrders.carinfo.seatCount }}</span>
  779. </div>
  780. </li>
  781. <li v-show="queryOrders.jqstartdate">
  782. <div class="bjdCarMessage2_car" style="flex-direction: column;">
  783. <span>车辆交强险保险期间:</span>
  784. <span style="margin-top:5px;">{{ queryOrders.jqstartdate }} 至 {{ queryOrders.jqenddate }}</span>
  785. </div>
  786. </li>
  787. <li v-show="queryOrders.systartdate">
  788. <div class="bjdCarMessage2_car" style="flex-direction: column;">
  789. <span>车辆商业险保险期间:</span>
  790. <span style="margin-top:5px;">{{ queryOrders.systartdate }} 至 {{ queryOrders.syenddate }}</span>
  791. </div>
  792. </li>
  793. </ul>
  794. </div>
  795. </div>
  796. <div class="bjdCarSum">
  797. <div class="dis align jus">
  798. <span>应缴金额</span>
  799. <span style="color:rgb(255, 30, 7);font-size:16px;">¥{{ queryOrders.sumpremium }}</span>
  800. </div>
  801. <div class="dis align jus" v-show="queryOrders.jqpremium">
  802. <span>交强险</span>
  803. <span>¥{{ queryOrders.jqpremium }}</span>
  804. </div>
  805. <div class="dis align jus" v-show="queryOrders.taxamount">
  806. <span>车船税</span>
  807. <span>¥{{ queryOrders.taxamount }}</span>
  808. </div>
  809. <div class="dis align jus" v-show="queryOrders.sypremium">
  810. <span>车辆商业险</span>
  811. <span>¥{{ queryOrders.sypremium }}</span>
  812. </div>
  813. <div class="dis align jus" v-show="queryOrders.jypremium">
  814. <span>驾意险</span>
  815. <span>¥{{ queryOrders.jypremium }}</span>
  816. </div>
  817. <div class="dis align jus" v-show="queryOrders.jqdiscountrate">
  818. <span>交强险优惠比例</span>
  819. <span style="color:#ff8605;">{{ queryOrders.jqdiscountrate }}%</span>
  820. </div>
  821. <div class="dis align jus" v-show="queryOrders.sydiscountrate">
  822. <span>商业险优惠比例</span>
  823. <span style="color:#ff8605;">{{ queryOrders.sydiscountrate }}%</span>
  824. </div>
  825. <div style="border:none;" v-show="queryOrders.sypremium">
  826. <div class="Risk">
  827. <div class="Risk_title dis align jus">
  828. <div>
  829. <span>商业险险别</span>
  830. </div>
  831. <div>
  832. <span>保险金额</span>
  833. </div>
  834. <div>
  835. <span>保费</span>
  836. </div>
  837. </div>
  838. <div class="Risk_data dis align jus" v-for="(kindinfoitem, kindinfoindex) in queryOrders.kindinfo"
  839. :key="kindinfoindex">
  840. <template>
  841. <div>
  842. <span>{{ kindinfoitem.kindName }}</span>
  843. </div>
  844. <div v-if="['D4', 'SY_FJ_YBW2'].includes(kindinfoitem.kindCode)">
  845. <span>{{ kindinfoitem.unitAmount }}</span>/<span>{{ queryOrders.carinfo.seatCount - 1 }}座</span>
  846. </div>
  847. <div v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(kindinfoitem.kindCode)">
  848. <span>{{ kindinfoitem.deductibleRate }}</span>
  849. </div>
  850. <div v-else>
  851. <span>{{ kindinfoitem.amount }}</span>
  852. </div>
  853. <div>
  854. <span>¥{{ kindinfoitem.coveragePremium }}</span>
  855. </div>
  856. </template>
  857. </div>
  858. </div>
  859. </div>
  860. </div>
  861. <div class="flex f-c" style="padding:5px 0; color:#fff;margin-bottom:15px;">
  862. <span style="margin-bottom:10px;">报价时间:</span>
  863. <span>注:本报价单仅供参考,最终以出单价格为准。</span>
  864. </div>
  865. <div class="bjdfooter dis align">
  866. <img :src="logoImg" class="align" alt style="width:60px;height:60px;" />
  867. <div class="dis f-c jus" style="height:100%">
  868. <span>{{ queryOrders.inscompany }}</span>
  869. </div>
  870. </div>
  871. </div>
  872. <div class="display">
  873. <el-button size="small" style="width:100px;" @click="copybjd()" >截图</el-button>
  874. <el-button size="small" style="width:100px;" @click="bjddialogVisible = false">关闭</el-button>
  875. </div>
  876. </el-dialog>
  877. <el-dialog :visible.sync="codedialogVisible" width="400px" top="10vh" class="saomazhifucodeClass">
  878. <div class="ORcodebody">
  879. <div class="code_title dis align">
  880. <span>扫码付款</span>
  881. </div>
  882. <div style="padding:0 20px">
  883. <div class="ORcode">
  884. <div style="padding:5px;position: relative;">
  885. <!-- <div v-show="['永安财险', '人保财险', '永诚财险', '中煤财险','华泰财险', '众安财险', '紫金财险','中国人寿'].includes(inscompany)" id="qrcode"
  886. ref="qrcode">
  887. </div>
  888. <img v-show="['恒邦财险','安盛天平','国任财险'].includes(inscompany)" :src="paycodeimg" alt style="width:100%" /> -->
  889. <div id="qrcode" ref="qrcode"></div>
  890. </div>
  891. </div>
  892. </div>
  893. <div class="ORtitle dis f-c align">
  894. <div>
  895. <span>保险公司:</span>
  896. <span>{{ inscompany }}</span>
  897. </div>
  898. <div>
  899. <span>车牌号:</span>
  900. <span>{{ licenseNo }}</span>
  901. </div>
  902. <div>
  903. <span>投保人:</span>
  904. <span>{{ applyName }}</span>
  905. </div>
  906. <div>
  907. <span style="color:#f75c00">总金额:</span>
  908. <span style="color:#f75c00">{{ sumpremium }}</span>
  909. </div>
  910. <div v-show="jqpremium">
  911. <span>交强:</span>
  912. <span>{{ jqpremium }}</span>
  913. </div>
  914. <div v-show="sypremium">
  915. <span>商业:</span>
  916. <span>{{ sypremium }}</span>
  917. </div>
  918. <div v-show="taxamount">
  919. <span>车船税:</span>
  920. <span>{{ taxamount }}</span>
  921. </div>
  922. <div v-show="jqstartdate">
  923. <span>交强险起保日期:</span>
  924. <span>{{ jqstartdate }}</span>
  925. </div>
  926. <div v-show="systartdate">
  927. <span>商业险起保日期:</span>
  928. <span>{{ systartdate }}</span>
  929. </div>
  930. <div v-if="jypremium">
  931. <span>非车险:</span>
  932. <span>{{ jypremium }}</span>
  933. </div>
  934. </div>
  935. <div class="display">
  936. <el-button size="small" style="width:100px;" @click="codedialogVisible = false">关闭</el-button>
  937. </div>
  938. </div>
  939. </el-dialog>
  940. </div>
  941. </template>
  942. <script>
  943. import CommonUtil from "@/utils/comutil.js";
  944. import {
  945. pathToBase64,
  946. base64ToPath
  947. } from '@/common/image-tools-base64.js';
  948. import QRCode from "qrcodejs2";
  949. import Cookies from "js-cookie"
  950. import { formatWithSeperator, format } from "@/utils/datetime.js";
  951. import html2Canvas from 'html2canvas'
  952. export default {
  953. name: 'taskpool',
  954. computed: {
  955. registerDateFormat() {
  956. let date = new Date(this.orderInfo.carinfo.registerDate);
  957. let year = date.getFullYear();
  958. let month = date.getMonth() + 1;
  959. let day = date.getDate();
  960. return year + '-' + month + '-' + day;
  961. },
  962. issueDateFormat() {
  963. let date = new Date(this.orderInfo.carinfo.issueDate);
  964. let year = date.getFullYear();
  965. let month = date.getMonth() + 1;
  966. let day = date.getDate();
  967. return year + '-' + month + '-' + day;
  968. }
  969. },
  970. data() {
  971. return {
  972. logoImg: "",//报价单保险公司logo图
  973. feeDetailInfo:[],//费用明细信息
  974. loading: false, //加载事件
  975. totalComapny: [],//全部机构
  976. payMoney: "",//合计金额
  977. ordersList: [], //展示页面上的订单列表数据
  978. pageNum: 1, //当前页码
  979. pageSize: 20, //每页数据条数
  980. totalSize: 0, //全部的数据条数
  981. codedialogVisible: false,//付款码
  982. bjddialogVisible: false,//报价单
  983. dialogVisible: false, //是否显示订单信息框
  984. orderInfo: { //选中的订单
  985. ownerinfo: {},
  986. carinfo: {},
  987. applyinfo: {},
  988. insureinfo: {},
  989. kindinfo: [],
  990. riskinfo: [],
  991. ownerinfo: {},
  992. orderCommissionVo:{},
  993. },
  994. carImageList: [],//车辆影像
  995. ownerImageList: [],//车主影像
  996. policyImageList: [],//投保人影像
  997. insuredImageList: [],//被保人影像
  998. carCheckImageList: [],//验车照影像
  999. // 影像控制
  1000. pic1Control: false,
  1001. pic2Control: false,
  1002. pic3Control: false,
  1003. pic4Control: false,
  1004. pic5Control: false,
  1005. insureListForm: [],//险种信息的原始版本,当回写时使用
  1006. transferRightList: [],
  1007. //查询的表单
  1008. queryForm: {
  1009. "deptId": "",
  1010. "licenseNo": "",
  1011. "frameNo": "",
  1012. "engineNo": "",
  1013. "userid": "",
  1014. "username": "",
  1015. "riskCode": "",
  1016. "startDate": "",
  1017. "endDate": "",
  1018. "policyStartDate": "",
  1019. "policyEndDate": "",
  1020. "insureName": "",
  1021. "auditId": "",
  1022. "quoteNo": "",
  1023. "orderNo": "",
  1024. "quoteDate": "",
  1025. "policyDate": "",
  1026. "orderStatus": "2",
  1027. "editId": "",
  1028. "pageNum": 1,
  1029. "pageSize": 20,
  1030. "insCompany":""
  1031. },
  1032. sendBackDialogVisible: false,//控制退回修改弹框
  1033. sendBackData: [],
  1034. sendBackValue: [],
  1035. addSendBackValue: '',
  1036. showInsureList: false,
  1037. historyDialogVisible: false,
  1038. history: {
  1039. taskid: "",
  1040. company: "",
  1041. product: "",
  1042. totalmoney: "",
  1043. active: "",
  1044. data: []
  1045. },
  1046. HistoryList: [],//报价轨迹lsit
  1047. // 任务转发
  1048. staffList: [],
  1049. taskForwardDialogVisible: false,
  1050. taskForwardData: {
  1051. orderNo: "",
  1052. auditId: "",
  1053. operatorId: '',
  1054. },
  1055. //文件上传的文件
  1056. oldfileList: [],
  1057. quoteno: "", //报价号
  1058. orderno: "", //订单号
  1059. queryOrders: "", //核保详情
  1060. inscompany: "", //保险公司名称
  1061. licenseNo: "", //车牌号
  1062. applyName: "", //车主名字
  1063. orderstatus: "", //订单状态
  1064. sumpremium: "", //保费合计
  1065. jqpremium: "",//交强
  1066. sypremium: "",//商业
  1067. jypremium:'',//驾意险
  1068. taxamount: "",//车船税
  1069. jqstartdate: "",//交强时间
  1070. systartdate: "",//商业时间
  1071. mobile: "",//投保人手机号
  1072. paycodeimg: "",//展示二维码
  1073. companyList:[], //保险公司
  1074. }
  1075. },
  1076. created() {
  1077. this.$api.letter.gainTopList().then(res=>{
  1078. this.companyList=res.data
  1079. })
  1080. this.peopleid = Cookies.get('user');
  1081. if (this.peopleid != 'admin') {
  1082. this.peopledeptid = Cookies.get('user').split('D')[0];
  1083. } else {
  1084. this.peopledeptid = '9';
  1085. }
  1086. this.getAllCompany();// 获取机构数据
  1087. this.getOrderList()// 数据列表
  1088. this.getAllStaff()//获取任务转发列表
  1089. },
  1090. methods: {
  1091. //预览文件
  1092. viewfile(index) {
  1093. let name = index.fileurl.lastIndexOf("\/")
  1094. fetch(index.fileurl)
  1095. .then(response => response.blob())
  1096. .then(blob => {
  1097. this.saveAs(blob, index.fileurl.substring(name + 1, index.fileurl.length))
  1098. })
  1099. .catch(error => {
  1100. });
  1101. // const a = document.createElement('a')
  1102. // a.style.display = 'none'
  1103. // a.href = index.fileurl
  1104. // a.target = '_ blank';
  1105. // a.download = this.licenseNo+ '.pdf'; // 下载文件的名字
  1106. // document.body.appendChild(a)
  1107. // a.click()
  1108. },
  1109. OrderDetails(item) {
  1110. this.carImageList = [];
  1111. this.ownerImageList = []; //车主影像
  1112. this.policyImageList = []; //投保人影像
  1113. this.insuredImageList = []; //被保人影像
  1114. this.carCheckImageList = []; //验车照影像
  1115. // 影像控制
  1116. this.pic1Control = false;
  1117. this.pic2Control = false;
  1118. this.pic3Control = false;
  1119. this.pic4Control = false;
  1120. this.pic5Control = false;
  1121. for (let i = 0; i < this.global.insureList.length; i++) {
  1122. this.global.insureList[i].coveragePremium = "";
  1123. this.global.insureList[i].amount = 0;
  1124. }
  1125. let params = {
  1126. companyId: item.id,
  1127. }
  1128. this.$api.letter.getByCompanyId(params).then((res) => {
  1129. if (res.code == 200) {
  1130. this.licenseNo = res.data.licenseno;//车牌号
  1131. this.inscompany = res.data.inscompany;//保险公司
  1132. if( res.data.accidentInfo){
  1133. res.data.accidentInfo.constructor === Object?[res.data.accidentInfo]:res.data.accidentInfo
  1134. }
  1135. Object.assign(this.orderInfo, res.data);
  1136. for (let i = 0; i < this.orderInfo.riskinfo.length; i++) {
  1137. if (this.orderInfo.riskinfo[i].riskCode == "0510") {
  1138. for (let j = 0; j < this.orderInfo.kindinfo.length; j++) {
  1139. for (let m = 0; m < this.global.insureList.length; m++) {
  1140. if (
  1141. this.orderInfo.kindinfo[j].kindCode ==
  1142. this.global.insureList[m].kindCode
  1143. ) {
  1144. this.global.insureList[m].coveragePremium =
  1145. this.orderInfo.kindinfo[j].coveragePremium;
  1146. if (this.orderInfo.kindinfo[j].kindCode == "B") {
  1147. this.global.insureList[9].amtList[0].value =
  1148. this.orderInfo.kindinfo[j].amount;
  1149. }
  1150. if (this.orderInfo.kindinfo[j].kindCode == "A") {
  1151. this.global.insureList[m].amount = "1";
  1152. } else if (this.global.insureList[m].kindCode == "D4") {
  1153. this.global.insureList[m].amount =
  1154. this.orderInfo.kindinfo[j].unitAmount;
  1155. } else if (
  1156. this.global.insureList[m].isMainRisk ||
  1157. this.global.insureList[m].kindCode == "BD" ||
  1158. this.global.insureList[m].kindCode == "L"
  1159. ) {
  1160. this.global.insureList[m].amount =
  1161. this.orderInfo.kindinfo[j].amount;
  1162. } else {
  1163. this.global.insureList[m].amount =
  1164. this.orderInfo.kindinfo[j].deductibleRate;
  1165. }
  1166. }
  1167. }
  1168. }
  1169. }
  1170. }
  1171. // 获取影像
  1172. this.$api.letter.findByQuoteNo(item.quoteno).then((resImage) => {
  1173. Object.keys(resImage.data).forEach((keys) => {
  1174. if (resImage.data[keys]) {
  1175. resImage.data[keys].url =resImage.data[keys].url? process.env.BASE_URL + resImage.data[keys].url:null;
  1176. switch (keys) {
  1177. case 'C01':
  1178. case 'D01':
  1179. resImage.data[keys].url?this.carImageList.push(resImage.data[keys].url):''
  1180. break;
  1181. case 'C02':
  1182. case 'D02':
  1183. resImage.data[keys].url? this.ownerImageList.push(resImage.data[keys].url):''
  1184. break;
  1185. case 'C03':
  1186. case 'D03':
  1187. resImage.data[keys].url?this.policyImageList.push(resImage.data[keys].url):''
  1188. break;
  1189. case 'C04':
  1190. case 'D04':
  1191. resImage.data[keys].url?this.insuredImageList.push(resImage.data[keys].url):''
  1192. break;
  1193. default:
  1194. break;
  1195. }
  1196. }
  1197. })
  1198. })
  1199. this.pic1Control = false;
  1200. this.pic2Control = false;
  1201. this.pic3Control = false;
  1202. this.pic4Control = false;
  1203. this.pic5Control = false;
  1204. this.oldfileList = [];
  1205. switch (res.data.inscompany) {
  1206. case "永安财险":
  1207. if (this.orderInfo.jqpolicyno) {
  1208. this.$api.letter.getPolicyPrint({
  1209. companyId: item.id,
  1210. policytype: "jq"
  1211. }).then((res) => {//交强保单
  1212. if (res.data) {
  1213. let result = res.data.replace(/[\r\n]/g, "");
  1214. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1215. base64ToPath(pdfBase64).then((path) => {
  1216. if(path){
  1217. this.oldfileList.push({
  1218. fileTitle: "交强电子保单",
  1219. filename: this.orderInfo.jqpolicyno,
  1220. fileurl: path,
  1221. });
  1222. }
  1223. });
  1224. }
  1225. });
  1226. this.$api.letter.getPolicyPrint2({
  1227. companyId: item.id,
  1228. policytype: "jq"
  1229. }).then((res) => {//交强保单
  1230. if (res.data) {
  1231. let result = res.data.replace(/[\r\n]/g, "");
  1232. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1233. base64ToPath(pdfBase64).then((path) => {
  1234. if(path){
  1235. this.oldfileList.push({
  1236. fileTitle: "交强电子标志",
  1237. filename: this.orderInfo.jqpolicyno,
  1238. fileurl: path,
  1239. });
  1240. }
  1241. });
  1242. }
  1243. });
  1244. }
  1245. if (this.orderInfo.sypolicyno) {
  1246. this.$api.letter.getPolicyPrint({
  1247. companyId: item.id,
  1248. policytype: "sy"
  1249. }).then((res) => {//商业保单
  1250. if (res.data) {
  1251. let result = res.data.replace(/[\r\n]/g, "");
  1252. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1253. base64ToPath(pdfBase64).then((path) => {
  1254. if(path){
  1255. this.oldfileList.push({
  1256. fileTitle: "商业电子保单",
  1257. filename: this.orderInfo.sypolicyno,
  1258. fileurl: path,
  1259. });
  1260. }
  1261. });
  1262. }
  1263. });
  1264. }
  1265. break;
  1266. case "华泰财险":
  1267. if (this.orderInfo.jqpolicyno) {
  1268. this.$api.letter.HuataigetPolicyPrint({
  1269. companyId: item.id,
  1270. riskCode: "0507",
  1271. type: '2',//2:保单
  1272. }).then(res => {
  1273. if (res.data) {
  1274. if(res.data.jqxPolicyUrl){
  1275. this.oldfileList.push({
  1276. fileTitle: "交强电子保单",
  1277. filename: this.orderInfo.jqpolicyno,
  1278. fileurl: res.data.jqxPolicyUrl,
  1279. });
  1280. }
  1281. if (res.data.jqxFlagUrl) {
  1282. this.oldfileList.push({
  1283. fileTitle: "交强电子标志",
  1284. filename: this.orderInfo.jqpolicyno,
  1285. fileurl: res.data.jqxFlagUrl,
  1286. });
  1287. }
  1288. }
  1289. })
  1290. }
  1291. if (this.orderInfo.sypolicyno) {
  1292. this.$api.letter.HuataigetPolicyPrint({
  1293. companyId: item.id,
  1294. riskCode: "0510",
  1295. type: '2',//2:保单
  1296. }).then(res => {
  1297. if (res.data && res.data.syxPolicyUrl) {
  1298. this.oldfileList.push({
  1299. fileTitle: "商业电子保单",
  1300. filename: this.orderInfo.sypolicyno,
  1301. fileurl: res.data.syxPolicyUrl,
  1302. });
  1303. }
  1304. })
  1305. }
  1306. break;
  1307. case "中煤财险":
  1308. if (this.orderInfo.jqpolicyno) {
  1309. this.$api.letter.ZhongmeigetPolicyPrint({
  1310. companyId: item.id,
  1311. riskCode: "0507",
  1312. type: '2',//2:保单
  1313. }).then(res => {
  1314. if (res.data && res.data[0]
  1315. ) {
  1316. this.oldfileList.push({
  1317. fileTitle: "交强电子保单",
  1318. filename: this.orderInfo.jqpolicyno,
  1319. fileurl: res.data[0],
  1320. });
  1321. }
  1322. })
  1323. this.$api.letter.ZhongmeigetPolicyPrint({
  1324. companyId: item.id,
  1325. riskCode: "0507",
  1326. type: '1',// 1:标志
  1327. }).then(res => {
  1328. if (res.data && res.data[0]) {
  1329. this.oldfileList.push({
  1330. fileTitle: "交强电子标志",
  1331. filename: this.orderInfo.jqpolicyno,
  1332. fileurl: res.data[0],
  1333. });
  1334. }
  1335. })
  1336. }
  1337. if (this.orderInfo.sypolicyno) {
  1338. this.$api.letter.ZhongmeigetPolicyPrint({
  1339. companyId: item.id,
  1340. riskCode: "0510",
  1341. type: '2',//2:保单
  1342. }).then(res => {
  1343. if (res.data && res.data[0]) {
  1344. this.oldfileList.push({
  1345. fileTitle: "商业电子保单",
  1346. filename: this.orderInfo.sypolicyno,
  1347. fileurl: res.data[0],
  1348. });
  1349. }
  1350. })
  1351. }
  1352. break;
  1353. case "永诚财险":
  1354. if (this.orderInfo.jqpolicyno) {
  1355. this.$api.letter.yongchenggetPolicyPrint({
  1356. companyId: item.id,
  1357. riskCode: "0507",
  1358. type: '2',//2:保单
  1359. }).then(res => {
  1360. if (res.data) {
  1361. if(res.data.jqUrl){
  1362. this.oldfileList.push({
  1363. fileTitle: "交强电子保单",
  1364. filename: this.orderInfo.jqpolicyno,
  1365. fileurl: res.data.jqUrl,
  1366. });
  1367. }
  1368. if (res.data.jqFlagUrl) {
  1369. this.oldfileList.push({
  1370. fileTitle: "交强电子标志",
  1371. filename: this.orderInfo.jqpolicyno,
  1372. fileurl: res.data.jqFlagUrl,
  1373. });
  1374. }
  1375. }
  1376. })
  1377. }
  1378. if (this.orderInfo.sypolicyno) {
  1379. this.$api.letter.yongchenggetPolicyPrint({
  1380. companyId: item.id,
  1381. riskCode: "0510",
  1382. type: '2',//2:保单
  1383. }).then(res => {
  1384. if (res.data && res.data.syUrl) {
  1385. this.oldfileList.push({
  1386. fileTitle: "商业电子保单",
  1387. filename: this.orderInfo.sypolicyno,
  1388. fileurl: res.data.syUrl,
  1389. });
  1390. }
  1391. })
  1392. }
  1393. if (this.orderInfo.crossInsurance.length > 0) {
  1394. this.orderInfo.crossInsurance.map(ele => {
  1395. this.$api.letter.yongchenggetPolicyPrint({
  1396. companyId: item.id,
  1397. policyNumber: ele.policyNumber,
  1398. riskCode: "0513",
  1399. type: '2',//2:保单
  1400. }).then(res => {
  1401. if (res.data) {
  1402. this.oldfileList.push({
  1403. fileTitle: "驾意险保单",
  1404. filename: ele.policyNumber,
  1405. fileurl: res.data.jyUrl,
  1406. });
  1407. }
  1408. })
  1409. })
  1410. }
  1411. break;
  1412. case "国任财险":
  1413. if (this.orderInfo.jqpolicyno) {
  1414. this.$api.letter.guoRengetPolicyPrint({
  1415. companyId: item.id,
  1416. riskCode: "0507",
  1417. type: '2',//2:保单
  1418. }).then(res => {
  1419. if (res.data) {
  1420. this.oldfileList.push({
  1421. fileTitle: "交强电子保单",
  1422. filename: this.orderInfo.jqpolicyno,
  1423. fileurl: res.data,
  1424. });
  1425. }
  1426. })
  1427. this.$api.letter.guoRengetPolicyPrint({
  1428. companyId: item.id,
  1429. riskCode: "0507",
  1430. type: '1',//1:标志
  1431. }).then(res => {
  1432. if (res.data) {
  1433. this.oldfileList.push({
  1434. fileTitle: "交强电子标志",
  1435. filename: this.orderInfo.jqpolicyno,
  1436. fileurl: res.data,
  1437. });
  1438. }
  1439. })
  1440. }
  1441. if (this.orderInfo.sypolicyno) {
  1442. this.$api.letter.guoRengetPolicyPrint({
  1443. companyId: item.id,
  1444. riskCode: "0510",
  1445. type: '2',//2:保单
  1446. }).then(res => {
  1447. if (res.data) {
  1448. this.oldfileList.push({
  1449. fileTitle: "商业电子保单",
  1450. filename: this.orderInfo.sypolicyno,
  1451. fileurl: res.data,
  1452. });
  1453. }
  1454. })
  1455. }
  1456. if (this.orderInfo.crossInsurance.length > 0) {
  1457. this.orderInfo.crossInsurance.map(ele => {
  1458. this.$api.letter.guoRengetPolicyPrint({
  1459. companyId: item.id,
  1460. policyNumber: ele.policyNumber,
  1461. riskCode: "0513",
  1462. type: '2',//2:保单
  1463. }).then(res => {
  1464. if (res.data) {
  1465. this.oldfileList.push({
  1466. fileTitle: "驾意险保单",
  1467. filename: ele.policyNumber,
  1468. fileurl: res.data,
  1469. });
  1470. }
  1471. })
  1472. })
  1473. }
  1474. break;
  1475. case "紫金财险":
  1476. if (this.orderInfo.jqpolicyno) {
  1477. this.$api.letter.zijingetPolicyPrint({
  1478. companyId: item.id,
  1479. riskCode: "0507",
  1480. type: '2',//2:保单
  1481. }).then(res => {
  1482. if (res.data) {
  1483. this.oldfileList.push({
  1484. fileTitle: "交强电子保单",
  1485. filename: this.orderInfo.jqpolicyno,
  1486. fileurl: res.data,
  1487. });
  1488. }
  1489. })
  1490. this.$api.letter.zijingetPolicyPrint({
  1491. companyId: item.id,
  1492. riskCode: "0507",
  1493. type: '1',//1:标志
  1494. }).then(res => {
  1495. if (res.data) {
  1496. this.oldfileList.push({
  1497. fileTitle: "交强电子标志",
  1498. filename: this.orderInfo.jqpolicyno,
  1499. fileurl: res.data,
  1500. });
  1501. }
  1502. })
  1503. }
  1504. if (this.orderInfo.sypolicyno) {
  1505. this.$api.letter.zijingetPolicyPrint({
  1506. companyId: item.id,
  1507. riskCode: "0510",
  1508. type: '2',//2:保单
  1509. }).then(res => {
  1510. if (res.data) {
  1511. this.oldfileList.push({
  1512. fileTitle: "商业电子保单",
  1513. filename: this.orderInfo.sypolicyno,
  1514. fileurl: res.data,
  1515. });
  1516. }
  1517. })
  1518. }
  1519. if (this.orderInfo.crossInsurance.length > 0) {
  1520. this.orderInfo.crossInsurance.map(ele => {
  1521. this.$api.letter.zijingetPolicyPrint({
  1522. companyId: item.id,
  1523. policyNumber: ele.policyNumber,
  1524. riskCode: "0513",
  1525. type: '2',//2:保单
  1526. }).then(res => {
  1527. if (res.data) {
  1528. this.oldfileList.push({
  1529. fileTitle: "驾意险保单",
  1530. filename: ele.policyNumber,
  1531. fileurl: res.data,
  1532. });
  1533. }
  1534. })
  1535. })
  1536. }
  1537. break;
  1538. case "恒邦财险":
  1539. case "安盛天平":
  1540. case "中国人寿":
  1541. case "众安财险":
  1542. if (this.orderInfo.jqpolicyno || this.orderInfo.sypolicyno) {
  1543. this.$api.letter.pythongetPolicyPrint({
  1544. subOrderNo: item.id,
  1545. }).then(res => {
  1546. if (res.data) {
  1547. if (res.data.jqxPolicyUrl) {
  1548. this.oldfileList.push({
  1549. fileTitle: "交强电子保单",
  1550. filename: this.orderInfo.jqpolicyno,
  1551. fileurl: res.data.jqxPolicyUrl,
  1552. });
  1553. }
  1554. if (res.data.jqxFlagUrl) {
  1555. this.oldfileList.push({
  1556. fileTitle: "交强电子标志",
  1557. filename: this.orderInfo.jqpolicyno,
  1558. fileurl: res.data.jqxFlagUrl,
  1559. });
  1560. }
  1561. }
  1562. if (res.data.syxPolicyUrl) {
  1563. this.oldfileList.push({
  1564. fileTitle: "商业电子保单",
  1565. filename: this.orderInfo.sypolicyno,
  1566. fileurl: res.data.syxPolicyUrl,
  1567. });
  1568. }
  1569. if (res.data.jyxInfoList && res.data.jyxInfoList.length>0) {
  1570. res.data.jyxInfoList.forEach(val=>{
  1571. this.oldfileList.push({
  1572. fileTitle: "驾意险保单",
  1573. filename: 'xxxxxxxxxxxxxxxxxxxxxx',
  1574. fileurl: val.jyx_policy_url,
  1575. });
  1576. })
  1577. }
  1578. })
  1579. }
  1580. break;
  1581. case "大家财险":
  1582. if (this.orderInfo.jqpolicyno) {
  1583. this.$api.letter.obtainWarranty({
  1584. companyId: item.id,
  1585. riskCode: "0507",
  1586. type: '2',//2:保单
  1587. }).then(res => {
  1588. if (res.data) {
  1589. this.oldfileList.push({
  1590. fileTitle: "交强电子保单",
  1591. filename: this.orderInfo.jqpolicyno,
  1592. fileurl: res.data,
  1593. });
  1594. }
  1595. })
  1596. this.$api.letter.obtainWarranty({
  1597. companyId: item.id,
  1598. riskCode: "0507",
  1599. type: '1',//1:标志
  1600. }).then(res => {
  1601. if (res.data) {
  1602. this.oldfileList.push({
  1603. fileTitle: "交强电子标志",
  1604. filename: this.orderInfo.jqpolicyno,
  1605. fileurl: res.data,
  1606. });
  1607. }
  1608. })
  1609. }
  1610. if (this.orderInfo.sypolicyno) {
  1611. this.$api.letter.obtainWarranty({
  1612. companyId: item.id,
  1613. riskCode: "0510",
  1614. type: '2',//2:保单
  1615. }).then(res => {
  1616. if (res.data) {
  1617. this.oldfileList.push({
  1618. fileTitle: "商业电子保单",
  1619. filename: this.orderInfo.sypolicyno,
  1620. fileurl: res.data,
  1621. });
  1622. }
  1623. })
  1624. }
  1625. if (this.orderInfo.crossInsurance.length > 0) {
  1626. this.orderInfo.crossInsurance.map(ele => {
  1627. this.$api.letter.zijingetPolicyPrint({
  1628. companyId: item.id,
  1629. policyNumber: ele.policyNumber,
  1630. riskCode: "0513",
  1631. type: '2',//2:保单
  1632. }).then(res => {
  1633. if (res.data) {
  1634. this.oldfileList.push({
  1635. fileTitle: "驾意险保单",
  1636. filename: ele.policyNumber,
  1637. fileurl: res.data,
  1638. });
  1639. }
  1640. })
  1641. })
  1642. }
  1643. break;
  1644. default:
  1645. }
  1646. //赋值费用信息
  1647. this.feeDetailInfo=res.data.orderFeeResult;
  1648. this.showInsureList = false;
  1649. this.dialogVisible = true; //在页面上显示订单
  1650. } else {
  1651. this.$message.error("订单获取失败");
  1652. }
  1653. });
  1654. },
  1655. cancelorder(item) {
  1656. this.$api.letter.zijincancelorder({ companyId: item.id }).then(res => {
  1657. if(res.code==200){
  1658. this.$message({
  1659. message: res.msg,
  1660. type: 'success'
  1661. });
  1662. this.findPage()
  1663. }
  1664. })
  1665. },
  1666. //y永城查询缴费状态
  1667. refreshStatus(item){
  1668. this.$api.letter.orderStatusyongcheng( item.id ).then(res => {
  1669. if(res.code==200){
  1670. this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
  1671. this.loading = true;
  1672. this.$api.letter.queryOrders(this.pageRequest).then((res) => {
  1673. if (res.code == "200") {
  1674. this.loading = false;
  1675. this.pageResult = res.data.content;
  1676. this.pageNum = res.data.pageNum;
  1677. this.totalSize = res.data.totalSize;
  1678. this.pageResult.forEach(val => {
  1679. this.$set(val, "expanded", false);
  1680. });
  1681. } else {
  1682. this.loading = false;
  1683. }
  1684. })
  1685. }
  1686. else{
  1687. this.$message({ message:res.msg, type: "error" })
  1688. }
  1689. })
  1690. },
  1691. // 国任查询缴费状态
  1692. refreshStatusGuoren(item){
  1693. this.$api.letter.updateOrderInfoGuoren( {companyId:item.id} ).then(res => {
  1694. if(res.code==200){
  1695. this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
  1696. this.loading = true;
  1697. this.$api.letter.queryOrders(this.pageRequest).then((res) => {
  1698. if (res.code == "200") {
  1699. this.loading = false;
  1700. this.pageResult = res.data.content;
  1701. this.pageNum = res.data.pageNum;
  1702. this.totalSize = res.data.totalSize;
  1703. this.pageResult.forEach(val => {
  1704. this.$set(val, "expanded", false);
  1705. });
  1706. } else {
  1707. this.loading = false;
  1708. }
  1709. })
  1710. }
  1711. else{
  1712. this.$message({ message:res.msg, type: "error" })
  1713. }
  1714. })
  1715. },
  1716. // 大家刷新核保状态
  1717. refreshStatusDajia(item){
  1718. this.$api.letter.updateOrderInfoDajia( {companyId:item.id} ).then(res => {
  1719. if(res.code==200){
  1720. this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
  1721. this.loading = true;
  1722. this.$api.letter.queryOrders(this.pageRequest).then((res) => {
  1723. if (res.code == "200") {
  1724. this.loading = false;
  1725. this.pageResult = res.data.content;
  1726. this.pageNum = res.data.pageNum;
  1727. this.totalSize = res.data.totalSize;
  1728. this.pageResult.forEach(val => {
  1729. this.$set(val, "expanded", false);
  1730. });
  1731. } else {
  1732. this.loading = false;
  1733. }
  1734. })
  1735. }
  1736. else{
  1737. this.$message({ message:res.msg, type: "error" })
  1738. }
  1739. })
  1740. },
  1741. //华泰刷新核保状态
  1742. updateStatusHuatai(item){
  1743. this.$api.letter.orderStatushuatai( {companyId:item.id} ).then(res => {
  1744. if(res.code==200){
  1745. this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
  1746. this.loading = true;
  1747. this.$api.letter.queryOrders(this.pageRequest).then((res) => {
  1748. if (res.code == "200") {
  1749. this.loading = false;
  1750. this.pageResult = res.data.content;
  1751. this.pageNum = res.data.pageNum;
  1752. this.totalSize = res.data.totalSize;
  1753. this.pageResult.forEach(val => {
  1754. this.$set(val, "expanded", false);
  1755. });
  1756. } else {
  1757. this.loading = false;
  1758. }
  1759. })
  1760. }
  1761. else{
  1762. this.$message({ message:res.msg, type: "error" })
  1763. }
  1764. })
  1765. },
  1766. //华泰更新订单状态
  1767. updateOrderInfoHuatai(item){
  1768. this.$api.letter.updateOrderInfoHuatai( {companyId:item.id} ).then(res => {
  1769. if(res.code==200){
  1770. this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
  1771. this.loading = true;
  1772. this.$api.letter.queryOrders(this.pageRequest).then((res) => {
  1773. if (res.code == "200") {
  1774. this.loading = false;
  1775. this.pageResult = res.data.content;
  1776. this.pageNum = res.data.pageNum;
  1777. this.totalSize = res.data.totalSize;
  1778. this.pageResult.forEach(val => {
  1779. this.$set(val, "expanded", false);
  1780. });
  1781. } else {
  1782. this.loading = false;
  1783. }
  1784. })
  1785. }
  1786. else{
  1787. this.$message({ message:res.msg, type: "error" })
  1788. }
  1789. })
  1790. },
  1791. //中煤查询缴费状态
  1792. updateStatus(item){
  1793. this.$api.letter.orderStatuszhongmei( {companyId:item.id} ).then(res => {
  1794. if(res.code==200){
  1795. this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
  1796. this.loading = true;
  1797. this.$api.letter.queryOrders(this.pageRequest).then((res) => {
  1798. if (res.code == "200") {
  1799. this.loading = false;
  1800. this.pageResult = res.data.content;
  1801. this.pageNum = res.data.pageNum;
  1802. this.totalSize = res.data.totalSize;
  1803. this.pageResult.forEach(val => {
  1804. this.$set(val, "expanded", false);
  1805. });
  1806. } else {
  1807. this.loading = false;
  1808. }
  1809. })
  1810. }
  1811. else{
  1812. this.$message({ message:res.msg, type: "error" })
  1813. }
  1814. })
  1815. },
  1816. //查询缴费状态
  1817. querystatus(item) {
  1818. if (item.inscompany == '紫金财险') {
  1819. this.$api.letter.getOrderDetail({ companyId: item.id }).then(res => {
  1820. if (res.code == '200') {
  1821. this.$message({ message: res.msg, type: "success" })
  1822. this.loading = true;
  1823. this.$api.letter.queryOrders(this.pageRequest).then((res) => {
  1824. if (res.code == "200") {
  1825. this.loading = false;
  1826. this.pageResult = res.data.content;
  1827. this.pageNum = res.data.pageNum;
  1828. this.totalSize = res.data.totalSize;
  1829. this.pageResult.forEach(val => {
  1830. this.$set(val, "expanded", false);
  1831. });
  1832. } else {
  1833. this.loading = false;
  1834. }
  1835. })
  1836. } else {
  1837. this.$message({ message: res.msg, type: "error" })
  1838. }
  1839. })
  1840. } else {
  1841. this.$api.letter.pychonverifyPayment({ subOrderNo: item.id }).then(res => {
  1842. if (res.code == '200') {
  1843. this.$message({ message: "订单支付成功,正在更改状态", type: "success" })
  1844. this.loading = true;
  1845. this.$api.letter.queryOrders(this.pageRequest).then((res) => {
  1846. if (res.code == "200") {
  1847. this.loading = false;
  1848. this.pageResult = res.data.content;
  1849. this.pageNum = res.data.pageNum;
  1850. this.totalSize = res.data.totalSize;
  1851. this.pageResult.forEach(val => {
  1852. this.$set(val, "expanded", false);
  1853. });
  1854. } else {
  1855. this.loading = false;
  1856. }
  1857. })
  1858. } else {
  1859. this.$message({ message: res.msg, type: "error" })
  1860. }
  1861. })
  1862. }
  1863. },
  1864. toChinesNum(num) {
  1865. let changeNum = [
  1866. "零", "1", "2", "3", "4", "5", "6", "7", "8", "9"
  1867. ];
  1868. let unit = ["", "0", "00", "000", "0000"];
  1869. num = parseInt(num);
  1870. let getWan = temp => {
  1871. let strArr = temp
  1872. .toString()
  1873. .split("")
  1874. .reverse();
  1875. let newNum = "";
  1876. let newArr = [];
  1877. strArr.forEach((item, index) => {
  1878. newArr.unshift(
  1879. item === "0" ? changeNum[item] : changeNum[item] + unit[index]
  1880. );
  1881. });
  1882. let numArr = [];
  1883. newArr.forEach((m, n) => {
  1884. if (m !== "零") numArr.push(n);
  1885. });
  1886. if (newArr.length > 1) {
  1887. newArr.forEach((m, n) => {
  1888. if (newArr[newArr.length - 1] === "零") {
  1889. if (n <= numArr[numArr.length - 1]) {
  1890. newNum += m;
  1891. }
  1892. } else {
  1893. newNum += m;
  1894. }
  1895. });
  1896. } else {
  1897. newNum = newArr[0];
  1898. }
  1899. return newNum;
  1900. };
  1901. let overWan = Math.floor(num / 10000);
  1902. let noWan = num % 10000;
  1903. if (noWan.toString().length < 4) {
  1904. noWan = "0" + noWan;
  1905. }
  1906. return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
  1907. },
  1908. getAllStaff() {
  1909. var that = this;
  1910. var personRequest = { //查询的默认条件
  1911. pageNum: 1,
  1912. pageSize: 9999999,
  1913. columnFilters: {
  1914. "deptId": {
  1915. "name": "deptId",
  1916. "value": "99"
  1917. },
  1918. "containsSubDept": {
  1919. "name": "containsSubDept",
  1920. "value": 1
  1921. },
  1922. "usertype": {
  1923. "name": "usertype",
  1924. "value": "A"
  1925. },
  1926. "status": {
  1927. "name": "status",
  1928. "value": "1"
  1929. }
  1930. }
  1931. }
  1932. this.$api.user.findPage(personRequest).then((res) => {
  1933. if (res.code == 200) {
  1934. if (res.data.content.length > 0) {
  1935. that.staffList = [];
  1936. Object.assign(that.staffList, res.data.content);
  1937. } else {
  1938. that.staffList = [];
  1939. }
  1940. } else {
  1941. that.staffList = [];
  1942. }
  1943. })
  1944. },
  1945. getAllCompany: function () {
  1946. // 获取数据
  1947. this.$api.dept.findLeftDeptTree(this.peopledeptid).then(res => {
  1948. for (let i = 0; i < res.data.length; i++) {
  1949. if (res.data[i].id.indexOf('D') < 0) {
  1950. this.totalComapny.push(res.data[i]);
  1951. }
  1952. }
  1953. });
  1954. },
  1955. // 跳转页面锚链接Start
  1956. jump(obj) {
  1957. var s = document.getElementById(obj);
  1958. var parent = s.parentNode
  1959. for (let i = 0; i < parent.childNodes.length; i++) {
  1960. if (parent.childNodes[i].tagName == 'DIV') {
  1961. if (parent.childNodes[i].childNodes[0].classList.contains("active")) {
  1962. parent.childNodes[i].childNodes[0].classList.remove("active");
  1963. }
  1964. }
  1965. }
  1966. s.childNodes[0].classList.add("active");
  1967. },
  1968. // 跳转页面锚链接End
  1969. //条件查询
  1970. queryGetOrderList() {
  1971. this.queryForm.pageNum = 1;
  1972. this.queryForm.pageSize = 20;
  1973. this.getOrderList();
  1974. },
  1975. // 获取提交核保请求订单信息Start
  1976. getOrderList: function () {
  1977. this.ordersList=[];
  1978. this.$api.task.findPage(this.queryForm).then(res => {
  1979. this.ordersList = res.data.content;
  1980. this.totalSize = res.data.totalSize;
  1981. });
  1982. },
  1983. // 获取提交核保请求订单信息End
  1984. handleCurrentChange(val) {//页数
  1985. this.pageNum = val;
  1986. this.queryForm.pageNum = val;
  1987. this.getOrderList();
  1988. },
  1989. handleSizeChange(val) {//条数
  1990. this.pageSize = val;
  1991. this.pageNum = 1;
  1992. this.queryForm.pageNum = 1;
  1993. this.queryForm.pageSize = val;
  1994. this.getOrderList();
  1995. },
  1996. //报价单
  1997. bjdpreview(companyId) {
  1998. let params = {
  1999. companyId: companyId
  2000. };
  2001. this.$api.letter.getByCompanyId(params).then(res => {
  2002. if (res.code == "200") {
  2003. var data = res.data;
  2004. if (data.kindinfo != null) {
  2005. data.kindinfo.map((ele, index) => {
  2006. switch (ele.kindCode) {
  2007. case "A":
  2008. if (ele.amount == 1) {
  2009. ele.amount = "投保"
  2010. } else {
  2011. ele.amount = ele.amount
  2012. }
  2013. break;
  2014. case "D4":
  2015. case "SY_FJ_YBW2":
  2016. ele.unitAmount = this.toChinesNum(ele.unitAmount);
  2017. break;
  2018. case "MJ1":
  2019. case "MJ2":
  2020. case "MJ3":
  2021. case "MJ4":
  2022. ele.deductibleRate = ele.deductibleRate + "%";
  2023. break;
  2024. default:
  2025. ele.amount = this.toChinesNum(ele.amount);
  2026. }
  2027. return ele;
  2028. });
  2029. }
  2030. this.queryOrders = data;
  2031. this.logoImg = this.iconfftter(res.data.inscompany)
  2032. this.bjddialogVisible = true;
  2033. }
  2034. });
  2035. },
  2036. iconfftter(icon) {
  2037. return CommonUtil.getDataName({
  2038. dataList: this.global.insCompanyList,
  2039. value: "name",
  2040. label: "icon",
  2041. data: icon,
  2042. });
  2043. },
  2044. // 截图粘贴
  2045. copybjd(){
  2046. let that=this
  2047. html2Canvas(document.getElementById('pdfContentsDiv') , {
  2048. allowTaint: true,
  2049. taintTest: false,
  2050. }).then(function (canvas) {
  2051. let base64Data = ''
  2052. // let blob = null
  2053. base64Data = canvas.toDataURL('image/png', 1)
  2054. const date = new Date()
  2055. const saveInfo = {
  2056. download: date.getTime() + `.png`,
  2057. href: base64Data,
  2058. }
  2059. const element = document.createElement('a')
  2060. element.style.display = 'none'
  2061. for (const key in saveInfo) {
  2062. element.setAttribute(key, saveInfo[key])
  2063. }
  2064. document.body.appendChild(element)
  2065. element.click()
  2066. setTimeout(() => {
  2067. document.body.removeChild(element)
  2068. }, 300)
  2069. })
  2070. },
  2071. // 撤销二维码
  2072. revokeCode(id){
  2073. this.$api.letter.getRevokeQrCode(id).then(res => {
  2074. if(res.code==200){
  2075. this.$message({
  2076. message: res.msg,
  2077. type: 'success'
  2078. });
  2079. this.historyDialogVisible=false;
  2080. }
  2081. })
  2082. },
  2083. //二维码
  2084. carcode(id) {
  2085. this.$api.letter.getQrCode(id).then(res => {
  2086. if (res.code == '200') {
  2087. this.inscompany = res.data.inscompany;//保险公司
  2088. this.sumpremium = res.data.sumpremium;//总价
  2089. this.licenseNo = res.data.cPlateNo;//车牌号
  2090. this.applyName = res.data.cInsuredNme;//车主
  2091. this.jqpremium = res.data.jqpremium;//交强
  2092. this.sypremium = res.data.sypremium;//商业
  2093. this.taxamount = res.data.taxamount;//车船税
  2094. this.jypremium = res.data.jypremium;//驾意险
  2095. this.jqstartdate = res.data.jqStartDate;//交强起保日期
  2096. this.systartdate = res.data.syStartDate;//商业起保日期
  2097. // this.mobile = res.data.applyinfo.mobile;//投保人手机号
  2098. this.$nextTick(() => {
  2099. this.creatQrCode(res.data.qrCodeUrl);
  2100. });
  2101. this.codedialogVisible = true;
  2102. } else {
  2103. this.$message({ message: res.msg, type: "warning" })
  2104. }
  2105. })
  2106. },
  2107. creatQrCode(text) {
  2108. if (this.qrcode) {
  2109. this.qrcode.clear();
  2110. this.qrcode.makeCode(text);
  2111. } else {
  2112. this.qrcode = new QRCode("qrcode", {
  2113. text: text,
  2114. width: 180,
  2115. height: 180,
  2116. colorDark: "#000000",
  2117. colorLight: "#ffffff",
  2118. correctLevel: QRCode.CorrectLevel.H,
  2119. });
  2120. }
  2121. },
  2122. //查看详情
  2123. qoutedetail(companyId) {
  2124. let params = {
  2125. companyId: companyId
  2126. };
  2127. this.$api.letter.getByCompanyId(params).then(res => {
  2128. if (res.code == "200") {
  2129. var data = res.data;
  2130. data.kindinfo.map((ele, index) => {
  2131. switch (ele.kindCode) {
  2132. case "A":
  2133. ele.amount = "投保";
  2134. break;
  2135. case "D4":
  2136. case "SY_FJ_YBW2":
  2137. ele.unitAmount = this.toChinesNum(ele.unitAmount);
  2138. break;
  2139. case "MJ1":
  2140. case "MJ2":
  2141. case "MJ3":
  2142. case "MJ4":
  2143. ele.deductibleRate = ele.deductibleRate + "%";
  2144. break;
  2145. default:
  2146. ele.amount = this.toChinesNum(ele.amount);
  2147. }
  2148. return ele;
  2149. });
  2150. this.queryOrders = data;
  2151. //赋值费用信息
  2152. this.feeDetailInfo=data.orderFeeResult;
  2153. }
  2154. });
  2155. this.dialogVisible = true;
  2156. },
  2157. //获取一个订单的全部信息End
  2158. getHistoryList(orderNo) {
  2159. this.$api.letter.getByOrderNo({ orderNo: orderNo }).then((res) => {
  2160. this.HistoryList = res.data.insAreaCompanyList;
  2161. //赋值quoteno字段,查看详情获取影像使用
  2162. this.HistoryList.map((ele, index) => {
  2163. ele.quoteno=res.data.quoteno;
  2164. });
  2165. })
  2166. this.historyDialogVisible = true;
  2167. },
  2168. //订单修改
  2169. CloseEdit(orderno) {
  2170. this.$api.letter.getByOrderNo({ orderNo: orderno }).then((res) => {
  2171. this.$router.push({ path: '/task/daikeLetter', query: { data: res.data } })
  2172. })
  2173. },
  2174. // 打开任务转发
  2175. openTaskForward(orderno) {
  2176. this.taskForwardData.orderNo = orderno;
  2177. this.taskForwardData.operatorId = this.peopleid;
  2178. this.taskForwardDialogVisible = true;
  2179. },
  2180. comfirmTaskForward() {
  2181. if (!this.taskForwardData.auditId) {
  2182. return this.$message({ type: 'info', message: '请选择任务接收人' });
  2183. }
  2184. this.$confirm('是否确认转发任务?', '提示', {}).then(() => {
  2185. this.$api.task.forwarding(this.taskForwardData).then(res => {
  2186. if (res.code == '200') {
  2187. this.$message({ type: 'success', message: res.msg });
  2188. this.getOrderList();
  2189. this.taskForwardDialogVisible = false;
  2190. }else{
  2191. this.$message.error(res.msg);
  2192. }
  2193. })
  2194. }).catch(() => {
  2195. })
  2196. },
  2197. changeAudit(e) {
  2198. // for (let i = 0; i < this.staffList.length; i++) {
  2199. // if (this.staffList[i].id == e) {
  2200. // this.taskForwardData.auditname = this.staffList[i].name;
  2201. // }
  2202. // }
  2203. },
  2204. closeTaskForward() {
  2205. for (let key in this.taskForwardData) {
  2206. this.taskForwardData[key] = "";
  2207. }
  2208. this.taskForwardDialogVisible = false;
  2209. },
  2210. }
  2211. }
  2212. </script>
  2213. <style>
  2214. .saomazhifucodeClass .el-dialog__body,
  2215. .saomazhifucodeClass .el-dialog__header {
  2216. padding: 0;
  2217. }
  2218. </style>
  2219. <style scoped lang="scss">
  2220. /* 检索区Start */
  2221. .ORcodebody {
  2222. width: 100%;
  2223. height: auto;
  2224. box-sizing: border-box;
  2225. }
  2226. .code_title {
  2227. width: 100%;
  2228. height: 50px;
  2229. background-color: #fdcb08;
  2230. justify-content: center;
  2231. &>span {
  2232. font-size: 22px;
  2233. color: #000;
  2234. font-weight: bold;
  2235. }
  2236. }
  2237. .ORcode {
  2238. width: 100%;
  2239. background: #fff;
  2240. height: auto;
  2241. display: flex;
  2242. justify-content: center;
  2243. align-items: center;
  2244. padding: 30px;
  2245. box-sizing: border-box;
  2246. border-bottom: 6px dotted #fdcb08;
  2247. &>div {
  2248. width: 180px;
  2249. height: 180px;
  2250. border: 1px solid #000;
  2251. border-radius: 5px;
  2252. }
  2253. }
  2254. .ORtitle {
  2255. background: #fff;
  2256. width: 100%;
  2257. padding: 20px;
  2258. box-sizing: border-box;
  2259. border-bottom: 1px solid #f2f2f2;
  2260. &>div {
  2261. width: 100%;
  2262. margin: 10px 0;
  2263. font-weight: bold;
  2264. font-size: 14px;
  2265. display: flex;
  2266. align-items: center;
  2267. &>span {
  2268. &:nth-child(1) {
  2269. color: #979797;
  2270. text-align: end;
  2271. width: 150px;
  2272. }
  2273. &:nth-child(2) {
  2274. color: #000;
  2275. margin-left: 10px;
  2276. }
  2277. }
  2278. }
  2279. }
  2280. .queryForm {
  2281. background: #f2f7fc;
  2282. position: relative;
  2283. border: 1px solid #ddd;
  2284. border-radius: 10px;
  2285. margin-top: 15px;
  2286. margin-bottom: 15px;
  2287. padding: 10px 20px 0;
  2288. &:before {
  2289. content: attr(title);
  2290. position: absolute;
  2291. left: 10%;
  2292. transform: translate(-50%, -120%);
  2293. padding: 0 10px;
  2294. background-color: #fff;
  2295. }
  2296. }
  2297. /* 检索区End */
  2298. /* 页面的整体布局 */
  2299. .page-container {
  2300. margin: 0px 10px;
  2301. }
  2302. .task {
  2303. border-color: #a6a6a6;
  2304. line-height: 25px;
  2305. font-size: 14px;
  2306. margin-bottom: 10px;
  2307. .row {
  2308. margin-bottom: 10px;
  2309. line-height: 28px;
  2310. font-size: 12px;
  2311. .label {
  2312. padding: 0 10px;
  2313. }
  2314. }
  2315. }
  2316. .task_bottom {
  2317. margin-top: 10px;
  2318. }
  2319. .leftContainer {
  2320. width: 80px;
  2321. position: fixed;
  2322. top: 79px;
  2323. left: 30px;
  2324. .el-col {
  2325. width: 80px;
  2326. height: 80px;
  2327. border-bottom: 1px solid #4d5c6f;
  2328. background: #526176;
  2329. cursor: pointer;
  2330. color: #a6aeb9;
  2331. border-radius: 0;
  2332. a {
  2333. display: block;
  2334. color: #a6aeb9;
  2335. text-decoration: none;
  2336. &:hover {
  2337. color: #fff;
  2338. }
  2339. &.active {
  2340. color: #fff;
  2341. }
  2342. }
  2343. i {
  2344. font-size: 30px;
  2345. margin: 15px 0px 5px;
  2346. }
  2347. }
  2348. }
  2349. .rightContainer {
  2350. width: calc(100vw - 160px);
  2351. margin-left: 100px;
  2352. .header {
  2353. .el-col {
  2354. font-size: 18px;
  2355. font-weight: bold;
  2356. }
  2357. }
  2358. .bodyTitle {
  2359. height: 40px;
  2360. background: #f3f3f3;
  2361. border: 1px solid #dddddd;
  2362. &>label {
  2363. margin: 0px 15px;
  2364. font-weight: bold;
  2365. }
  2366. }
  2367. .el-card {
  2368. margin-bottom: 15px;
  2369. }
  2370. }
  2371. .rightContainer #demo2 .body,
  2372. .rightContainer #demo5 .body,
  2373. .rightContainer #demo6 .body,
  2374. .rightContainer #demo7 .body,
  2375. .rightContainer #demo8 .body,
  2376. .rightContainer #demo9 .body,
  2377. .rightContainer #demo10 .body,
  2378. .rightContainer #demo11 .body {
  2379. border: 1px solid #ddd;
  2380. padding: 15px;
  2381. border-top: none;
  2382. }
  2383. .imageStyle {
  2384. display: inline-block;
  2385. width: 100px;
  2386. height: 100px;
  2387. box-shadow: #ddd 0px 0px 5px;
  2388. margin-left: 20px;
  2389. }
  2390. .el-transfer-panel {
  2391. width: calc(100%/3) !important;
  2392. }
  2393. .body {
  2394. .el-row {
  2395. margin-bottom: 15px;
  2396. .el-col {
  2397. label {
  2398. text-align: right;
  2399. width: 80px;
  2400. font-size: 14px;
  2401. width: 100%;
  2402. line-height: 36px;
  2403. display: inline-block;
  2404. box-sizing: border-box;
  2405. padding-right: 15px;
  2406. }
  2407. }
  2408. }
  2409. }
  2410. .disabledInput {
  2411. width: 80% !important;
  2412. max-width: 200px;
  2413. background-color: #f5f7fa;
  2414. text-align: center !important;
  2415. border: 1px solid #e4e7ed;
  2416. color: #c0c4cc;
  2417. cursor: not-allowed;
  2418. border-radius: 4px;
  2419. box-sizing: border-box;
  2420. padding: 0px 10px;
  2421. height: 36px;
  2422. margin: 0px 10%;
  2423. }
  2424. .Risk {
  2425. width: 100%;
  2426. height: auto;
  2427. display: flex;
  2428. flex-direction: column;
  2429. align-items: center;
  2430. font-size: 12px;
  2431. }
  2432. .Risk_title {
  2433. width: 100%;
  2434. height: 40px;
  2435. &>div {
  2436. background: rgb(199, 20, 45);
  2437. color: rgb(255, 255, 255);
  2438. height: 100%;
  2439. font-weight: 500;
  2440. width: 33.3%;
  2441. padding: 10px 20px;
  2442. box-sizing: border-box;
  2443. border: #fff solid 1px;
  2444. display: flex;
  2445. justify-content: center;
  2446. align-items: center;
  2447. border-bottom: none;
  2448. &:nth-child(1) {
  2449. border-top-left-radius: 10px;
  2450. }
  2451. &:nth-child(2) {
  2452. border-left: none;
  2453. border-right: none;
  2454. }
  2455. &:nth-child(3) {
  2456. border-top-right-radius: 10px;
  2457. }
  2458. }
  2459. }
  2460. .Risk_data {
  2461. width: 100%;
  2462. height: 40px;
  2463. &>div {
  2464. background: #fbf6f7;
  2465. color: rgb(51, 51, 51);
  2466. height: 100%;
  2467. font-weight: 500;
  2468. width: 33.3%;
  2469. padding: 10px 20px;
  2470. box-sizing: border-box;
  2471. border: #fff solid 1px;
  2472. display: flex;
  2473. justify-content: center;
  2474. align-items: center;
  2475. border-bottom: none;
  2476. &:nth-child(2) {
  2477. border-left: none;
  2478. border-right: none;
  2479. }
  2480. }
  2481. }
  2482. .bjdbody {
  2483. width: 100%;
  2484. height: auto;
  2485. background-color: rgb(199, 20, 45);
  2486. padding: 20px 10px 0 10px;
  2487. box-sizing: border-box;
  2488. border-radius: 8px;
  2489. }
  2490. .bjdCarMessage,
  2491. .bjdCarSum {
  2492. width: 100%;
  2493. height: auto;
  2494. background-color: #fff;
  2495. border-radius: 8px;
  2496. margin-bottom: 10px;
  2497. padding-bottom: 10px;
  2498. }
  2499. .bjdfooter {
  2500. border-top: 1px solid #fff;
  2501. padding: 10px;
  2502. box-sizing: border-box;
  2503. color: #fff;
  2504. }
  2505. .bjdCarSum {
  2506. &>div {
  2507. width: 100%;
  2508. padding: 15px 20px;
  2509. box-sizing: border-box;
  2510. font-weight: bold;
  2511. color: #000;
  2512. border-bottom: 1px solid #f2f2f2;
  2513. }
  2514. }
  2515. .bjdCarMessage1 {
  2516. height: 80px;
  2517. padding: 16px;
  2518. box-sizing: border-box;
  2519. border-bottom: 1px solid #f2f2f2;
  2520. display: flex;
  2521. align-items: center;
  2522. color: #000;
  2523. .f-c {
  2524. &>span {
  2525. &:nth-child(1) {
  2526. font-size: 18px;
  2527. font-weight: bold;
  2528. }
  2529. }
  2530. }
  2531. }
  2532. .bjdCarMessage1>img,
  2533. .bjdfooter>img {
  2534. margin-right: 30px;
  2535. }
  2536. .bjdCarMessage1 .f-c>span:nth-child(2),
  2537. .bjdCarMessage1 .f-c>span:nth-child(3) {
  2538. font-size: 12px;
  2539. margin-top: 5px;
  2540. }
  2541. .bjdCarMessage2_car {
  2542. &>span {
  2543. &:nth-child(1) {
  2544. color: #000;
  2545. font-weight: bold;
  2546. }
  2547. &:nth-child(2) {
  2548. color: #999;
  2549. }
  2550. }
  2551. }
  2552. .bjdCarMessage2 {
  2553. &>ul {
  2554. li {
  2555. margin: 20px 0;
  2556. }
  2557. }
  2558. }
  2559. .display {
  2560. display: flex;
  2561. justify-content: center;
  2562. align-items: center;
  2563. padding: 10px;
  2564. box-sizing: border-box;
  2565. }
  2566. .dis {
  2567. display: flex;
  2568. }
  2569. .align {
  2570. align-items: center;
  2571. }
  2572. .jus {
  2573. justify-content: space-between;
  2574. }
  2575. .headers {
  2576. display: flex;
  2577. align-items: center;
  2578. justify-content: space-between;
  2579. flex-wrap: wrap;
  2580. margin: 5px 0;
  2581. font-weight: bold;
  2582. color: #333;
  2583. }
  2584. /* 内容待定 */
  2585. .headers_Custom {
  2586. div {
  2587. padding: 5px 30px;
  2588. font-size: 16px;
  2589. &>span {
  2590. color: rgb(226, 118, 10);
  2591. }
  2592. }
  2593. }
  2594. .back {
  2595. color: #303133;
  2596. font-weight: 700;
  2597. }
  2598. .icon-img {
  2599. display: block;
  2600. width: 30px;
  2601. height: 30px;
  2602. }
  2603. .Enclosure {
  2604. width: 100%;
  2605. background-color: #fff;
  2606. padding: 20px;
  2607. box-sizing: border-box;
  2608. margin-bottom: 15px;
  2609. border-radius: 6px;
  2610. border: 1px solid #ebeef5;
  2611. transition: all 0.2s ease-in-out;
  2612. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  2613. }
  2614. .FeeEnclosure{
  2615. /deep/ table {
  2616. width: 100% !important;
  2617. }
  2618. /deep/ .cell {
  2619. text-align: center;
  2620. }
  2621. /deep/ .el-table__empty-block{
  2622. width: 100% !important;
  2623. }
  2624. }
  2625. /deep/ {
  2626. .el-input {
  2627. &.is-disabled {
  2628. .el-input__inner {
  2629. color: #333;
  2630. }
  2631. }
  2632. }
  2633. }
  2634. </style>