jsy-app/api/index.js
2024-09-26 18:52:14 +08:00

26 lines
502 B
JavaScript

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"
})
}
//查询设备列表
export function getDeviceList(data) {
return request({
url: "/device/control/app/listNew2",
method: "get",
data: data
})
}