修改测试bug 优化页面
This commit is contained in:
@@ -15,6 +15,13 @@ export function getLineTree() {
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
// 监测点列表治理
|
||||
export function objTree() {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csLedger/objTree',
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//云设备录入树
|
||||
|
||||
@@ -1,50 +1,67 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
//新增组态项目
|
||||
export function add(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/csconfiguration/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//组态项目分页查询
|
||||
export function coFqueryPage(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/csconfiguration/queryPage',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//修改组态项目
|
||||
export function audit(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/csconfiguration/audit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//组态页面分页查询
|
||||
export function queryPageData(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/cspage/queryPage',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//查询工程列表
|
||||
export function deviceTree(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csLedger/deviceTree',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
//三层设备树(项目层根节点为治理设备和便携式设备组态)
|
||||
export function getztProjectTree() {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csLedger/getztProjectTree',
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
//新增组态项目
|
||||
export function add(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/csconfiguration/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//组态项目分页查询
|
||||
export function coFqueryPage(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/csconfiguration/queryPage',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//修改组态项目
|
||||
export function audit(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/csconfiguration/audit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//组态页面分页查询
|
||||
export function queryPageData(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/cspage/queryPage',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//查询工程列表
|
||||
export function deviceTree(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csLedger/deviceTree',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
//三层设备树(项目层根节点为治理设备和便携式设备组态)
|
||||
export function getztProjectTree() {
|
||||
return createAxios({
|
||||
url: '/cs-device-boot/csLedger/getztProjectTree',
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
|
||||
//根据用户id获取组件信息
|
||||
export function getByUserId(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/cspage/getByUserId',
|
||||
method: 'post',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
//c保存组态界面与用户的关系
|
||||
export function savePageIdWithUser(data: any) {
|
||||
return createAxios({
|
||||
url: '/cs-harmonic-boot/cspage/savePageIdWithUser',
|
||||
method: 'post',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -54,6 +54,14 @@ export const activatePage = (params: any) => {
|
||||
params
|
||||
})
|
||||
}
|
||||
// 全局的驾驶舱页面
|
||||
export const scopePage = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/scopePage',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 查询激活的驾驶舱页面
|
||||
export const queryActivatePage = () => {
|
||||
return createAxios({
|
||||
|
||||
Reference in New Issue
Block a user