移动端
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

1114 řádky
22 KiB

  1. import request from '@/utils/request'
  2. // 查询固定资产列表
  3. export function permanentList(query) {
  4. return request({
  5. url: '/asset/permanent/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询一张图
  11. export function pictureList(query) {
  12. return request({
  13. url: '/open/villageAffairs/public/picturePublicList',
  14. method: 'get',
  15. params: query
  16. })
  17. }
  18. // 新增一张图
  19. export function pictureAdd(data) {
  20. return request({
  21. url: '/subcontract/picture/add',
  22. method: 'post',
  23. data: data
  24. })
  25. }
  26. // 修改一张图
  27. export function pictureEdit(data) {
  28. return request({
  29. url: '/subcontract/picture/edit',
  30. method: 'post',
  31. data: data
  32. })
  33. }
  34. // 删除一张图
  35. export function pictureRemove(id) {
  36. return request({
  37. url: '/subcontract/picture/remove/' + id,
  38. method: 'get'
  39. })
  40. }
  41. // 一张图详情
  42. export function pictureGet(query) {
  43. return request({
  44. url: '/open/villageAffairs/public/picturePublicDetail',
  45. method: 'get',
  46. params: query
  47. })
  48. }
  49. // 查询合同
  50. export function otherPublicList(query) {
  51. return request({
  52. url: '/open/villageAffairs/public/otherPublicList',
  53. method: 'get',
  54. params: query
  55. })
  56. }
  57. // 合同详情
  58. export function otherPublicDetail(query) {
  59. return request({
  60. url: '/open/villageAffairs/public/otherPublicDetail',
  61. method: 'get',
  62. params: query
  63. })
  64. }
  65. // 删除合同
  66. export function otherRemove(id) {
  67. return request({
  68. url: '/subcontract/other/remove/' + id,
  69. method: 'get'
  70. })
  71. }
  72. // 新增一张图
  73. export function otherAdd(data) {
  74. return request({
  75. url: '/subcontract/other/add',
  76. method: 'post',
  77. data: data
  78. })
  79. }
  80. // 修改一张图
  81. export function otherEdit(data) {
  82. return request({
  83. url: '/subcontract/other/edit',
  84. method: 'post',
  85. data: data
  86. })
  87. }
  88. // 复制公开信息
  89. export function otherCopy(data) {
  90. return request({
  91. url: '/subcontract/other/copy',
  92. method: 'post',
  93. data: data
  94. });
  95. }
  96. // 查询合同信息列表
  97. export function contractionList(query) {
  98. return request({
  99. url: '/contraction/info/list',
  100. method: 'get',
  101. params: query
  102. })
  103. }
  104. // 新增固定资产
  105. export function addPermanent(data) {
  106. return request({
  107. url: '/asset/permanent/add',
  108. method: 'post',
  109. data: data
  110. })
  111. }
  112. // 查询固定资产详细
  113. export function getPermanent(id) {
  114. return request({
  115. url: '/asset/permanent/get/' + id,
  116. method: 'get'
  117. })
  118. }
  119. // 修改固定资产
  120. export function updatePermanent(data) {
  121. return request({
  122. url: '/asset/permanent/edit',
  123. method: 'post',
  124. data: data
  125. })
  126. }
  127. // 删除固定资产
  128. export function delPermanent(id) {
  129. return request({
  130. url: '/asset/permanent/remove/' + id,
  131. method: 'get'
  132. })
  133. }
  134. //上传全局方法附件
  135. export function commonAttach(data) {
  136. return request({
  137. url: '/common/attach',
  138. method: 'post',
  139. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  140. data: data
  141. })
  142. }
  143. //上传全局方法附件
  144. export function commonUpload(data) {
  145. return request({
  146. url: '/common/upload',
  147. method: 'post',
  148. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  149. data: data
  150. })
  151. }
  152. //查询已上传附件
  153. export const attachmentList = (data) => {
  154. return request({
  155. url: '/system/attachment/query',
  156. method: 'get',
  157. params: data
  158. })
  159. }
  160. //删除已上传附件
  161. export function systemAttachment(ids) {
  162. if (ids != undefined) {
  163. return request({
  164. url: '/system/attachment/remove/' + ids,
  165. method: 'get'
  166. })
  167. }
  168. }
  169. // 新增合同信息
  170. export function addInfo(data) {
  171. return request({
  172. url: '/contraction/info/add',
  173. method: 'post',
  174. data: data
  175. })
  176. }
  177. // 查询合同信息详细
  178. export function getInfo(id) {
  179. return request({
  180. url: '/contraction/info/get/' + id,
  181. method: 'get'
  182. })
  183. }
  184. // 删除合同信息
  185. export function delInfo(id) {
  186. return request({
  187. url: '/contraction/info/remove/' + id,
  188. method: 'get'
  189. })
  190. }
  191. // 修改合同信息
  192. export function updateInfo(data) {
  193. return request({
  194. url: '/contraction/info/edit',
  195. method: 'post',
  196. data: data
  197. })
  198. }
  199. // 财务公开列表
  200. export function financePublicList(query) {
  201. return request({
  202. url: '/open/villageAffairs/public/financePublicList',
  203. method: 'get',
  204. params: query
  205. })
  206. }
  207. // 零工公开列表
  208. export function tempWorkerPublicList(query) {
  209. return request({
  210. url: '/open/villageAffairs/public/tempWorkerPublicList',
  211. method: 'get',
  212. params: query
  213. })
  214. }
  215. // 重大事项公开列表
  216. export function majorEventPublicList(query) {
  217. return request({
  218. url: '/open/villageAffairs/public/majorEventPublicList',
  219. method: 'get',
  220. params: query
  221. })
  222. }
  223. // 财务公开详情
  224. export function financePublicDetail(query) {
  225. return request({
  226. url: '/open/villageAffairs/public/financePublicDetail',
  227. method: 'get',
  228. params: query
  229. })
  230. }
  231. // 零工公开详情
  232. export function tempWorkerPublicDetail(query) {
  233. return request({
  234. url: '/open/villageAffairs/public/tempWorkerPublicDetail',
  235. method: 'get',
  236. params: query
  237. })
  238. }
  239. // 重大事项公开详情
  240. export function majorEventPublicDetail(query) {
  241. return request({
  242. url: '/open/villageAffairs/public/majorEventPublicDetail',
  243. method: 'get',
  244. params: query
  245. })
  246. }
  247. //获取区、镇、村地区
  248. export function treeselectByUser(query) {
  249. return request({
  250. url: '/system/dept/treeselectByUser',
  251. method: 'get',
  252. params: query
  253. })
  254. }
  255. // 查询部门下拉树结构
  256. export function treeselect() {
  257. return request({
  258. url: '/open/depositm/dept/treeselect',
  259. method: 'get'
  260. })
  261. }
  262. //获取账套列表
  263. export function listByDeptId(query) {
  264. return request({
  265. url: '/finance/book/listByDeptId',
  266. method: 'get',
  267. params: query
  268. })
  269. }
  270. // 切换部门
  271. export function changeDept(query) {
  272. return request({
  273. url: '/system/user/changeDept',
  274. method: 'get',
  275. params: query
  276. })
  277. }
  278. // 切换账套
  279. export function changeBook(query) {
  280. return request({
  281. url: '/system/user/changeBook',
  282. method: 'get',
  283. params: query
  284. })
  285. }
  286. // 财务公开新增
  287. export function openAdd(data) {
  288. return request({
  289. url: '/open/open/add',
  290. method: 'post',
  291. data: data
  292. })
  293. }
  294. // 财务公开修改
  295. export function openEdit(data) {
  296. return request({
  297. url: '/open/open/edit',
  298. method: 'post',
  299. data: data
  300. })
  301. }
  302. // 零工公开新增
  303. export function tempWorkerOpenAdd(data) {
  304. return request({
  305. url: '/subcontract/tempWorkerOpen/add',
  306. method: 'post',
  307. data: data
  308. })
  309. }
  310. // 零工公开修改
  311. export function tempWorkerOpenEdit(data) {
  312. return request({
  313. url: '/subcontract/tempWorkerOpen/edit',
  314. method: 'post',
  315. data: data
  316. })
  317. }
  318. // 重大事项新增
  319. export function majorEventOpenAdd(data) {
  320. return request({
  321. url: '/subcontract/majorEventOpen/add',
  322. method: 'post',
  323. data: data
  324. })
  325. }
  326. // 重大事项修改
  327. export function majorEventOpenEdit(data) {
  328. return request({
  329. url: '/subcontract/majorEventOpen/edit',
  330. method: 'post',
  331. data: data
  332. })
  333. }
  334. // 财务公开删除
  335. export function openRemove(id) {
  336. return request({
  337. url: '/open/open/remove/' + id,
  338. method: 'get'
  339. })
  340. }
  341. // 零工公开删除
  342. export function tempWorkerOpenRemove(id) {
  343. return request({
  344. url: '/subcontract/tempWorkerOpen/remove/' + id,
  345. method: 'get'
  346. })
  347. }
  348. // 零工公开删除
  349. export function majorEventOpenRemove(id) {
  350. return request({
  351. url: '/subcontract/majorEventOpen/remove/' + id,
  352. method: 'get'
  353. })
  354. }
  355. // 查询零工登记列表
  356. export function listOddjob(query) {
  357. return request({
  358. url: '/open/villageAffairs/public/oddjobList',
  359. method: 'get',
  360. params: query
  361. })
  362. }
  363. // 新增零工登记
  364. export function addOddjob(data) {
  365. return request({
  366. url: '/subcontract/oddjob/add',
  367. method: 'post',
  368. data: data
  369. })
  370. }
  371. // 修改零工登记
  372. export function updateOddjob(data) {
  373. return request({
  374. url: '/subcontract/oddjob/edit',
  375. method: 'post',
  376. data: data
  377. })
  378. }
  379. // 查询零工登记详细
  380. export function getOddjob(id) {
  381. return request({
  382. url: '/subcontract/oddjob/get/' + id,
  383. method: 'get'
  384. })
  385. }
  386. // 删除零工登记
  387. export function delOddjob(id) {
  388. return request({
  389. url: '/subcontract/oddjob/remove/' + id,
  390. method: 'get'
  391. })
  392. }
  393. // 财务公开榜
  394. export function financialAmountPublicMonthList(query) {
  395. return request({
  396. url: '/open/villageAffairs/public/financialAmountPublicMonthList',
  397. method: 'get',
  398. params: query // ?bookId=<账套ID 必填>&yearMonth=<查询年月 必填 yyyy-MM>
  399. })
  400. }
  401. // 查询用户个人信息
  402. export function getUserProfile() {
  403. return request({
  404. url: '/system/user/profile/get',
  405. method: 'get'
  406. })
  407. }
  408. // 修改用户个人信息
  409. export function updateUserProfile(data) {
  410. return request({
  411. url: '/system/user/profile/edit',
  412. method: 'post',
  413. data: data
  414. })
  415. }
  416. // 用户密码重置
  417. export function updateUserPwd(oldPassword, newPassword) {
  418. const data = {
  419. oldPassword,
  420. newPassword
  421. }
  422. return request({
  423. url: '/system/user/profile/updatePwd',
  424. method: 'post',
  425. params: data
  426. })
  427. }
  428. // 查询账套基本信息
  429. export function bookInfo(bookId) {
  430. return request({
  431. url: `/open/villageAffairs/public/bookInfo/${bookId}`,
  432. method: 'get',
  433. })
  434. }
  435. // 查询科目余额表 可分页 需授权
  436. export function trailBalanceList(query) {
  437. return request({
  438. url: '/finance/balance/list',
  439. method: 'get',
  440. params: query // ?startDate=<开始年月 yyyy-MM>&startSubjectId=<起始科目ID>&endSubjectId=<结束科目ID 如果需要查询单个科目 则设置为和startSubjectId一样即可>&filterZero=<bool 是否过滤掉余额为0结果>&showSubSubject=<bool 是否显示下级科目>&分页参数...
  441. })
  442. }
  443. export function getLoginBook() {
  444. return request({
  445. url: '/finance/book/getLoginBook',
  446. method: 'get'
  447. })
  448. }
  449. // 查询投票主题列表
  450. export function listPoll(deptId , query) {
  451. return request({
  452. url: `/open/villageAffairs/public/poll/list/${deptId}`,
  453. method: 'get',
  454. params: query
  455. })
  456. }
  457. // 姓名, 账套ID, 身份证, 返回里会有个id字段
  458. export function checkFarmer(data) {
  459. return request({
  460. url: '/register/checkFarmer',
  461. method: 'post',
  462. data: data,
  463. })
  464. }
  465. // 是否允许人脸验证
  466. export function allowFaceVerify() {
  467. return request({
  468. url: '/register/face/verified/allow',
  469. method: 'get'
  470. })
  471. }
  472. // 查询投票主题详细
  473. export function getPoll(id) {
  474. return request({
  475. url: `/open/villageAffairs/public/poll/detail/${id}`,
  476. method: 'get'
  477. })
  478. }
  479. // 投票 id为主题ID, option为投票选项ID, 多个用,分隔, userId为认证后的农户ID
  480. export function votePoll(id, data) {
  481. return request({
  482. url: `/open/villageAffairs/public/poll/vote/${id}`,
  483. method: 'post',
  484. params: data,
  485. })
  486. }
  487. // 新增投票主题
  488. export function addPoll(data) {
  489. return request({
  490. url: '/poll/poll/add',
  491. method: 'post',
  492. data: data
  493. })
  494. }
  495. // 修改投票主题
  496. export function updatePoll(data) {
  497. return request({
  498. url: '/poll/poll/edit',
  499. method: 'post',
  500. data: data
  501. })
  502. }
  503. // 删除投票主题
  504. export function delPoll(id) {
  505. return request({
  506. url: '/poll/poll/remove/' + id,
  507. method: 'get'
  508. })
  509. }
  510. // 发布投票主题
  511. export function publicPoll(id) {
  512. return request({
  513. url: '/poll/poll/publicPoll/'+ id,
  514. method: 'get'
  515. })
  516. }
  517. // 获取会计科目列表
  518. export const subjectData = (query) => {
  519. return request({
  520. url: '/finance/subject/listAll',
  521. method: 'get',
  522. params: query
  523. })
  524. }
  525. //普通明细账接口
  526. export function listNormalDetails(query) {
  527. return request({
  528. url: '/finance/balance/listNormalDetails',
  529. method: 'get',
  530. params: query
  531. })
  532. }
  533. //查询凭证信息明细
  534. export const voucherDetail = (data) => {
  535. return request({
  536. url: '/finance/voucher/detail',
  537. method: 'get',
  538. params: data
  539. })
  540. }
  541. //统计填报列表数据
  542. export const statisticsList = (data) => {
  543. return request({
  544. url: '/entity/statistics/list',
  545. method: 'get',
  546. params: data
  547. })
  548. }
  549. // 删除统计填报列表数据
  550. export function delStatisticsRemove(id) {
  551. return request({
  552. url: '/entity/statistics/remove/' + id,
  553. method: 'get'
  554. })
  555. }
  556. //统计填报 - 模板
  557. export const entityStatisticsTemplate = (data) => {
  558. return request({
  559. url: '/entity/statistics/entityStatisticsTemplate',
  560. method: 'get',
  561. params: data
  562. })
  563. }
  564. //统计填报 -保存模板
  565. export const entityStatisticsSave = (data) => {
  566. return request({
  567. url: '/entity/statistics/save',
  568. method: 'post',
  569. data: data
  570. })
  571. }
  572. //统计填报 - 编辑
  573. export const entityStatisticsDetail = (id) => {
  574. return request({
  575. url: '/entity/statistics/detail/'+id,
  576. method: 'get'
  577. })
  578. }
  579. //阳光村务请求菜单
  580. export function menus(query) {
  581. return request({
  582. url: '/system/mobile/menus',
  583. method: 'get',
  584. params: query
  585. })
  586. }
  587. //阳光村务请求菜单
  588. export function nologinMenus(query) {
  589. return request({
  590. url: '/open/system/mobile/nologinMenus',
  591. method: 'get',
  592. params: query
  593. })
  594. }
  595. //公章
  596. export function current(query) {
  597. return request({
  598. url: '/system/dept/get/current',
  599. method: 'get',
  600. params: query
  601. })
  602. }
  603. //公章
  604. export function updateSeal(data) {
  605. return request({
  606. url: '/system/dept/updateSeal/seal',
  607. method: 'post',
  608. data: data
  609. })
  610. }
  611. //公章
  612. export function updateSeal2(data) {
  613. return request({
  614. url: '/system/dept/updateSeal/seal2',
  615. method: 'post',
  616. data: data
  617. })
  618. }
  619. //甲方合同网签
  620. export function contractFirstList(query) {
  621. return request({
  622. url: '/transaction/contract/firstList',
  623. method: 'get',
  624. params: query
  625. })
  626. }
  627. //乙方合同网签
  628. export function contractSecondList(query) {
  629. return request({
  630. url: '/transaction/contract/secondList',
  631. method: 'get',
  632. params: query
  633. })
  634. }
  635. //签名
  636. export function signFirst(data,id) {
  637. return request({
  638. url: '/transaction/contract/sign/first/'+id,
  639. method: 'post',
  640. data: data
  641. })
  642. }
  643. //签名
  644. export function signSecond(data,id) {
  645. return request({
  646. url: '/transaction/contract/sign/second/'+id,
  647. method: 'post',
  648. data: data
  649. })
  650. }
  651. //甲方合同网签详情
  652. export function contractGet(query,id) {
  653. return request({
  654. url: '/transaction/contract/get/'+id,
  655. method: 'get',
  656. params:query
  657. })
  658. }
  659. //线下合同附件列表
  660. export function contractFileList(id) {
  661. return request({
  662. url: '/transaction/website/contractFileList/id/'+id,
  663. method: 'get',
  664. })
  665. }
  666. //线上合同预览
  667. export function previewContractFile(id) {
  668. return request({
  669. url: '/transaction/website/previewContractFile/id/'+id,
  670. method: 'get',
  671. })
  672. }
  673. // 查询多标段合同列表
  674. export function listMultiplelots(query) {
  675. return request({
  676. url: '/transaction/multiplelots/list',
  677. method: 'get',
  678. params: query
  679. })
  680. }
  681. // 查询多标段合同详情
  682. export function getMultiplelots(query, id) {
  683. return request({
  684. url: '/transaction/multiplelots/get/' + id,
  685. method: 'get',
  686. params: query
  687. })
  688. }
  689. // 标段合同甲方签字
  690. export function multipleLotsFirstSign(data, id) {
  691. return request({
  692. url: '/transaction/multiplelots/firstSign/' + id,
  693. method: 'post',
  694. data: data
  695. })
  696. }
  697. // 查询标段农户信息
  698. export function listMultipleLotsNh(query) {
  699. return request({
  700. url: '/open/home/mobile/multipleLotsNh/list',
  701. method: 'get',
  702. params: query
  703. })
  704. }
  705. // 查询标段农户详情
  706. export function getMultiplelotsNh(query, id) {
  707. return request({
  708. url: '/open/home/mobile/multipleLotsNh/get/' + id,
  709. method: 'get',
  710. params: query
  711. })
  712. }
  713. // 标段合同乙方签字
  714. export function multipleLotsSecondSign(data, id) {
  715. return request({
  716. url: '/open/home/mobile/multiplelotsnh/secondSign/' + id,
  717. method: 'post',
  718. data: data
  719. })
  720. }
  721. // 查询承包合同列表
  722. export function listCbht(query) {
  723. return request({
  724. url: '/service/cbht/list',
  725. method: 'get',
  726. params: query
  727. })
  728. }
  729. // 承包合同甲方签名
  730. export function cbhtFirstSign(data,id) {
  731. return request({
  732. url: '/open/home/mobile/cbht/sign/first/' + id,
  733. method: 'post',
  734. data: data
  735. })
  736. }
  737. // 签字流程归档
  738. export function signProcessArchive(id) {
  739. return request({
  740. url: '/service/cbht/sign/archive/' + id,
  741. method: 'get'
  742. });
  743. }
  744. // 签署合同下载
  745. export function signedContractDownload(id) {
  746. return request({
  747. url: '/open/villageAffairs/public/sign/download/' + id,
  748. method: 'get'
  749. });
  750. }
  751. // 签字合同预览
  752. export function viewSignedContract(id) {
  753. return request({
  754. url: '/open/villageAffairs/public/sign/view/' + id,
  755. method: 'get'
  756. });
  757. }
  758. // 查询承包合同详细
  759. export function getCbht(query, id) {
  760. return request({
  761. url: '/open/home/mobile/cbht/get/' + id,
  762. method: 'get',
  763. params: query
  764. })
  765. }
  766. // 查询承包方信息
  767. export function getCbf(idcard) {
  768. return request({
  769. url: '/open/home/mobile/cbf/get/' + idcard,
  770. method: 'get'
  771. })
  772. }
  773. // 查询承包合同信息
  774. export function getCbhtList(query) {
  775. return request({
  776. url: '/open/home/mobile/cbht/list',
  777. method: 'get',
  778. params: query
  779. })
  780. }
  781. // 承包合同乙方签名
  782. export function cbhtSecondSign(data,id) {
  783. return request({
  784. url: '/open/home/mobile/cbht/sign/second/' + id,
  785. method: 'post',
  786. data: data
  787. })
  788. }
  789. // 承包方公示结果签字
  790. export function updateGsjgSign(data) {
  791. return request({
  792. url: '/open/home/mobile/updateGsjgSign',
  793. method: 'post',
  794. data: data
  795. })
  796. }
  797. // 附件查询
  798. export function attachmentQuery(query) {
  799. return request({
  800. url: '/open/home/mobile/attach/query',
  801. method: 'get',
  802. params: query
  803. })
  804. }
  805. // 附件删除
  806. export function attachmentRemove(ids) {
  807. return request({
  808. url: '/open/home/mobile/attach/remove/' + ids,
  809. method: 'get'
  810. })
  811. }
  812. // 附件上传
  813. export function attachmentUpload(data) {
  814. return request({
  815. url: '/open/home/mobile/common/attach',
  816. method: 'post',
  817. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  818. data: data
  819. })
  820. }
  821. // 附件上传
  822. export function publicUpload(data) {
  823. return request({
  824. url: '/open/villageAffairs/public/upload',
  825. method: 'post',
  826. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  827. data: data
  828. })
  829. }
  830. // 投诉建议列表
  831. export function adviceList(query) {
  832. return request({
  833. url: '/open/villageAffairs/public/adviceList',
  834. method: 'get',
  835. params: query
  836. })
  837. }
  838. // 新增投诉建议
  839. export function addAdvice(data) {
  840. return request({
  841. url: '/open/villageAffairs/public/addAdvice',
  842. method: 'post',
  843. data: data
  844. })
  845. }
  846. // 投诉建议详情
  847. export function getAdvice(id) {
  848. return request({
  849. url: '/open/villageAffairs/public/getAdvice/'+id,
  850. method: 'get',
  851. })
  852. }
  853. // 留言板列表
  854. export function listMessage(query) {
  855. return request({
  856. url: '/open/villageAffairs/public/listMessage',
  857. method: 'get',
  858. params: query
  859. })
  860. }
  861. // 留言板新增
  862. export function addMessage(data) {
  863. return request({
  864. url: '/open/villageAffairs/public/addMessage',
  865. method: 'post',
  866. data: data
  867. })
  868. }
  869. // 留言板详情
  870. export function getMessage(id) {
  871. return request({
  872. url: '/open/villageAffairs/public/getMessage/'+id,
  873. method: 'get',
  874. })
  875. }
  876. //e签宝-发包方合同网签
  877. export function eqbFbfhtwq(data){
  878. return request({
  879. url: '/open/villageAffairs/public/eqbFbfhtwq',
  880. method: 'post',
  881. data: data
  882. })
  883. }
  884. //e签宝-发包方批量生成签署流程
  885. export function batchEqbContractSignProcess(data){
  886. return request({
  887. url: '/service/cbf/batchEqbContractSignProcess',
  888. method: 'post',
  889. data: data
  890. })
  891. }
  892. //e签宝-发包方批量签署
  893. export function batchEqbContractSigning(data){
  894. return request({
  895. url: '/service/cbf/batchEqbContractSigning',
  896. method: 'post',
  897. data: data
  898. })
  899. }
  900. //e签宝-批量归档
  901. export function batchContractCompleted() {
  902. return request({
  903. url:'/service/cbf/batchContractCompleted',
  904. method: 'post',
  905. })
  906. }
  907. //e签宝-合同网签
  908. export function eqbCbfhtwq(data){
  909. return request({
  910. url: '/open/villageAffairs/public/eqbCbfhtwq',
  911. method: 'post',
  912. data: data
  913. })
  914. }
  915. // 资源公开
  916. export function orcodeList(query) {
  917. return request({
  918. url: '/open/assetresource/orcode/list',
  919. method: 'get',
  920. params: query
  921. })
  922. }
  923. // 资产公开
  924. export function orcodeListZC(query) {
  925. return request({
  926. url: '/open/asset/orcode/list',
  927. method: 'get',
  928. params: query
  929. })
  930. }
  931. // 5、合同公开
  932. export function contractionListNew(query) {
  933. return request({
  934. url: '/open/contraction/list',
  935. method: 'get',
  936. params: query
  937. })
  938. }
  939. export function listResource(query) {
  940. return request({
  941. url: '/asset/resource/list',
  942. method: 'get',
  943. params: query
  944. })
  945. }
  946. export function getResource(id) {
  947. return request({
  948. url: '/asset/resource/get/' + id,
  949. method: 'get'
  950. })
  951. }
  952. // 资源新增
  953. export function addResource(data) {
  954. return request({
  955. url: '/asset/resource/add',
  956. method: 'post',
  957. data: data
  958. })
  959. }
  960. // 资源新增
  961. export function updateResource(data) {
  962. return request({
  963. url: '/asset/resource/edit',
  964. method: 'post',
  965. data: data
  966. })
  967. }
  968. // 删除资源性资产
  969. export function delResource(id) {
  970. return request({
  971. url: '/asset/resource/remove/' + id,
  972. method: 'get'
  973. })
  974. }
  975. export function faceVerification(data) {
  976. return request({
  977. url: '/register/face/verified',
  978. method: 'post',
  979. data:data
  980. })
  981. }
  982. // 查询当前账套固定资产空间数据
  983. export function getPermanentList(id) {
  984. return request({
  985. url: '/open/asset/getPermanentList/' + id,
  986. method: 'get'
  987. })
  988. }
  989. // 查询当前账套资源空间数据
  990. export function getResourceList(id) {
  991. return request({
  992. url: '/open/assetresource/getResourceList/' + id,
  993. method: 'get'
  994. })
  995. }
  996. export const openAttachmentList = (data) => {
  997. return request({
  998. url: '/open/attachment/query',
  999. method: 'get',
  1000. params: data
  1001. })
  1002. }
  1003. // 资产详情
  1004. export function assetDetail(id, parms) {
  1005. return request({
  1006. url: '/home/asset/v2/assetDetail/' + id,
  1007. method: 'get',
  1008. params: parms,
  1009. });
  1010. }
  1011. //资源详情
  1012. export function assetContractionDetail(id, parms) {
  1013. return request({
  1014. url: '/home/asset/v2/assetContractionDetail/' + id,
  1015. method: 'get',
  1016. params: parms,
  1017. });
  1018. }