Initial commit

This commit is contained in:
lnljyang
2025-12-30 09:44:46 +08:00
commit 82b8d21506
147 changed files with 39113 additions and 0 deletions

32
api/maintainTodo.js Normal file
View File

@@ -0,0 +1,32 @@
import axios from "@/utils/request";
//保养待办接口
export default {
queryPageList(params) {
return axios.get(`/maintenanceAgent/queryPageList`, params);
},
add(params) {
return axios.put(`/maintenanceAgent/add`, params); //接口在车辆整备那边调用
},
edit(params) {
return axios.put(`/maintenanceAgent/edit`, params);
},
getById(params) {
return axios.get(`/maintenanceAgent/getAgentInfoById`, params);
},
//获取保养记录列表
getMaintainInfoByCarId(params) {
return axios.get(`/maintenanceAgent/getNewAgentItemInfoById`, params);
},
//查看保养记录
getRecords(params) {
return axios.get(`/maintenanceAgent/getAgentItemListByIds`, params);
},
getCostInfoByIds(params) {
return axios.post(`/maintenanceAgent/getAgentItemListByIdss`, params);
},
getPayeeType() {
return axios.get(`/dic/queryByDicType`, {
dicType: "dic_maintenance_payee_type",
}); // 字典数据 收款方类型
},
};