联调文件管理页面

This commit is contained in:
guanj
2026-04-02 09:08:57 +08:00
parent 762965b1e4
commit 0b9aafc1b5
25 changed files with 829 additions and 437 deletions

View File

@@ -1,4 +1,4 @@
import createAxios from "@/utils/request";
import createAxios from '@/utils/request'
//根据Id获取台账信息
export function getInfoById(id: any) {
@@ -11,7 +11,6 @@ export function getInfoById(id: any) {
})
}
//工程查询通过id获取
export function getEngineerById(id: any) {
let form = new FormData()
@@ -23,7 +22,6 @@ export function getEngineerById(id: any) {
})
}
//项目查询通过id获取
export function getProjectById(id: any) {
let form = new FormData()
@@ -53,7 +51,7 @@ export function getById(id: any) {
return createAxios({
url: '/cs-device-boot/csline/getById',
method: 'POST',
data: form
data: form
})
}
@@ -75,13 +73,15 @@ export function addLedger(data: any) {
}
//修改-删除项目
export function deleteProject(id: any,name:any,area:any,description:any,status:any) {
export function deleteProject(id: any, name: any, area: any, description: any, status: any, sort: any, topoIds: any) {
let form = new FormData()
form.append('id', id)
form.append('name', name)
form.append('area', area)
form.append('description', description)
form.append('status', status)
form.append('sort', sort)
form.append('topoIds', topoIds)
return createAxios({
url: '/cs-device-boot/project/auditAppProject',
method: 'post',
@@ -105,7 +105,7 @@ export const deleteLine = (id: any) => {
let form = new FormData()
form.append('id', id)
return createAxios({
url: '/cs-device-boot/csline/delCldLine',
url: '/cs-device-boot/csline/delCldLine',
method: 'POST',
data: form
})
@@ -120,7 +120,6 @@ export function updateEquipment(data: any) {
})
}
//修改监测点
export function updateLine(data: any) {
return createAxios({
@@ -134,8 +133,7 @@ export function updateLine(data: any) {
export function pushLog() {
return createAxios({
url: '/cs-device-boot/csTerminalLogs/pushCldInfo',
method: 'post',
method: 'post'
})
}
@@ -143,7 +141,6 @@ export function pushLog() {
export function queryPushResult() {
return createAxios({
url: '/cs-device-boot/csTerminalReply/queryData',
method: 'post',
method: 'post'
})
}
}