Verifyuntasks.vue 69 KB

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