12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- 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)
- }
- export function getLegendTree({ getParams }) {
- return httputils.getJson(`/serve/topology-wanda/graphCategory/queryByGroup`, getParams)
- }
- 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)
- }
- 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)
- }
- export function queryTypeId({ postParams }) {
- return httputils.postJson(`/serve/topology-wanda/graphElement/type/query`, postParams)
- }
- export function getVisualization({ getParams }) {
- return httputils.getJson(`/serve/topology-wanda/graphElement/type/search`, getParams)
- }
- export function groupByCategory({ getParams }) {
-
- return httputils.getJson(`/serve/topology-wanda/graphElement/groupByInfoSystem`, getParams)
- }
- export function graphElementSearch({ postParams }) {
- return httputils.postJson(`/serve/topology-wanda/graphElement/search`, postParams)
- }
- export function queryDeviceAndPOsition({ postParams }) {
- return httputils.postJson(`/data/t_system_wzfl/query`, postParams)
- }
- export function queryPics({ postParams }) {
- return httputils.postJson(`/serve/topology-wanda/graph/query`, postParams)
- }
|