task.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  1. import axios from '../axios'
  2. // 查询所有订单任务列表
  3. export const findPage = (data) => {
  4. return axios({
  5. url: '/order/taskPools/query',
  6. method: 'post',
  7. data
  8. })
  9. }
  10. //任务池操作校验
  11. export const checkOrdersEdit = (data) => {
  12. return axios({
  13. url: "/order/taskPools/checkCurrentUserEdit",
  14. method: "post",
  15. data
  16. })
  17. }
  18. // 根据任务号查询订单报价信息
  19. export const getOrderInfoByOrderno = (data) => {
  20. return axios({
  21. url: '/order/taskPools/queryOrderInfo',
  22. method: 'post',
  23. data
  24. })
  25. }
  26. //添加影像信息
  27. export const yonganImage = (data) => {
  28. return axios({
  29. url: '/api/yongan/UploadImage',
  30. method: 'post',
  31. data
  32. })
  33. }
  34. // 根据任务号查询影像信息
  35. export const findTaskImage = (data) => {
  36. return axios({
  37. url: 'insTaskImage/findById?imgtype=' + data.imgtype + '&taskid=' + data.taskid,
  38. method: 'get'
  39. })
  40. }
  41. //提交核保
  42. export const yonganAudit = (data) => {
  43. return axios({
  44. url: '/api/yongan/audit?orderno=' + data.orderno + '&jqappoint=' + data.jqappoint + '&syappoint=' + data.syappoint,
  45. method: 'post'
  46. })
  47. }
  48. //提交核保
  49. export const renbaoAudit = (data) => {
  50. return axios({
  51. url: '/api/insRenbao/audit?orderno=' + data.orderno + '&jqappoint=' + data.jqappoint + '&syappoint=' + data.syappoint,
  52. method: 'post'
  53. })
  54. }
  55. //核保审核
  56. export const saveAudit = (data) => {
  57. return axios({
  58. url: '/insOrder/saveAudit',
  59. method: 'post',
  60. data
  61. })
  62. }
  63. // 关闭订单
  64. export const closeOrderno = (data) => {
  65. return axios({
  66. url: '/insOrder/closeOrder?quoteno=' + data.quoteno,
  67. method: 'post'
  68. })
  69. }
  70. // 提交线下缴费
  71. export const savePayType = (data) => {
  72. return axios({
  73. url: '/insOrder/savePayType',
  74. method: 'post',
  75. data
  76. })
  77. }
  78. // 确认线下缴费
  79. export const savePayment = (data) => {
  80. return axios({
  81. url: '/insOrder/savePayment',
  82. method: 'post',
  83. data
  84. })
  85. }
  86. // 确认承保
  87. export const savePolicy = (data) => {
  88. return axios({
  89. url: '/insOrder/savePolicy',
  90. method: 'post',
  91. data
  92. })
  93. }
  94. // 费用清单查询(承保确认时会自动生成费用清单)
  95. export const insFeeFindPage = (data) => {
  96. return axios({
  97. url: '/insFeeDetail/findPage',
  98. method: 'post',
  99. data
  100. })
  101. }
  102. // 费用详细信息查询
  103. export const insFeeQueryDetail = (data) => {
  104. return axios({
  105. url: '/insFeeDetail/queryDetail?orderno=' + data,
  106. method: 'get'
  107. })
  108. }
  109. //审核费用
  110. export const feeAudit = (data) => {
  111. return axios({
  112. url: '/insFeeDetail/feeAudit?auditid=' + data.auditid + '&ordernos=' + data.ordernos,
  113. method: 'post',
  114. })
  115. }
  116. //保险公司费用结算查询
  117. export const queryInsCompanyFee = (data) => {
  118. return axios({
  119. url: '/insFeeDetail/queryInsCompanyFee',
  120. method: 'post',
  121. data
  122. })
  123. }
  124. //与保险公司结算凭证
  125. export const insFeeSettle = (data) => {
  126. return axios({
  127. url: '/insFeeDetail/insFeeSettle?ordernos=' + data.ordernos + '&settleno=' + data.settleno,
  128. method: 'post',
  129. })
  130. }
  131. //与业务人员结算凭证
  132. export const userFeeSettle = (data) => {
  133. return axios({
  134. url: '/insFeeDetail/userFeeSettle?ordernos=' + data,
  135. method: 'post',
  136. })
  137. }
  138. //与业务人员结算凭证
  139. export const payApplyFindPage = (data) => {
  140. return axios({
  141. url: '/insPayApply/findPage',
  142. method: 'post',
  143. data
  144. })
  145. }
  146. export const payqueryPage = (data) => {
  147. return axios({
  148. url: 'sysAmountAuditing/queryPage',
  149. method: 'post',
  150. data
  151. })
  152. }
  153. //可提现余额提现审核
  154. export const insPayApplyAudit = (data) => {
  155. return axios({
  156. url: '/insPayApply/saveAudit',
  157. method: 'post',
  158. data
  159. })
  160. }
  161. // 可提现余额查询
  162. export const payAccount = (data) => {
  163. return axios({
  164. url: '/insPayApply/payAccount?userid=' + data,
  165. method: 'get'
  166. })
  167. }
  168. //推广账户清单查询
  169. export const queryCommission = (data) => {
  170. return axios({
  171. url: '/insFeeDetail/queryCommission',
  172. method: 'post',
  173. data
  174. })
  175. }
  176. // 机构费用清单查询
  177. export const queryDeptFee = (data) => {
  178. return axios({
  179. url: '/insFeeDetail/queryDeptFee',
  180. method: 'post',
  181. data
  182. })
  183. }
  184. // 机构费用账户余额查询
  185. export const deptAccount = (data) => {
  186. return axios({
  187. url: '/insPayApply/deptAccount?deptid=' + data,
  188. method: 'get'
  189. })
  190. }
  191. // 提现申请
  192. export const deptApply = (data) => {
  193. return axios({
  194. url: '/insPayApply/deptApply?amount=' + data.amount + '&deptid=' + data.deptid,
  195. method: 'post'
  196. })
  197. }
  198. // 根据任务号查询订单轨迹信息
  199. export const queryOrderHistory = (data) => {
  200. return axios({
  201. url: '/insOrder/queryOrderHistory?orderno=' + data,
  202. method: 'post'
  203. })
  204. }
  205. // 任务规则保存
  206. export const insOrderSaveTask = (data) => {
  207. return axios({
  208. url: '/insOrderTask/saveTask',
  209. method: 'post',
  210. data
  211. })
  212. }
  213. // 任务规则分页查询
  214. export const insOrderTaskPage = (data) => {
  215. return axios({
  216. url: '/insOrderTask/findPage',
  217. method: 'post',
  218. data
  219. })
  220. }
  221. // 任务转发
  222. export const forwarding = (data) => {
  223. return axios({
  224. url: '/order/taskPools/forwarding',
  225. method: 'post',
  226. data
  227. })
  228. }
  229. //上传保单
  230. export const uploadMore = (dirId, data) => {
  231. return axios({
  232. url: '/insFile/uploadMore?dirId=' + dirId,
  233. method: 'post',
  234. data
  235. })
  236. }
  237. //下载保单
  238. export const queryUploadList = (dirId) => {
  239. return axios({
  240. url: '/insFile/queryList?dirId=' + dirId,
  241. method: 'get'
  242. })
  243. }
  244. //删除保单
  245. export const deleteFile = (fileId) => {
  246. return axios({
  247. url: '/insFile/deleteFile?fileId=' + fileId,
  248. method: 'get'
  249. })
  250. }
  251. // 机构余额查询
  252. export const deptAccountPage = (data) => {
  253. return axios({
  254. url: '/insPayApply/deptAccountPage',
  255. method: 'post',
  256. data
  257. })
  258. }
  259. export const sysDeptAccountPage = (data) => {
  260. return axios({
  261. url: '/sysDeptAccount/sysDeptAccountPage',
  262. method: 'post',
  263. data
  264. })
  265. }
  266. // 账户余额分页查询
  267. export const findPageAccount = (data) => {
  268. return axios({
  269. url: '/insPayApply/findPageAccount',
  270. method: 'post',
  271. data
  272. })
  273. }
  274. export const findPageAccountPro = (data) => {
  275. return axios({
  276. url: '/sysUserAccount/queryPage',
  277. method: 'post',
  278. data
  279. })
  280. }
  281. // 证件识别
  282. export const imgAI = (data) => {
  283. return axios({
  284. url: '/api/huanong/imgAI',
  285. method: 'post',
  286. data
  287. })
  288. }
  289. // vin校验
  290. export const vinModelQuery = (data) => {
  291. return axios({
  292. url: '/api/tianan/modelQuery',
  293. method: 'post',
  294. data
  295. })
  296. }
  297. // 华农车辆实际价值
  298. export const huanongActualValue = (data) => {
  299. return axios({
  300. url: '/api/huanong/actualValue',
  301. method: 'post',
  302. data
  303. })
  304. }
  305. // 华农报价
  306. export const huanongQuote = (data) => {
  307. return axios({
  308. url: '/api/huanong/quote',
  309. method: 'post',
  310. data
  311. })
  312. }
  313. // 恒邦车辆实际价值
  314. export const hengbangActualValue = (data) => {
  315. return axios({
  316. url: '/api/hengbang/actualValue',
  317. method: 'post',
  318. data
  319. })
  320. }
  321. // 恒邦报价
  322. export const hengbangQuote = (data) => {
  323. return axios({
  324. url: '/api/hengbang/quote',
  325. method: 'post',
  326. data
  327. })
  328. }
  329. // 恒邦报价
  330. export const zhongmeiQuote = (data) => {
  331. return axios({
  332. url: '/zm/QuotedPrice',
  333. method: 'post',
  334. data
  335. })
  336. }
  337. // 天安报价
  338. export const tiananQuote = (data) => {
  339. return axios({
  340. url: '/api/tianan/quote',
  341. method: 'post',
  342. data
  343. })
  344. }
  345. // 导出Excel文件
  346. export const excelExport = (data) => {
  347. return axios({
  348. url: '/excel/v1/**',
  349. method: "post",
  350. data
  351. })
  352. }
  353. export const AmountReview = (data) => {
  354. return axios({
  355. url: 'sysAmountAuditing/AmountReview',
  356. method: "put",
  357. data
  358. })
  359. }
  360. //导入excel文件
  361. export const uploadExcel = (data, type) => {
  362. return axios({
  363. url: '/excel/uploadExcel?type=' + type,
  364. method: 'post',
  365. data
  366. })
  367. }
  368. //查询excel数据
  369. export const queryZMExcel = (data) => {
  370. return axios({
  371. url: '/excel/queryZMExcel',
  372. method: 'post',
  373. data
  374. })
  375. }
  376. //订单认领
  377. export const claimOrder = (data) => {
  378. return axios({
  379. url: '/excel/ClaimOrder',
  380. method: 'post',
  381. data
  382. })
  383. }
  384. //上传线下订单
  385. export const uploadOfflineExcel = (data) => {
  386. return axios({
  387. url: 'excel/uploadOfflineExcel',
  388. method: 'post',
  389. data
  390. })
  391. }
  392. //查询线下订单
  393. export const queryOfflineExcel = (data) => {
  394. return axios({
  395. url: 'excel/queryOfflineExcel',
  396. method: 'post',
  397. data
  398. })
  399. }
  400. //导出线下订单
  401. export const findOfflineExcel = (data) => {
  402. return axios({
  403. url: 'excel/findOfflineExcel',
  404. method: 'post',
  405. data
  406. })
  407. }
  408. //删除线下订单
  409. export const deleteExcel = (data) => {
  410. return axios({
  411. url: 'excel/delete',
  412. method: 'post',
  413. data
  414. })
  415. }
  416. //更新线下订单
  417. export const updateExcel = (data) => {
  418. return axios({
  419. url: 'excel/update',
  420. method: 'post',
  421. data
  422. })
  423. }
  424. //图表查询
  425. export const tongJiOffline = (data) => {
  426. return axios({
  427. url: 'excel/tongJiOffline',
  428. method: 'post',
  429. data
  430. })
  431. }
  432. // 对账系统批量结算
  433. export const batchUpdate = (data, flag) => {
  434. return axios({
  435. url: '/excel/batchUpdate?flag=' + flag,
  436. method: 'post',
  437. data
  438. })
  439. }
  440. //导入查询
  441. export const daoruchaxun = (data) => {
  442. return axios({
  443. url: '/excel/uploadOfflineFile_query',
  444. method: 'post',
  445. data
  446. })
  447. }
  448. //批量修改
  449. export const piliangupdate = (data) => {
  450. return axios({
  451. url: '/excel/batchUpdate_other',
  452. method: 'post',
  453. data
  454. })
  455. }
  456. export const addorder = (data) => {
  457. return axios({
  458. url: "/insOrder/addOrder",
  459. method: "post",
  460. data
  461. })
  462. }
  463. export const updateorder = (data) => {
  464. return axios({
  465. url: "/insOrder/updateOrder",
  466. method: "post",
  467. data
  468. })
  469. }
  470. //渠道结算模块
  471. export const payableStatement = (data) => {
  472. return axios({
  473. url: '/inv/payableStatement/import',
  474. method: 'post',
  475. data
  476. })
  477. }
  478. export const payableStatementList = (pageNum, pageSize) => {
  479. return axios({
  480. url: '/inv/payableStatement?pageNum=' + pageNum + '&pageSize=' + pageSize,
  481. method: 'get',
  482. })
  483. }
  484. //轮播图模块
  485. export const banneradd = (data) => {
  486. return axios({
  487. url: "/sys/carouse",
  488. method: "post",
  489. data
  490. })
  491. }
  492. export const bannerQuery = () => {
  493. return axios({
  494. url: "/sys/carouse",
  495. method: "get",
  496. })
  497. }
  498. export const bannerDelete = (id) => {
  499. return axios({
  500. url: "/sys/carouse/" + id,
  501. method: "delete",
  502. })
  503. }
  504. export const bannerPut = (data, id) => {
  505. return axios({
  506. url: "/sys/carouse/" + id,
  507. method: "put",
  508. data
  509. })
  510. }
  511. export const insZhongmeiverifyPayment = (data) => {
  512. return axios({
  513. url: "/insZhongmei/verifyPayment",
  514. method: "post",
  515. data
  516. })
  517. }
  518. export const esmInsCompanyselectList = (data) => {
  519. return axios({
  520. url: "/esmInsCompany/selectList",
  521. method: "post",
  522. data
  523. })
  524. }
  525. //订单查询接口
  526. export const queryPageOrder = (data) => {
  527. return axios({
  528. url: "/fnc/carSettle/queryPageOrder",
  529. method: "post",
  530. data
  531. })
  532. }
  533. //审核页面查询接口
  534. export const feeDetail = (data) => {
  535. return axios({
  536. url: "/fnc/carSettle/feeDetail",
  537. method: "post",
  538. data
  539. })
  540. }
  541. //审核接口
  542. export const auditFee = (data) => {
  543. return axios({
  544. url: "/fnc/carSettle/auditFee",
  545. method: "post",
  546. data
  547. })
  548. }
  549. // 海报列表接口
  550. export const posterList = (data) => {
  551. return axios({
  552. url: '/sysPoster/posterList',
  553. method: 'post',
  554. data
  555. })
  556. }
  557. // 添加海报接口
  558. export const addPoster = (data) => {
  559. return axios({
  560. url: '/sysPoster/addPoster',
  561. method: "post",
  562. data
  563. })
  564. }
  565. // 删除海报接口
  566. export const delPoster = (data) => {
  567. return axios({
  568. url: '/sysPoster/delPoster?id=' + data,
  569. method: "post",
  570. })
  571. }
  572. // ** 财务对账--应收应付 */
  573. //插入渠道账户
  574. export const channelAccountAdd = (data) => {
  575. return axios({
  576. url: '/InvChannelAccount/insertAccount',
  577. method: "post",
  578. data
  579. })
  580. }
  581. //删除渠道账户
  582. export const channelAccountDelete = (data) => {
  583. return axios({
  584. url: '/InvChannelAccount/' + data,
  585. method: "delete",
  586. })
  587. }
  588. //修改渠道列表
  589. export const channelAccountUpdate = (data) => {
  590. return axios({
  591. url: '/InvChannelAccount/updateAccount',
  592. method: "post",
  593. data
  594. })
  595. }
  596. //获取渠道列表
  597. export const channelAccountQuery = (data) => {
  598. return axios({
  599. url: '/InvChannelAccount/getAccount',
  600. method: "post",
  601. data
  602. })
  603. }
  604. //获取应收结果
  605. export const accountsResult = (data,data1) => {
  606. return axios({
  607. url: '/InsReceivable/receivableResult?yearMonthStr=' + data+'&insuranceId='+data1,
  608. method: "get",
  609. })
  610. }
  611. //获取签单日期结算来源表
  612. export const signingSourceResult = (data,data1) => {
  613. return axios({
  614. url: '/InsReceivable/signingSourceResult?yearMonthStr=' + data+'&insuranceId='+data1,
  615. method: "get",
  616. })
  617. }
  618. //获取结算日期结算来源表
  619. export const settlementSourceResult = (data,data1) => {
  620. return axios({
  621. url: '/InsReceivable/settlementSourceResult?yearMonthStr=' + data+'&insuranceId='+data1,
  622. method: "get",
  623. })
  624. }
  625. //结算来源表导入
  626. export const settlementExcel = (data) => {
  627. return axios({
  628. url: "/SettlementSource/excel?file=" + data,
  629. method: "get",
  630. })
  631. }
  632. //结算来源数据查询
  633. export const settlementExcelpage = (data) => {
  634. return axios({
  635. url: "/InsReceivable/settlementPage",
  636. method: "post",
  637. data
  638. })
  639. }
  640. //结算来源修改
  641. export const settlementUpdate = (data) => {
  642. return axios({
  643. url: "/InsReceivable/updateSettlement",
  644. method: "post",
  645. data
  646. })
  647. }
  648. //来源表导入
  649. export const SourceExcel = (data) => {
  650. return axios({
  651. url: "/Source/excel?file=" + data,
  652. method: "get",
  653. })
  654. }
  655. //来源表导入
  656. export const SourceExcelPage = (data) => {
  657. return axios({
  658. url: "/InsReceivable/receivablePage",
  659. method: "post",
  660. data
  661. })
  662. }
  663. //来源修改
  664. export const SourceUpdate = (data) => {
  665. return axios({
  666. url: "/InsReceivable/receivableUpdates",
  667. method: "post",
  668. data
  669. })
  670. }
  671. //应收应付表
  672. export const receivableAndSettlement = (data) => {
  673. return axios({
  674. url: "/InsReceivable/receivableAndSettlement",
  675. method: "post",
  676. data
  677. })
  678. }
  679. //应收表导出
  680. export const sourceExport = (data) => {
  681. return axios({
  682. url: "/InsReceivable/exportReceivable",
  683. method: "post",
  684. data
  685. })
  686. }
  687. //应收表批量删除
  688. export const sourcedeletes = (data) => {
  689. return axios({
  690. url: "/InsReceivable/deleteReceivable",
  691. method: "post",
  692. data
  693. })
  694. }
  695. //应收表批量修改
  696. export const sourceUpdates = (data) => {
  697. return axios({
  698. url: "/InsReceivable/receivableUpdateBatch",
  699. method: "post",
  700. data
  701. })
  702. }
  703. //结算导出
  704. export const SettlementExport = (data) => {
  705. return axios({
  706. url: "/InsReceivable/exportSettlement",
  707. method: "post",
  708. data
  709. })
  710. }
  711. //结算导出
  712. export const SettlementAdd = (data) => {
  713. return axios({
  714. url: "/InsReceivable/addSettlement",
  715. method: "post",
  716. data
  717. })
  718. }
  719. //结算表批量修改
  720. export const SettlementUpdates = (data) => {
  721. return axios({
  722. url: "/InsReceivable/updateSettlementBatch",
  723. method: "post",
  724. data
  725. })
  726. }
  727. //导出应收应付表
  728. export const excelReceivableAndSettlementExport = (data) => {
  729. return axios({
  730. url: "/InsReceivable/excelReceivableAndSettlement",
  731. method: "post",
  732. data
  733. })
  734. }
  735. //应收表新增
  736. export const sourceaddReceivable = (data) => {
  737. return axios({
  738. url: "/InsReceivable/addReceivable",
  739. method: "post",
  740. data
  741. })
  742. }
  743. //应收表单条数据删除
  744. export const sourcedeleteReceivable = (data) => {
  745. return axios({
  746. url: "/InsReceivable/deleteReceivable",
  747. method: "post",
  748. data
  749. })
  750. }
  751. //结算数据导入后是否匹配
  752. export const isVisibledataMatching = () => {
  753. return axios({
  754. url: "/InsReceivable/dataMatching",
  755. method: "get",
  756. })
  757. }
  758. //结算表批量删除
  759. export const SettlementDeletes = (data) => {
  760. return axios({
  761. url: "/InsReceivable/deleteSettlement",
  762. method: "post",
  763. data
  764. })
  765. }
  766. //获取应收模板
  767. export const sourceTemplate = () => {
  768. return axios({
  769. url: "/InsReceivable/getAccountsReceivable",
  770. method: "get",
  771. })
  772. }
  773. //获取结算模板
  774. export const settlementTemplate = () => {
  775. return axios({
  776. url: "/InsReceivable/getSettlement",
  777. method: "get",
  778. })
  779. }
  780. // 保险公司结算-手续费结算页面列表
  781. export const plyFeequery = (data) => {
  782. return axios({
  783. url: "/fnc/plyFee/query",
  784. method: "post",
  785. data
  786. })
  787. }
  788. // 保险公司结算-手续费结算页面-结算接口
  789. export const plyFeebalance = (data) => {
  790. return axios({
  791. url: "/fnc/plyFee/balance",
  792. method: "put",
  793. data
  794. })
  795. }
  796. // 保险公司结算-非跟单结算页面列表
  797. export const settlementFees = (data) => {
  798. return axios({
  799. url: "/fnc/SettlementFees/query",
  800. method: "post",
  801. data
  802. })
  803. }
  804. // 保险公司结算-非跟单结算页面查询批量手续费结算
  805. export const totalQuery = (data) => {
  806. return axios({
  807. url: "/fnc/plyFee/totalQuery",
  808. method: "post",
  809. data
  810. })
  811. }
  812. // 保险公司结算-非跟单结算页面批量手续费结算保存
  813. export const batchBalance = (data) => {
  814. return axios({
  815. url: "/fnc/plyFee/batchBalance",
  816. method: "put",
  817. data
  818. })
  819. }
  820. // 保险公司结算-非跟单结算页面单行结算保存
  821. export const documentarySettle = (data) => {
  822. return axios({
  823. url: "/fnc/SettlementFees/documentarySettle",
  824. method: "put",
  825. data
  826. })
  827. }