Verifyuntasks.vue 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227
  1. <template>
  2. <div class="page">
  3. <retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
  4. @areaSelectChange="areaSelectChange"></retrievalForm>
  5. <el-table size="small" :data="pageResult" height="590" border v-loading="loading" highlight-current-row
  6. @expand-change="handleRowChange" ref="expandTable" :row-class-name="tableRowClassName"
  7. :header-cell-style="{ background: '#F2F7FC', fontWeight: '700', color: '#606266' }">
  8. <el-table-column prop="subOrderId" label="订单号" align="center"></el-table-column>
  9. <el-table-column prop="username" label="业务员工号" align="center">
  10. <template slot-scope="scope">
  11. <span>{{ scope.row.userid }}</span>
  12. </template>
  13. </el-table-column>
  14. <el-table-column prop="username" label="业务员名称" align="center">
  15. <template slot-scope="scope">
  16. <span>{{ scope.row.username }}</span>
  17. </template>
  18. </el-table-column>
  19. <el-table-column prop="managementSource" label="业务来源" align="center">
  20. <template slot-scope="scope">
  21. <el-tag v-if="scope.row.managementSource == '渠道'">渠道</el-tag>
  22. <el-tag v-if="scope.row.managementSource == '个代'" type="success">个代</el-tag>
  23. <el-tag v-if="scope.row.managementSource == '电销'" type="warning">电销</el-tag>
  24. </template>
  25. </el-table-column>
  26. <el-table-column prop="agreementName" label="协议" align="center" width="300">
  27. <template slot-scope="scope">
  28. <span>{{ scope.row.agreementName }} - {{ scope.row.businessDescription }} - {{ scope.row.jobDescription }}</span>
  29. </template>
  30. </el-table-column>
  31. <el-table-column prop="insCompany" label="承保公司" align="center">
  32. <template slot-scope="scope">
  33. <span>{{ scope.row.insCompany ? scope.row.insCompany : '--' }}</span>
  34. </template>
  35. </el-table-column>
  36. <el-table-column prop="dockingPerson" label="对接人" align="center"></el-table-column>
  37. <el-table-column prop="entryStatus" label="录入来源" align="center" width="100">
  38. <template slot-scope="scope">
  39. <el-tag size="mini" v-if="scope.row.entryStatus == '1'" effect="dark">车险录入</el-tag>
  40. <el-tag size="mini" v-if="scope.row.entryStatus == '2'" effect="dark" type="success">代客录单</el-tag>
  41. <el-tag size="mini" v-if="scope.row.entryStatus == '3'" effect="dark" type="warning">外部订单</el-tag>
  42. </template>
  43. </el-table-column>
  44. <el-table-column prop="isExternal" label="外部订单" align="center">
  45. <template slot-scope="scope">
  46. <span>{{ scope.row.isExternal == '1' ? '是' : '否' }}</span>
  47. </template>
  48. </el-table-column>
  49. <el-table-column prop="problemOrder" label="疑问订单" align="center">
  50. <template slot-scope="scope">
  51. <span>{{ scope.row.problemOrder == '1' ? '是' : '否' }}</span>
  52. </template>
  53. </el-table-column>
  54. <el-table-column prop="insCompany" label="合作公司" align="center">
  55. <template slot-scope="scope">
  56. <span>{{ scope.row.partnerCompaniesName ? scope.row.partnerCompaniesName : '--' }}</span>
  57. </template>
  58. </el-table-column>
  59. <el-table-column prop="licenseno" label="车牌号" align="center"></el-table-column>
  60. <el-table-column prop="insuredname" label="被保险人" align="center"></el-table-column>
  61. <el-table-column prop="product" label="投保险种" align="center"></el-table-column>
  62. <el-table-column prop="operatorName" label="录入人" align="center"></el-table-column>
  63. <el-table-column prop="auditStatus" label="状态" align="center">
  64. <template slot-scope="scope">
  65. <el-tag v-if="scope.row.auditStatus == '0'" type="success" size="small">未审核</el-tag>
  66. <el-tag v-if="scope.row.auditStatus == '1'" type="warning" size="small">审核通过</el-tag>
  67. <el-tag v-if="scope.row.auditStatus == '2'" type="danger" size="small">审核驳回</el-tag>
  68. </template>
  69. </el-table-column>
  70. <el-table-column prop="createtime" label="录单日期" align="center"></el-table-column>
  71. <el-table-column prop="signingTime" label="签单时间" align="center"></el-table-column>
  72. <el-table-column prop="payDate" label="支付时间" align="center"></el-table-column>
  73. <el-table-column label="操作" align="center" min-width="170">
  74. <template slot-scope="scope">
  75. <kt-button label="审核" type="text" perms="carInsurance:expenseVerification:pendingReview:review"
  76. @click="OrderDetails(scope.row)" />
  77. <!-- <kt-button label="轨迹" type="text" perms="carInsurance:expenseVerification:pendingReview:trajectory"
  78. @click="trajectory(scope.row)" /> -->
  79. <kt-button label="轨迹" type="text" @click="trajectory(scope.row)" />
  80. <kt-button :label="scope.row.problemOrder == '0' ? '疑问订单' : '取消疑问订单'" type="text"
  81. @click="doubtfulOrders(scope.row)" />
  82. </template>
  83. </el-table-column>
  84. </el-table>
  85. <!-- 分页功能 -->
  86. <div class="block">
  87. <el-pagination @size-change="applyhandleSizeChange" @current-change="applyhandleCurrentChange"
  88. :current-page="pageNum" :page-size="pageSize" :page-sizes="[20, 30, 50, 100]"
  89. layout="total, sizes, prev, pager, next, jumper" :total="totalSize"></el-pagination>
  90. </div>
  91. <!-- 车辆报价新页面 -->
  92. <detailsDialog ref="detailsDialog" :orderInfo="orderInfo" :feeOrderNewVoList="feeOrderNewVoList"
  93. :isrejection="isrejection" @updatedCost="updatedCost" @adusitFUn="adusitFUn" @rejectionFUn="rejectionFUn">
  94. </detailsDialog>
  95. <el-dialog :visible.sync="ddgjdialogVisible" width="430px">
  96. <div slot="title" class="dialog-title">
  97. <span>订单轨迹</span>
  98. </div>
  99. <div style="height: 300px; overflow-y: auto">
  100. <el-steps direction="vertical" :active="trajectoryTable.length - 1" finish-status="success">
  101. <el-step :title="item.desc" :key="item.id" v-for="item in trajectoryTable">
  102. <template slot="description">
  103. <div>保险公司:{{ item.insCompany }} <span style="margin-left:15px">创建用户:{{ item.operator }}</span></div>
  104. <div>创建时间:{{ item.operatorTime }}</div>
  105. </template>
  106. </el-step>
  107. </el-steps>
  108. </div>
  109. </el-dialog>
  110. </div>
  111. </template>
  112. <script>
  113. import retrievalForm from "@/components/Form/retrievalForm.vue";
  114. import Cookies from "js-cookie";
  115. import KtButton from "@/views/Core/KtButton";//按钮权限组件
  116. import detailsDialog from "@/views/Core/components/detailsDialogPro.vue";
  117. export default {
  118. components: {
  119. KtButton,
  120. detailsDialog,
  121. retrievalForm
  122. },
  123. data() {
  124. return {
  125. isrejection: false,
  126. ddgjdialogVisible: false,
  127. trajectoryTable: [],
  128. feeOrderNewVoList: {},
  129. isAuditing: {},
  130. oldFeeInfo: [],//原始跟单费用比例
  131. adjustFeeDescInfo: {},//调整费用时使用对象
  132. adjustFeeFlag: false,
  133. queryOrders: "",
  134. value2: "",
  135. optionsStatus: [],
  136. quotedetailsdialogVisible: false,
  137. loading: false,
  138. pageNum: 1,//页数
  139. pageSize: 20,//条数
  140. totalSize: null,//总数
  141. peopleid: "",//工号
  142. pageResult: [],//列表
  143. pageRequest: {
  144. pageNum: 1,
  145. pageSize: 20,
  146. orderStatus: 0,
  147. userId: "",
  148. },
  149. retrievalFields: [
  150. {
  151. name: 'whole',
  152. label: '总机构',
  153. type: 'select',
  154. options: []
  155. },
  156. {
  157. name: 'provinceId',
  158. label: '省机构名称',
  159. type: 'select',
  160. options: []
  161. },
  162. {
  163. name: 'cityId',
  164. label: '市机构名称',
  165. type: 'select',
  166. options: []
  167. },
  168. {
  169. name: 'countyId',
  170. label: '区机构名称',
  171. type: 'select',
  172. options: []
  173. },
  174. {
  175. name: 'houseId',
  176. label: '门店名称',
  177. type: 'select',
  178. options: []
  179. },
  180. // {
  181. // name: 'taskNo',
  182. // label: '任务池号',
  183. // type: 'input',
  184. // },
  185. {
  186. name: 'orderNo',
  187. label: '订单号',
  188. type: 'input',
  189. },
  190. {
  191. name: 'managementSource',
  192. label: '业务来源',
  193. type: 'select',
  194. options: [],
  195. optionsIabel: "dictTag",
  196. optionsValue: "dictValue",
  197. },
  198. {
  199. name: 'companyId',
  200. label: '保险公司',
  201. type: 'select',
  202. options: []
  203. },
  204. {
  205. name: 'insuredName',
  206. label: '被保险人',
  207. type: 'input',
  208. Retained: true,
  209. },
  210. {
  211. name: 'licenseNo',
  212. label: '车牌号',
  213. type: 'input',
  214. Retained: true,
  215. },
  216. {
  217. name: 'frameNo',
  218. label: '车架号',
  219. type: 'input',
  220. Retained: true,
  221. },
  222. {
  223. name: 'engineNo',
  224. label: '发动机号',
  225. type: 'input',
  226. Retained: true,
  227. },
  228. {
  229. name: 'riskCode',
  230. label: '投保险种',
  231. type: 'select',
  232. Retained: true,
  233. options: [],
  234. optionsIabel: "dictTag",
  235. optionsValue: "dictTag",
  236. },
  237. {
  238. name: 'operatorId',
  239. label: '代理人工号',
  240. type: 'input',
  241. Retained: true,
  242. },
  243. {
  244. name: 'operatorName',
  245. label: '代理人姓名',
  246. type: 'input',
  247. Retained: true,
  248. },
  249. {
  250. name: 'auditId',
  251. label: '受理人工号',
  252. type: 'input',
  253. Retained: true,
  254. },
  255. {
  256. name: 'agreeId',
  257. label: '协议选择',
  258. type: 'select',
  259. options: [],
  260. optionsIabel: "agreementName",
  261. },
  262. {
  263. name: 'isExternal',
  264. label: '外部订单',
  265. type: 'select',
  266. optionsIabel: "label",
  267. optionsValue: "value",
  268. options: [
  269. {
  270. label: '是',
  271. value: '1'
  272. }, {
  273. label: '否',
  274. value: '0'
  275. },
  276. ],
  277. },
  278. {
  279. name: 'problemOrder',
  280. label: '疑问订单',
  281. type: 'select',
  282. optionsIabel: "label",
  283. optionsValue: "value",
  284. options: [
  285. {
  286. label: '是',
  287. value: '1'
  288. }, {
  289. label: '否',
  290. value: '0'
  291. },
  292. ],
  293. },
  294. {
  295. name: ["quoteStartDateStr", "quoteEndDateStr"],
  296. label: '报价时间',
  297. type: 'date',
  298. list: 'quoteList'
  299. },
  300. {
  301. name: ["attachStartDateStr", "attachEndDateStr"],
  302. label: '起保时间',
  303. type: 'date',
  304. list: 'attachList'
  305. },
  306. {
  307. name: ["signStartDateStr", "signEndDateStr"],
  308. label: '签单时间',
  309. type: 'date',
  310. list: 'signList'
  311. },
  312. {
  313. name: ["payStartDateStr", "payEndDateStr"],
  314. label: '支付时间',
  315. type: 'date',
  316. list: 'payList'
  317. },
  318. {
  319. name: 'jqPolicyNo',
  320. label: '交强保单号',
  321. type: 'input',
  322. Retained: true,
  323. },
  324. {
  325. name: 'syPolicyNo',
  326. label: '商业保单号',
  327. type: 'input',
  328. Retained: true,
  329. },
  330. {
  331. name: 'noPolicyNo',
  332. label: '非车保单号',
  333. type: 'input',
  334. Retained: true,
  335. },
  336. ],
  337. orderInfo: {
  338. //选中的订单
  339. ownerinfo: {},
  340. carinfo: {},
  341. applyinfo: {},
  342. insureinfo: {},
  343. kindinfo: [],
  344. riskinfo: [],
  345. ownerinfo: {},
  346. extendInfo: {}
  347. },
  348. feeDetailInfo: [],//费用明细信息
  349. inscompany: "", //保险公司名称
  350. licenseNo: "", //车牌号
  351. sumpremium: "", //保费合计
  352. jqpremium: "",//交强
  353. sypremium: "",//商业
  354. taxamount: "",//车船税
  355. jypremium: "",//驾意险
  356. jqstartdate: "",//交强时间
  357. systartdate: "",//商业时间
  358. mobile: "",//投保人手机号
  359. qrcode: null,
  360. userid: "",
  361. institutionOptions: [],
  362. width: document.documentElement.clientWidth,
  363. insAreaCompanyList: [],//子订单list
  364. companyList: [], //保险公司
  365. oldVersionHistory: [],
  366. natureOfVehicleUseoptions: [],
  367. businessVehicleUseoptions: [],
  368. outOfBusinessVehicleUseoptions: [],
  369. vehicleTypeoptions: [],
  370. trafficManagementVehicleTypeoptions: [],
  371. energyTypeoptions: [],
  372. carImageList: [], //车辆影像
  373. ownerImageList: [], //车主影像
  374. policyImageList: [], //投保人影像
  375. insuredImageList: [], //被保人影像
  376. carCheckImageList: [], //验车照影像
  377. oldfileList: [], //电子保单数据
  378. insOrderNo: '', // 子订单号码
  379. }
  380. },
  381. created() {
  382. this.pageRequest.userId = Cookies.get("user");
  383. this.areaqueryList(0, 9, "whole");
  384. this.CompanyList();
  385. this.agrmentlist();
  386. this.$api.insCompany.dicType('productsType').then(res => {
  387. if (res.code == 200) {
  388. this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
  389. }
  390. });
  391. this.$api.insCompany.dicType('organizationSource').then(res => {
  392. if (res.code == 200) {
  393. this.selectDataMatching(this.retrievalFields, 'managementSource', res.data.ddList);
  394. }
  395. });
  396. this.getDicType("natureOfVehicleUse");//车辆使用性质
  397. this.getDicType("businessVehicleUse"); //(车辆用途)营业
  398. this.getDicType("outOfBusinessVehicleUse"); //(车辆用途)非营业
  399. this.getDicType("vehicleType"); //车辆种类
  400. this.getDicType("trafficManagementVehicleType"); //车辆类型
  401. this.getDicType("energyType"); //能源种类
  402. },
  403. mounted() {
  404. window.addEventListener('resize', this.getDimensions);
  405. },
  406. unmounted() {
  407. window.removeEventListener('resize', this.getDimensions);
  408. },
  409. methods: {
  410. auditstatusCap(val) {
  411. if (val == "0") {
  412. return "未审核";
  413. }
  414. if (val == "1") {
  415. return "审核通过";
  416. }
  417. if (val == "2") {
  418. return "审核驳回";
  419. }
  420. if (val == "3") {
  421. return "已承保";
  422. }
  423. },
  424. trajectory(row) {
  425. // let a='1797905916021248000'
  426. this.$api.task.getFeeAuditHistory(row.orderno).then((res) => {
  427. if (res.code == 200 && res.data.length > 0) {
  428. this.trajectoryTable = res.data
  429. this.ddgjdialogVisible = true
  430. }
  431. else {
  432. this.$message.error('暂无数据!')
  433. }
  434. });
  435. },
  436. doubtfulOrders(row) {
  437. this.$api.task.markProblemOrder({ subOrder: row.orderno, problemOrder: row.problemOrder == '0' ? '1' : '0' }).then((res) => {
  438. if (res.code == 200) {
  439. this.$message({
  440. message: res.msg || '操作成功',
  441. type: 'success'
  442. });
  443. this.findPage();
  444. }
  445. else {
  446. this.$message.error(res.msg)
  447. }
  448. });
  449. },
  450. //获取机构数据
  451. areaqueryList(level, parentId, filed) {
  452. this.$api.task.queryListByParentId(level, parentId).then((res) => {
  453. this.selectDataMatching(this.retrievalFields, filed, res.data);
  454. });
  455. },
  456. CompanyList() {
  457. this.$api.letter.gainTopList().then((res) => {
  458. this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
  459. })
  460. },
  461. agrmentlist() {
  462. this.$api.task.findPtlAgreementList().then((res) => {
  463. this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
  464. });
  465. },
  466. getDicType(type) {
  467. this.$api.insCompany.dicType(type).then(res => {
  468. if (res.code == 200) {
  469. this[type + 'options'] = res.data.ddList;
  470. }
  471. })
  472. },
  473. //下拉数据匹配
  474. selectDataMatching(files, name, data) {
  475. files.forEach(filed => {
  476. if (filed.name == name) {
  477. filed.options = data;
  478. }
  479. })
  480. },
  481. areaSelectChange(obj) {
  482. switch (obj.filed) {
  483. case "whole":
  484. this.areaqueryList(1, obj.id, "provinceId");
  485. break;
  486. case "provinceId":
  487. this.areaqueryList(2, obj.id, "cityId");
  488. break;
  489. case "cityId":
  490. this.areaqueryList(3, obj.id, "countyId");
  491. break;
  492. case "countyId":
  493. this.areaqueryList(4, obj.id, "houseId");
  494. break;
  495. default:
  496. }
  497. },
  498. handleFormSubmit(data) {
  499. this.pageRequest.pageNum = 1;
  500. this.pageRequest.pageSize = 20;
  501. let obj = Object.assign(this.pageRequest, data)
  502. this.pageRequest = obj;
  503. this.findPage();
  504. },
  505. toggleCollapse(data) {
  506. this.retrievalFields.map(val => {
  507. if (val.Retained != null) val.Retained = data;
  508. return val;
  509. })
  510. },
  511. updatedCost(data) {
  512. let list = JSON.parse(JSON.stringify(data));
  513. console.log(list)
  514. const exportFee = [];
  515. const entranceFee = [];
  516. list.feeOrder.forEach((item, index) => {
  517. if (index < 3) entranceFee.push(item);
  518. else exportFee.push(item);
  519. });
  520. let params = {
  521. feeId: this.oldVersionHistory.feeId,
  522. feeOrderNewVoOld: this.oldVersionHistory,
  523. feeOrderNewVoNew: {
  524. deptManagerFee: list.deptManagerFee,
  525. entranceFee: entranceFee,
  526. exportFee: exportFee,
  527. }
  528. }
  529. this.$api.task.costsadjust(params).then((res) => {
  530. if (res.code == '200') {
  531. let data = res.data;
  532. let list = [];
  533. data.exportFee.map((val, index) => {
  534. val.type = "出口费用"
  535. return val;
  536. })
  537. data.entranceFee.map((val, index) => {
  538. val.type = "入口费用"
  539. return val;
  540. })
  541. console.log(data)
  542. this.feeOrderNewVoList = {
  543. deptManagerFee: data.deptManagerFee,
  544. list: [...data.entranceFee, ...data.exportFee],
  545. retailFee: data.retailFee
  546. }
  547. this.$message({
  548. type: 'success',
  549. message: res.msg,
  550. });
  551. } else {
  552. this.$message({
  553. type: 'error',
  554. message: res.msg,
  555. });
  556. }
  557. });
  558. },
  559. closeDialog() {
  560. this.adjustFeeFlag = false;
  561. },
  562. // 审核驳回
  563. rejectionFUn() {
  564. this.$prompt('输入驳回原因', '提示', {
  565. confirmButtonText: '确定',
  566. cancelButtonText: '取消',
  567. inputPattern: /^.+$/,
  568. distinguishCancelAndClose: true,
  569. inputErrorMessage: '输入驳回原因!'
  570. }).then(({ value }) => {
  571. let subParam = {
  572. orderNo: this.orderInfo.orderno,
  573. jqCostsProportionStr: this.adjustFeeDescInfo.jqAllFeeRate,
  574. syCostsProportionStr: this.adjustFeeDescInfo.syAllFeeRate,
  575. auditStatus: '2',
  576. updateFlag: this.adjustFeeFlag ? "1" : "0",
  577. rejectinfo: value
  578. }
  579. this.$api.task
  580. .auditFee(subParam)
  581. .then(res => {
  582. if (res.code == 200) {
  583. this.findPage()
  584. this.$message({
  585. message: '操作成功' || res.msg,
  586. type: 'success'
  587. });
  588. this.$refs.detailsDialog.setBackupVisible(false);
  589. }
  590. else {
  591. this.$message.error(res.msg)
  592. }
  593. })
  594. })
  595. },
  596. //审核通过
  597. adusitFUn() {
  598. this.$confirm('是否确认审核?', '提示', {
  599. confirmButtonText: '确定',
  600. cancelButtonText: '取消',
  601. type: 'warning'
  602. }).then(() => {
  603. const loading = this.$loading({
  604. lock: true,
  605. text: '数据加载中,请稍等',
  606. spinner: 'el-icon-loading',
  607. background: 'rgba(0, 0, 0, 0.7)'
  608. });
  609. let subParam = {
  610. orderNo: this.orderInfo.orderno,
  611. insOrderNo: this.orderInfo.insOrderNo,
  612. jqCostsProportionStr: this.adjustFeeDescInfo.jqAllFeeRate,
  613. syCostsProportionStr: this.adjustFeeDescInfo.syAllFeeRate,
  614. auditStatus: '1',
  615. updateFlag: this.adjustFeeFlag ? "1" : "0",
  616. insOrderNo: this.insOrderNo
  617. }
  618. this.$api.task.auditFee(subParam).then((res) => {
  619. if (res.code == 200) {
  620. loading.close();
  621. this.$message({
  622. type: 'success',
  623. message: "审核通过",
  624. });
  625. this.findPage();
  626. // this.quotedetailsdialogVisible = false;
  627. this.$refs.detailsDialog.setBackupVisible(false);
  628. } else {
  629. loading.close();
  630. this.$message.error(res.msg)
  631. }
  632. })
  633. }).catch(() => {
  634. });
  635. },
  636. toChinesNum(num) {
  637. let changeNum = [
  638. "零", "1", "2", "3", "4", "5", "6", "7", "8", "9"
  639. ];
  640. let unit = ["", "0", "00", "000", "0000"];
  641. num = parseInt(num);
  642. let getWan = temp => {
  643. let strArr = temp
  644. .toString()
  645. .split("")
  646. .reverse();
  647. let newNum = "";
  648. let newArr = [];
  649. strArr.forEach((item, index) => {
  650. newArr.unshift(
  651. item === "0" ? changeNum[item] : changeNum[item] + unit[index]
  652. );
  653. });
  654. let numArr = [];
  655. newArr.forEach((m, n) => {
  656. if (m !== "零") numArr.push(n);
  657. });
  658. if (newArr.length > 1) {
  659. newArr.forEach((m, n) => {
  660. if (newArr[newArr.length - 1] === "零") {
  661. if (n <= numArr[numArr.length - 1]) {
  662. newNum += m;
  663. }
  664. } else {
  665. newNum += m;
  666. }
  667. });
  668. } else {
  669. newNum = newArr[0];
  670. }
  671. return newNum;
  672. };
  673. let overWan = Math.floor(num / 10000);
  674. let noWan = num % 10000;
  675. if (noWan.toString().length < 4) {
  676. noWan = "0" + noWan;
  677. }
  678. return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
  679. },
  680. //联级选择器触发事件
  681. handleChange(val) {
  682. if (val.length !== 0) {
  683. this.pageRequest.deptId = val.at(-1);
  684. }
  685. else {
  686. this.pageRequest.deptId = ''
  687. }
  688. },
  689. getDimensions() {
  690. this.width = document.documentElement.clientWidth - 350 + 'px';
  691. },
  692. //使用性质
  693. natureOfVehicleUseCap(ele) {
  694. if (this.natureOfVehicleUseoptions.find(item => item.dictValue == ele)) {
  695. return this.natureOfVehicleUseoptions.find((item) => {
  696. return item.dictValue === ele;
  697. }).dictTag;
  698. }
  699. else {
  700. return ''
  701. }
  702. },
  703. //车辆类型
  704. trafficManagementVehicleTypeCap(ele) {
  705. if (this.trafficManagementVehicleTypeoptions.find(item => item.dictValue == ele)) {
  706. return this.trafficManagementVehicleTypeoptions.find((item) => {
  707. return item.dictValue === ele;
  708. }).dictTag;
  709. }
  710. else {
  711. return ''
  712. }
  713. },
  714. //车辆种类
  715. vehicleTypeCap(ele) {
  716. if (this.vehicleTypeoptions.find(item => item.dictValue == ele)) {
  717. return this.vehicleTypeoptions.find((item) => {
  718. return item.dictValue === ele;
  719. }).dictTag;
  720. }
  721. else {
  722. return ''
  723. }
  724. },
  725. //能源种类
  726. energyTypeCap(ele) {
  727. if (this.energyTypeoptions.find(item => item.dictValue == ele)) {
  728. return this.energyTypeoptions.find((item) => {
  729. return item.dictValue === ele;
  730. }).dictTag;
  731. }
  732. else {
  733. return ''
  734. }
  735. },
  736. //车辆用途
  737. outOfBusinessVehicleUseCap(type, ele) {
  738. switch (type) {
  739. case '非营业':
  740. if (this.outOfBusinessVehicleUseoptions.find(item => item.dictValue == ele)) {
  741. return this.outOfBusinessVehicleUseoptions.find((item) => {
  742. return item.dictValue === ele;
  743. }).dictTag;
  744. }
  745. else {
  746. return ''
  747. }
  748. case '营业':
  749. if (this.businessVehicleUseoptions.find(item => item.dictValue == ele)) {
  750. return this.businessVehicleUseoptions.find((item) => {
  751. return item.dictValue === ele;
  752. }).dictTag;
  753. }
  754. else {
  755. return ''
  756. }
  757. default:
  758. }
  759. },
  760. tableRowClassName(row) {
  761. if (row.row.problemOrder === 1) {
  762. return "flagRow";
  763. }
  764. else {
  765. return ''
  766. }
  767. },
  768. //应用详情
  769. OrderDetails(dy) {
  770. console.log(dy)
  771. if (dy.isExternal == 1) {
  772. this.isrejection = true
  773. }
  774. else {
  775. this.isrejection = false
  776. }
  777. this.carImageList = [];
  778. this.ownerImageList = []; //车主影像
  779. this.policyImageList = []; //投保人影像
  780. this.insuredImageList = []; //被保人影像
  781. this.carCheckImageList = []; //验车照影像
  782. let params = {
  783. orderNo: dy.orderno,
  784. }
  785. this.insOrderNo = dy.orderno
  786. this.$api.task.feeDetail(params).then((res) => {
  787. if (res.code == 200) {
  788. res.data.kindinfo.map((ele, index) => {
  789. switch (ele.kindCode) {
  790. case "A":
  791. ele.amount = "投保";
  792. break;
  793. case "D4":
  794. case "SY_FJ_YBW2":
  795. ele.unitAmount = this.toChinesNum(ele.unitAmount);
  796. break;
  797. case "MJ1":
  798. case "MJ2":
  799. case "MJ3":
  800. case "MJ4":
  801. ele.deductibleRate = ele.deductibleRate + "%";
  802. break;
  803. default:
  804. ele.amount = this.toChinesNum(ele.amount);
  805. }
  806. return ele;
  807. });
  808. // 获取影像
  809. this.$api.letter.findByQuoteNo(dy.quoteno).then((resImage) => {
  810. Object.keys(resImage.data).forEach((keys) => {
  811. if (resImage.data[keys]) {
  812. resImage.data[keys].url = resImage.data[keys].url
  813. ? process.env.BASE_URL + resImage.data[keys].url
  814. : null;
  815. switch (keys) {
  816. case "C01":
  817. case "D01":
  818. resImage.data[keys].url
  819. ? this.carImageList.push(resImage.data[keys].url)
  820. : "";
  821. break;
  822. case "C02":
  823. case "D02":
  824. resImage.data[keys].url
  825. ? this.ownerImageList.push(resImage.data[keys].url)
  826. : "";
  827. break;
  828. case "C03":
  829. case "D03":
  830. resImage.data[keys].url
  831. ? this.policyImageList.push(resImage.data[keys].url)
  832. : "";
  833. break;
  834. case "C04":
  835. case "D04":
  836. resImage.data[keys].url
  837. ? this.insuredImageList.push(resImage.data[keys].url)
  838. : "";
  839. break;
  840. case "XC00":
  841. case "GC00":
  842. case "GX00":
  843. resImage.data[keys].url
  844. ? this.carCheckImageList.push(resImage.data[keys].url)
  845. : "";
  846. break;
  847. default:
  848. break;
  849. }
  850. }
  851. });
  852. let obj = {
  853. carImageList: this.carImageList,
  854. ownerImageList: this.ownerImageList,
  855. policyImageList: this.policyImageList,
  856. insuredImageList: this.insuredImageList,
  857. carCheckImageList: this.carCheckImageList
  858. }
  859. this.$refs.detailsDialog.imageFun(obj);
  860. });
  861. if (res.data.feeOrderNewVo && res.data.feeOrderNewVo.exportFee && res.data.feeOrderNewVo.entranceFee) {
  862. let data = JSON.parse(JSON.stringify(res.data.feeOrderNewVo))
  863. this.oldVersionHistory = data;
  864. data.exportFee.map((val, index) => {
  865. val.type = "出口费用"
  866. return val;
  867. })
  868. data.entranceFee.map((val, index) => {
  869. val.type = "入口费用"
  870. return val;
  871. })
  872. this.feeOrderNewVoList = {
  873. deptManagerFee: data.deptManagerFee,
  874. list: [...data.entranceFee, ...data.exportFee],
  875. retailFee: data.retailFee
  876. }
  877. }
  878. res.data.carinfo.carnature = this.natureOfVehicleUseCap(res.data.carinfo.carnature)
  879. res.data.carinfo.cartype = this.trafficManagementVehicleTypeCap(res.data.carinfo.cartype)
  880. res.data.carinfo.cimodelclass = this.vehicleTypeCap(res.data.carinfo.cimodelclass)
  881. res.data.carinfo.energyType = this.energyTypeCap(res.data.carinfo.energyType)
  882. res.data.carinfo.vehicleUse = this.outOfBusinessVehicleUseCap(res.data.carinfo.carnature, res.data.carinfo.vehicleUse)
  883. res.data.source = dy.managementSource;
  884. this.orderInfo = res.data;
  885. this.oldfileList = [];
  886. let businessList = []
  887. let accidentList = []
  888. if (res.data.orderstatus == "3") {
  889. if (res.data.isExternal == 1) {
  890. this.$api.letter
  891. .getPolicyPrintexternalOrder(res.data.id).then(res1 => {
  892. if (res1.code == 200) {
  893. if (res1.data.jqPolicy) {
  894. this.oldfileList.push({
  895. fileTitle: "交强电子保单",
  896. filename: this.orderInfo.jqpolicyno,
  897. fileurl: res1.data.jqPolicy
  898. });
  899. }
  900. if (res1.data.jqSign) {
  901. this.oldfileList.push({
  902. fileTitle: "交强电子标志",
  903. filename: this.orderInfo.jqpolicyno,
  904. fileurl: res1.data.jqSign
  905. });
  906. }
  907. if (res1.data.syPolicy) {
  908. accidentList.push({
  909. fileTitle: "商业电子保单",
  910. filename: this.orderInfo.sypolicyno,
  911. fileurl: res1.data.syPolicy
  912. });
  913. }
  914. if (res1.data.noPolicy) {
  915. accidentList.push({
  916. fileTitle: "驾意险保单",
  917. filename: "驾意险保单",
  918. fileurl: res1.data.noPolicy
  919. });
  920. }
  921. }
  922. else {
  923. this.$message.error(res1.msg)
  924. }
  925. })
  926. }
  927. else {
  928. switch (res.data.inscompany) {
  929. case "永安财险":
  930. if (this.orderInfo.jqpolicyno) {
  931. this.$api.letter
  932. .getPolicyPrint({
  933. companyId: res.data.id,
  934. policytype: "jq",
  935. })
  936. .then((res) => {
  937. //交强保单
  938. if (res.data) {
  939. let result = res.data.replace(/[\r\n]/g, "");
  940. let pdfBase64 = `data:application/pdf;base64,${result}`;
  941. base64ToPath(pdfBase64).then((path) => {
  942. if (path) {
  943. this.oldfileList.push({
  944. fileTitle: "交强电子保单",
  945. filename: this.orderInfo.jqpolicyno,
  946. fileurl: path,
  947. });
  948. }
  949. });
  950. }
  951. });
  952. this.$api.letter
  953. .getPolicyPrint2({
  954. companyId: res.data.id,
  955. policytype: "jq",
  956. })
  957. .then((res) => {
  958. //交强保单
  959. if (res.data) {
  960. let result = res.data.replace(/[\r\n]/g, "");
  961. let pdfBase64 = `data:application/pdf;base64,${result}`;
  962. base64ToPath(pdfBase64).then((path) => {
  963. if (path) {
  964. this.oldfileList.push({
  965. fileTitle: "交强电子标志",
  966. filename: this.orderInfo.jqpolicyno,
  967. fileurl: path,
  968. });
  969. }
  970. });
  971. }
  972. });
  973. }
  974. if (this.orderInfo.sypolicyno) {
  975. this.$api.letter
  976. .getPolicyPrint({
  977. companyId: res.data.id,
  978. policytype: "sy",
  979. })
  980. .then((res) => {
  981. //商业保单
  982. if (res.data) {
  983. let result = res.data.replace(/[\r\n]/g, "");
  984. let pdfBase64 = `data:application/pdf;base64,${result}`;
  985. base64ToPath(pdfBase64).then((path) => {
  986. if (path) {
  987. businessList.push({
  988. fileTitle: "商业电子保单",
  989. filename: this.orderInfo.sypolicyno,
  990. fileurl: path,
  991. });
  992. }
  993. });
  994. }
  995. });
  996. }
  997. break;
  998. case "华泰财险":
  999. switch (res.data.apiType) {
  1000. case 1:
  1001. if (this.orderInfo.jqpolicyno) {
  1002. this.$api.letter
  1003. .HuataigetPolicyPrint({
  1004. companyId: res.data.id,
  1005. riskCode: "0507",
  1006. type: "2", //2:保单
  1007. })
  1008. .then((res) => {
  1009. if (res.data) {
  1010. if (res.data.jqxPolicyUrl) {
  1011. this.oldfileList.push({
  1012. fileTitle: "交强电子保单",
  1013. filename: this.orderInfo.jqpolicyno,
  1014. fileurl: res.data.jqxPolicyUrl,
  1015. });
  1016. }
  1017. if (res.data.jqxFlagUrl) {
  1018. this.oldfileList.push({
  1019. fileTitle: "交强电子标志",
  1020. filename: this.orderInfo.jqpolicyno,
  1021. fileurl: res.data.jqxFlagUrl,
  1022. });
  1023. }
  1024. } else {
  1025. this.$message.error(res.msg);
  1026. }
  1027. });
  1028. }
  1029. if (this.orderInfo.sypolicyno) {
  1030. this.$api.letter
  1031. .HuataigetPolicyPrint({
  1032. companyId: res.data.id,
  1033. riskCode: "0510",
  1034. type: "2", //2:保单
  1035. })
  1036. .then((res) => {
  1037. if (res.data && res.data.syxPolicyUrl) {
  1038. businessList.push({
  1039. fileTitle: "商业电子保单",
  1040. filename: this.orderInfo.sypolicyno,
  1041. fileurl: res.data.syxPolicyUrl,
  1042. });
  1043. } else {
  1044. this.$message.error(res.msg);
  1045. }
  1046. });
  1047. }
  1048. break;
  1049. case 2:
  1050. if (this.orderInfo.jqpolicyno || this.orderInfo.sypolicyno) {
  1051. this.$api.letter
  1052. .pythongetPolicyPrint({
  1053. subOrderNo: res.data.id
  1054. })
  1055. .then(res => {
  1056. if (res.code == 200 && res.data) {
  1057. if (res.data.jqxPolicyUrl) {
  1058. this.oldfileList.push({
  1059. fileTitle: "交强电子保单",
  1060. filename: this.orderInfo.jqpolicyno,
  1061. fileurl: res.data.jqxPolicyUrl
  1062. });
  1063. }
  1064. if (res.data.jqxFlagUrl) {
  1065. this.oldfileList.push({
  1066. fileTitle: "交强电子标志",
  1067. filename: this.orderInfo.jqpolicyno,
  1068. fileurl: res.data.jqxFlagUrl
  1069. });
  1070. }
  1071. if (res.data.syxPolicyUrl) {
  1072. businessList.push({
  1073. fileTitle: "商业电子保单",
  1074. filename: this.orderInfo.sypolicyno,
  1075. fileurl: res.data.syxPolicyUrl
  1076. });
  1077. }
  1078. if (
  1079. res.data.jyxInfoList &&
  1080. res.data.jyxInfoList.length > 0
  1081. ) {
  1082. res.data.jyxInfoList.forEach(val => {
  1083. accidentList.push({
  1084. fileTitle: "驾意险保单",
  1085. filename: "驾意险保单",
  1086. fileurl: val.jyx_policy_url
  1087. });
  1088. });
  1089. }
  1090. } else {
  1091. this.$message.error(res.msg);
  1092. }
  1093. });
  1094. }
  1095. break;
  1096. }
  1097. break;
  1098. case "中煤财险":
  1099. if (this.orderInfo.jqpolicyno) {
  1100. this.$api.letter
  1101. .ZhongmeigetPolicyPrint({
  1102. companyId: res.data.id,
  1103. riskCode: "0507",
  1104. type: "2", //2:保单
  1105. })
  1106. .then((res) => {
  1107. if (res.data && res.data[0]) {
  1108. this.oldfileList.push({
  1109. fileTitle: "交强电子保单",
  1110. filename: this.orderInfo.jqpolicyno,
  1111. fileurl: res.data[0],
  1112. });
  1113. } else {
  1114. this.$message.error(res.msg);
  1115. }
  1116. });
  1117. this.$api.letter
  1118. .ZhongmeigetPolicyPrint({
  1119. companyId: res.data.id,
  1120. riskCode: "0507",
  1121. type: "1", // 1:标志
  1122. })
  1123. .then((res) => {
  1124. if (res.data && res.data[0]) {
  1125. this.oldfileList.push({
  1126. fileTitle: "交强电子标志",
  1127. filename: this.orderInfo.jqpolicyno,
  1128. fileurl: res.data[0],
  1129. });
  1130. } else {
  1131. this.$message.error(res.msg);
  1132. }
  1133. });
  1134. }
  1135. if (this.orderInfo.sypolicyno) {
  1136. this.$api.letter
  1137. .ZhongmeigetPolicyPrint({
  1138. companyId: res.data.id,
  1139. riskCode: "0510",
  1140. type: "2", //2:保单
  1141. })
  1142. .then((res) => {
  1143. if (res.data && res.data[0]) {
  1144. businessList.push({
  1145. fileTitle: "商业电子保单",
  1146. filename: this.orderInfo.sypolicyno,
  1147. fileurl: res.data[0],
  1148. });
  1149. } else {
  1150. this.$message.error(res.msg);
  1151. }
  1152. });
  1153. }
  1154. if (this.orderInfo.crossInsurance.length > 0) {
  1155. this.orderInfo.crossInsurance.map((ele) => {
  1156. this.$api.letter
  1157. .ZhongmeigetPolicyPrint({
  1158. ridePolicyNo: ele.ridePolicyNo,
  1159. companyId: res.data.id,
  1160. riskCode: "0513",
  1161. type: "2", //2:保单
  1162. })
  1163. .then((res) => {
  1164. if (res.code == 200 && res.data) {
  1165. accidentList.push({
  1166. fileTitle: "驾意险保单",
  1167. filename: this.orderInfo.sypolicyno,
  1168. fileurl: res.data[0],
  1169. });
  1170. } else {
  1171. this.$message.error(res.msg);
  1172. }
  1173. });
  1174. });
  1175. }
  1176. break;
  1177. case "永诚财险":
  1178. if (this.orderInfo.jqpolicyno) {
  1179. this.$api.letter
  1180. .yongchenggetPolicyPrint({
  1181. companyId: res.data.id,
  1182. riskCode: "0507",
  1183. type: "2", //2:保单
  1184. })
  1185. .then((res) => {
  1186. if (res.code == 200 && res.data) {
  1187. if (res.data.jqUrl) {
  1188. this.oldfileList.push({
  1189. fileTitle: "交强电子保单",
  1190. filename: this.orderInfo.jqpolicyno,
  1191. fileurl: res.data.jqUrl,
  1192. });
  1193. }
  1194. if (res.data.jqFlagUrl) {
  1195. this.oldfileList.push({
  1196. fileTitle: "交强电子标志",
  1197. filename: this.orderInfo.jqpolicyno,
  1198. fileurl: res.data.jqFlagUrl,
  1199. });
  1200. }
  1201. } else {
  1202. this.$message.error(res.msg);
  1203. }
  1204. });
  1205. }
  1206. if (this.orderInfo.sypolicyno) {
  1207. this.$api.letter
  1208. .yongchenggetPolicyPrint({
  1209. companyId: res.data.id,
  1210. riskCode: "0510",
  1211. type: "2", //2:保单
  1212. })
  1213. .then((res) => {
  1214. if (res.data && res.data.syUrl) {
  1215. businessList.push({
  1216. fileTitle: "商业电子保单",
  1217. filename: this.orderInfo.sypolicyno,
  1218. fileurl: res.data.syUrl,
  1219. });
  1220. } else {
  1221. this.$message.error(res.msg);
  1222. }
  1223. });
  1224. }
  1225. if (this.orderInfo.crossInsurance.length > 0) {
  1226. this.orderInfo.crossInsurance.map((ele) => {
  1227. this.$api.letter
  1228. .yongchenggetPolicyPrint({
  1229. companyId: res.data.id,
  1230. policyNumber: ele.policyNumber,
  1231. riskCode: "0513",
  1232. type: "2", //2:保单
  1233. })
  1234. .then((res) => {
  1235. if (res.code == 200 && res.data) {
  1236. accidentList.push({
  1237. fileTitle: "驾意险保单",
  1238. filename: ele.policyNumber,
  1239. fileurl: res.data.jyUrl,
  1240. });
  1241. } else {
  1242. this.$message.error(res.msg);
  1243. }
  1244. });
  1245. });
  1246. }
  1247. break;
  1248. case "国任财险":
  1249. if (this.orderInfo.jqpolicyno) {
  1250. this.$api.letter
  1251. .guoRengetPolicyPrint({
  1252. companyId: res.data.id,
  1253. riskCode: "0507",
  1254. type: "2", //2:保单
  1255. })
  1256. .then((res) => {
  1257. if (res.data) {
  1258. this.oldfileList.push({
  1259. fileTitle: "交强电子保单",
  1260. filename: this.orderInfo.jqpolicyno,
  1261. fileurl: res.data,
  1262. });
  1263. } else {
  1264. this.$message.error(res.msg);
  1265. }
  1266. });
  1267. this.$api.letter
  1268. .guoRengetPolicyPrint({
  1269. companyId: res.data.id,
  1270. riskCode: "0507",
  1271. type: "1", //1:标志
  1272. })
  1273. .then((res) => {
  1274. if (res.data) {
  1275. this.oldfileList.push({
  1276. fileTitle: "交强电子标志",
  1277. filename: this.orderInfo.jqpolicyno,
  1278. fileurl: res.data,
  1279. });
  1280. } else {
  1281. this.$message.error(res.msg);
  1282. }
  1283. });
  1284. }
  1285. if (this.orderInfo.sypolicyno) {
  1286. this.$api.letter
  1287. .guoRengetPolicyPrint({
  1288. companyId: res.data.id,
  1289. riskCode: "0510",
  1290. type: "2", //2:保单
  1291. })
  1292. .then((res) => {
  1293. if (res.data) {
  1294. businessList.push({
  1295. fileTitle: "商业电子保单",
  1296. filename: this.orderInfo.sypolicyno,
  1297. fileurl: res.data,
  1298. });
  1299. } else {
  1300. this.$message.error(res.msg);
  1301. }
  1302. });
  1303. }
  1304. if (this.orderInfo.crossInsurance.length > 0) {
  1305. this.orderInfo.crossInsurance.map((ele) => {
  1306. this.$api.letter
  1307. .guoRengetPolicyPrint({
  1308. companyId: res.data.id,
  1309. policyNumber: ele.policyNumber,
  1310. riskCode: "0513",
  1311. type: "2", //2:保单
  1312. })
  1313. .then((res) => {
  1314. if (res.data) {
  1315. accidentList.push({
  1316. fileTitle: "驾意险保单",
  1317. filename: ele.policyNumber,
  1318. fileurl: res.data,
  1319. });
  1320. } else {
  1321. this.$message.error(res.msg);
  1322. }
  1323. });
  1324. });
  1325. }
  1326. break;
  1327. case "紫金财险":
  1328. if (this.orderInfo.jqpolicyno) {
  1329. this.$api.letter
  1330. .zijingetPolicyPrint({
  1331. companyId: res.data.id,
  1332. riskCode: "0507",
  1333. type: "2", //2:保单
  1334. })
  1335. .then((res) => {
  1336. if (res.data) {
  1337. this.oldfileList.push({
  1338. fileTitle: "交强电子保单",
  1339. filename: this.orderInfo.jqpolicyno,
  1340. fileurl: res.data,
  1341. });
  1342. } else {
  1343. this.$message.error(res.msg);
  1344. }
  1345. });
  1346. this.$api.letter
  1347. .zijingetPolicyPrint({
  1348. companyId: res.data.id,
  1349. riskCode: "0507",
  1350. type: "1", //1:标志
  1351. })
  1352. .then((res) => {
  1353. if (res.data) {
  1354. this.oldfileList.push({
  1355. fileTitle: "交强电子标志",
  1356. filename: this.orderInfo.jqpolicyno,
  1357. fileurl: res.data,
  1358. });
  1359. } else {
  1360. this.$message.error(res.msg);
  1361. }
  1362. });
  1363. }
  1364. if (this.orderInfo.sypolicyno) {
  1365. this.$api.letter
  1366. .zijingetPolicyPrint({
  1367. companyId: res.data.id,
  1368. riskCode: "0510",
  1369. type: "2", //2:保单
  1370. })
  1371. .then((res) => {
  1372. if (res.data) {
  1373. businessList.push({
  1374. fileTitle: "商业电子保单",
  1375. filename: this.orderInfo.sypolicyno,
  1376. fileurl: res.data,
  1377. });
  1378. } else {
  1379. this.$message.error(res.msg);
  1380. }
  1381. });
  1382. }
  1383. if (this.orderInfo.crossInsurance.length > 0) {
  1384. this.orderInfo.crossInsurance.map((ele) => {
  1385. this.$api.letter
  1386. .zijingetPolicyPrint({
  1387. companyId: res.data.id,
  1388. policyNumber: ele.policyNumber,
  1389. riskCode: "0513",
  1390. type: "2", //2:保单
  1391. })
  1392. .then((res) => {
  1393. if (res.data) {
  1394. accidentList.push({
  1395. fileTitle: "驾意险保单",
  1396. filename: ele.policyNumber,
  1397. fileurl: res.data,
  1398. });
  1399. } else {
  1400. this.$message.error(res.msg);
  1401. }
  1402. });
  1403. });
  1404. }
  1405. break;
  1406. case "渤海财险":
  1407. if (this.orderInfo.jqpolicyno) {
  1408. this.$api.letter
  1409. .getPolicyPrintboHai({
  1410. companyId: res.data.id,
  1411. })
  1412. .then((res) => {
  1413. if (res.code == 200 && res.data) {
  1414. if (res.data.jqxPolicyUrl) {
  1415. this.oldfileList.push({
  1416. fileTitle: "交强电子保单",
  1417. filename: this.orderInfo.jqpolicyno,
  1418. fileurl: res.data.jqxPolicyUrl,
  1419. });
  1420. }
  1421. if (res.data.jqxFlagUrl) {
  1422. this.oldfileList.push({
  1423. fileTitle: "交强电子标志",
  1424. filename: this.orderInfo.jqpolicyno,
  1425. fileurl: res.data.jqxFlagUrl,
  1426. });
  1427. }
  1428. if (res.data.syxPolicyUrl) {
  1429. businessList.push({
  1430. fileTitle: "商业电子保单",
  1431. filename: this.orderInfo.sypolicyno,
  1432. fileurl: res.data.syxPolicyUrl,
  1433. });
  1434. }
  1435. if (
  1436. res.data.jyxInfoList &&
  1437. res.data.jyxInfoList.length > 0
  1438. ) {
  1439. res.data.jyxInfoList.forEach((val) => {
  1440. accidentList.push({
  1441. fileTitle: "驾意险保单",
  1442. filename: "驾意险保单",
  1443. fileurl: val.jyx_policy_url,
  1444. });
  1445. });
  1446. }
  1447. } else {
  1448. this.$message.error(res.msg);
  1449. }
  1450. });
  1451. }
  1452. break;
  1453. case "恒邦财险":
  1454. case "安盛天平":
  1455. case "中国人寿":
  1456. case "太平财险":
  1457. case "华农财险":
  1458. case "众安财险":
  1459. if (this.orderInfo.jqpolicyno || this.orderInfo.sypolicyno) {
  1460. this.$api.letter
  1461. .pythongetPolicyPrint({
  1462. subOrderNo: res.data.id,
  1463. })
  1464. .then((res) => {
  1465. if (res.code == 200 && res.data) {
  1466. if (res.data.jqxPolicyUrl) {
  1467. this.oldfileList.push({
  1468. fileTitle: "交强电子保单",
  1469. filename: this.orderInfo.jqpolicyno,
  1470. fileurl: res.data.jqxPolicyUrl,
  1471. });
  1472. }
  1473. if (res.data.jqxFlagUrl) {
  1474. this.oldfileList.push({
  1475. fileTitle: "交强电子标志",
  1476. filename: this.orderInfo.jqpolicyno,
  1477. fileurl: res.data.jqxFlagUrl,
  1478. });
  1479. }
  1480. if (res.data.syxPolicyUrl) {
  1481. businessList.push({
  1482. fileTitle: "商业电子保单",
  1483. filename: this.orderInfo.sypolicyno,
  1484. fileurl: res.data.syxPolicyUrl,
  1485. });
  1486. }
  1487. if (
  1488. res.data.jyxInfoList &&
  1489. res.data.jyxInfoList.length > 0
  1490. ) {
  1491. res.data.jyxInfoList.forEach((val) => {
  1492. accidentList.push({
  1493. fileTitle: "驾意险保单",
  1494. filename: "驾意险保单",
  1495. fileurl: val.jyx_policy_url,
  1496. });
  1497. });
  1498. }
  1499. } else {
  1500. this.$message.error(res.msg);
  1501. }
  1502. });
  1503. }
  1504. break;
  1505. case "大家财险":
  1506. if (this.orderInfo.jqpolicyno) {
  1507. this.$api.letter
  1508. .obtainWarranty({
  1509. companyId: res.data.id,
  1510. riskCode: "0507",
  1511. type: "2", //2:保单
  1512. })
  1513. .then((res) => {
  1514. if (res.data) {
  1515. this.oldfileList.push({
  1516. fileTitle: "交强电子保单",
  1517. filename: this.orderInfo.jqpolicyno,
  1518. fileurl: res.data,
  1519. });
  1520. } else {
  1521. this.$message.error(res.msg);
  1522. }
  1523. });
  1524. this.$api.letter
  1525. .obtainWarranty({
  1526. companyId: res.data.id,
  1527. riskCode: "0507",
  1528. type: "1", //1:标志
  1529. })
  1530. .then((res) => {
  1531. if (res.data) {
  1532. this.oldfileList.push({
  1533. fileTitle: "交强电子标志",
  1534. filename: this.orderInfo.jqpolicyno,
  1535. fileurl: res.data,
  1536. });
  1537. } else {
  1538. this.$message.error(res.msg);
  1539. }
  1540. });
  1541. }
  1542. if (this.orderInfo.sypolicyno) {
  1543. this.$api.letter
  1544. .obtainWarranty({
  1545. companyId: res.data.id,
  1546. riskCode: "0510",
  1547. type: "2", //2:保单
  1548. })
  1549. .then((res) => {
  1550. if (res.data) {
  1551. businessList.push({
  1552. fileTitle: "商业电子保单",
  1553. filename: this.orderInfo.sypolicyno,
  1554. fileurl: res.data,
  1555. });
  1556. }
  1557. });
  1558. }
  1559. if (this.orderInfo.crossInsurance.length > 0) {
  1560. this.orderInfo.crossInsurance.map((ele) => {
  1561. this.$api.letter
  1562. .zijingetPolicyPrint({
  1563. companyId: res.data.id,
  1564. policyNumber: ele.policyNumber,
  1565. riskCode: "0513",
  1566. type: "2", //2:保单
  1567. })
  1568. .then((res) => {
  1569. if (res.data) {
  1570. accidentList.push({
  1571. fileTitle: "驾意险保单",
  1572. filename: ele.policyNumber,
  1573. fileurl: res.data,
  1574. });
  1575. } else {
  1576. this.$message.error(res.msg);
  1577. }
  1578. });
  1579. });
  1580. }
  1581. break;
  1582. default:
  1583. }
  1584. }
  1585. let obj = {
  1586. oldfileList: this.oldfileList,
  1587. businessList,
  1588. accidentList
  1589. }
  1590. this.$refs.detailsDialog.warrantyFun(obj);
  1591. }
  1592. this.feeDetailInfo = res.data.orderFeeResult;
  1593. this.oldFeeInfo = res.data.adjustFeeDescVo;
  1594. this.adjustFeeDescInfo = { ...this.oldFeeInfo }
  1595. // this.quotedetailsdialogVisible = true;
  1596. console.log(this.orderInfo)
  1597. this.$refs.detailsDialog.setBackupVisible(true);
  1598. } else {
  1599. this.$message.error("订单获取失败");
  1600. }
  1601. });
  1602. },
  1603. // 设置每页条数
  1604. applyhandleSizeChange(val) {
  1605. this.pageSize = val;
  1606. this.pageNum = 1;
  1607. this.pageRequest.pageNum = 1;
  1608. this.pageRequest.pageSize = val;
  1609. this.findPage();
  1610. },
  1611. // 当前页
  1612. applyhandleCurrentChange(val) {
  1613. this.pageNum = val;
  1614. this.pageRequest.pageNum = val;
  1615. this.findPage();
  1616. },
  1617. handleRowChange(row) {
  1618. if (!row.expanded) {
  1619. this.$api.letter.querySonOrders({ orderNo: row.orderno }).then(res => {
  1620. if (res.code == '200' && res.data.length != 0) {
  1621. this.pageResult.map(item => {
  1622. if (item.orderno === row.orderno) {
  1623. item.insAreaCompanyList = res.data;
  1624. }
  1625. return item;
  1626. })
  1627. row.expanded = !row.expanded;
  1628. this.$refs.expandTable.toggleRowExpansion(row, row.expanded);
  1629. } else {
  1630. this.$message.info("暂无数据");
  1631. }
  1632. })
  1633. } else {
  1634. row.expanded = !row.expanded;
  1635. this.$refs.expandTable.toggleRowExpansion(row, row.expanded);
  1636. }
  1637. },
  1638. //数据
  1639. findPage() {
  1640. this.loading = true;
  1641. this.$api.task.queryPageOrder(this.pageRequest).then((res) => {
  1642. if (res.code == "200") {
  1643. this.loading = false;
  1644. this.pageResult = res.data.content;
  1645. this.pageNum = res.data.pageNum;
  1646. this.totalSize = res.data.totalSize;
  1647. this.pageResult.forEach(val => {
  1648. this.$set(val, "expanded", false);
  1649. });
  1650. } else {
  1651. this.loading = false;
  1652. }
  1653. })
  1654. },
  1655. //查询
  1656. onSubmit() {
  1657. this.pageRequest.pageNum = 1;
  1658. this.pageRequest.pageSize = 20;
  1659. this.findPage();
  1660. },
  1661. //时间js
  1662. monthChange(e) {
  1663. if (e === null) {
  1664. this.pageRequest.startDate = e;
  1665. this.pageRequest.endDate = e;
  1666. } else {
  1667. this.pageRequest.startDate = e[0];
  1668. this.pageRequest.endDate = e[1];
  1669. }
  1670. },
  1671. }
  1672. }
  1673. </script>
  1674. <style lang="scss" scoped>
  1675. /deep/ {
  1676. .el-table .row-expand-cover .cell .el-table__expand-icon {
  1677. display: none;
  1678. }
  1679. .el-descriptions__body {
  1680. padding: 10px 50px;
  1681. box-sizing: border-box;
  1682. color: rgb(226, 118, 10);
  1683. }
  1684. .el-descriptions-item__label {
  1685. &:not(.is-bordered-label) {
  1686. color: #333;
  1687. }
  1688. }
  1689. .saomazhifucodeClass .el-dialog__body,
  1690. .saomazhifucodeClass .el-dialog__header {
  1691. padding: 0;
  1692. }
  1693. .el-input.is-disabled .el-input__inner {
  1694. color: #333;
  1695. }
  1696. }
  1697. .ORcodebody {
  1698. width: 100%;
  1699. height: auto;
  1700. box-sizing: border-box;
  1701. }
  1702. .code_title {
  1703. width: 100%;
  1704. height: 50px;
  1705. background-color: #fdcb08;
  1706. justify-content: center;
  1707. }
  1708. .code_title>span {
  1709. font-size: 22px;
  1710. color: #000;
  1711. font-weight: bold;
  1712. }
  1713. .ORcode {
  1714. width: 100%;
  1715. background: #fff;
  1716. height: auto;
  1717. display: flex;
  1718. justify-content: center;
  1719. align-items: center;
  1720. padding: 30px;
  1721. box-sizing: border-box;
  1722. border-bottom: 6px dotted #fdcb08;
  1723. }
  1724. .ORcode>div {
  1725. width: 180px;
  1726. height: 180px;
  1727. border: 1px solid #000;
  1728. border-radius: 5px;
  1729. }
  1730. .ORtitle {
  1731. background: #fff;
  1732. width: 100%;
  1733. padding: 20px;
  1734. box-sizing: border-box;
  1735. border-bottom: 1px solid #f2f2f2;
  1736. }
  1737. .ORtitle>div {
  1738. width: 100%;
  1739. margin: 10px 0;
  1740. font-weight: bold;
  1741. font-size: 14px;
  1742. display: flex;
  1743. align-items: center;
  1744. }
  1745. .ORtitle>div>span:nth-child(1) {
  1746. color: #979797;
  1747. text-align: end;
  1748. width: 150px;
  1749. }
  1750. .ORtitle>div>span:nth-child(2) {
  1751. color: #000;
  1752. margin-left: 10px;
  1753. }
  1754. </style>
  1755. <style scoped>
  1756. #qqq {
  1757. background-color: #111;
  1758. width: 300px;
  1759. height: 300px;
  1760. margin: 0 auto;
  1761. /*水平居中*/
  1762. position: relative;
  1763. }
  1764. #qrCode {
  1765. display: inline-block;
  1766. margin: 0 auto;
  1767. /*水平居中*/
  1768. position: relative;
  1769. top: 15%;
  1770. }
  1771. #qrCode img {
  1772. width: 200px;
  1773. height: 200px;
  1774. background-color: #fff;
  1775. padding: 6px;
  1776. }
  1777. .leftContainer {
  1778. width: 80px;
  1779. position: fixed;
  1780. top: 79px;
  1781. left: 30px;
  1782. }
  1783. .leftContainer .el-col {
  1784. width: 80px;
  1785. height: 80px;
  1786. border-bottom: 1px solid #4d5c6f;
  1787. background: #526176;
  1788. cursor: pointer;
  1789. color: #a6aeb9;
  1790. border-radius: 0;
  1791. }
  1792. .leftContainer .el-col a {
  1793. display: block;
  1794. color: #a6aeb9;
  1795. text-decoration: none;
  1796. }
  1797. .leftContainer .el-col a:hover {
  1798. color: #fff;
  1799. }
  1800. .leftContainer .el-col a.active {
  1801. color: #fff;
  1802. }
  1803. .leftContainer .el-col i {
  1804. font-size: 30px;
  1805. margin: 15px 0px 5px;
  1806. }
  1807. .rightContainer {
  1808. width: calc(100vw - 160px);
  1809. margin-left: 100px;
  1810. }
  1811. .rightContainer .header .el-col {
  1812. font-size: 18px;
  1813. font-weight: bold;
  1814. }
  1815. .rightContainer .bodyTitle {
  1816. height: 40px;
  1817. background: #f3f3f3;
  1818. border: 1px solid #dddddd;
  1819. }
  1820. .rightContainer .bodyTitle>label {
  1821. margin: 0px 15px;
  1822. font-weight: bold;
  1823. }
  1824. .rightContainer #demo2 .body,
  1825. .rightContainer #demo6 .body {
  1826. border: 1px solid #ddd;
  1827. padding: 15px;
  1828. border-top: none;
  1829. }
  1830. .rightContainer .el-card {
  1831. margin-bottom: 15px;
  1832. }
  1833. .body .el-row .el-col label {
  1834. text-align: right;
  1835. width: 80px;
  1836. font-size: 14px;
  1837. width: 100%;
  1838. line-height: 36px;
  1839. display: inline-block;
  1840. box-sizing: border-box;
  1841. }
  1842. .disabledInput {
  1843. width: 80% !important;
  1844. background-color: #f5f7fa;
  1845. text-align: center !important;
  1846. max-width: 200px;
  1847. border: 1px solid #e4e7ed;
  1848. color: #c0c4cc;
  1849. cursor: not-allowed;
  1850. border-radius: 4px;
  1851. box-sizing: border-box;
  1852. padding: 0px 10px;
  1853. height: 36px;
  1854. margin: 20px 10%;
  1855. }
  1856. /* 上传图片样式Start */
  1857. .avatar-uploader .el-upload {
  1858. border: 1px dashed #d9d9d9;
  1859. border-radius: 6px;
  1860. cursor: pointer;
  1861. position: relative;
  1862. overflow: hidden;
  1863. }
  1864. .avatar-uploader .el-upload:hover {
  1865. border-color: #409eff;
  1866. }
  1867. .avatar-uploader-icon {
  1868. font-size: 28px;
  1869. color: #8c939d;
  1870. width: 100px;
  1871. height: 100px;
  1872. line-height: 100px;
  1873. text-align: center;
  1874. border: 1px dashed #d9d9d9;
  1875. }
  1876. .avatar {
  1877. border: 1px dashed #d9d9d9;
  1878. padding: 5px;
  1879. border-radius: 6px;
  1880. width: 100px;
  1881. height: 100px;
  1882. display: block;
  1883. }
  1884. .imageStyle {
  1885. display: inline-block;
  1886. width: 100px;
  1887. height: 100px;
  1888. box-shadow: #ddd 0px 0px 5px;
  1889. margin-right: 20px;
  1890. }
  1891. /* 上传图片样式End */
  1892. .dis {
  1893. display: flex;
  1894. }
  1895. .align {
  1896. align-items: center;
  1897. }
  1898. .jus {
  1899. justify-content: space-between;
  1900. }
  1901. .display {
  1902. display: flex;
  1903. justify-content: center;
  1904. align-items: center;
  1905. padding: 10px;
  1906. box-sizing: border-box;
  1907. }
  1908. .block {
  1909. margin-top: 10px;
  1910. }
  1911. .page {
  1912. padding: 14px;
  1913. box-sizing: border-box;
  1914. }
  1915. .el-select--medium {
  1916. vertical-align: bottom !important;
  1917. }
  1918. .widths {
  1919. width: 220px;
  1920. }
  1921. .demo-table-expand {
  1922. width: 100%;
  1923. height: auto;
  1924. padding: 10px 50px;
  1925. font-size: 14px;
  1926. }
  1927. .demo-table-expand-time {
  1928. width: 600px;
  1929. }
  1930. .demo-table-expand-time>div {
  1931. margin: 0 10px;
  1932. }
  1933. .icon-img {
  1934. display: block;
  1935. width: 30px;
  1936. height: 30px;
  1937. }
  1938. .Enclosure {
  1939. width: 100%;
  1940. background-color: #fff;
  1941. padding: 20px;
  1942. box-sizing: border-box;
  1943. margin-bottom: 15px;
  1944. border-radius: 6px;
  1945. border: 1px solid #ebeef5;
  1946. transition: all 0.2s ease-in-out;
  1947. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  1948. }
  1949. .headers {
  1950. display: flex;
  1951. align-items: center;
  1952. justify-content: space-between;
  1953. flex-wrap: wrap;
  1954. margin: 5px 0;
  1955. font-weight: bold;
  1956. color: #333;
  1957. }
  1958. /* 内容待定 */
  1959. .headers_Custom>div {
  1960. padding: 20px 40px;
  1961. font-size: 16px;
  1962. }
  1963. .headers_Custom>div>span {
  1964. color: rgb(226, 118, 10);
  1965. }
  1966. .back {
  1967. color: #303133;
  1968. font-weight: 700;
  1969. }
  1970. .u-f-ac {
  1971. -webkit-box-align: center;
  1972. align-items: center;
  1973. /* padding: 10px; */
  1974. }
  1975. .bodyTitle {
  1976. height: 40px;
  1977. background: #f3f3f3;
  1978. border: 1px solid #dddddd;
  1979. line-height: 40px;
  1980. padding: 0 20px;
  1981. box-sizing: border-box;
  1982. }
  1983. .bjdbody {
  1984. width: 100%;
  1985. height: auto;
  1986. background-color: rgb(199, 20, 45);
  1987. padding: 20px 10px 0 10px;
  1988. box-sizing: border-box;
  1989. border-radius: 8px;
  1990. }
  1991. .bjdCarMessage,
  1992. .bjdCarSum {
  1993. width: 100%;
  1994. height: auto;
  1995. background-color: #fff;
  1996. border-radius: 8px;
  1997. margin-bottom: 10px;
  1998. padding-bottom: 10px;
  1999. }
  2000. .bjdfooter {
  2001. border-top: 1px solid #fff;
  2002. padding: 10px;
  2003. box-sizing: border-box;
  2004. color: #fff;
  2005. }
  2006. .bjdCarSum>div {
  2007. width: 100%;
  2008. padding: 15px 20px;
  2009. box-sizing: border-box;
  2010. font-weight: bold;
  2011. color: #000;
  2012. border-bottom: 1px solid #f2f2f2;
  2013. }
  2014. .bjdCarMessage1 {
  2015. height: 80px;
  2016. padding: 16px;
  2017. box-sizing: border-box;
  2018. border-bottom: 1px solid #f2f2f2;
  2019. display: flex;
  2020. align-items: center;
  2021. color: #000;
  2022. }
  2023. .bjdCarMessage1>.f-c>span:nth-child(1) {
  2024. font-size: 18px;
  2025. font-weight: bold;
  2026. }
  2027. .bjdCarMessage1>img,
  2028. .bjdfooter>img {
  2029. margin-right: 30px;
  2030. }
  2031. .bjdCarMessage1 .f-c>span:nth-child(2),
  2032. .bjdCarMessage1 .f-c>span:nth-child(3) {
  2033. font-size: 12px;
  2034. margin-top: 5px;
  2035. }
  2036. .bjdCarMessage2_car>span:nth-child(1) {
  2037. color: #000;
  2038. font-weight: bold;
  2039. }
  2040. .bjdCarMessage2_car>span:nth-child(2) {
  2041. color: #999;
  2042. }
  2043. .bjdCarMessage2>ul>li {
  2044. margin: 20px 0;
  2045. }
  2046. .Risk {
  2047. width: 100%;
  2048. height: auto;
  2049. display: flex;
  2050. flex-direction: column;
  2051. align-items: center;
  2052. font-size: 12px;
  2053. }
  2054. .Risk_title {
  2055. width: 100%;
  2056. height: 40px;
  2057. }
  2058. .Risk_title>div {
  2059. background: rgb(199, 20, 45);
  2060. color: rgb(255, 255, 255);
  2061. height: 100%;
  2062. font-weight: 500;
  2063. width: 33.3%;
  2064. padding: 10px 20px;
  2065. box-sizing: border-box;
  2066. border: #fff solid 1px;
  2067. display: flex;
  2068. justify-content: center;
  2069. align-items: center;
  2070. border-bottom: none;
  2071. }
  2072. .Risk_title>div:nth-child(2) {
  2073. border-left: none;
  2074. border-right: none;
  2075. }
  2076. .Risk_data {
  2077. width: 100%;
  2078. height: 40px;
  2079. }
  2080. .Risk_data>div {
  2081. background: #fbf6f7;
  2082. color: rgb(51, 51, 51);
  2083. height: 100%;
  2084. font-weight: 500;
  2085. width: 33.3%;
  2086. padding: 10px 20px;
  2087. box-sizing: border-box;
  2088. border: #fff solid 1px;
  2089. display: flex;
  2090. justify-content: center;
  2091. align-items: center;
  2092. border-bottom: none;
  2093. }
  2094. .Risk_data>div :nth-child(2) {
  2095. border-left: none;
  2096. border-right: none;
  2097. }
  2098. .Risk_title>div :nth-child(3) {
  2099. border-top-right-radius: 10px;
  2100. }
  2101. .jyxStyle>span {
  2102. display: inline-block;
  2103. text-align: center;
  2104. }
  2105. .FeeEnclosure /deep/ table {
  2106. width: 100% !important;
  2107. }
  2108. .FeeEnclosure /deep/ .cell {
  2109. text-align: center;
  2110. }
  2111. .FeeEnclosure /deep/ .el-table__empty-block {
  2112. width: 100% !important;
  2113. }
  2114. .FeeEnclosure .feeadjust-input {
  2115. width: 35%;
  2116. height: 20px;
  2117. font-size: 13px;
  2118. }
  2119. </style>