diff --git a/src/api/pszc/cdelectricdata/index.ts b/src/api/pszc/cdelectricdata/index.ts new file mode 100644 index 0000000..6f2e90a --- /dev/null +++ b/src/api/pszc/cdelectricdata/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface CdElectricdataVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询冷拔-智能电列表 +export const getCdElectricdataPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/cdelectricdata/senior', data }) + } else { + return await request.get({ url: `/pszc/cdelectricdata/page`, params }) + } +} + +// 查询冷拔-智能电详情 +export const getCdElectricdata = async (id: number) => { + return await request.get({ url: `/pszc/cdelectricdata/get?id=` + id }) +} + +// 新增冷拔-智能电 +export const createCdElectricdata = async (data: CdElectricdataVO) => { + return await request.post({ url: `/pszc/cdelectricdata/create`, data }) +} + +// 修改冷拔-智能电 +export const updateCdElectricdata = async (data: CdElectricdataVO) => { + return await request.put({ url: `/pszc/cdelectricdata/update`, data }) +} + +// 删除冷拔-智能电 +export const deleteCdElectricdata = async (id: number) => { + return await request.delete({ url: `/pszc/cdelectricdata/delete?id=` + id }) +} + +// 导出冷拔-智能电 Excel +export const exportCdElectricdata = async (params) => { + return await request.download({ url: `/pszc/cdelectricdata/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/cdelectricdata/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/cdnatgasdata/index.ts b/src/api/pszc/cdnatgasdata/index.ts new file mode 100644 index 0000000..f4c5f73 --- /dev/null +++ b/src/api/pszc/cdnatgasdata/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface CdNatgasdataVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询冷拔-天然气总量列表 +export const getCdNatgasdataPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/cdnatgasdata/senior', data }) + } else { + return await request.get({ url: `/pszc/cdnatgasdata/page`, params }) + } +} + +// 查询冷拔-天然气总量详情 +export const getCdNatgasdata = async (id: number) => { + return await request.get({ url: `/pszc/cdnatgasdata/get?id=` + id }) +} + +// 新增冷拔-天然气总量 +export const createCdNatgasdata = async (data: CdNatgasdataVO) => { + return await request.post({ url: `/pszc/cdnatgasdata/create`, data }) +} + +// 修改冷拔-天然气总量 +export const updateCdNatgasdata = async (data: CdNatgasdataVO) => { + return await request.put({ url: `/pszc/cdnatgasdata/update`, data }) +} + +// 删除冷拔-天然气总量 +export const deleteCdNatgasdata = async (id: number) => { + return await request.delete({ url: `/pszc/cdnatgasdata/delete?id=` + id }) +} + +// 导出冷拔-天然气总量 Excel +export const exportCdNatgasdata = async (params) => { + return await request.download({ url: `/pszc/cdnatgasdata/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/cdnatgasdata/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/cdpuncherdata/index.ts b/src/api/pszc/cdpuncherdata/index.ts new file mode 100644 index 0000000..2a9c9ea --- /dev/null +++ b/src/api/pszc/cdpuncherdata/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface CdPuncherdataVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询冷拔-穿孔机列表 +export const getCdPuncherdataPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/cdpuncherdata/senior', data }) + } else { + return await request.get({ url: `/pszc/cdpuncherdata/page`, params }) + } +} + +// 查询冷拔-穿孔机详情 +export const getCdPuncherdata = async (id: number) => { + return await request.get({ url: `/pszc/cdpuncherdata/get?id=` + id }) +} + +// 新增冷拔-穿孔机 +export const createCdPuncherdata = async (data: CdPuncherdataVO) => { + return await request.post({ url: `/pszc/cdpuncherdata/create`, data }) +} + +// 修改冷拔-穿孔机 +export const updateCdPuncherdata = async (data: CdPuncherdataVO) => { + return await request.put({ url: `/pszc/cdpuncherdata/update`, data }) +} + +// 删除冷拔-穿孔机 +export const deleteCdPuncherdata = async (id: number) => { + return await request.delete({ url: `/pszc/cdpuncherdata/delete?id=` + id }) +} + +// 导出冷拔-穿孔机 Excel +export const exportCdPuncherdata = async (params) => { + return await request.download({ url: `/pszc/cdpuncherdata/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/cdpuncherdata/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/cdslotfurnace/index.ts b/src/api/pszc/cdslotfurnace/index.ts new file mode 100644 index 0000000..1a107ca --- /dev/null +++ b/src/api/pszc/cdslotfurnace/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface CdSlotfurnaceVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询缝式炉列表 +export const getCdSlotfurnacePage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/cdslotfurnace/senior', data }) + } else { + return await request.get({ url: `/pszc/cdslotfurnace/page`, params }) + } +} + +// 查询缝式炉详情 +export const getCdSlotfurnace = async (id: number) => { + return await request.get({ url: `/pszc/cdslotfurnace/get?id=` + id }) +} + +// 新增缝式炉 +export const createCdSlotfurnace = async (data: CdSlotfurnaceVO) => { + return await request.post({ url: `/pszc/cdslotfurnace/create`, data }) +} + +// 修改缝式炉 +export const updateCdSlotfurnace = async (data: CdSlotfurnaceVO) => { + return await request.put({ url: `/pszc/cdslotfurnace/update`, data }) +} + +// 删除缝式炉 +export const deleteCdSlotfurnace = async (id: number) => { + return await request.delete({ url: `/pszc/cdslotfurnace/delete?id=` + id }) +} + +// 导出缝式炉 Excel +export const exportCdSlotfurnace = async (params) => { + return await request.download({ url: `/pszc/cdslotfurnace/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/cdslotfurnace/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/cdsmelterfurnace/index.ts b/src/api/pszc/cdsmelterfurnace/index.ts new file mode 100644 index 0000000..40cd566 --- /dev/null +++ b/src/api/pszc/cdsmelterfurnace/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface CdSmelterfurnaceVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询固熔炉列表 +export const getCdSmelterfurnacePage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/cdsmelterfurnace/senior', data }) + } else { + return await request.get({ url: `/pszc/cdsmelterfurnace/page`, params }) + } +} + +// 查询固熔炉详情 +export const getCdSmelterfurnace = async (id: number) => { + return await request.get({ url: `/pszc/cdsmelterfurnace/get?id=` + id }) +} + +// 新增固熔炉 +export const createCdSmelterfurnace = async (data: CdSmelterfurnaceVO) => { + return await request.post({ url: `/pszc/cdsmelterfurnace/create`, data }) +} + +// 修改固熔炉 +export const updateCdSmelterfurnace = async (data: CdSmelterfurnaceVO) => { + return await request.put({ url: `/pszc/cdsmelterfurnace/update`, data }) +} + +// 删除固熔炉 +export const deleteCdSmelterfurnace = async (id: number) => { + return await request.delete({ url: `/pszc/cdsmelterfurnace/delete?id=` + id }) +} + +// 导出固熔炉 Excel +export const exportCdSmelterfurnace = async (params) => { + return await request.download({ url: `/pszc/cdsmelterfurnace/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/cdsmelterfurnace/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/cdstepfurnace/index.ts b/src/api/pszc/cdstepfurnace/index.ts new file mode 100644 index 0000000..6101ee2 --- /dev/null +++ b/src/api/pszc/cdstepfurnace/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface CdStepfurnaceVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询步进炉列表 +export const getCdStepfurnacePage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/cdstepfurnace/senior', data }) + } else { + return await request.get({ url: `/pszc/cdstepfurnace/page`, params }) + } +} + +// 查询步进炉详情 +export const getCdStepfurnace = async (id: number) => { + return await request.get({ url: `/pszc/cdstepfurnace/get?id=` + id }) +} + +// 新增步进炉 +export const createCdStepfurnace = async (data: CdStepfurnaceVO) => { + return await request.post({ url: `/pszc/cdstepfurnace/create`, data }) +} + +// 修改步进炉 +export const updateCdStepfurnace = async (data: CdStepfurnaceVO) => { + return await request.put({ url: `/pszc/cdstepfurnace/update`, data }) +} + +// 删除步进炉 +export const deleteCdStepfurnace = async (id: number) => { + return await request.delete({ url: `/pszc/cdstepfurnace/delete?id=` + id }) +} + +// 导出步进炉 Excel +export const exportCdStepfurnace = async (params) => { + return await request.download({ url: `/pszc/cdstepfurnace/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/cdstepfurnace/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/cdwatermeter/index.ts b/src/api/pszc/cdwatermeter/index.ts new file mode 100644 index 0000000..dd8a35f --- /dev/null +++ b/src/api/pszc/cdwatermeter/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface CdWatermeterVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询冷拔-水列表 +export const getCdWatermeterPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/cdwatermeter/senior', data }) + } else { + return await request.get({ url: `/pszc/cdwatermeter/page`, params }) + } +} + +// 查询冷拔-水详情 +export const getCdWatermeter = async (id: number) => { + return await request.get({ url: `/pszc/cdwatermeter/get?id=` + id }) +} + +// 新增冷拔-水 +export const createCdWatermeter = async (data: CdWatermeterVO) => { + return await request.post({ url: `/pszc/cdwatermeter/create`, data }) +} + +// 修改冷拔-水 +export const updateCdWatermeter = async (data: CdWatermeterVO) => { + return await request.put({ url: `/pszc/cdwatermeter/update`, data }) +} + +// 删除冷拔-水 +export const deleteCdWatermeter = async (id: number) => { + return await request.delete({ url: `/pszc/cdwatermeter/delete?id=` + id }) +} + +// 导出冷拔-水 Excel +export const exportCdWatermeter = async (params) => { + return await request.download({ url: `/pszc/cdwatermeter/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/cdwatermeter/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrannularfurnace108/index.ts b/src/api/pszc/hrannularfurnace108/index.ts new file mode 100644 index 0000000..23b0b29 --- /dev/null +++ b/src/api/pszc/hrannularfurnace108/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrAnnularfurnace108VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧108-环形加热炉列表 +export const getHrAnnularfurnace108Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrannularfurnace108/senior', data }) + } else { + return await request.get({ url: `/pszc/hrannularfurnace108/page`, params }) + } +} + +// 查询热轧108-环形加热炉详情 +export const getHrAnnularfurnace108 = async (id: number) => { + return await request.get({ url: `/pszc/hrannularfurnace108/get?id=` + id }) +} + +// 新增热轧108-环形加热炉 +export const createHrAnnularfurnace108 = async (data: HrAnnularfurnace108VO) => { + return await request.post({ url: `/pszc/hrannularfurnace108/create`, data }) +} + +// 修改热轧108-环形加热炉 +export const updateHrAnnularfurnace108 = async (data: HrAnnularfurnace108VO) => { + return await request.put({ url: `/pszc/hrannularfurnace108/update`, data }) +} + +// 删除热轧108-环形加热炉 +export const deleteHrAnnularfurnace108 = async (id: number) => { + return await request.delete({ url: `/pszc/hrannularfurnace108/delete?id=` + id }) +} + +// 导出热轧108-环形加热炉 Excel +export const exportHrAnnularfurnace108 = async (params) => { + return await request.download({ url: `/pszc/hrannularfurnace108/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrannularfurnace108/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrannularfurnace90/index.ts b/src/api/pszc/hrannularfurnace90/index.ts new file mode 100644 index 0000000..7df2fdf --- /dev/null +++ b/src/api/pszc/hrannularfurnace90/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrAnnularfurnace90VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧90-环形加热炉列表 +export const getHrAnnularfurnace90Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrannularfurnace90/senior', data }) + } else { + return await request.get({ url: `/pszc/hrannularfurnace90/page`, params }) + } +} + +// 查询热轧90-环形加热炉详情 +export const getHrAnnularfurnace90 = async (id: number) => { + return await request.get({ url: `/pszc/hrannularfurnace90/get?id=` + id }) +} + +// 新增热轧90-环形加热炉 +export const createHrAnnularfurnace90 = async (data: HrAnnularfurnace90VO) => { + return await request.post({ url: `/pszc/hrannularfurnace90/create`, data }) +} + +// 修改热轧90-环形加热炉 +export const updateHrAnnularfurnace90 = async (data: HrAnnularfurnace90VO) => { + return await request.put({ url: `/pszc/hrannularfurnace90/update`, data }) +} + +// 删除热轧90-环形加热炉 +export const deleteHrAnnularfurnace90 = async (id: number) => { + return await request.delete({ url: `/pszc/hrannularfurnace90/delete?id=` + id }) +} + +// 导出热轧90-环形加热炉 Excel +export const exportHrAnnularfurnace90 = async (params) => { + return await request.download({ url: `/pszc/hrannularfurnace90/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrannularfurnace90/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrannularfurnacegas108/index.ts b/src/api/pszc/hrannularfurnacegas108/index.ts new file mode 100644 index 0000000..12b78de --- /dev/null +++ b/src/api/pszc/hrannularfurnacegas108/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrAnnularfurnacegas108VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧108-环形加热炉天然气列表 +export const getHrAnnularfurnacegas108Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrannularfurnacegas108/senior', data }) + } else { + return await request.get({ url: `/pszc/hrannularfurnacegas108/page`, params }) + } +} + +// 查询热轧108-环形加热炉天然气详情 +export const getHrAnnularfurnacegas108 = async (id: number) => { + return await request.get({ url: `/pszc/hrannularfurnacegas108/get?id=` + id }) +} + +// 新增热轧108-环形加热炉天然气 +export const createHrAnnularfurnacegas108 = async (data: HrAnnularfurnacegas108VO) => { + return await request.post({ url: `/pszc/hrannularfurnacegas108/create`, data }) +} + +// 修改热轧108-环形加热炉天然气 +export const updateHrAnnularfurnacegas108 = async (data: HrAnnularfurnacegas108VO) => { + return await request.put({ url: `/pszc/hrannularfurnacegas108/update`, data }) +} + +// 删除热轧108-环形加热炉天然气 +export const deleteHrAnnularfurnacegas108 = async (id: number) => { + return await request.delete({ url: `/pszc/hrannularfurnacegas108/delete?id=` + id }) +} + +// 导出热轧108-环形加热炉天然气 Excel +export const exportHrAnnularfurnacegas108 = async (params) => { + return await request.download({ url: `/pszc/hrannularfurnacegas108/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrannularfurnacegas108/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrelongatordata108/index.ts b/src/api/pszc/hrelongatordata108/index.ts new file mode 100644 index 0000000..2bb637e --- /dev/null +++ b/src/api/pszc/hrelongatordata108/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrElongatordata108VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧108-延伸机列表 +export const getHrElongatordata108Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrelongatordata108/senior', data }) + } else { + return await request.get({ url: `/pszc/hrelongatordata108/page`, params }) + } +} + +// 查询热轧108-延伸机详情 +export const getHrElongatordata108 = async (id: number) => { + return await request.get({ url: `/pszc/hrelongatordata108/get?id=` + id }) +} + +// 新增热轧108-延伸机 +export const createHrElongatordata108 = async (data: HrElongatordata108VO) => { + return await request.post({ url: `/pszc/hrelongatordata108/create`, data }) +} + +// 修改热轧108-延伸机 +export const updateHrElongatordata108 = async (data: HrElongatordata108VO) => { + return await request.put({ url: `/pszc/hrelongatordata108/update`, data }) +} + +// 删除热轧108-延伸机 +export const deleteHrElongatordata108 = async (id: number) => { + return await request.delete({ url: `/pszc/hrelongatordata108/delete?id=` + id }) +} + +// 导出热轧108-延伸机 Excel +export const exportHrElongatordata108 = async (params) => { + return await request.download({ url: `/pszc/hrelongatordata108/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrelongatordata108/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrelongatordata90/index.ts b/src/api/pszc/hrelongatordata90/index.ts new file mode 100644 index 0000000..b244133 --- /dev/null +++ b/src/api/pszc/hrelongatordata90/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrElongatordata90VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧90-延伸机列表 +export const getHrElongatordata90Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrelongatordata90/senior', data }) + } else { + return await request.get({ url: `/pszc/hrelongatordata90/page`, params }) + } +} + +// 查询热轧90-延伸机详情 +export const getHrElongatordata90 = async (id: number) => { + return await request.get({ url: `/pszc/hrelongatordata90/get?id=` + id }) +} + +// 新增热轧90-延伸机 +export const createHrElongatordata90 = async (data: HrElongatordata90VO) => { + return await request.post({ url: `/pszc/hrelongatordata90/create`, data }) +} + +// 修改热轧90-延伸机 +export const updateHrElongatordata90 = async (data: HrElongatordata90VO) => { + return await request.put({ url: `/pszc/hrelongatordata90/update`, data }) +} + +// 删除热轧90-延伸机 +export const deleteHrElongatordata90 = async (id: number) => { + return await request.delete({ url: `/pszc/hrelongatordata90/delete?id=` + id }) +} + +// 导出热轧90-延伸机 Excel +export const exportHrElongatordata90 = async (params) => { + return await request.download({ url: `/pszc/hrelongatordata90/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrelongatordata90/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrnatgasdata/index.ts b/src/api/pszc/hrnatgasdata/index.ts new file mode 100644 index 0000000..4257667 --- /dev/null +++ b/src/api/pszc/hrnatgasdata/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrNatgasdataVO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧-天然气总量列表 +export const getHrNatgasdataPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrnatgasdata/senior', data }) + } else { + return await request.get({ url: `/pszc/hrnatgasdata/page`, params }) + } +} + +// 查询热轧-天然气总量详情 +export const getHrNatgasdata = async (id: number) => { + return await request.get({ url: `/pszc/hrnatgasdata/get?id=` + id }) +} + +// 新增热轧-天然气总量 +export const createHrNatgasdata = async (data: HrNatgasdataVO) => { + return await request.post({ url: `/pszc/hrnatgasdata/create`, data }) +} + +// 修改热轧-天然气总量 +export const updateHrNatgasdata = async (data: HrNatgasdataVO) => { + return await request.put({ url: `/pszc/hrnatgasdata/update`, data }) +} + +// 删除热轧-天然气总量 +export const deleteHrNatgasdata = async (id: number) => { + return await request.delete({ url: `/pszc/hrnatgasdata/delete?id=` + id }) +} + +// 导出热轧-天然气总量 Excel +export const exportHrNatgasdata = async (params) => { + return await request.download({ url: `/pszc/hrnatgasdata/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrnatgasdata/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrpuncherdata108/index.ts b/src/api/pszc/hrpuncherdata108/index.ts new file mode 100644 index 0000000..aba078f --- /dev/null +++ b/src/api/pszc/hrpuncherdata108/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrPuncherdata108VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧108-穿孔机列表 +export const getHrPuncherdata108Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrpuncherdata108/senior', data }) + } else { + return await request.get({ url: `/pszc/hrpuncherdata108/page`, params }) + } +} + +// 查询热轧108-穿孔机详情 +export const getHrPuncherdata108 = async (id: number) => { + return await request.get({ url: `/pszc/hrpuncherdata108/get?id=` + id }) +} + +// 新增热轧108-穿孔机 +export const createHrPuncherdata108 = async (data: HrPuncherdata108VO) => { + return await request.post({ url: `/pszc/hrpuncherdata108/create`, data }) +} + +// 修改热轧108-穿孔机 +export const updateHrPuncherdata108 = async (data: HrPuncherdata108VO) => { + return await request.put({ url: `/pszc/hrpuncherdata108/update`, data }) +} + +// 删除热轧108-穿孔机 +export const deleteHrPuncherdata108 = async (id: number) => { + return await request.delete({ url: `/pszc/hrpuncherdata108/delete?id=` + id }) +} + +// 导出热轧108-穿孔机 Excel +export const exportHrPuncherdata108 = async (params) => { + return await request.download({ url: `/pszc/hrpuncherdata108/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrpuncherdata108/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrpuncherdata90/index.ts b/src/api/pszc/hrpuncherdata90/index.ts new file mode 100644 index 0000000..c745b31 --- /dev/null +++ b/src/api/pszc/hrpuncherdata90/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrPuncherdata90VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧90-穿孔机列表 +export const getHrPuncherdata90Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrpuncherdata90/senior', data }) + } else { + return await request.get({ url: `/pszc/hrpuncherdata90/page`, params }) + } +} + +// 查询热轧90-穿孔机详情 +export const getHrPuncherdata90 = async (id: number) => { + return await request.get({ url: `/pszc/hrpuncherdata90/get?id=` + id }) +} + +// 新增热轧90-穿孔机 +export const createHrPuncherdata90 = async (data: HrPuncherdata90VO) => { + return await request.post({ url: `/pszc/hrpuncherdata90/create`, data }) +} + +// 修改热轧90-穿孔机 +export const updateHrPuncherdata90 = async (data: HrPuncherdata90VO) => { + return await request.put({ url: `/pszc/hrpuncherdata90/update`, data }) +} + +// 删除热轧90-穿孔机 +export const deleteHrPuncherdata90 = async (id: number) => { + return await request.delete({ url: `/pszc/hrpuncherdata90/delete?id=` + id }) +} + +// 导出热轧90-穿孔机 Excel +export const exportHrPuncherdata90 = async (params) => { + return await request.download({ url: `/pszc/hrpuncherdata90/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrpuncherdata90/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrsizingmilldata108/index.ts b/src/api/pszc/hrsizingmilldata108/index.ts new file mode 100644 index 0000000..a4ce9c6 --- /dev/null +++ b/src/api/pszc/hrsizingmilldata108/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrSizingmilldata108VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧108-定经机列表 +export const getHrSizingmilldata108Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrsizingmilldata108/senior', data }) + } else { + return await request.get({ url: `/pszc/hrsizingmilldata108/page`, params }) + } +} + +// 查询热轧108-定经机详情 +export const getHrSizingmilldata108 = async (id: number) => { + return await request.get({ url: `/pszc/hrsizingmilldata108/get?id=` + id }) +} + +// 新增热轧108-定经机 +export const createHrSizingmilldata108 = async (data: HrSizingmilldata108VO) => { + return await request.post({ url: `/pszc/hrsizingmilldata108/create`, data }) +} + +// 修改热轧108-定经机 +export const updateHrSizingmilldata108 = async (data: HrSizingmilldata108VO) => { + return await request.put({ url: `/pszc/hrsizingmilldata108/update`, data }) +} + +// 删除热轧108-定经机 +export const deleteHrSizingmilldata108 = async (id: number) => { + return await request.delete({ url: `/pszc/hrsizingmilldata108/delete?id=` + id }) +} + +// 导出热轧108-定经机 Excel +export const exportHrSizingmilldata108 = async (params) => { + return await request.download({ url: `/pszc/hrsizingmilldata108/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrsizingmilldata108/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrsizingmilldata90/index.ts b/src/api/pszc/hrsizingmilldata90/index.ts new file mode 100644 index 0000000..3b7b483 --- /dev/null +++ b/src/api/pszc/hrsizingmilldata90/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrSizingmilldata90VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧90-定经机列表 +export const getHrSizingmilldata90Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrsizingmilldata90/senior', data }) + } else { + return await request.get({ url: `/pszc/hrsizingmilldata90/page`, params }) + } +} + +// 查询热轧90-定经机详情 +export const getHrSizingmilldata90 = async (id: number) => { + return await request.get({ url: `/pszc/hrsizingmilldata90/get?id=` + id }) +} + +// 新增热轧90-定经机 +export const createHrSizingmilldata90 = async (data: HrSizingmilldata90VO) => { + return await request.post({ url: `/pszc/hrsizingmilldata90/create`, data }) +} + +// 修改热轧90-定经机 +export const updateHrSizingmilldata90 = async (data: HrSizingmilldata90VO) => { + return await request.put({ url: `/pszc/hrsizingmilldata90/update`, data }) +} + +// 删除热轧90-定经机 +export const deleteHrSizingmilldata90 = async (id: number) => { + return await request.delete({ url: `/pszc/hrsizingmilldata90/delete?id=` + id }) +} + +// 导出热轧90-定经机 Excel +export const exportHrSizingmilldata90 = async (params) => { + return await request.download({ url: `/pszc/hrsizingmilldata90/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrsizingmilldata90/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrwatermeter108/index.ts b/src/api/pszc/hrwatermeter108/index.ts new file mode 100644 index 0000000..044eedd --- /dev/null +++ b/src/api/pszc/hrwatermeter108/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrWatermeter108VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧108-水列表 +export const getHrWatermeter108Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrwatermeter108/senior', data }) + } else { + return await request.get({ url: `/pszc/hrwatermeter108/page`, params }) + } +} + +// 查询热轧108-水详情 +export const getHrWatermeter108 = async (id: number) => { + return await request.get({ url: `/pszc/hrwatermeter108/get?id=` + id }) +} + +// 新增热轧108-水 +export const createHrWatermeter108 = async (data: HrWatermeter108VO) => { + return await request.post({ url: `/pszc/hrwatermeter108/create`, data }) +} + +// 修改热轧108-水 +export const updateHrWatermeter108 = async (data: HrWatermeter108VO) => { + return await request.put({ url: `/pszc/hrwatermeter108/update`, data }) +} + +// 删除热轧108-水 +export const deleteHrWatermeter108 = async (id: number) => { + return await request.delete({ url: `/pszc/hrwatermeter108/delete?id=` + id }) +} + +// 导出热轧108-水 Excel +export const exportHrWatermeter108 = async (params) => { + return await request.download({ url: `/pszc/hrwatermeter108/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrwatermeter108/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/pszc/hrwatermeter90/index.ts b/src/api/pszc/hrwatermeter90/index.ts new file mode 100644 index 0000000..79929fa --- /dev/null +++ b/src/api/pszc/hrwatermeter90/index.ts @@ -0,0 +1,51 @@ +import request from '@/config/axios' + +export interface HrWatermeter90VO { + id: number + icode: string + iname: string + ivalue: string + mcode: string + mname: string +} + +// 查询热轧90-水列表 +export const getHrWatermeter90Page = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/pszc/hrwatermeter90/senior', data }) + } else { + return await request.get({ url: `/pszc/hrwatermeter90/page`, params }) + } +} + +// 查询热轧90-水详情 +export const getHrWatermeter90 = async (id: number) => { + return await request.get({ url: `/pszc/hrwatermeter90/get?id=` + id }) +} + +// 新增热轧90-水 +export const createHrWatermeter90 = async (data: HrWatermeter90VO) => { + return await request.post({ url: `/pszc/hrwatermeter90/create`, data }) +} + +// 修改热轧90-水 +export const updateHrWatermeter90 = async (data: HrWatermeter90VO) => { + return await request.put({ url: `/pszc/hrwatermeter90/update`, data }) +} + +// 删除热轧90-水 +export const deleteHrWatermeter90 = async (id: number) => { + return await request.delete({ url: `/pszc/hrwatermeter90/delete?id=` + id }) +} + +// 导出热轧90-水 Excel +export const exportHrWatermeter90 = async (params) => { + return await request.download({ url: `/pszc/hrwatermeter90/export-excel`, params }) +} + +// 下载导入模板 +export const importTemplate = () => { + return request.download({ url: '/pszc/hrwatermeter90/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/tjanalysis/index.ts b/src/api/tjanalysis/index.ts new file mode 100644 index 0000000..9a42851 --- /dev/null +++ b/src/api/tjanalysis/index.ts @@ -0,0 +1,21 @@ +import request from '@/config/axios' + +// 获取一次主表日统计报表数据 +export const queryIrealdataTj = async (params) => { + return await request.get({ url: `/tjanalysis/queryIrealdataTj`, params }) +} + +// 获取智能电表日统计报表数据 +export const queryElectricdataTj = async (params) => { + return await request.get({ url: `/tjanalysis/queryElectricdataTj`, params }) +} + +// 获取地衡数据统计 +export const queryTjPlatScales = async (params) => { + return await request.get({ url: `/tjanalysis/queryTjPlatScales`, params }) +} + +// 导出地衡数据 +export const exportPsales = async (params) => { + return await request.download({ url: `/tjanalysis/exportPsales`, params}) +} diff --git a/src/config/axios/index.ts b/src/config/axios/index.ts index 919b501..e418935 100644 --- a/src/config/axios/index.ts +++ b/src/config/axios/index.ts @@ -5,7 +5,6 @@ import { useCache } from '@/hooks/web/useCache' const { default_headers } = config const { wsCache } = useCache() -console.log('lang='+wsCache.get('lang')); const language = wsCache.get('lang') const request = (option: any) => { const { url, method, params, data, headersType, responseType, ...config } = option diff --git a/src/layout/components/useRenderLayout.tsx b/src/layout/components/useRenderLayout.tsx index 46a1e60..1110cd8 100644 --- a/src/layout/components/useRenderLayout.tsx +++ b/src/layout/components/useRenderLayout.tsx @@ -107,7 +107,7 @@ export const useRenderLayout = () => { > {tagsView.value ? ( - + ) : undefined} @@ -121,13 +121,13 @@ export const useRenderLayout = () => { const renderTopLeft = () => { return ( <> -
+
{logo.value ? : undefined}
-
- +
+
{ ]} > {logo.value ? : undefined} - +
{ const renderCutMenu = () => { return ( <> -
+
{logo.value ? : undefined}
-
+
- + - + - + - +
diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue index 9499f49..bf21bc9 100644 --- a/src/views/Login/components/LoginForm.vue +++ b/src/views/Login/components/LoginForm.vue @@ -1,5 +1,6 @@