Initial commit
This commit is contained in:
20
api/truckPreparation.js
Normal file
20
api/truckPreparation.js
Normal file
@@ -0,0 +1,20 @@
|
||||
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);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user