task.js 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378
  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: '/ins/feeOrderNewDistribution/queryPage',
  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 withdrawDeptAccount = (data) => {
  268. return axios({
  269. url: '/sysDeptAccount/withdrawDeptAccount',
  270. method: 'post',
  271. data
  272. })
  273. }
  274. // 账户余额分页查询
  275. export const findPageAccount = (data) => {
  276. return axios({
  277. url: '/insPayApply/findPageAccount',
  278. method: 'post',
  279. data
  280. })
  281. }
  282. export const findPageAccountPro = (data) => {
  283. return axios({
  284. url: '/sysUserAccount/queryPage',
  285. method: 'post',
  286. data
  287. })
  288. }
  289. // 证件识别
  290. export const imgAI = (data) => {
  291. return axios({
  292. url: '/api/huanong/imgAI',
  293. method: 'post',
  294. data
  295. })
  296. }
  297. // vin校验
  298. export const vinModelQuery = (data) => {
  299. return axios({
  300. url: '/api/tianan/modelQuery',
  301. method: 'post',
  302. data
  303. })
  304. }
  305. // 华农车辆实际价值
  306. export const huanongActualValue = (data) => {
  307. return axios({
  308. url: '/api/huanong/actualValue',
  309. method: 'post',
  310. data
  311. })
  312. }
  313. // 华农报价
  314. export const huanongQuote = (data) => {
  315. return axios({
  316. url: '/api/huanong/quote',
  317. method: 'post',
  318. data
  319. })
  320. }
  321. // 恒邦车辆实际价值
  322. export const hengbangActualValue = (data) => {
  323. return axios({
  324. url: '/api/hengbang/actualValue',
  325. method: 'post',
  326. data
  327. })
  328. }
  329. // 恒邦报价
  330. export const hengbangQuote = (data) => {
  331. return axios({
  332. url: '/api/hengbang/quote',
  333. method: 'post',
  334. data
  335. })
  336. }
  337. // 恒邦报价
  338. export const zhongmeiQuote = (data) => {
  339. return axios({
  340. url: '/zm/QuotedPrice',
  341. method: 'post',
  342. data
  343. })
  344. }
  345. // 天安报价
  346. export const tiananQuote = (data) => {
  347. return axios({
  348. url: '/api/tianan/quote',
  349. method: 'post',
  350. data
  351. })
  352. }
  353. // 导出Excel文件
  354. export const excelExport = (data) => {
  355. return axios({
  356. url: '/excel/v1/**',
  357. method: "post",
  358. data
  359. })
  360. }
  361. export const AmountReview = (data) => {
  362. return axios({
  363. url: 'sysAmountAuditing/AmountReview',
  364. method: "put",
  365. data
  366. })
  367. }
  368. //导入excel文件
  369. export const uploadExcel = (data, type) => {
  370. return axios({
  371. url: '/excel/uploadExcel?type=' + type,
  372. method: 'post',
  373. data
  374. })
  375. }
  376. //查询excel数据
  377. export const queryZMExcel = (data) => {
  378. return axios({
  379. url: '/excel/queryZMExcel',
  380. method: 'post',
  381. data
  382. })
  383. }
  384. //订单认领
  385. export const claimOrder = (data) => {
  386. return axios({
  387. url: '/excel/ClaimOrder',
  388. method: 'post',
  389. data
  390. })
  391. }
  392. //上传线下订单
  393. export const uploadOfflineExcel = (data) => {
  394. return axios({
  395. url: 'excel/uploadOfflineExcel',
  396. method: 'post',
  397. data
  398. })
  399. }
  400. //查询线下订单
  401. export const queryOfflineExcel = (data) => {
  402. return axios({
  403. url: 'excel/queryOfflineExcel',
  404. method: 'post',
  405. data
  406. })
  407. }
  408. //导出线下订单
  409. export const findOfflineExcel = (data) => {
  410. return axios({
  411. url: 'excel/findOfflineExcel',
  412. method: 'post',
  413. data
  414. })
  415. }
  416. //删除线下订单
  417. export const deleteExcel = (data) => {
  418. return axios({
  419. url: 'excel/delete',
  420. method: 'post',
  421. data
  422. })
  423. }
  424. //更新线下订单
  425. export const updateExcel = (data) => {
  426. return axios({
  427. url: 'excel/update',
  428. method: 'post',
  429. data
  430. })
  431. }
  432. //图表查询
  433. export const tongJiOffline = (data) => {
  434. return axios({
  435. url: 'excel/tongJiOffline',
  436. method: 'post',
  437. data
  438. })
  439. }
  440. // 对账系统批量结算
  441. export const batchUpdate = (data, flag) => {
  442. return axios({
  443. url: '/excel/batchUpdate?flag=' + flag,
  444. method: 'post',
  445. data
  446. })
  447. }
  448. //导入查询
  449. export const daoruchaxun = (data) => {
  450. return axios({
  451. url: '/excel/uploadOfflineFile_query',
  452. method: 'post',
  453. data
  454. })
  455. }
  456. //批量修改
  457. export const piliangupdate = (data) => {
  458. return axios({
  459. url: '/excel/batchUpdate_other',
  460. method: 'post',
  461. data
  462. })
  463. }
  464. export const addorder = (data) => {
  465. return axios({
  466. url: "/insOrder/addOrder",
  467. method: "post",
  468. data
  469. })
  470. }
  471. export const updateorder = (data) => {
  472. return axios({
  473. url: "/insOrder/updateOrder",
  474. method: "post",
  475. data
  476. })
  477. }
  478. //渠道结算模块
  479. export const payableStatement = (data) => {
  480. return axios({
  481. url: '/inv/payableStatement/import',
  482. method: 'post',
  483. data
  484. })
  485. }
  486. export const payableStatementList = (pageNum, pageSize) => {
  487. return axios({
  488. url: '/inv/payableStatement?pageNum=' + pageNum + '&pageSize=' + pageSize,
  489. method: 'get',
  490. })
  491. }
  492. //轮播图模块
  493. export const banneradd = (data) => {
  494. return axios({
  495. url: "/sys/carouse",
  496. method: "post",
  497. data
  498. })
  499. }
  500. export const bannerQuery = () => {
  501. return axios({
  502. url: "/sys/carouse",
  503. method: "get",
  504. })
  505. }
  506. export const bannerDelete = (id) => {
  507. return axios({
  508. url: "/sys/carouse/" + id,
  509. method: "delete",
  510. })
  511. }
  512. export const bannerPut = (data, id) => {
  513. return axios({
  514. url: "/sys/carouse/" + id,
  515. method: "put",
  516. data
  517. })
  518. }
  519. export const insZhongmeiverifyPayment = (data) => {
  520. return axios({
  521. url: "/insZhongmei/verifyPayment",
  522. method: "post",
  523. data
  524. })
  525. }
  526. export const esmInsCompanyselectList = (data) => {
  527. return axios({
  528. url: "/esmInsCompany/selectList",
  529. method: "post",
  530. data
  531. })
  532. }
  533. //订单查询接口
  534. export const queryPageOrder = (data) => {
  535. return axios({
  536. url: "/fnc/carSettle/queryPageOrder",
  537. method: "post",
  538. data
  539. })
  540. }
  541. //审核页面查询接口
  542. export const feeDetail = (data) => {
  543. return axios({
  544. url: "/fnc/carSettle/feeDetail",
  545. method: "post",
  546. data
  547. })
  548. }
  549. //审核接口
  550. export const auditFee = (data) => {
  551. return axios({
  552. url: "/fnc/carSettle/auditFee",
  553. method: "post",
  554. data
  555. })
  556. }
  557. //订单审核费用调整
  558. export const costsadjust = (data) => {
  559. return axios({
  560. url: "/plt/new/agreement/costs/adjust",
  561. method: "post",
  562. data
  563. })
  564. }
  565. // 海报列表接口
  566. export const posterList = (data) => {
  567. return axios({
  568. url: '/sysPoster/posterList',
  569. method: 'post',
  570. data
  571. })
  572. }
  573. // 添加海报接口
  574. export const addPoster = (data) => {
  575. return axios({
  576. url: '/sysPoster/addPoster',
  577. method: "post",
  578. data
  579. })
  580. }
  581. // 删除海报接口
  582. export const delPoster = (data) => {
  583. return axios({
  584. url: '/sysPoster/delPoster?id=' + data,
  585. method: "post",
  586. })
  587. }
  588. // ** 财务对账--应收应付 */
  589. //插入渠道账户
  590. export const channelAccountAdd = (data) => {
  591. return axios({
  592. url: '/InvChannelAccount/insertAccount',
  593. method: "post",
  594. data
  595. })
  596. }
  597. //删除渠道账户
  598. export const channelAccountDelete = (data) => {
  599. return axios({
  600. url: '/InvChannelAccount/' + data,
  601. method: "delete",
  602. })
  603. }
  604. //修改渠道列表
  605. export const channelAccountUpdate = (data) => {
  606. return axios({
  607. url: '/InvChannelAccount/updateAccount',
  608. method: "post",
  609. data
  610. })
  611. }
  612. //获取渠道列表
  613. export const channelAccountQuery = (data) => {
  614. return axios({
  615. url: '/InvChannelAccount/getAccount',
  616. method: "post",
  617. data
  618. })
  619. }
  620. //获取应收结果
  621. export const accountsResult = (data,data1) => {
  622. return axios({
  623. url: '/InsReceivable/receivableResult?yearMonthStr=' + data+'&insuranceId='+data1,
  624. method: "get",
  625. })
  626. }
  627. //获取签单日期结算来源表
  628. export const signingSourceResult = (data,data1) => {
  629. return axios({
  630. url: '/InsReceivable/signingSourceResult?yearMonthStr=' + data+'&insuranceId='+data1,
  631. method: "get",
  632. })
  633. }
  634. //获取结算日期结算来源表
  635. export const settlementSourceResult = (data,data1) => {
  636. return axios({
  637. url: '/InsReceivable/settlementSourceResult?yearMonthStr=' + data+'&insuranceId='+data1,
  638. method: "get",
  639. })
  640. }
  641. //结算来源表导入
  642. export const settlementExcel = (data) => {
  643. return axios({
  644. url: "/SettlementSource/excel?file=" + data,
  645. method: "get",
  646. })
  647. }
  648. //结算来源数据查询
  649. export const settlementExcelpage = (data) => {
  650. return axios({
  651. url: "/InsReceivable/settlementPage",
  652. method: "post",
  653. data
  654. })
  655. }
  656. //结算来源修改
  657. export const settlementUpdate = (data) => {
  658. return axios({
  659. url: "/InsReceivable/updateSettlement",
  660. method: "post",
  661. data
  662. })
  663. }
  664. //来源表导入
  665. export const SourceExcel = (data) => {
  666. return axios({
  667. url: "/Source/excel?file=" + data,
  668. method: "get",
  669. })
  670. }
  671. //来源表导入
  672. export const SourceExcelPage = (data) => {
  673. return axios({
  674. url: "/InsReceivable/receivablePage",
  675. method: "post",
  676. data
  677. })
  678. }
  679. //来源修改
  680. export const SourceUpdate = (data) => {
  681. return axios({
  682. url: "/InsReceivable/receivableUpdates",
  683. method: "post",
  684. data
  685. })
  686. }
  687. //应收应付表
  688. export const receivableAndSettlement = (data) => {
  689. return axios({
  690. url: "/InsReceivable/receivableAndSettlement",
  691. method: "post",
  692. data
  693. })
  694. }
  695. //应收表导出
  696. export const sourceExport = (data) => {
  697. return axios({
  698. url: "/InsReceivable/exportReceivable",
  699. method: "post",
  700. data
  701. })
  702. }
  703. //应收表批量删除
  704. export const sourcedeletes = (data) => {
  705. return axios({
  706. url: "/InsReceivable/deleteReceivable",
  707. method: "post",
  708. data
  709. })
  710. }
  711. //应收表批量修改
  712. export const sourceUpdates = (data) => {
  713. return axios({
  714. url: "/InsReceivable/receivableUpdateBatch",
  715. method: "post",
  716. data
  717. })
  718. }
  719. //结算导出
  720. export const SettlementExport = (data) => {
  721. return axios({
  722. url: "/InsReceivable/exportSettlement",
  723. method: "post",
  724. data
  725. })
  726. }
  727. //结算导出
  728. export const SettlementAdd = (data) => {
  729. return axios({
  730. url: "/InsReceivable/addSettlement",
  731. method: "post",
  732. data
  733. })
  734. }
  735. //结算表批量修改
  736. export const SettlementUpdates = (data) => {
  737. return axios({
  738. url: "/InsReceivable/updateSettlementBatch",
  739. method: "post",
  740. data
  741. })
  742. }
  743. //导出应收应付表
  744. export const excelReceivableAndSettlementExport = (data) => {
  745. return axios({
  746. url: "/InsReceivable/excelReceivableAndSettlement",
  747. method: "post",
  748. data
  749. })
  750. }
  751. //应收表新增
  752. export const sourceaddReceivable = (data) => {
  753. return axios({
  754. url: "/InsReceivable/addReceivable",
  755. method: "post",
  756. data
  757. })
  758. }
  759. //应收表单条数据删除
  760. export const sourcedeleteReceivable = (data) => {
  761. return axios({
  762. url: "/InsReceivable/deleteReceivable",
  763. method: "post",
  764. data
  765. })
  766. }
  767. //结算数据导入后是否匹配
  768. export const isVisibledataMatching = () => {
  769. return axios({
  770. url: "/InsReceivable/dataMatching",
  771. method: "get",
  772. })
  773. }
  774. //结算表批量删除
  775. export const SettlementDeletes = (data) => {
  776. return axios({
  777. url: "/InsReceivable/deleteSettlement",
  778. method: "post",
  779. data
  780. })
  781. }
  782. //获取应收模板
  783. export const sourceTemplate = () => {
  784. return axios({
  785. url: "/InsReceivable/getAccountsReceivable",
  786. method: "get",
  787. })
  788. }
  789. //获取结算模板
  790. export const settlementTemplate = () => {
  791. return axios({
  792. url: "/InsReceivable/getSettlement",
  793. method: "get",
  794. })
  795. }
  796. // 保险公司结算-手续费结算页面列表
  797. export const plyFeequery = (data) => {
  798. return axios({
  799. url: "/fnc/plyFee/query",
  800. method: "post",
  801. data
  802. })
  803. }
  804. // 保险公司结算-手续费结算页面-结算接口
  805. export const plyFeebalance = (data) => {
  806. return axios({
  807. url: "/fnc/plyFee/balance",
  808. method: "put",
  809. data
  810. })
  811. }
  812. // 保险公司结算-非跟单结算页面列表
  813. export const settlementFees = (data) => {
  814. return axios({
  815. url: "/fnc/SettlementFees/query",
  816. method: "post",
  817. data
  818. })
  819. }
  820. // 保险公司结算-非跟单结算页面查询批量手续费结算
  821. export const totalQuery = (data) => {
  822. return axios({
  823. url: "/fnc/plyFee/totalQuery",
  824. method: "post",
  825. data
  826. })
  827. }
  828. // 保险公司结算-非跟单结算页面批量手续费结算保存
  829. export const batchBalance = (data) => {
  830. return axios({
  831. url: "/fnc/plyFee/batchBalance",
  832. method: "put",
  833. data
  834. })
  835. }
  836. // 保险公司结算-非跟单结算页面单行结算保存
  837. export const documentarySettle = (data) => {
  838. return axios({
  839. url: "/fnc/SettlementFees/documentarySettle",
  840. method: "put",
  841. data
  842. })
  843. }
  844. // 机构结算管理-提现待审核列表
  845. export const WithdrawqueryStatus = (data) => {
  846. return axios({
  847. url: "/sysDeptAccountWithdraw/queryStatus",
  848. method: "post",
  849. data
  850. })
  851. }
  852. // 机构结算管理-提现待审核审核接口
  853. export const withdraAaudit = (data) => {
  854. return axios({
  855. url: "/sysDeptAccountWithdraw/audit",
  856. method: "post",
  857. data
  858. })
  859. }
  860. // 机构结算管理-机构结算明细列表
  861. export const sysDeptAccountHistoryPage = (data) => {
  862. return axios({
  863. url: "/sysDeptAccountHistory/queryPage",
  864. method: "post",
  865. data
  866. })
  867. }
  868. //代客录单业务员列表接口
  869. export const getAllUsersByHospitality = (data) => {
  870. return axios({
  871. url: "/user/getAllUsersByHospitality",
  872. method: "post",
  873. data
  874. })
  875. }
  876. //代客录单订单列表接口
  877. export const queryPageHospitalityOrder = (data) => {
  878. return axios({
  879. url: "/insurance/order/queryPageHospitalityOrder",
  880. method: "post",
  881. data
  882. })
  883. }
  884. // 任务池(渠道)列表接口
  885. export const queryPageHospitalityByChannel = (data) => {
  886. return axios({
  887. url: "/insurance/order/queryPageHospitalityByChannel",
  888. method: "post",
  889. data
  890. })
  891. }
  892. // 任务池(代理人)列表接口
  893. export const queryPageHospitalityLinkagent = (data) => {
  894. return axios({
  895. url: "/insurance/order/queryPageHospitalityLinkagent",
  896. method: "post",
  897. data
  898. })
  899. }
  900. // 任务池(保险公司)列表接口
  901. export const queryPageHospitalityByInsuranceCompany = (data) => {
  902. return axios({
  903. url: "/insurance/order/queryPageHospitalityByInsuranceCompany",
  904. method: "post",
  905. data
  906. })
  907. }
  908. // 任务池(渠道、代理人、保险公司)转发人列表
  909. export const getCustomerUsers = (data) => {
  910. return axios({
  911. url: "/user/getCustomerUsers",
  912. method: "post",
  913. data
  914. })
  915. }
  916. // 任务池(渠道、代理人、保险公司)转发接口
  917. export const forwardingSubOrders = (data) => {
  918. return axios({
  919. url: "/order/taskPools/forwardingSubOrders",
  920. method: "post",
  921. data
  922. })
  923. }
  924. // 任务池(渠道、代理人、保险公司)收回接口
  925. export const taskPoolsRecover = (data) => {
  926. return axios({
  927. url: "/order/taskPools/recover",
  928. method: "post",
  929. data
  930. })
  931. }
  932. // 后线人员协议配置分页
  933. export const sysUserLinkPtlAgreementPage = (data) => {
  934. return axios({
  935. url: "/sysUserLinkPtlAgreement/queryPage",
  936. method: "post",
  937. data
  938. })
  939. }
  940. // 后线人员协议配置-后线人员列表
  941. export const findUserList = (params) => {
  942. return axios({
  943. url: "/sysUserLinkPtlAgreement/findUserList",
  944. method: "get",
  945. params
  946. })
  947. }
  948. // 后线人员协议配置-协议列表
  949. export const findPtlAgreementList = () => {
  950. return axios({
  951. url: "/sysUserLinkPtlAgreement/findPtlAgreementList",
  952. method: "get",
  953. })
  954. }
  955. // 后线人员协议配置-编辑
  956. export const findPtlAgreementListByUserId = (userId) => {
  957. return axios({
  958. url: "/sysUserLinkPtlAgreement/findPtlAgreementListByUserId/"+userId,
  959. method: "get",
  960. })
  961. }
  962. // 后线人员协议配置-新增
  963. export const addOrUpdate = (data) => {
  964. return axios({
  965. url: "/sysUserLinkPtlAgreement/addOrUpdate",
  966. method: "post",
  967. data
  968. })
  969. }
  970. // 后线人员协议配置-删除
  971. export const addOrDelete = (data) => {
  972. return axios({
  973. url: "/sysUserLinkPtlAgreement/delete",
  974. method: "post",
  975. data
  976. })
  977. }
  978. // 平台公司结算-车险结算、手续费结算列表
  979. export const plyFeeQuery = (data) => {
  980. return axios({
  981. url: "/fnc/plyFee/query",
  982. method: "post",
  983. data
  984. })
  985. }
  986. // 保险公司结算-跟单费接口列表
  987. export const NonSettlementQuery = (data) => {
  988. return axios({
  989. url: "/fnc/plyFee/NonSettlementQuery",
  990. method: "post",
  991. data
  992. })
  993. }
  994. export const NonSettldetail = (data) => {
  995. return axios({
  996. url: "/fnc/plyFee/NonSettldetail",
  997. method: "post",
  998. data
  999. })
  1000. }
  1001. export const plyFeeDelete = (data) => {
  1002. return axios({
  1003. url: "/fnc/plyFee/delete",
  1004. method: "Delete",
  1005. data
  1006. })
  1007. }
  1008. export const plyFeeUpload = (data) => {
  1009. return axios({
  1010. url: "/fnc/plyFee/update",
  1011. method: "put",
  1012. data
  1013. })
  1014. }
  1015. export const plyFeeUploadId = (id) => {
  1016. return axios({
  1017. url: "/fnc/plyFee/getById/"+id,
  1018. method: "get",
  1019. })
  1020. }
  1021. // 后线人员协议配置人员列表
  1022. export const findAllUserList = (data) => {
  1023. return axios({
  1024. url: "/sysUserLinkPtlAgreement/findAllUserList",
  1025. method: "post",
  1026. data
  1027. })
  1028. }
  1029. // 机构接口
  1030. export const findAllTree = () => {
  1031. return axios({
  1032. url: "/dept/findAllTree ",
  1033. method: "get",
  1034. })
  1035. }
  1036. // 平台结算-手续费合计
  1037. export const totalAmount = (data) => {
  1038. return axios({
  1039. url: "/fnc/plyFee/totalAmount",
  1040. method: "post",
  1041. data
  1042. })
  1043. }
  1044. export const batchPinBalance = (data) => {
  1045. return axios({
  1046. url: "/fnc/plyFee/batchPinBalance",
  1047. method: "put",
  1048. data
  1049. })
  1050. }
  1051. export const totalPinAmount = (data) => {
  1052. return axios({
  1053. url: "/fnc/plyFee/totalPinAmount",
  1054. method: "post",
  1055. data
  1056. })
  1057. }
  1058. //省市区门店数据获取
  1059. export const queryListByParentId = (type,value) => {
  1060. return axios({
  1061. url: `/dept/queryListByParentId/${type}/${value}`,
  1062. method: "get",
  1063. })
  1064. }
  1065. // 保险公司结算管理-车险
  1066. export const totalBxAmount = (data) => {
  1067. return axios({
  1068. url: "/fnc/plyFee/totalBxAmount",
  1069. method: "post",
  1070. data
  1071. })
  1072. }
  1073. export const batchBxBalancet = (data) => {
  1074. return axios({
  1075. url: "/fnc/plyFee/batchBxBalancet",
  1076. method: "put",
  1077. data
  1078. })
  1079. }
  1080. export const batchBxBalance = (data) => {
  1081. return axios({
  1082. url: "/fnc/plyFee/batchBxBalance",
  1083. method: "put",
  1084. data
  1085. })
  1086. }
  1087. export const batchInvoicing = (data) => {
  1088. return axios({
  1089. url: "/fnc/plyFee/batchInvoicing",
  1090. method: "put",
  1091. data
  1092. })
  1093. }
  1094. export const batchInvoic = (data) => {
  1095. return axios({
  1096. url: "/fnc/plyFee/batchInvoic",
  1097. method: "put",
  1098. data
  1099. })
  1100. }
  1101. export const allOtherAmount = (data) => {
  1102. return axios({
  1103. url: "/fnc/plyFee/allOtherAmount",
  1104. method: "post",
  1105. data
  1106. })
  1107. }
  1108. export const bxHandlingExcel = (data) => {
  1109. return axios({
  1110. url: "/fnc/plyFee/bxHandlingExcel",
  1111. method: "post",
  1112. data
  1113. })
  1114. }
  1115. export const bxOtherExcel = (data) => {
  1116. return axios({
  1117. url: "/fnc/plyFee/bxOtherExcel",
  1118. method: "post",
  1119. data
  1120. })
  1121. }
  1122. export const pinHandlingExcel = (data) => {
  1123. return axios({
  1124. url: "/fnc/plyFee/pinHandlingExcel",
  1125. method: "post",
  1126. data
  1127. })
  1128. }
  1129. export const importData = (data) => {
  1130. return axios({
  1131. url: "/fnc/plyFee/importData",
  1132. method: "post",
  1133. data
  1134. })
  1135. }
  1136. export const plyFeeUpdate = (data) => {
  1137. return axios({
  1138. url: "/fnc/plyFee/update",
  1139. method: "put",
  1140. data
  1141. })
  1142. }
  1143. export const plyFeeNonSettldetail = (data) => {
  1144. return axios({
  1145. url: "/fnc/plyFee/NonSettldetail",
  1146. method: "post",
  1147. data
  1148. })
  1149. }
  1150. export const plyFeeId = (id) => {
  1151. return axios({
  1152. url: "/fnc/plyFee/getById/" +id,
  1153. method: "get",
  1154. })
  1155. }
  1156. export const bxTotalAmount = (data) => {
  1157. return axios({
  1158. url: "/fnc/plyFee/bxTotalAmount",
  1159. method: "post",
  1160. data
  1161. })
  1162. }
  1163. export const bxImportData = (data) => {
  1164. return axios({
  1165. url: "/fnc/plyFee/bxImportData",
  1166. method: "post",
  1167. data
  1168. })
  1169. }
  1170. export const bxOtherDetailsExcel = (data) => {
  1171. return axios({
  1172. url: "/fnc/plyFee/bxOtherDetailsExcel",
  1173. method: "post",
  1174. data
  1175. })
  1176. }
  1177. export const bxNoOtherDetailsExcel = (data) => {
  1178. return axios({
  1179. url: "/fnc/plyFee/bxNoOtherDetailsExcel",
  1180. method: "post",
  1181. data
  1182. })
  1183. }
  1184. export const invicdetai = (data) => {
  1185. return axios({
  1186. url: "/fnc/plyFee/invicdetail",
  1187. method: "post",
  1188. data
  1189. })
  1190. }
  1191. export const otherSettldetail = (data) => {
  1192. return axios({
  1193. url: "/fnc/plyFee/otherSettldetail",
  1194. method: "post",
  1195. data
  1196. })
  1197. }
  1198. export const bxImportNoData = (data) => {
  1199. return axios({
  1200. url: "/fnc/plyFee/bxImportNoData",
  1201. method: "post",
  1202. data
  1203. })
  1204. }
  1205. export const getDockingPersonList = () => {
  1206. return axios({
  1207. url: "/plt/agreement/getDockingPersonList",
  1208. method: "get",
  1209. })
  1210. }
  1211. export const settlementFeesQuery = (data) => {
  1212. return axios({
  1213. url: "/fnc/SettlementFees/query",
  1214. method: "post",
  1215. data
  1216. })
  1217. }
  1218. export const otherTimeDetail = (data) => {
  1219. return axios({
  1220. url: "/fnc/plyFee/otherTimeDetail",
  1221. method: "post",
  1222. data
  1223. })
  1224. }
  1225. export const yaidlnvoicing = (data) => {
  1226. return axios({
  1227. url: "/fnc/SettlementFees/voidInvoicing",
  1228. method: "put",
  1229. data
  1230. })
  1231. }
  1232. export const singleInvoic = (data) => {
  1233. return axios({
  1234. url: "/fnc/plyFee/singleInvoic",
  1235. method: "put",
  1236. data
  1237. })
  1238. }
  1239. export const fncplyFeeQuery = (data) => {
  1240. return axios({
  1241. url: "/fnc/plyFee/query",
  1242. method: "post",
  1243. data
  1244. })
  1245. }
  1246. export const fncplyFeeInsert = (data) => {
  1247. return axios({
  1248. url: "/fnc/plyFee/insert",
  1249. method: "post",
  1250. data
  1251. })
  1252. }
  1253. export const queryPageBatchUpdate = (data) => {
  1254. return axios({
  1255. url: "/fnc/plyFee/batchUpdate",
  1256. method: "put",
  1257. data
  1258. })
  1259. }
  1260. export const getFeeAuditHistory = (orderno) => {
  1261. return axios({
  1262. url: "/fnc/carSettle/getFeeAuditHistory/" +orderno,
  1263. method: "get",
  1264. })
  1265. }
  1266. export const userBankQueryPage = (data) => {
  1267. return axios({
  1268. url: "/userBank/queryPage",
  1269. method: "post",
  1270. data
  1271. })
  1272. }
  1273. export const auditByBankNumber = (data) => {
  1274. return axios({
  1275. url: "/userBank/auditByBankNumber",
  1276. method: "post",
  1277. data
  1278. })
  1279. }
  1280. export const batchOrder = (data) => {
  1281. return axios({
  1282. url: "/insurance/order/batchOrder",
  1283. method: "post",
  1284. data
  1285. })
  1286. }
  1287. export const getBatchOrder = (params) => {
  1288. return axios({
  1289. url: "/insurance/order/getBatchOrder",
  1290. method: "get",
  1291. params
  1292. })
  1293. }
  1294. export const getBatchOrderList = (data) => {
  1295. return axios({
  1296. url: "/insurance/order/getBatchOrderList",
  1297. method: "post",
  1298. data
  1299. })
  1300. }
  1301. export const auditBatchOrder = (data) => {
  1302. return axios({
  1303. url: "/insurance/order/auditBatchOrder",
  1304. method: "post",
  1305. data
  1306. })
  1307. }
  1308. export const importAsyncQuery = (data) => {
  1309. return axios({
  1310. url: "/fnc/importAsync/query",
  1311. method: "post",
  1312. data
  1313. })
  1314. }