Verifyintasks.vue 74 KB

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