大屏项目初始化
This commit is contained in:
13
screen-vue/src/api/bizFiles.js
Normal file
13
screen-vue/src/api/bizFiles.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
/**
|
||||
* 导出用户信息
|
||||
*/
|
||||
export function download(params) {
|
||||
return request({
|
||||
url: '/biz/homeFiles/dwonload',
|
||||
method: 'get',
|
||||
params,
|
||||
responseType: 'blob'
|
||||
});
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
/**
|
||||
* 获取指标信息列表
|
||||
*/
|
||||
@@ -11,6 +12,28 @@ export function getHomeModuleList(params) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取指标信息列表
|
||||
*/
|
||||
export function getHomeModuleListAll(params) {
|
||||
return request({
|
||||
url: '/biz/homeModule/listAll',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除信息列表
|
||||
*/
|
||||
export function getHomeModuleSave(data) {
|
||||
return request({
|
||||
url: '/biz/homeModule/save',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除信息列表
|
||||
*/
|
||||
|
||||
@@ -11,6 +11,17 @@ export function getHomeRoleList(params) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取指标信息列表
|
||||
*/
|
||||
export function getHomeRoleUserList(params) {
|
||||
return request({
|
||||
url: '/biz/homeRole/userList',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取角色授权的菜单
|
||||
*/
|
||||
|
||||
@@ -42,4 +42,5 @@ export function getHomeUserDelete(params) {
|
||||
method: 'post',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user