Explorar o código

电视墙 资源详情 样式 土地也能点 视频预览宽度 气泡去除地址 电视墙未绑定 资源详情背景高度 监控中心传感器离线图标 误报、重复 摄像头离线图标 视频会议动态url 云广播资源 云广播图标 云图接口替换 数据中心接口替换 监控中心接口替换 巡田任务接口替换 田长制接口替换

wangzhe hai 1 ano
pai
achega
52689eeddc
Modificáronse 1 ficheiros con 38 adicións e 20 borrados
  1. 38 20
      src/api/tianzhangzhi.js

+ 38 - 20
src/api/tianzhangzhi.js

@@ -2,47 +2,62 @@ import request from '@/utils/request'
 
 export function getFlagList(param) {
   return request({
-    url: '/center-resources/VisuForestDataCenterController/getFlagList',
-    method: 'post',
+    // url: '/center-resources/VisuForestDataCenterController/getFlagList',
+    url: '/center-data/waterConservancyView/getFlagList',//无逻辑
+    // method: 'post',
+    method: 'get',
     data: param
   })
 }
-export function getFarmList(param) {
+
+//资源耕地列表
+export function getLandList(param) {
   return request({
-    url: '/center-resources/VisuForestDataCenterController/getFarmList',
-    method: 'post',
-    data: param
+    // url: '/center-resources/VisuForestDataCenterController/getLandList',
+    url: '/center-data/waterConservancyView/getLandList?gridFarmId='+param.gridLandId,//无逻辑
+    // method: 'post',
+    method: 'get',
+    // data: param
   })
 }
-export function getLandList(param) {
+//永久基本田列表
+export function getFarmList(param) {
   return request({
-    url: '/center-resources/VisuForestDataCenterController/getLandList',
-    method: 'post',
-    data: param
+    // url: '/center-resources/VisuForestDataCenterController/getFarmList',
+    url: '/center-data/waterConservancyView/getFarmList?gridLandId='+param.gridFarmId,//无逻辑
+    // method: 'post',
+    method: 'get',
+    // data: param
   })
 }
 
 export function getGridList(param) {
   return request({
-    url: '/center-resources/VisuForestDataCenterController/getGridList',
-    method: 'post',
-    data: param
+    // url: '/center-resources/VisuForestDataCenterController/getGridList',
+    url: '/center-data/waterConservancyView/getGridList?leadType='+param.leadType+'&gridId='+param.gridId,//无逻辑
+    // method: 'post',
+    method: 'get',
+    // data: param
   })
 }
 
 // 田长列表 NEW
 export function getTianList(param) {
   return request({
-    url: '/center-resources/VisuForestDataCenterController/getTianList',
-    method: 'post',
-    data: param
+    // url: '/center-resources/VisuForestDataCenterController/getTianList',
+    url: '/center-data/waterConservancyView/getTianList?leadType='+param.leadType,//无逻辑
+    // method: 'post',
+    method: 'get',
+    // data: param
   })
 }
 
 // 获取左侧田长列表
 export function getTianzhangList() {
+  alert(666)
   return request({
-    url: '/center-resources/VisuForestTianzhangzhiController/selectTianzhangList',
+    // url: '/center-resources/VisuForestTianzhangzhiController/selectTianzhangList',
+    url: '/center-data/chieftian/remoteList',//无逻辑
     method: 'post',
   })
 }
@@ -50,7 +65,8 @@ export function getTianzhangList() {
 // 田长获取网格网格长列表
 export function selectVisuGridLength(param) {
   return request({
-    url: '/center-resources/VisuForestTianzhangzhiController/selectVisuGridLength',
+    // url: '/center-resources/VisuForestTianzhangzhiController/selectVisuGridLength',
+    url: '/center-data/chieftian/selectVisuGridLength',//无逻辑
     method: 'post',
     data: param
   })
@@ -59,7 +75,8 @@ export function selectVisuGridLength(param) {
 // 网格长获取耕地和基本田列表
 export function selectGridLandInfo(param) {
   return request({
-    url: '/center-resources/VisuForestTianzhangzhiController/selectGridLandInfo',
+    // url: '/center-resources/VisuForestTianzhangzhiController/selectGridLandInfo',
+    url: '/center-data/FarmGrid/selectGridLandInfo',//无逻辑
     method: 'post',
     data: param
   })
@@ -68,7 +85,8 @@ export function selectGridLandInfo(param) {
 // 网格长获取耕地和基本田列表
 export function remoteGetRegionalFlag(id) {
   return request({
-    url: '/center-resources/VisuForestTianzhangzhiController/remoteGetRegionalFlag/' + id,
+    // url: '/center-resources/VisuForestTianzhangzhiController/remoteGetRegionalFlag/' + id,
+    url: '/center-data/info/getRegionalFlag/' + id,//无逻辑
     method: 'get',
   })
 }