Verifyintasks.vue 71 KB

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