Verifyintasks.vue 73 KB

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