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

67
api/standbyVehicle.js Normal file
View File

@@ -0,0 +1,67 @@
import axios from "@/utils/request";
export default {
queryPageList(params) {
return axios.post(`/standbyVehicleMain/queryPageList`, params);
},
getTodo(params) {
return axios.get(`/standbyVehicleMain/getTodo`, params)
},
getById(params) {
return axios.get(`/standbyVehicleMain/getById`, params)
},
saveStandbyVehicleDetail(params) {
return axios.post(`/standbyVehicleMain/saveStandbyVehicleDetail`, params)
},
getVehicleBrand() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_vehicle_brand" })
},
getBrandListByMode(params) {
return axios.get(`/truck/getBrandListByMode`, params)
},
getTruckType() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_truck_type" })
},
getYesNoDic() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_yes_no" })
},
getTypeName() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_failure_type" })// 故障类型
},
getFailureStatusName() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_is_settle_status" })// 故障状态
},
getFaultSourceName() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_fault_source" })// 故障来源
},
getCityName() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_unusual_action_apply_city_code" })// 城市
},
getCostTypeName() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_fault_cost_type" })// 费用类型
},
getPayerName() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_fault_payer" })// 付款方
},
getPaymentStatusDic() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_pub_payment_status" })// 付款状态
},
saveCache(params) {
return axios.post(`/standbyVehicleMain/saveCache`, params);
},
getCache(params) {
return axios.get(`/standbyVehicleMain/getCache`, params)
},
delCache(params) {
return axios.get(`/standbyVehicleMain/delCache`, params);
},
getOpManagerPhone(params) {
return axios.get(`/standbyVehicleMain/getOperationsManagerByRegion`, params)
},
edit(params) {
return axios.put(`/standbyVehicleMain/edit`, params)
},
getFormDataListByTruckId(params) {
return axios.get(`/standbyVehicleMain/getFormDataListByTruckId`, params)
}
}