21 lines
689 B
JavaScript
21 lines
689 B
JavaScript
import axios from "@/utils/request";
|
|
|
|
export default {
|
|
queryPageList(params) {
|
|
return axios.post(`/vehiclePreparation/queryPageList`, params); // 车辆整备列表
|
|
},
|
|
getById(params) {
|
|
return axios.get(`/vehiclePreparation/getInfoById`, params); // 车辆整备详情
|
|
},
|
|
editTruckPreparation(params) {
|
|
return axios.put(`/vehiclePreparation/edit`, params); // 添加车辆整备
|
|
},
|
|
getPreTypeList() {
|
|
return axios.get(`/dic/queryByDicType`, { dicType: "preparation_type" });
|
|
}, // 获取整备类型
|
|
getPreFormDataListByTruckId(params) {
|
|
//车辆整备新检查单
|
|
return axios.get(`/vehiclePreparation/getFormDataListByTruckId`, params);
|
|
},
|
|
};
|