移动端
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

fixedAssets.js 32 KiB

hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 2 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 2 años
hace 2 años
hace 2 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 3 años
hace 3 años
hace 3 años
hace 2 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 3 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 2 años
hace 9 meses
hace 9 meses
hace 8 meses
hace 9 meses
hace 8 meses
hace 8 meses
hace 8 meses
hace 3 semanas
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616
  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 listPlan(query) {
  106. return request({
  107. url: '/contraction/plan/list',
  108. method: 'get',
  109. params: query
  110. })
  111. }
  112. // 新增合同结款计划
  113. export function addPlan(data) {
  114. return request({
  115. url: '/contraction/plan/add',
  116. method: 'post',
  117. data: data
  118. })
  119. }
  120. // 修改合同结款计划
  121. export function updatePlan(data) {
  122. return request({
  123. url: '/contraction/plan/edit',
  124. method: 'post',
  125. data: data
  126. })
  127. }
  128. // 删除合同结款计划
  129. export function delPlan(id) {
  130. return request({
  131. url: '/contraction/plan/remove/' + id,
  132. method: 'get'
  133. })
  134. }
  135. // 查询合同结款计划详细
  136. export function getPlan(id) {
  137. return request({
  138. url: '/contraction/plan/get/' + id,
  139. method: 'get'
  140. })
  141. }
  142. // 新增固定资产
  143. export function addPermanent(data) {
  144. return request({
  145. url: '/asset/permanent/add',
  146. method: 'post',
  147. data: data
  148. })
  149. }
  150. // 查询固定资产详细
  151. export function getPermanent(id) {
  152. return request({
  153. url: '/asset/permanent/get/' + id,
  154. method: 'get'
  155. })
  156. }
  157. // 清除固定资产图层
  158. export function clearPermanentGeom(id) {
  159. return request({
  160. url: '/asset/permanent/clear/' + id,
  161. method: 'get'
  162. });
  163. }
  164. // 修改固定资产
  165. export function updatePermanent(data) {
  166. return request({
  167. url: '/asset/permanent/edit',
  168. method: 'post',
  169. data: data
  170. })
  171. }
  172. // 删除固定资产
  173. export function delPermanent(id) {
  174. return request({
  175. url: '/asset/permanent/remove/' + id,
  176. method: 'get'
  177. })
  178. }
  179. //上传全局方法附件
  180. export function commonAttach(data) {
  181. return request({
  182. url: '/common/attach',
  183. method: 'post',
  184. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  185. data: data
  186. })
  187. }
  188. //上传全局方法附件
  189. export function commonUpload(data) {
  190. return request({
  191. url: '/common/upload',
  192. method: 'post',
  193. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  194. data: data
  195. })
  196. }
  197. //查询已上传附件
  198. export const attachmentList = (data) => {
  199. return request({
  200. url: '/system/attachment/query',
  201. method: 'get',
  202. params: data
  203. })
  204. }
  205. //删除已上传附件
  206. export function systemAttachment(ids) {
  207. if (ids != undefined) {
  208. return request({
  209. url: '/system/attachment/remove/' + ids,
  210. method: 'get'
  211. })
  212. }
  213. }
  214. // 新增合同信息
  215. export function addInfo(data) {
  216. return request({
  217. url: '/contraction/info/add',
  218. method: 'post',
  219. data: data
  220. })
  221. }
  222. // 查询合同信息详细
  223. export function getInfo(id) {
  224. return request({
  225. url: '/contraction/info/get/' + id,
  226. method: 'get'
  227. })
  228. }
  229. // 删除合同信息
  230. export function delInfo(id) {
  231. return request({
  232. url: '/contraction/info/remove/' + id,
  233. method: 'get'
  234. })
  235. }
  236. // 修改合同信息
  237. export function updateInfo(data) {
  238. return request({
  239. url: '/contraction/info/edit',
  240. method: 'post',
  241. data: data
  242. })
  243. }
  244. // 财务公开列表
  245. export function financePublicList(query) {
  246. return request({
  247. url: '/open/villageAffairs/public/financePublicList',
  248. method: 'get',
  249. params: query
  250. })
  251. }
  252. // 零工公开列表
  253. export function tempWorkerPublicList(query) {
  254. return request({
  255. url: '/open/villageAffairs/public/tempWorkerPublicList',
  256. method: 'get',
  257. params: query
  258. })
  259. }
  260. // 重大事项公开列表
  261. export function majorEventPublicList(query) {
  262. return request({
  263. url: '/open/villageAffairs/public/majorEventPublicList',
  264. method: 'get',
  265. params: query
  266. })
  267. }
  268. // 重要事项公开列表
  269. export function importantList(query) {
  270. return request({
  271. url: '/open/villageAffairs/public/importantList',
  272. method: 'get',
  273. params: query
  274. })
  275. }
  276. // 重要事项公开详情
  277. export function importantDetail(query) {
  278. return request({
  279. url: '/open/villageAffairs/public/importantDetail',
  280. method: 'get',
  281. params: query
  282. })
  283. }
  284. // 重要事项公开新增
  285. export function subcontractAdd(data) {
  286. return request({
  287. url: '/subcontract/event/add',
  288. method: 'post',
  289. data: data
  290. })
  291. }
  292. // 重要事项公开修改
  293. export function subcontractEdit(data) {
  294. return request({
  295. url: '/subcontract/event/edit',
  296. method: 'post',
  297. data: data
  298. })
  299. }
  300. // 重要事项公开删除
  301. export function subcontractRemove(id) {
  302. return request({
  303. url: '/subcontract/event/remove/' + id,
  304. method: 'get'
  305. })
  306. }
  307. // 财务公开详情
  308. export function financePublicDetail(query) {
  309. return request({
  310. url: '/open/villageAffairs/public/financePublicDetail',
  311. method: 'get',
  312. params: query
  313. })
  314. }
  315. // 零工公开详情
  316. export function tempWorkerPublicDetail(query) {
  317. return request({
  318. url: '/open/villageAffairs/public/tempWorkerPublicDetail',
  319. method: 'get',
  320. params: query
  321. })
  322. }
  323. // 重大事项公开详情
  324. export function majorEventPublicDetail(query) {
  325. return request({
  326. url: '/open/villageAffairs/public/majorEventPublicDetail',
  327. method: 'get',
  328. params: query
  329. })
  330. }
  331. //获取区、镇、村地区
  332. export function treeselectByUser(query) {
  333. return request({
  334. url: '/system/dept/treeselectByUser',
  335. method: 'get',
  336. params: query
  337. })
  338. }
  339. // 查询部门下拉树结构
  340. export function treeselect() {
  341. return request({
  342. url: '/open/depositm/dept/treeselect',
  343. method: 'get'
  344. })
  345. }
  346. //获取账套列表
  347. export function listByDeptId(query) {
  348. return request({
  349. url: '/finance/book/listByDeptId',
  350. method: 'get',
  351. params: query
  352. })
  353. }
  354. // 切换部门
  355. export function changeDept(query) {
  356. return request({
  357. url: '/system/user/changeDept',
  358. method: 'get',
  359. params: query
  360. })
  361. }
  362. // 切换账套
  363. export function changeBook(query) {
  364. return request({
  365. url: '/system/user/changeBook',
  366. method: 'get',
  367. params: query
  368. })
  369. }
  370. // 财务公开新增
  371. export function openAdd(data) {
  372. return request({
  373. url: '/open/open/add',
  374. method: 'post',
  375. data: data
  376. })
  377. }
  378. // 财务公开修改
  379. export function openEdit(data) {
  380. return request({
  381. url: '/open/open/edit',
  382. method: 'post',
  383. data: data
  384. })
  385. }
  386. // 零工公开新增
  387. export function tempWorkerOpenAdd(data) {
  388. return request({
  389. url: '/subcontract/tempWorkerOpen/add',
  390. method: 'post',
  391. data: data
  392. })
  393. }
  394. // 零工公开修改
  395. export function tempWorkerOpenEdit(data) {
  396. return request({
  397. url: '/subcontract/tempWorkerOpen/edit',
  398. method: 'post',
  399. data: data
  400. })
  401. }
  402. // 重大事项新增
  403. export function majorEventOpenAdd(data) {
  404. return request({
  405. url: '/subcontract/majorEventOpen/add',
  406. method: 'post',
  407. data: data
  408. })
  409. }
  410. // 重大事项修改
  411. export function majorEventOpenEdit(data) {
  412. return request({
  413. url: '/subcontract/majorEventOpen/edit',
  414. method: 'post',
  415. data: data
  416. })
  417. }
  418. // 财务公开删除
  419. export function openRemove(id) {
  420. return request({
  421. url: '/open/open/remove/' + id,
  422. method: 'get'
  423. })
  424. }
  425. // 零工公开删除
  426. export function tempWorkerOpenRemove(id) {
  427. return request({
  428. url: '/subcontract/tempWorkerOpen/remove/' + id,
  429. method: 'get'
  430. })
  431. }
  432. // 零工公开删除
  433. export function majorEventOpenRemove(id) {
  434. return request({
  435. url: '/subcontract/majorEventOpen/remove/' + id,
  436. method: 'get'
  437. })
  438. }
  439. // 查询零工登记列表
  440. export function listOddjob(query) {
  441. return request({
  442. url: '/open/villageAffairs/public/oddjobList',
  443. method: 'get',
  444. params: query
  445. })
  446. }
  447. // 查询零工登记详细
  448. export function getOddjobDetail(bookId, id) {
  449. return request({
  450. url: '/open/villageAffairs/public/oddjobDetail',
  451. method: 'get',
  452. params: {bookId, id},
  453. })
  454. }
  455. // 新增零工登记
  456. export function addOddjob(data) {
  457. return request({
  458. url: '/subcontract/oddjob/add',
  459. method: 'post',
  460. data: data
  461. })
  462. }
  463. // 修改零工登记
  464. export function updateOddjob(data) {
  465. return request({
  466. url: '/subcontract/oddjob/edit',
  467. method: 'post',
  468. data: data
  469. })
  470. }
  471. // 查询零工登记详细
  472. export function getOddjob(id) {
  473. return request({
  474. url: '/subcontract/oddjob/get/' + id,
  475. method: 'get'
  476. })
  477. }
  478. // 删除零工登记
  479. export function delOddjob(id) {
  480. return request({
  481. url: '/subcontract/oddjob/remove/' + id,
  482. method: 'get'
  483. })
  484. }
  485. // 财务公开榜
  486. export function financialAmountPublicMonthList(query) {
  487. return request({
  488. url: '/open/villageAffairs/public/financialAmountPublicMonthList',
  489. method: 'get',
  490. params: query // ?bookId=<账套ID 必填>&yearMonth=<查询年月 必填 yyyy-MM>
  491. })
  492. }
  493. // 查询用户个人信息
  494. export function getUserProfile() {
  495. return request({
  496. url: '/system/user/profile/get',
  497. method: 'get'
  498. })
  499. }
  500. // 修改用户个人信息
  501. export function updateUserProfile(data) {
  502. return request({
  503. url: '/system/user/profile/edit',
  504. method: 'post',
  505. data: data
  506. })
  507. }
  508. // 用户密码重置
  509. export function updateUserPwd(oldPassword, newPassword) {
  510. const data = {
  511. oldPassword,
  512. newPassword
  513. }
  514. return request({
  515. url: '/system/user/profile/updatePwd',
  516. method: 'post',
  517. params: data
  518. })
  519. }
  520. // 查询账套基本信息
  521. export function bookInfo(bookId) {
  522. return request({
  523. url: `/open/villageAffairs/public/bookInfo/${bookId}`,
  524. method: 'get',
  525. })
  526. }
  527. // 查询科目余额表 可分页 需授权
  528. export function trailBalanceList(query) {
  529. return request({
  530. url: '/finance/balance/list',
  531. method: 'get',
  532. params: query // ?startDate=<开始年月 yyyy-MM>&startSubjectId=<起始科目ID>&endSubjectId=<结束科目ID 如果需要查询单个科目 则设置为和startSubjectId一样即可>&filterZero=<bool 是否过滤掉余额为0结果>&showSubSubject=<bool 是否显示下级科目>&分页参数...
  533. })
  534. }
  535. export function getLoginBook() {
  536. return request({
  537. url: '/finance/book/getLoginBook',
  538. method: 'get'
  539. })
  540. }
  541. // 查询投票主题列表
  542. export function listPoll(deptId , query) {
  543. return request({
  544. url: `/open/villageAffairs/public/poll/list/${deptId}`,
  545. method: 'get',
  546. params: query
  547. })
  548. }
  549. // 姓名, 账套ID, 身份证, 返回里会有个id字段
  550. export function checkFarmer(data) {
  551. return request({
  552. url: '/register/checkFarmer',
  553. method: 'post',
  554. data: data,
  555. })
  556. }
  557. // 是否允许人脸验证
  558. export function allowFaceVerify() {
  559. return request({
  560. url: '/register/face/verified/allow',
  561. method: 'get'
  562. })
  563. }
  564. // 查询投票主题详细
  565. export function getPoll(id) {
  566. return request({
  567. url: `/open/villageAffairs/public/poll/detail/${id}`,
  568. method: 'get'
  569. })
  570. }
  571. // 投票 id为主题ID, option为投票选项ID, 多个用,分隔, userId为认证后的农户ID
  572. export function votePoll(id, data) {
  573. return request({
  574. url: `/open/villageAffairs/public/poll/vote/${id}`,
  575. method: 'post',
  576. params: data,
  577. })
  578. }
  579. // 新增投票主题
  580. export function addPoll(data) {
  581. return request({
  582. url: '/poll/poll/add',
  583. method: 'post',
  584. data: data
  585. })
  586. }
  587. // 修改投票主题
  588. export function updatePoll(data) {
  589. return request({
  590. url: '/poll/poll/edit',
  591. method: 'post',
  592. data: data
  593. })
  594. }
  595. // 删除投票主题
  596. export function delPoll(id) {
  597. return request({
  598. url: '/poll/poll/remove/' + id,
  599. method: 'get'
  600. })
  601. }
  602. // 发布投票主题
  603. export function publicPoll(id) {
  604. return request({
  605. url: '/poll/poll/publicPoll/'+ id,
  606. method: 'get'
  607. })
  608. }
  609. // 获取会计科目列表
  610. export const subjectData = (query) => {
  611. return request({
  612. url: '/finance/subject/listAll',
  613. method: 'get',
  614. params: query
  615. })
  616. }
  617. //普通明细账接口
  618. export function listNormalDetails(query) {
  619. return request({
  620. url: '/finance/balance/listNormalDetails',
  621. method: 'get',
  622. params: query
  623. })
  624. }
  625. //查询凭证信息明细
  626. export const voucherDetail = (data) => {
  627. return request({
  628. url: '/finance/voucher/detail',
  629. method: 'get',
  630. params: data
  631. })
  632. }
  633. //统计填报列表数据
  634. export const statisticsList = (data) => {
  635. return request({
  636. url: '/entity/statistics/list',
  637. method: 'get',
  638. params: data
  639. })
  640. }
  641. // 删除统计填报列表数据
  642. export function delStatisticsRemove(id) {
  643. return request({
  644. url: '/entity/statistics/remove/' + id,
  645. method: 'get'
  646. })
  647. }
  648. //统计填报 - 模板
  649. export const entityStatisticsTemplate = (data) => {
  650. return request({
  651. url: '/entity/statistics/entityStatisticsTemplate',
  652. method: 'get',
  653. params: data
  654. })
  655. }
  656. //统计填报 -保存模板
  657. export const entityStatisticsSave = (data) => {
  658. return request({
  659. url: '/entity/statistics/save',
  660. method: 'post',
  661. data: data
  662. })
  663. }
  664. //统计填报 - 编辑
  665. export const entityStatisticsDetail = (id) => {
  666. return request({
  667. url: '/entity/statistics/detail/'+id,
  668. method: 'get'
  669. })
  670. }
  671. //阳光村务请求菜单
  672. export function menus(query) {
  673. return request({
  674. url: '/system/mobile/menus',
  675. method: 'get',
  676. params: query
  677. })
  678. }
  679. //阳光村务请求菜单
  680. export function nologinMenus(query) {
  681. return request({
  682. url: '/open/system/mobile/nologinMenus',
  683. method: 'get',
  684. params: query
  685. })
  686. }
  687. //公章
  688. export function current(query) {
  689. return request({
  690. url: '/system/dept/get/current',
  691. method: 'get',
  692. params: query
  693. })
  694. }
  695. //公章
  696. export function updateSeal(data) {
  697. return request({
  698. url: '/system/dept/updateSeal/seal',
  699. method: 'post',
  700. data: data
  701. })
  702. }
  703. //公章
  704. export function updateSeal2(data) {
  705. return request({
  706. url: '/system/dept/updateSeal/seal2',
  707. method: 'post',
  708. data: data
  709. })
  710. }
  711. //甲方合同网签
  712. export function contractFirstList(query) {
  713. return request({
  714. url: '/transaction/contract/firstList',
  715. method: 'get',
  716. params: query
  717. })
  718. }
  719. //乙方合同网签
  720. export function contractSecondList(query) {
  721. return request({
  722. url: '/transaction/contract/secondList',
  723. method: 'get',
  724. params: query
  725. })
  726. }
  727. //签名
  728. export function signFirst(data,id) {
  729. return request({
  730. url: '/transaction/contract/sign/first/'+id,
  731. method: 'post',
  732. data: data
  733. })
  734. }
  735. //签名
  736. export function signSecond(data,id) {
  737. return request({
  738. url: '/transaction/contract/sign/second/'+id,
  739. method: 'post',
  740. data: data
  741. })
  742. }
  743. //甲方合同网签详情
  744. export function contractGet(query,id) {
  745. return request({
  746. url: '/transaction/contract/get/'+id,
  747. method: 'get',
  748. params:query
  749. })
  750. }
  751. //线下合同附件列表
  752. export function contractFileList(id) {
  753. return request({
  754. url: '/transaction/website/contractFileList/id/'+id,
  755. method: 'get',
  756. })
  757. }
  758. //线上合同预览
  759. export function previewContractFile(id) {
  760. return request({
  761. url: '/transaction/website/previewContractFile/id/'+id,
  762. method: 'get',
  763. })
  764. }
  765. // 查询多标段合同列表
  766. export function listMultiplelots(query) {
  767. return request({
  768. url: '/transaction/multiplelots/list',
  769. method: 'get',
  770. params: query
  771. })
  772. }
  773. // 查询多标段合同详情
  774. export function getMultiplelots(query, id) {
  775. return request({
  776. url: '/transaction/multiplelots/get/' + id,
  777. method: 'get',
  778. params: query
  779. })
  780. }
  781. // 标段合同甲方签字
  782. export function multipleLotsFirstSign(data, id) {
  783. return request({
  784. url: '/transaction/multiplelots/firstSign/' + id,
  785. method: 'post',
  786. data: data
  787. })
  788. }
  789. // 查询标段农户信息
  790. export function listMultipleLotsNh(query) {
  791. return request({
  792. url: '/open/home/mobile/multipleLotsNh/list',
  793. method: 'get',
  794. params: query
  795. })
  796. }
  797. // 查询标段农户详情
  798. export function getMultiplelotsNh(query, id) {
  799. return request({
  800. url: '/open/home/mobile/multipleLotsNh/get/' + id,
  801. method: 'get',
  802. params: query
  803. })
  804. }
  805. // 标段合同乙方签字
  806. export function multipleLotsSecondSign(data, id) {
  807. return request({
  808. url: '/open/home/mobile/multiplelotsnh/secondSign/' + id,
  809. method: 'post',
  810. data: data
  811. })
  812. }
  813. // 查询承包合同列表
  814. export function listCbht(query) {
  815. return request({
  816. url: '/service/cbht/list',
  817. method: 'get',
  818. params: query
  819. })
  820. }
  821. // 查询承包合同详情
  822. export function getCbhtDetail(id) {
  823. return request({
  824. url: '/service/cbht/get/' + id,
  825. method: 'get',
  826. })
  827. }
  828. // 承包合同甲方签名
  829. export function cbhtFirstSign(data,id) {
  830. return request({
  831. url: '/open/home/mobile/cbht/sign/first/' + id,
  832. method: 'post',
  833. data: data
  834. })
  835. }
  836. // 签字流程归档
  837. export function signProcessArchive(id) {
  838. return request({
  839. url: '/service/cbht/sign/archive/' + id,
  840. method: 'get'
  841. });
  842. }
  843. // 签署合同下载
  844. export function signedContractDownload(id) {
  845. return request({
  846. url: '/open/villageAffairs/public/sign/download/' + id,
  847. method: 'get'
  848. });
  849. }
  850. // 签字合同预览
  851. export function viewSignedContract(id, type) {
  852. return request({
  853. url: '/open/villageAffairs/public/sign/view/' + id,
  854. method: 'get',
  855. params: {type},
  856. });
  857. }
  858. // 查询承包合同详细
  859. export function getCbht(query, id) {
  860. return request({
  861. url: '/open/home/mobile/cbht/get/' + id,
  862. method: 'get',
  863. params: query
  864. })
  865. }
  866. // 查询承包方信息
  867. export function getCbf(idcard) {
  868. return request({
  869. url: '/open/home/mobile/cbf/get/' + idcard,
  870. method: 'get'
  871. })
  872. }
  873. // 查询承包合同信息
  874. export function getCbhtList(query) {
  875. return request({
  876. url: '/open/home/mobile/cbht/list',
  877. method: 'get',
  878. params: query
  879. })
  880. }
  881. // 承包合同乙方签名
  882. export function cbhtSecondSign(data,id) {
  883. return request({
  884. url: '/open/home/mobile/cbht/sign/second/' + id,
  885. method: 'post',
  886. data: data
  887. })
  888. }
  889. // 承包方公示结果签字
  890. export function updateGsjgSign(data) {
  891. return request({
  892. url: '/open/home/mobile/updateGsjgSign',
  893. method: 'post',
  894. data: data
  895. })
  896. }
  897. // 附件查询
  898. export function attachmentQuery(query) {
  899. return request({
  900. url: '/open/home/mobile/attach/query',
  901. method: 'get',
  902. params: query
  903. })
  904. }
  905. // 附件删除
  906. export function attachmentRemove(ids) {
  907. return request({
  908. url: '/open/home/mobile/attach/remove/' + ids,
  909. method: 'get'
  910. })
  911. }
  912. // 附件上传
  913. export function attachmentUpload(data) {
  914. return request({
  915. url: '/open/home/mobile/common/attach',
  916. method: 'post',
  917. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  918. data: data
  919. })
  920. }
  921. // 附件上传
  922. export function publicUpload(data) {
  923. return request({
  924. url: '/open/villageAffairs/public/upload',
  925. method: 'post',
  926. header: { "Content-Type": 'application/x-www-form-urlencoded' },
  927. data: data
  928. })
  929. }
  930. // 投诉建议列表
  931. export function adviceList(query) {
  932. return request({
  933. url: '/open/villageAffairs/public/adviceList',
  934. method: 'get',
  935. params: query
  936. })
  937. }
  938. // 新增投诉建议
  939. export function addAdvice(data) {
  940. return request({
  941. url: '/open/villageAffairs/public/addAdvice',
  942. method: 'post',
  943. data: data
  944. })
  945. }
  946. // 投诉建议详情
  947. export function getAdvice(id) {
  948. return request({
  949. url: '/open/villageAffairs/public/getAdvice/'+id,
  950. method: 'get',
  951. })
  952. }
  953. // 留言板列表
  954. export function listMessage(query) {
  955. return request({
  956. url: '/open/villageAffairs/public/listMessage',
  957. method: 'get',
  958. params: query
  959. })
  960. }
  961. // 留言板新增
  962. export function addMessage(data) {
  963. return request({
  964. url: '/open/villageAffairs/public/addMessage',
  965. method: 'post',
  966. data: data
  967. })
  968. }
  969. // 留言板详情
  970. export function getMessage(id) {
  971. return request({
  972. url: '/open/villageAffairs/public/getMessage/'+id,
  973. method: 'get',
  974. })
  975. }
  976. //e签宝-发包方合同网签
  977. export function eqbFbfhtwq(data, parms){
  978. return request({
  979. url: '/open/villageAffairs/public/eqbFbfhtwq',
  980. method: 'post',
  981. data: data,
  982. params: parms,
  983. })
  984. }
  985. //e签宝-发包方合同网签
  986. export function eqbFbfhtwqFinish(data){
  987. return request({
  988. url: '/open/villageAffairs/public/eqbFbfhtwqFinish',
  989. method: 'post',
  990. data: data,
  991. })
  992. }
  993. //e签宝-发包方批量生成签署流程
  994. export function batchEqbContractSignProcess(data, parms){
  995. return request({
  996. url: '/service/cbf/batchEqbContractSignProcess',
  997. method: 'post',
  998. data: data,
  999. params: parms,
  1000. })
  1001. }
  1002. //e签宝-发包方批量签署
  1003. export function batchEqbContractSigning(data){
  1004. return request({
  1005. url: '/service/cbf/batchEqbContractSigning',
  1006. method: 'post',
  1007. data: data
  1008. })
  1009. }
  1010. //e签宝-批量归档
  1011. export function batchContractCompleted() {
  1012. return request({
  1013. url:'/service/cbf/batchContractCompleted',
  1014. method: 'post',
  1015. })
  1016. }
  1017. //e签宝-合同网签
  1018. export function eqbCbfhtwq(data, parms){
  1019. return request({
  1020. url: '/open/villageAffairs/public/eqbCbfhtwq',
  1021. method: 'post',
  1022. data: data,
  1023. params: parms,
  1024. })
  1025. }
  1026. // 资源公开
  1027. export function orcodeList(query) {
  1028. return request({
  1029. url: '/open/assetresource/orcode/list',
  1030. method: 'get',
  1031. params: query
  1032. })
  1033. }
  1034. // 资产公开
  1035. export function orcodeListZC(query) {
  1036. return request({
  1037. url: '/open/asset/orcode/list',
  1038. method: 'get',
  1039. params: query
  1040. })
  1041. }
  1042. // 5、合同公开
  1043. export function contractionListNew(query) {
  1044. return request({
  1045. url: '/open/contraction/list',
  1046. method: 'get',
  1047. params: query
  1048. })
  1049. }
  1050. export function listResource(query) {
  1051. return request({
  1052. url: '/asset/resource/list',
  1053. method: 'get',
  1054. params: query
  1055. })
  1056. }
  1057. export function getResource(id) {
  1058. return request({
  1059. url: '/asset/resource/get/' + id,
  1060. method: 'get'
  1061. })
  1062. }
  1063. export function clearResourceGeom(id) {
  1064. return request({
  1065. url: '/asset/resource/clear/' + id,
  1066. method: 'get'
  1067. });
  1068. }
  1069. // 资源新增
  1070. export function addResource(data) {
  1071. return request({
  1072. url: '/asset/resource/add',
  1073. method: 'post',
  1074. data: data
  1075. })
  1076. }
  1077. // 资源新增
  1078. export function updateResource(data) {
  1079. return request({
  1080. url: '/asset/resource/edit',
  1081. method: 'post',
  1082. data: data
  1083. })
  1084. }
  1085. // 删除资源性资产
  1086. export function delResource(id) {
  1087. return request({
  1088. url: '/asset/resource/remove/' + id,
  1089. method: 'get'
  1090. })
  1091. }
  1092. export function faceVerification(data) {
  1093. return request({
  1094. url: '/register/face/verified',
  1095. method: 'post',
  1096. data:data
  1097. })
  1098. }
  1099. // 查询当前账套固定资产空间数据
  1100. export function getPermanentList(id) {
  1101. return request({
  1102. url: '/open/asset/getPermanentList/' + id,
  1103. method: 'get'
  1104. })
  1105. }
  1106. // 查询当前账套资源空间数据
  1107. export function getResourceList(id) {
  1108. return request({
  1109. url: '/open/assetresource/getResourceList/' + id,
  1110. method: 'get'
  1111. })
  1112. }
  1113. export const openAttachmentList = (data) => {
  1114. return request({
  1115. url: '/open/attachment/query',
  1116. method: 'get',
  1117. params: data
  1118. })
  1119. }
  1120. // 资产详情
  1121. export function assetPropertyDetail(id, parms) {
  1122. return request({
  1123. url: '/open/asset/assetPropertyDetail/' + id,
  1124. method: 'get',
  1125. params: parms,
  1126. });
  1127. }
  1128. //资源详情
  1129. export function assetResourceDetail(id, parms) {
  1130. return request({
  1131. url: '/open/assetresource/assetResourceDetail/' + id,
  1132. method: 'get',
  1133. params: parms,
  1134. });
  1135. }
  1136. // 公式科目模板分类列表
  1137. export function expressionReportByCategory(name) {
  1138. return request({
  1139. url: '/finance/expressionReport/category/' + name,
  1140. method: 'get',
  1141. })
  1142. }
  1143. //查询收支明細表
  1144. export const incomeAndExpenditureDetailReport = (data) => {
  1145. return request({
  1146. url: '/finance/report/incomeAndExpenditureDetailReport',
  1147. method: 'get',
  1148. params: data
  1149. })
  1150. }
  1151. //查询收益及收益分配表(模板)
  1152. export const incomeDistributionReportByExpTpl = (data) => {
  1153. return request({
  1154. url: '/finance/report/incomeDistributionReportByExpTpl',
  1155. method: 'get',
  1156. params: data
  1157. })
  1158. }
  1159. //查询收支公开榜
  1160. export function financialIncomeExpenditurePublic(data) {
  1161. return request({
  1162. url: '/finance/open/financialIncomeExpenditurePublic',
  1163. method: 'get',
  1164. params: data
  1165. })
  1166. }
  1167. //查询资产负债表(公式报表模板)
  1168. export const assetLiabilityReportByExpTpl = (data) => {
  1169. return request({
  1170. url: '/finance/report/assetLiabilityReportByExpTpl',
  1171. method: 'get',
  1172. params: data
  1173. })
  1174. }
  1175. // 查询四议两公开列表
  1176. export function listOther(query) {
  1177. return request({
  1178. url: '/subcontract/other/list',
  1179. method: 'get',
  1180. params: query
  1181. })
  1182. }
  1183. // 查询四议两公开列表
  1184. export function listSiyigongkai(query) {
  1185. return request({
  1186. url: '/subcontract/siyigongkai/list',
  1187. method: 'get',
  1188. params: query
  1189. })
  1190. }
  1191. // 查询四议两公开列表
  1192. export function listOtherOpen(query) {
  1193. return request({
  1194. url: '/open/villageAffairs/public/otherPublicList',
  1195. method: 'get',
  1196. params: query
  1197. })
  1198. }
  1199. // 查询四议两公开列表
  1200. export function listSiyigongkaiOpen(query) {
  1201. return request({
  1202. url: '/open/villageAffairs/public/siyigongkaiList',
  1203. method: 'get',
  1204. params: query
  1205. })
  1206. }
  1207. // 查询四议两公开详细
  1208. export function otherPublicDetailN(id) {
  1209. return request({
  1210. url: '/open/villageAffairs/public/otherPublicDetail?id=' + id,
  1211. method: 'get'
  1212. })
  1213. }
  1214. // 查询四议两公开详细
  1215. export function otherPublicDetailOpen(id) {
  1216. return request({
  1217. url: '/open/villageAffairs/public/otherPublicDetail?id=' + id,
  1218. method: 'get'
  1219. })
  1220. }
  1221. // 查询四议两公开详细
  1222. export function getSiyigongkai(id) {
  1223. return request({
  1224. url: '/subcontract/siyigongkai/get/' + id,
  1225. method: 'get'
  1226. })
  1227. }
  1228. // 查询四议两公开详细
  1229. export function getSiyigongkaiOpen(id, bookId) {
  1230. return request({
  1231. url: '/open/villageAffairs/public/siyigongkaiDetail',
  1232. method: 'get',
  1233. params: { id, bookId }
  1234. })
  1235. }
  1236. // 修改四议两公开
  1237. export function updateSiyigongkai(data) {
  1238. return request({
  1239. url: '/subcontract/siyigongkai/edit',
  1240. method: 'post',
  1241. data: data
  1242. })
  1243. }
  1244. // 新增四议两公开
  1245. export function addSiyigongkai(data) {
  1246. return request({
  1247. url: '/subcontract/siyigongkai/add',
  1248. method: 'post',
  1249. data: data
  1250. })
  1251. }
  1252. // 删除四议两公开
  1253. export function delSiyigongkai(id) {
  1254. return request({
  1255. url: '/subcontract/siyigongkai/remove/' + id,
  1256. method: 'get'
  1257. })
  1258. }
  1259. // 查询四议两公开列表
  1260. export function specialPublicityList(query) {
  1261. return request({
  1262. url: '/open/villageAffairs/public/specialPublicityList',
  1263. method: 'get',
  1264. params: query
  1265. })
  1266. }
  1267. // 查询四议两公开列表
  1268. export function specialPublicityDetail(query) {
  1269. return request({
  1270. url: '/open/villageAffairs/public/specialPublicityDetail',
  1271. method: 'get',
  1272. params: query
  1273. })
  1274. }
  1275. // 查询四议表决详情
  1276. export function specialPublicityVote(query) {
  1277. return request({
  1278. url: '/open/villageAffairs/public/specialVote',
  1279. method: 'get',
  1280. params: query
  1281. })
  1282. }
  1283. // 新增表决记录
  1284. export function votedetailAdd(data) {
  1285. return request({
  1286. url: '/open/villageAffairs/public/votedetailAdd',
  1287. method: 'post',
  1288. data: data
  1289. })
  1290. }
  1291. // 查询四议两公开列表
  1292. export function addReadCount(query) {
  1293. return request({
  1294. url: '/open/villageAffairs/public/addReadCount',
  1295. method: 'get',
  1296. params: query
  1297. })
  1298. }
  1299. // 查询四议两公开列表
  1300. export function specialPublicityEdit(data) {
  1301. return request({
  1302. url: '/subcontract/publicity/edit',
  1303. method: 'post',
  1304. data: data
  1305. })
  1306. }
  1307. // 查询四议两公开列表
  1308. export function specialPublicityAdd(data) {
  1309. return request({
  1310. url: '/subcontract/publicity/add',
  1311. method: 'post',
  1312. data: data
  1313. })
  1314. }
  1315. // 删除四议两公开
  1316. export function specialPublicityRemove(id) {
  1317. return request({
  1318. url: '/subcontract/publicity/remove/' + id,
  1319. method: 'get'
  1320. })
  1321. }
  1322. // 查询四议两公开列表
  1323. export function updateSpecialPublicityCount(query) {
  1324. return request({
  1325. url: '/open/villageAffairs/public/updateSpecialPublicityCount',
  1326. method: 'get',
  1327. params: query
  1328. })
  1329. }
  1330. // 收支明细公开
  1331. export function financialPublicDetailReport(query) {
  1332. return request({
  1333. url: '/open/finance/financialPublicDetailReport',
  1334. method: 'get',
  1335. params: query
  1336. })
  1337. }
  1338. // 收支明细公开
  1339. export function jyxzcqkgkList(query) {
  1340. return request({
  1341. url: '/open/asset/jyxzcqkgk/list',
  1342. method: 'get',
  1343. params: query
  1344. })
  1345. }
  1346. // 收支明细公开
  1347. export function jyxzyqkgkList(query) {
  1348. return request({
  1349. url: '/open/assetresource/jyxzyqkgk/list',
  1350. method: 'get',
  1351. params: query
  1352. })
  1353. }
  1354. export function jyxzcqkgkDetail(id) {
  1355. return request({
  1356. url: '/open/asset/jyxzcqkgk/detail/' + id,
  1357. method: 'get'
  1358. })
  1359. }
  1360. export function jyxzyqkgkDetail(id) {
  1361. return request({
  1362. url: '/open/assetresource/jyxzyqkgk/detail/' + id,
  1363. method: 'get'
  1364. })
  1365. }
  1366. // 收支明细公开
  1367. export function webList(query) {
  1368. return request({
  1369. url: '/open/typz/list',
  1370. method: 'get',
  1371. params: query
  1372. })
  1373. }
  1374. // 查询经费预算列表
  1375. export function listFunds(query) {
  1376. return request({
  1377. url: '/cashier/funds/list',
  1378. method: 'get',
  1379. params: query
  1380. })
  1381. }
  1382. // 查询审批模板列表
  1383. export function listTemplate(query) {
  1384. return request({
  1385. url: '/service/template/list',
  1386. method: 'get',
  1387. params: query
  1388. })
  1389. }
  1390. // 新增经费预算
  1391. export function addFunds(data) {
  1392. return request({
  1393. url: '/cashier/funds/add',
  1394. method: 'post',
  1395. data: data
  1396. })
  1397. }
  1398. // 开始审批经费预算
  1399. export function applyFunds(id) {
  1400. return request({
  1401. url: '/cashier/funds/submitApply/' + id,
  1402. method: 'post',
  1403. })
  1404. }
  1405. // 撤销审批经费预算
  1406. export function revokeFunds(id) {
  1407. return request({
  1408. url: '/cashier/funds/revokeApply/' + id,
  1409. method: 'post',
  1410. })
  1411. }
  1412. // 删除经费预算
  1413. export function delFunds(id) {
  1414. return request({
  1415. url: '/cashier/funds/remove/' + id,
  1416. method: 'get'
  1417. })
  1418. }
  1419. // 查询经费预算详细
  1420. export function getFunds(id) {
  1421. return request({
  1422. url: '/cashier/funds/get/' + id,
  1423. method: 'get',
  1424. params: arguments[1] || {}
  1425. })
  1426. }
  1427. // 修改经费预算
  1428. export function updateFunds(data) {
  1429. return request({
  1430. url: '/cashier/funds/edit',
  1431. method: 'post',
  1432. data: data
  1433. })
  1434. }
  1435. // 查询经费明细列表
  1436. export function listFundsdetail(query) {
  1437. return request({
  1438. url: '/cashier/fundsdetail/list',
  1439. method: 'get',
  1440. params: query
  1441. })
  1442. }
  1443. // 删除经费明细
  1444. export function delFundsdetail(id) {
  1445. return request({
  1446. url: '/cashier/fundsdetail/remove/' + id,
  1447. method: 'get'
  1448. })
  1449. }
  1450. // 新增经费明细
  1451. export function addFundsdetail(data) {
  1452. return request({
  1453. url: '/cashier/fundsdetail/add',
  1454. method: 'post',
  1455. data: data
  1456. })
  1457. }
  1458. // 修改经费明细
  1459. export function updateFundsdetail(data) {
  1460. return request({
  1461. url: '/cashier/fundsdetail/edit',
  1462. method: 'post',
  1463. data: data
  1464. })
  1465. }
  1466. // 查询经费明细详细
  1467. export function getFundsdetail(id) {
  1468. return request({
  1469. url: '/cashier/fundsdetail/get/' + id,
  1470. method: 'get',
  1471. params: arguments[1] || {}
  1472. })
  1473. }