提交代码

This commit is contained in:
guanj
2025-09-25 11:34:55 +08:00
commit 448b8df85b
188 changed files with 21433 additions and 0 deletions

87
src/api/index.ts Normal file
View File

@@ -0,0 +1,87 @@
import http from '@/utils/request'
//查询图元
export function find() {
return http.request({
url: '/cs-system-boot/csElement/find',
method: 'POST'
})
}
// 获取svg文件
export function download(params: any) {
return http.request({
url: '/system-boot/file/download',
method: 'get',
params
})
}
// 新增图元
export function addElement(params: any) {
return http.request({
url: '/cs-system-boot/csElement/add',
method: 'post',
data: params
})
}
// 删除图元
export function deleteElement(params: any) {
return http.request({
url: '/cs-system-boot/csElement/delete',
method: 'post',
params: params
})
}
// 查询左侧图纸列表
export function queryPage(params: any) {
return http.request({
url: '/cs-harmonic-boot/cspage/queryPage',
method: 'post',
data: params
})
}
// 总的画布的保存
export function addCanvas(params: any) {
return http.request({
url: '/cs-harmonic-boot/cspage/add',
method: 'post',
data: params
})
}
// 截图
export function audit(params: any) {
return http.request({
url: '/cs-harmonic-boot/csconfiguration/audit',
method: 'post',
data: params
})
}
// 监测点列表
export function lineTree(params: any) {
return http.request({
url: '/cs-device-boot/csLedger/lineTree',
method: 'post',
data: params
})
}
// 指标列表
export function targetList(params: any) {
return http.request({
url: '/cs-harmonic-boot/lineTarget/target',
method: 'post',
params: params
})
}
// 无锡指标列表
export function eleEpdChooseTree_wx() {
return http.request({
url: '/csDictData/eleEpdChooseTree',
method: 'get'
})
}