integrated_traffic_vue/src/request/mechanical_files.js

36 lines
3.2 KiB
JavaScript

import { post } from "@/request/axios.js";
export const getTrailerList = (params) => post("/freightTrailer/vehicleList", params)
export const getInspectAnnuallyList = (params) => post("/inspectAnnually/list", params); // 年检管理列表
export const getInspectAnnuallyView = (params) => post("/inspectAnnually/goEdit", params); // 年检管理查看
export const setInspectAnnuallyAdd = (params) => post("/inspectAnnually/add", params); // 年检管理新增
export const setInspectAnnuallyEdit = (params) => post("/inspectAnnually/edit", params); // 年检管理修改
export const setInspectAnnuallyDelete = (params) => post("/inspectAnnually/delete", params); // 年检管理删除
export const setInspectAnnuallyEdit2 = (params) => post("/inspectAnnually/edit2", params); // 年检管理修改开启关闭
export const getInsureList = (params) => post("/insure/list", params); // 保险管理列表
export const getInsureView = (params) => post("/insure/goEdit", params); // 保险管理查看
export const setInsureAdd = (params) => post("/insure/add", params); // 保险管理新增
export const setInsureEdit = (params) => post("/insure/edit", params); // 保险管理修改
export const setInsureDelete = (params) => post("/insure/delete", params); // 保险管理删除
export const setInsureEdit2 = (params) => post("/insure/edit2", params); // 保险管理修改开启关闭
export const getOperationsList = (params) => post("/operations/list", params); // 运营管理列表
export const getOperationsView = (params) => post("/operations/goEdit", params); // 运营管理查看
export const setOperationsAdd = (params) => post("/operations/add", params); // 运营管理新增
export const setOperationsEdit = (params) => post("/operations/edit", params); // 运营管理修改
export const setOperationsDelete = (params) => post("/operations/delete", params); // 运营管理删除
export const setOperationsEdit2 = (params) => post("/operations/edit2", params); // 运营管理修改开启关闭
export const getMaintenanceList = (params) => post("/maintenance/list", params); // 维保管理列表
export const getMaintenanceView = (params) => post("/maintenance/goEdit", params); // 维保管理查看
export const setMaintenanceAdd = (params) => post("/maintenance/add", params); // 维保管理新增
export const setMaintenanceEdit = (params) => post("/maintenance/edit", params); // 维保管理修改
export const setMaintenanceDelete = (params) => post("/maintenance/delete", params); // 维保管理删除
export const setMaintenanceEdit2 = (params) => post("/maintenance/edit2", params); // 维保管理修改开启关闭
export const getBeidouList = (params) => post("/beidou/list", params); // 维保管理列表
export const getBeidouView = (params) => post("/beidou/goEdit", params); // 维保管理查看
export const setBeidouAdd = (params) => post("/beidou/add", params); // 维保管理新增
export const setBeidouEdit = (params) => post("/beidou/edit", params); // 维保管理修改
export const setBeidouDelete = (params) => post("/beidou/delete", params); // 维保管理删除
export const setBeidouEdit2 = (params) => post("/beidou/edit2", params); // 维保管理修改开启关闭