2024-03-01 10:27:00 +08:00
|
|
|
import { post, upload } from "@/request/axios.js";
|
|
|
|
|
|
|
|
export const getVehicleColor = (params) =>
|
|
|
|
post("/dictionaries/getVehicleColor", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const getTransportationEnterprise = (params) =>
|
|
|
|
post("/dictionaries/getTransportationEnterprise", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
2024-03-06 09:26:27 +08:00
|
|
|
export const getMobileUnit = (params) =>
|
|
|
|
post("/dictionaries/getLevels", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
2024-03-01 10:27:00 +08:00
|
|
|
|
|
|
|
export const getNetworkStatus = (params) =>
|
|
|
|
post("/dictionaries/getNetworkStatus", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const getDynamicSupervision = (params) =>
|
|
|
|
post("/dictionaries/getDynamicSupervision", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const getActiveSafety = (params) =>
|
|
|
|
post("/dictionaries/getActiveSafety", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const getLicenseStatus = (params) =>
|
|
|
|
post("/dictionaries/getLicenseStatus", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const getTransportCategory = (params) =>
|
|
|
|
post("/dictionaries/getTransportCategory", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const getBelongingDepartment = (params) =>
|
|
|
|
post("/dictionaries/getBelongingDepartment", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
2024-03-01 14:32:47 +08:00
|
|
|
export const getVehicleType = (params) =>
|
|
|
|
post("/dictionaries/getVehicleType", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
2024-03-01 10:27:00 +08:00
|
|
|
export const getFnGetFuelType = (params) =>
|
|
|
|
post("/dictionaries/getFnGetFuelType", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const getEmissionStandard = (params) =>
|
|
|
|
post("/dictionaries/getEmissionStandard", {
|
|
|
|
loading: false,
|
|
|
|
...params,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const getOperationVehicleList = (params) =>
|
|
|
|
post("/operatingvehicles/list", params); // 运营车辆列表export const getOperationVehicleList = (params) =>
|
|
|
|
|
2024-03-06 09:26:27 +08:00
|
|
|
export const setOperationVehicleDelete = (params) =>
|
|
|
|
post("/operatingvehicles/delete", params); // 运营车辆列表export const getOperationVehicleList = (params) =>
|
|
|
|
|
2024-03-01 10:27:00 +08:00
|
|
|
export const addOperatingVehicleInfo = (params) =>
|
|
|
|
upload("/operatingvehicles/add", params); // 资料课件维护添加
|
|
|
|
|
|
|
|
export const findByIdOperatingVehicleInfo = (params) =>
|
|
|
|
post("/operatingvehicles/goEdit", params); // 新增运营车辆
|
|
|
|
|
|
|
|
export const editOperatingVehicleInfo = (params) =>
|
|
|
|
upload("/operatingvehicles/edit", params); // 修改运营车辆
|
|
|
|
|
|
|
|
|
|
|
|
|