生产监控前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.1 KiB

2 years ago
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { deviceVo } from './types';
/**
*
*/
export function getMenuData(): AxiosPromise<[]> {
return request({
url: '/bi/configuration/getMenuData',
method: 'get'
});
}
2 years ago
/**
*
*/
export function getDept(): AxiosPromise<[]> {
return request({
url: '/bi/configuration/getMenu',
method: 'get'
});
}
/**
*
*
* @param params Id
*/
export function getDeviceList(params: number): AxiosPromise<deviceVo> {
return request({
url: '/bi/configuration/getDeviceListByDept/'+params,
method: 'get'
});
}
/**
*
*
* @param params Id
*/
export function getViewInfo(params: number): AxiosPromise<deviceVo> {
return request({
url: '/bi/configuration/getViewInfoById/'+params,
method: 'get'
});
}
/**
*
*
* @param data
*/
export function editConfig(data: any) {
return request({
url: '/dc/dcUserMonitorConfig/A',
method: 'post',
data: data
});
}