From 09e9820603d010028d3899c28b3f62af0ad3349c Mon Sep 17 00:00:00 2001 From: xiepeng Date: Thu, 7 Mar 2024 10:26:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=90=A5=E8=BD=A6=E8=BE=86=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=20=E8=BD=A6=E8=88=B9=E7=A8=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/taxation_manage.js | 57 +++ src/request/taxation_manage.js | 58 +++ .../operation_vehicle/add.vue | 244 ++++++----- .../mechanical_files/taxation_manage/add.vue | 383 ++++++++++++++++++ .../mechanical_files/taxation_manage/edit.vue | 317 +++++++++++++++ .../taxation_manage/index.vue | 219 ++++++++++ .../mechanical_files/taxation_manage/view.vue | 89 ++++ 7 files changed, 1262 insertions(+), 105 deletions(-) create mode 100644 src/assets/js/taxation_manage.js create mode 100644 src/request/taxation_manage.js create mode 100644 src/views/mechanical_files/taxation_manage/add.vue create mode 100644 src/views/mechanical_files/taxation_manage/edit.vue create mode 100644 src/views/mechanical_files/taxation_manage/index.vue create mode 100644 src/views/mechanical_files/taxation_manage/view.vue 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 @@