dkjbxx.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // import request from "@/utils/http.js"
  2. import request from '@/utils/request'
  3. //查询外业个人汇总列表
  4. export function getHcCount(params) {
  5. return request({
  6. url: '/rsmonitoring/fieldwork/hc/count',
  7. method: 'get',
  8. params
  9. })
  10. }
  11. // 查询地块基本信息(DKJBXX)列表
  12. export function listDkjbxx(params) {
  13. return request({
  14. url: '/rsmonitoring/fieldwork/list',
  15. method: 'get',
  16. params
  17. })
  18. }
  19. // 查询基本信息详情
  20. export function getDetailsDk(id) {
  21. return request({
  22. url: '/rsmonitoring/dkgeomdb/details/' + id,
  23. method: 'get'
  24. })
  25. }
  26. // 查询地块基本信息(DKJBXX)详细
  27. export function getDkjbxx(id) {
  28. return request({
  29. url: '/rsmonitoring/dkjbxx/' + id,
  30. method: 'get'
  31. })
  32. }
  33. export function getDkjbywy(id) {
  34. return request({
  35. url: '/rsmonitoring/dkjbxx/ywyp/' + id,
  36. method: 'get'
  37. })
  38. }
  39. export function getStep(params) {
  40. return request({
  41. url: '/rsmonitoring/auditflow/record/list/step',
  42. method: 'get',
  43. params
  44. })
  45. }
  46. // 操作
  47. // 外业确认
  48. export function confirm(data) {
  49. return request({
  50. url: '/rsmonitoring/fieldwork/confirm',
  51. method: 'post',
  52. data
  53. })
  54. }
  55. // 核查保存
  56. export function hcWork(data) {
  57. return request({
  58. url: '/rsmonitoring/fieldwork/hc',
  59. method: 'post',
  60. data
  61. })
  62. }
  63. export function getHcInfo(params) {
  64. return request({
  65. url: '/rsmonitoring/fieldwork/hc/info',
  66. method: 'get',
  67. params
  68. })
  69. }
  70. export function getdecTree(params) {
  71. return request({
  72. url: '/rsmonitoring/dict_data/tree',
  73. method: 'get',
  74. params
  75. })
  76. }
  77. export function tjWork(data) {
  78. return request({
  79. url: '/rsmonitoring/fieldwork/tj',
  80. method: 'post',
  81. data
  82. })
  83. }
  84. export function getTjInfo(params) {
  85. return request({
  86. url: '/rsmonitoring/fieldwork/tj/info',
  87. method: 'get',
  88. params
  89. })
  90. }