移动端
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

fixedAssets.js 18 KiB

há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 1 ano
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932
  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 contractionList(query) {
  90. return request({
  91. url: '/contraction/info/list',
  92. method: 'get',
  93. params: query
  94. })
  95. }
  96. // 新增固定资产
  97. export function addPermanent(data) {
  98. return request({
  99. url: '/asset/permanent/add',
  100. method: 'post',
  101. data: data
  102. })
  103. }
  104. // 查询固定资产详细
  105. export function getPermanent(id) {
  106. return request({
  107. url: '/asset/permanent/get/' + id,
  108. method: 'get'
  109. })
  110. }
  111. // 修改固定资产
  112. export function updatePermanent(data) {
  113. return request({
  114. url: '/asset/permanent/edit',
  115. method: 'post',
  116. data: data
  117. })
  118. }
  119. // 删除固定资产
  120. export function delPermanent(id) {
  121. return request({
  122. url: '/asset/permanent/remove/' + id,
  123. method: 'get'
  124. })
  125. }
  126. //上传全局方法附件
  127. export function commonAttach(data) {
  128. return request({
  129. url: '/common/attach',
  130. method: 'post',
  131. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  132. data: data
  133. })
  134. }
  135. //上传全局方法附件
  136. export function commonUpload(data) {
  137. return request({
  138. url: '/common/upload',
  139. method: 'post',
  140. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  141. data: data
  142. })
  143. }
  144. //查询已上传附件
  145. export const attachmentList = (data) => {
  146. return request({
  147. url: '/system/attachment/query',
  148. method: 'get',
  149. params: data
  150. })
  151. }
  152. //删除已上传附件
  153. export function systemAttachment(ids) {
  154. if (ids != undefined) {
  155. return request({
  156. url: '/system/attachment/remove/' + ids,
  157. method: 'get'
  158. })
  159. }
  160. }
  161. // 新增合同信息
  162. export function addInfo(data) {
  163. return request({
  164. url: '/contraction/info/add',
  165. method: 'post',
  166. data: data
  167. })
  168. }
  169. // 查询合同信息详细
  170. export function getInfo(id) {
  171. return request({
  172. url: '/contraction/info/get/' + id,
  173. method: 'get'
  174. })
  175. }
  176. // 删除合同信息
  177. export function delInfo(id) {
  178. return request({
  179. url: '/contraction/info/remove/' + id,
  180. method: 'get'
  181. })
  182. }
  183. // 修改合同信息
  184. export function updateInfo(data) {
  185. return request({
  186. url: '/contraction/info/edit',
  187. method: 'post',
  188. data: data
  189. })
  190. }
  191. // 财务公开列表
  192. export function financePublicList(query) {
  193. return request({
  194. url: '/open/villageAffairs/public/financePublicList',
  195. method: 'get',
  196. params: query
  197. })
  198. }
  199. // 零工公开列表
  200. export function tempWorkerPublicList(query) {
  201. return request({
  202. url: '/open/villageAffairs/public/tempWorkerPublicList',
  203. method: 'get',
  204. params: query
  205. })
  206. }
  207. // 重大事项公开列表
  208. export function majorEventPublicList(query) {
  209. return request({
  210. url: '/open/villageAffairs/public/majorEventPublicList',
  211. method: 'get',
  212. params: query
  213. })
  214. }
  215. // 财务公开详情
  216. export function financePublicDetail(query) {
  217. return request({
  218. url: '/open/villageAffairs/public/financePublicDetail',
  219. method: 'get',
  220. params: query
  221. })
  222. }
  223. // 零工公开详情
  224. export function tempWorkerPublicDetail(query) {
  225. return request({
  226. url: '/open/villageAffairs/public/tempWorkerPublicDetail',
  227. method: 'get',
  228. params: query
  229. })
  230. }
  231. // 重大事项公开详情
  232. export function majorEventPublicDetail(query) {
  233. return request({
  234. url: '/open/villageAffairs/public/majorEventPublicDetail',
  235. method: 'get',
  236. params: query
  237. })
  238. }
  239. //获取区、镇、村地区
  240. export function treeselectByUser(query) {
  241. return request({
  242. url: '/system/dept/treeselectByUser',
  243. method: 'get',
  244. params: query
  245. })
  246. }
  247. // 查询部门下拉树结构
  248. export function treeselect() {
  249. return request({
  250. url: '/open/depositm/dept/treeselect',
  251. method: 'get'
  252. })
  253. }
  254. //获取账套列表
  255. export function listByDeptId(query) {
  256. return request({
  257. url: '/finance/book/listByDeptId',
  258. method: 'get',
  259. params: query
  260. })
  261. }
  262. // 切换部门
  263. export function changeDept(query) {
  264. return request({
  265. url: '/system/user/changeDept',
  266. method: 'get',
  267. params: query
  268. })
  269. }
  270. // 切换账套
  271. export function changeBook(query) {
  272. return request({
  273. url: '/system/user/changeBook',
  274. method: 'get',
  275. params: query
  276. })
  277. }
  278. // 财务公开新增
  279. export function openAdd(data) {
  280. return request({
  281. url: '/open/open/add',
  282. method: 'post',
  283. data: data
  284. })
  285. }
  286. // 财务公开修改
  287. export function openEdit(data) {
  288. return request({
  289. url: '/open/open/edit',
  290. method: 'post',
  291. data: data
  292. })
  293. }
  294. // 零工公开新增
  295. export function tempWorkerOpenAdd(data) {
  296. return request({
  297. url: '/subcontract/tempWorkerOpen/add',
  298. method: 'post',
  299. data: data
  300. })
  301. }
  302. // 零工公开修改
  303. export function tempWorkerOpenEdit(data) {
  304. return request({
  305. url: '/subcontract/tempWorkerOpen/edit',
  306. method: 'post',
  307. data: data
  308. })
  309. }
  310. // 重大事项新增
  311. export function majorEventOpenAdd(data) {
  312. return request({
  313. url: '/subcontract/majorEventOpen/add',
  314. method: 'post',
  315. data: data
  316. })
  317. }
  318. // 重大事项修改
  319. export function majorEventOpenEdit(data) {
  320. return request({
  321. url: '/subcontract/majorEventOpen/edit',
  322. method: 'post',
  323. data: data
  324. })
  325. }
  326. // 财务公开删除
  327. export function openRemove(id) {
  328. return request({
  329. url: '/open/open/remove/' + id,
  330. method: 'get'
  331. })
  332. }
  333. // 零工公开删除
  334. export function tempWorkerOpenRemove(id) {
  335. return request({
  336. url: '/subcontract/tempWorkerOpen/remove/' + id,
  337. method: 'get'
  338. })
  339. }
  340. // 零工公开删除
  341. export function majorEventOpenRemove(id) {
  342. return request({
  343. url: '/subcontract/majorEventOpen/remove/' + id,
  344. method: 'get'
  345. })
  346. }
  347. // 查询零工登记列表
  348. export function listOddjob(query) {
  349. return request({
  350. url: '/open/villageAffairs/public/oddjobList',
  351. method: 'get',
  352. params: query
  353. })
  354. }
  355. // 新增零工登记
  356. export function addOddjob(data) {
  357. return request({
  358. url: '/subcontract/oddjob/add',
  359. method: 'post',
  360. data: data
  361. })
  362. }
  363. // 修改零工登记
  364. export function updateOddjob(data) {
  365. return request({
  366. url: '/subcontract/oddjob/edit',
  367. method: 'post',
  368. data: data
  369. })
  370. }
  371. // 查询零工登记详细
  372. export function getOddjob(id) {
  373. return request({
  374. url: '/subcontract/oddjob/get/' + id,
  375. method: 'get'
  376. })
  377. }
  378. // 删除零工登记
  379. export function delOddjob(id) {
  380. return request({
  381. url: '/subcontract/oddjob/remove/' + id,
  382. method: 'get'
  383. })
  384. }
  385. // 财务公开榜
  386. export function financialAmountPublicMonthList(query) {
  387. return request({
  388. url: '/open/villageAffairs/public/financialAmountPublicMonthList',
  389. method: 'get',
  390. params: query // ?bookId=<账套ID 必填>&yearMonth=<查询年月 必填 yyyy-MM>
  391. })
  392. }
  393. // 查询用户个人信息
  394. export function getUserProfile() {
  395. return request({
  396. url: '/system/user/profile/get',
  397. method: 'get'
  398. })
  399. }
  400. // 修改用户个人信息
  401. export function updateUserProfile(data) {
  402. return request({
  403. url: '/system/user/profile/edit',
  404. method: 'post',
  405. data: data
  406. })
  407. }
  408. // 用户密码重置
  409. export function updateUserPwd(oldPassword, newPassword) {
  410. const data = {
  411. oldPassword,
  412. newPassword
  413. }
  414. return request({
  415. url: '/system/user/profile/updatePwd',
  416. method: 'post',
  417. params: data
  418. })
  419. }
  420. // 查询账套基本信息
  421. export function bookInfo(bookId) {
  422. return request({
  423. url: `/open/villageAffairs/public/bookInfo/${bookId}`,
  424. method: 'get',
  425. })
  426. }
  427. // 查询科目余额表 可分页 需授权
  428. export function trailBalanceList(query) {
  429. return request({
  430. url: '/finance/balance/list',
  431. method: 'get',
  432. params: query // ?startDate=<开始年月 yyyy-MM>&startSubjectId=<起始科目ID>&endSubjectId=<结束科目ID 如果需要查询单个科目 则设置为和startSubjectId一样即可>&filterZero=<bool 是否过滤掉余额为0结果>&showSubSubject=<bool 是否显示下级科目>&分页参数...
  433. })
  434. }
  435. export function getLoginBook() {
  436. return request({
  437. url: '/finance/book/getLoginBook',
  438. method: 'get'
  439. })
  440. }
  441. // 查询投票主题列表
  442. export function listPoll(deptId , query) {
  443. return request({
  444. url: `/open/villageAffairs/public/poll/list/${deptId}`,
  445. method: 'get',
  446. params: query
  447. })
  448. }
  449. // 姓名, 账套ID, 身份证, 返回里会有个id字段
  450. export function checkFarmer(data) {
  451. return request({
  452. url: '/register/checkFarmer',
  453. method: 'post',
  454. data: data,
  455. })
  456. }
  457. // 查询投票主题详细
  458. export function getPoll(id) {
  459. return request({
  460. url: `/open/villageAffairs/public/poll/detail/${id}`,
  461. method: 'get'
  462. })
  463. }
  464. // 投票 id为主题ID, option为投票选项ID, 多个用,分隔, userId为认证后的农户ID
  465. export function votePoll(id, data) {
  466. return request({
  467. url: `/open/villageAffairs/public/poll/vote/${id}`,
  468. method: 'post',
  469. params: data,
  470. })
  471. }
  472. // 新增投票主题
  473. export function addPoll(data) {
  474. return request({
  475. url: '/poll/poll/add',
  476. method: 'post',
  477. data: data
  478. })
  479. }
  480. // 修改投票主题
  481. export function updatePoll(data) {
  482. return request({
  483. url: '/poll/poll/edit',
  484. method: 'post',
  485. data: data
  486. })
  487. }
  488. // 删除投票主题
  489. export function delPoll(id) {
  490. return request({
  491. url: '/poll/poll/remove/' + id,
  492. method: 'get'
  493. })
  494. }
  495. // 发布投票主题
  496. export function publicPoll(id) {
  497. return request({
  498. url: '/poll/poll/publicPoll/'+ id,
  499. method: 'get'
  500. })
  501. }
  502. // 获取会计科目列表
  503. export const subjectData = (query) => {
  504. return request({
  505. url: '/finance/subject/listAll',
  506. method: 'get',
  507. params: query
  508. })
  509. }
  510. //普通明细账接口
  511. export function listNormalDetails(query) {
  512. return request({
  513. url: '/finance/balance/listNormalDetails',
  514. method: 'get',
  515. params: query
  516. })
  517. }
  518. //查询凭证信息明细
  519. export const voucherDetail = (data) => {
  520. return request({
  521. url: '/finance/voucher/detail',
  522. method: 'get',
  523. params: data
  524. })
  525. }
  526. //统计填报列表数据
  527. export const statisticsList = (data) => {
  528. return request({
  529. url: '/entity/statistics/list',
  530. method: 'get',
  531. params: data
  532. })
  533. }
  534. // 删除统计填报列表数据
  535. export function delStatisticsRemove(id) {
  536. return request({
  537. url: '/entity/statistics/remove/' + id,
  538. method: 'get'
  539. })
  540. }
  541. //统计填报 - 模板
  542. export const entityStatisticsTemplate = (data) => {
  543. return request({
  544. url: '/entity/statistics/entityStatisticsTemplate',
  545. method: 'get',
  546. params: data
  547. })
  548. }
  549. //统计填报 -保存模板
  550. export const entityStatisticsSave = (data) => {
  551. return request({
  552. url: '/entity/statistics/save',
  553. method: 'post',
  554. data: data
  555. })
  556. }
  557. //统计填报 - 编辑
  558. export const entityStatisticsDetail = (id) => {
  559. return request({
  560. url: '/entity/statistics/detail/'+id,
  561. method: 'get'
  562. })
  563. }
  564. //阳光村务请求菜单
  565. export function menus(query) {
  566. return request({
  567. url: '/system/mobile/menus',
  568. method: 'get',
  569. params: query
  570. })
  571. }
  572. //阳光村务请求菜单
  573. export function nologinMenus(query) {
  574. return request({
  575. url: '/open/system/mobile/nologinMenus',
  576. method: 'get',
  577. params: query
  578. })
  579. }
  580. //公章
  581. export function current(query) {
  582. return request({
  583. url: '/system/dept/get/current',
  584. method: 'get',
  585. params: query
  586. })
  587. }
  588. //公章
  589. export function updateSeal(data) {
  590. return request({
  591. url: '/system/dept/updateSeal/seal',
  592. method: 'post',
  593. data: data
  594. })
  595. }
  596. //公章
  597. export function updateSeal2(data) {
  598. return request({
  599. url: '/system/dept/updateSeal/seal2',
  600. method: 'post',
  601. data: data
  602. })
  603. }
  604. //甲方合同网签
  605. export function contractFirstList(query) {
  606. return request({
  607. url: '/transaction/contract/firstList',
  608. method: 'get',
  609. params: query
  610. })
  611. }
  612. //乙方合同网签
  613. export function contractSecondList(query) {
  614. return request({
  615. url: '/transaction/contract/secondList',
  616. method: 'get',
  617. params: query
  618. })
  619. }
  620. //签名
  621. export function signFirst(data,id) {
  622. return request({
  623. url: '/transaction/contract/sign/first/'+id,
  624. method: 'post',
  625. data: data
  626. })
  627. }
  628. //签名
  629. export function signSecond(data,id) {
  630. return request({
  631. url: '/transaction/contract/sign/second/'+id,
  632. method: 'post',
  633. data: data
  634. })
  635. }
  636. //甲方合同网签详情
  637. export function contractGet(query,id) {
  638. return request({
  639. url: '/transaction/contract/get/'+id,
  640. method: 'get',
  641. params:query
  642. })
  643. }
  644. //线下合同附件列表
  645. export function contractFileList(id) {
  646. return request({
  647. url: '/transaction/website/contractFileList/id/'+id,
  648. method: 'get',
  649. })
  650. }
  651. //线上合同预览
  652. export function previewContractFile(id) {
  653. return request({
  654. url: '/transaction/website/previewContractFile/id/'+id,
  655. method: 'get',
  656. })
  657. }
  658. // 查询多标段合同列表
  659. export function listMultiplelots(query) {
  660. return request({
  661. url: '/transaction/multiplelots/list',
  662. method: 'get',
  663. params: query
  664. })
  665. }
  666. // 查询多标段合同详情
  667. export function getMultiplelots(query, id) {
  668. return request({
  669. url: '/transaction/multiplelots/get/' + id,
  670. method: 'get',
  671. params: query
  672. })
  673. }
  674. // 标段合同甲方签字
  675. export function multipleLotsFirstSign(data, id) {
  676. return request({
  677. url: '/transaction/multiplelots/firstSign/' + id,
  678. method: 'post',
  679. data: data
  680. })
  681. }
  682. // 查询标段农户信息
  683. export function listMultipleLotsNh(query) {
  684. return request({
  685. url: '/open/home/mobile/multipleLotsNh/list',
  686. method: 'get',
  687. params: query
  688. })
  689. }
  690. // 查询标段农户详情
  691. export function getMultiplelotsNh(query, id) {
  692. return request({
  693. url: '/open/home/mobile/multipleLotsNh/get/' + id,
  694. method: 'get',
  695. params: query
  696. })
  697. }
  698. // 标段合同乙方签字
  699. export function multipleLotsSecondSign(data, id) {
  700. return request({
  701. url: '/open/home/mobile/multiplelotsnh/secondSign/' + id,
  702. method: 'post',
  703. data: data
  704. })
  705. }
  706. // 查询承包合同列表
  707. export function listCbht(query) {
  708. return request({
  709. url: '/service/cbht/list',
  710. method: 'get',
  711. params: query
  712. })
  713. }
  714. // 承包合同甲方签名
  715. export function cbhtFirstSign(data,id) {
  716. return request({
  717. url: '/open/home/mobile/cbht/sign/first/' + id,
  718. method: 'post',
  719. data: data
  720. })
  721. }
  722. // 查询承包合同详细
  723. export function getCbht(query, id) {
  724. return request({
  725. url: '/open/home/mobile/cbht/get/' + id,
  726. method: 'get',
  727. params: query
  728. })
  729. }
  730. // 查询承包方信息
  731. export function getCbf(idcard) {
  732. return request({
  733. url: '/open/home/mobile/cbf/get/' + idcard,
  734. method: 'get'
  735. })
  736. }
  737. // 查询承包合同信息
  738. export function getCbhtList(query) {
  739. return request({
  740. url: '/open/home/mobile/cbht/list',
  741. method: 'get',
  742. params: query
  743. })
  744. }
  745. // 承包合同乙方签名
  746. export function cbhtSecondSign(data,id) {
  747. return request({
  748. url: '/open/home/mobile/cbht/sign/second/' + id,
  749. method: 'post',
  750. data: data
  751. })
  752. }
  753. // 附件查询
  754. export function attachmentQuery(query) {
  755. return request({
  756. url: '/open/home/mobile/attach/query',
  757. method: 'get',
  758. params: query
  759. })
  760. }
  761. // 附件删除
  762. export function attachmentRemove(ids) {
  763. return request({
  764. url: '/open/home/mobile/attach/remove/' + ids,
  765. method: 'get'
  766. })
  767. }
  768. // 附件上传
  769. export function attachmentUpload(data) {
  770. return request({
  771. url: '/open/home/mobile/common/attach',
  772. method: 'post',
  773. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  774. data: data
  775. })
  776. }
  777. // 附件上传
  778. export function publicUpload(data) {
  779. return request({
  780. url: '/open/villageAffairs/public/upload',
  781. method: 'post',
  782. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  783. data: data
  784. })
  785. }
  786. // 投诉建议列表
  787. export function adviceList(query) {
  788. return request({
  789. url: '/open/villageAffairs/public/adviceList',
  790. method: 'get',
  791. params: query
  792. })
  793. }
  794. // 新增投诉建议
  795. export function addAdvice(data) {
  796. return request({
  797. url: '/open/villageAffairs/public/addAdvice',
  798. method: 'post',
  799. data: data
  800. })
  801. }
  802. // 投诉建议详情
  803. export function getAdvice(id) {
  804. return request({
  805. url: '/open/villageAffairs/public/getAdvice/'+id,
  806. method: 'get',
  807. })
  808. }
  809. // 留言板列表
  810. export function listMessage(query) {
  811. return request({
  812. url: '/open/villageAffairs/public/listMessage',
  813. method: 'get',
  814. params: query
  815. })
  816. }
  817. // 留言板新增
  818. export function addMessage(data) {
  819. return request({
  820. url: '/open/villageAffairs/public/addMessage',
  821. method: 'post',
  822. data: data
  823. })
  824. }
  825. // 留言板详情
  826. export function getMessage(id) {
  827. return request({
  828. url: '/open/villageAffairs/public/getMessage/'+id,
  829. method: 'get',
  830. })
  831. }
  832. // 资源公开
  833. export function orcodeList(query) {
  834. return request({
  835. url: '/open/assetresource/orcode/list',
  836. method: 'get',
  837. params: query
  838. })
  839. }
  840. // 资产公开
  841. export function orcodeListZC(query) {
  842. return request({
  843. url: '/open/asset/orcode/list',
  844. method: 'get',
  845. params: query
  846. })
  847. }
  848. // 5、合同公开
  849. export function contractionListNew(query) {
  850. return request({
  851. url: '/open/contraction/list',
  852. method: 'get',
  853. params: query
  854. })
  855. }