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