jsy-app/api/index.js

26 lines
502 B
JavaScript
Raw Normal View History

2024-09-25 18:47:15 +08:00
import request from "@/utils/request"
// 查询用户所属公司列表
export function deptTreeSelectByRole() {
return request({
url: "/system/user/deptTreeByRole",
method: "get"
})
}
//查询管理员地块列表
export function getManagerGroundList(userID) {
return request({
url: "/landManager/select/" + userID,
method: "get"
})
2024-09-26 18:52:14 +08:00
}
//查询设备列表
export function getDeviceList(data) {
return request({
url: "/device/control/app/listNew2",
method: "get",
data: data
})
2024-09-25 18:47:15 +08:00
}