diff --git a/src/assets/js/taxation_manage.js b/src/assets/js/taxation_manage.js new file mode 100644 index 0000000..31629b9 --- /dev/null +++ b/src/assets/js/taxation_manage.js @@ -0,0 +1,57 @@ +import { + getExpireStatus, getRemindStatus, getTaxesPeriod, getTrailerList, getTrailerVehicle, getTransportEnterprises, + getVehicleType, getTaxationList +} from "@/request/taxation_manage.js"; +import { ref } from "vue"; + +export const layoutFnGetExpireStatus = async () => { + const resData = await getExpireStatus({ + DICTIONARIES_ID: "0000aeffdabfccos952559772f5b9fd4", + }); + return ref(resData.list); +}; +export const layoutFnGetRemindStatus = async () => { + const resData = await getRemindStatus({ + DICTIONARIES_ID: "0000aeffdabfccos952559772f5b3421", + }); + return ref(resData.list); +}; +export const layoutFnGetTrailerList = async () => { + const resData = await getTrailerList({ + }); + return ref(resData.list); +}; + +export const layoutFnGetTaxationList = async () => { + const resData = await getTaxationList({ + }); + return ref(resData.list); +}; + +export const layoutFnGetTransportEnterprises = async () => { + const resData = await getTransportEnterprises({ + DICTIONARIES_ID: "0000aeffdabfccos952559772f5b3777", + }); + return ref(resData.list); +}; +export const layoutFnGetTrailerVehicle = async () => { + const resData = await getTrailerVehicle({ + DICTIONARIES_ID: "0000aeffdabfccos952559772f5b3xe1", + }); + return ref(resData.list); +}; +export const layoutFnGetTaxesPeriod = async () => { + const resData = await getTaxesPeriod({ + DICTIONARIES_ID: "0000aeffdabfccos952559772f5b3xe3", + }); + return ref(resData.list); +}; + +export const layoutFnGetVehicleType = async () => { // 获取车辆类型 + const resData = await getVehicleType({ + DICTIONARIES_ID: "08411f2b259a45681512dfad07c4f11a", + }); + return ref(resData.list); +}; + + diff --git a/src/request/taxation_manage.js b/src/request/taxation_manage.js new file mode 100644 index 0000000..6666b78 --- /dev/null +++ b/src/request/taxation_manage.js @@ -0,0 +1,58 @@ +import { post, upload } from "@/request/axios.js"; + + +export const getTaxationManageList = (params) => + post("/taxationmanage/list", params); // 运营车辆列表export const getOperationVehicleList = (params) => + +export const setTaxatonManageDelete = (params) => + post("/taxationmanage/delete", params); // 删除车船税管理export const getOperationVehicleList = (params) => + +export const getExpireStatus = (params) => + post("/dictionaries/getExpireStatus", { + loading: false, + ...params, + }); +export const getRemindStatus = (params) => + post("/dictionaries/getRemindStatus", { + loading: false, + ...params, + }); +export const getTransportEnterprises = (params) => + post("/dictionaries/getTransportEnterprises", { + loading: false, + ...params, + }); +export const findByIdTaxationManageInfo = (params) => + post("/taxationmanage/goEdit", { + loading: false, + ...params, + }); +export const getTrailerVehicle = (params) => + post("/dictionaries/getTrailerVehicle", { + loading: false, + ...params, + }); +export const getTaxesPeriod = (params) => + post("/dictionaries/getTaxesPeriod", { + loading: false, + ...params, + }); +export const getVehicleType = (params) => + post("/dictionaries/getVehicleType", { + loading: false, + ...params, + }); +export const setTaxationManageAdd = (params) => + upload("/taxationmanage/add", params); // 新增车船税管理 + +export const editTaxationManageInfo = (params) => + upload("/taxationmanage/edit", params); // 修改车船税管理 + +export const getTrailerList = (params) => + upload("/freightTrailer/vehicleList", params); // 获取所有挂车 + +export const getTaxationList = (params) => + upload("/taxationmanage/taxationList", params); // 获取所有挂车 + + + diff --git a/src/views/enterprise_management/basics_info_management/operation_vehicle/add.vue b/src/views/enterprise_management/basics_info_management/operation_vehicle/add.vue index bfae142..02b418b 100644 --- a/src/views/enterprise_management/basics_info_management/operation_vehicle/add.vue +++ b/src/views/enterprise_management/basics_info_management/operation_vehicle/add.vue @@ -1,26 +1,25 @@