|
@@ -1,45 +1,45 @@
|
|
|
-import httputils from "@/api/httputils"
|
|
|
+import httputils from '@/api/httputils'
|
|
|
// 图例库-查询
|
|
|
export function queryLegend({ postParams }) {
|
|
|
- return httputils.postJson(`/serve/graphElement/query`, postParams)
|
|
|
+ return httputils.postJson(`/serve/topology-wanda/graphElement/query`, postParams)
|
|
|
}
|
|
|
// 图例库-新增
|
|
|
export function createLegend({ postParams }) {
|
|
|
- return httputils.postJson(`/serve/graphElement/create`, postParams)
|
|
|
+ return httputils.postJson(`/serve/topology-wanda/graphElement/create`, postParams)
|
|
|
}
|
|
|
//图例库-更新
|
|
|
export function updateLegend({ postParams }) {
|
|
|
- return httputils.postJson(`/serve/graphElement/update`, postParams)
|
|
|
+ return httputils.postJson(`/serve/topology-wanda/graphElement/update`, postParams)
|
|
|
}
|
|
|
//图例库-作废
|
|
|
export function deleteLegend({ postParams }) {
|
|
|
- return httputils.postJson(`/serve/graphElement/deleteByFlag`, postParams)
|
|
|
+ return httputils.postJson(`/serve/topology-wanda/graphElement/deleteByFlag`, postParams)
|
|
|
}
|
|
|
//图例库-系统tree查询
|
|
|
export function getLegendTree({ getParams }) {
|
|
|
- return httputils.getJson(`/serve/graphCategory/queryByGroup`, getParams)
|
|
|
+ return httputils.getJson(`/serve/topology-wanda/graphCategory/queryByGroup`, getParams)
|
|
|
}
|
|
|
//图例库-系统tree相关表格查询
|
|
|
export function queryRelation({ data, postParams }) {
|
|
|
- return httputils.fetchJson(`/serve/graphRelation/query`, data, postParams)
|
|
|
+ return httputils.fetchJson(`/serve/topology-wanda/graphRelation/query`, data, postParams)
|
|
|
}
|
|
|
//图例库-更新关系图
|
|
|
export function updateRelation({ postParams }) {
|
|
|
- return httputils.postJson(`/serve/graphRelation/update`, postParams)
|
|
|
+ return httputils.postJson(`/serve/topology-wanda/graphRelation/update`, postParams)
|
|
|
}
|
|
|
//图例库-系统tree相关表格删除
|
|
|
export function deleteRelation({ postParams }) {
|
|
|
- return httputils.postJson(`/serve/graphRelation/delete`, postParams)
|
|
|
+ return httputils.postJson(`/serve/topology-wanda/graphRelation/delete`, postParams)
|
|
|
}
|
|
|
//图例库-上传图片
|
|
|
export function uploadImg({ postParams }) {
|
|
|
- return httputils.postJson(`/serve/Picture/create`, postParams)
|
|
|
+ return httputils.postJson(`/serve/topology-wanda/Picture/create`, postParams)
|
|
|
}
|
|
|
//图例库-穿梭框的搜索
|
|
|
export function getTransfer({ getParams }) {
|
|
|
- return httputils.getJson(`/serve/graphElement/search`, getParams)
|
|
|
+ return httputils.getJson(`/serve/topology-wanda/graphElement/search`, getParams)
|
|
|
}
|
|
|
//图例库typeId
|
|
|
export function queryTypeId({ postParams }) {
|
|
|
- return httputils.postJson(`/serve/graphElement/type/query`, postParams)
|
|
|
+ return httputils.postJson(`/serve/topology-wanda/graphElement/type/query`, postParams)
|
|
|
}
|