diff --git a/src/api/gis/map.js b/src/api/gis/map.js new file mode 100644 index 0000000..332144c --- /dev/null +++ b/src/api/gis/map.js @@ -0,0 +1,49 @@ +import request from '@/utils/request' +// 坐标点 更新 通用 +export function pointSave(data) { + return request({ + url: '/gis/map/point/do', + method: 'post', + data: data + }) +} +// 坐标点 更新 通用 自己指定主键ID +export function pointSavePri(data) { + return request({ + url: '/gis/map/point/private/do', + method: 'post', + data: data + }) +} +// 多边形面 更新 通用 +export function areaSave(data) { + return request({ + url: '/gis/map/polygon/do', + method: 'post', + data: data + }) +} +// 多边形面 更新 通用 - 自己指定主键ID +export function areaSavePri(data) { + return request({ + url: '/gis/map/polygon/private/do', + method: 'post', + data: data + }) +} +// 清空 geo 通用 +export function cleanSave(data) { + return request({ + url: '/gis/map/clean/do', + method: 'post', + data: data + }) +} +// 清空 geo 通用 自己指定主键ID +export function cleanSavePri(data) { + return request({ + url: '/gis/map/clean/private/do', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/resource/land.js b/src/api/resource/land.js index 05f166e..8cd5a69 100644 --- a/src/api/resource/land.js +++ b/src/api/resource/land.js @@ -8,6 +8,14 @@ export function listLand(query) { params: query }) } +// 查询地块属性列表 ,用于空间字段专属查询,避免敏感泄露 +export function listLandQuery(query) { + return request({ + url: '/resource/land/query', + method: 'get', + params: query + }) +} // 查询地块属性详细 export function getLand(fid) { @@ -68,11 +76,3 @@ export function printLand(query) { params: query }) } - -// 清空空间字段 -export function clearTheGeom(fid) { - return request({ - url: '/resource/land/clear/' + fid, - method: 'get', - }) -} diff --git a/src/api/system/dept.js b/src/api/system/dept.js index 5fc7c26..669811e 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -25,9 +25,9 @@ export function getDept(deptId) { }) } // 查询部门详细 -export function getDeptByOrgCode(orgCode) { +export function getInfoByImportCode(importCode) { return request({ - url: '/system/dept/getInfoByCode/' + orgCode, + url: '/system/dept/getInfoByImportCode/' + importCode, method: 'get' }) } diff --git a/src/views/resource/land/index.vue b/src/views/resource/land/index.vue index ed70b7f..a818e69 100644 --- a/src/views/resource/land/index.vue +++ b/src/views/resource/land/index.vue @@ -326,7 +326,7 @@ -

地图信息:绿色地块表示该地块,蓝色表示本账套已标记的其他地块

+

地图信息:绿色地块表示该地块,青色表示本组织已标记的其他地块

@@ -348,7 +348,8 @@