company.js
782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { request } from "@/utils/request";
/**
* @method 查询运输单位信息
*/
export async function queryDisposalSiteList() {
return await request.get(
`/disposalSite/list`
);
}
/**
* @method 企业详情
*/
export async function queryEnterpriseList(params) {
return await request.get(
`/order/docking/up/company`,
{params:params}
);
}
/**
* @method 企业详情
*/
export async function queryEnterpriseById(id) {
return await request.get(
`/unit/enterprise/${id}`
);
}
/**
* @method 根据能源类型获取公司名称列表
*/
export async function queryCompaniesByEnergyType(energyType) {
return await request.get(
`/gar/car/requestStrByEnergyType`,
{
params: {energyType}
}
);
}