Verifyintasks.vue 73 KB

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