联调文件管理页面
This commit is contained in:
@@ -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'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user