From 9a224d216652ef2d6ff2e0bd01fba69c86a3f277 Mon Sep 17 00:00:00 2001 From: yanzhaofeige <yanzhaofeige@qq.com> Date: Fri, 11 Oct 2024 11:28:55 +0800 Subject: [PATCH] 基础表单更新 --- cpzidc-ui/src/api/bis/useInfrastructure.js | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/cpzidc-ui/src/api/bis/useInfrastructure.js b/cpzidc-ui/src/api/bis/useInfrastructure.js new file mode 100644 index 0000000..be3e3ae --- /dev/null +++ b/cpzidc-ui/src/api/bis/useInfrastructure.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询基础设施信息列表 +export function listUseInfrastructure(query) { + return request({ + url: '/bis/useInfrastructure/list', + method: 'get', + params: query + }) +} + +// 查询基础设施信息详细 +export function getUseInfrastructure(id) { + return request({ + url: '/bis/useInfrastructure/' + id, + method: 'get' + }) +} + +// 新增基础设施信息 +export function addUseInfrastructure(data) { + return request({ + url: '/bis/useInfrastructure', + method: 'post', + data: data + }) +} + +// 修改基础设施信息 +export function updateUseInfrastructure(data) { + return request({ + url: '/bis/useInfrastructure', + method: 'put', + data: data + }) +} + +// 删除基础设施信息 +export function delUseInfrastructure(id) { + return request({ + url: '/bis/useInfrastructure/' + id, + method: 'delete' + }) +} -- Gitblit v1.9.3