From da89090074f88ac95b8cdb35deb66fc2b64f94a2 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Wed, 15 May 2024 17:13:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/agvManage/interfaceInfo/index.vue | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/views/wms/agvManage/interfaceInfo/index.vue b/src/views/wms/agvManage/interfaceInfo/index.vue index 15fcdb1bc..5839696e8 100644 --- a/src/views/wms/agvManage/interfaceInfo/index.vue +++ b/src/views/wms/agvManage/interfaceInfo/index.vue @@ -20,6 +20,7 @@ :columns="tableColumns" :data="tableObject.tableList" :loading="tableObject.loading" + :showOverflowTooltip="false" :pagination="{ total: tableObject.total }" @@ -27,6 +28,16 @@ v-model:currentPage="tableObject.currentPage" v-model:sort="tableObject.sort" > + + + + + {{ JSON.parse(row.reqBody.replace(/[\\]/g, '')) }} + + + {{row.reqBody}} + + {{ row.number }} @@ -243,3 +254,16 @@ onMounted(async () => { }) + + From d7e18a69b75ec08dd3d477d1e7eec4dad37907d1 Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Wed, 15 May 2024 17:15:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?EAM=20=E2=80=94=E2=80=94>=20=E4=BF=9D?= =?UTF-8?q?=E5=85=BB=E6=96=B9=E6=A1=88=20=E5=89=8D=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index.ts | 0 src/api/eam/basicMaintenanceOption/index.ts | 64 ++++ .../basicDocumentType.data.ts} | 0 .../index.vue | 4 +- .../basicMaintenanceOption.data.ts | 171 ++++++++++ .../eam/basicMaintenanceOption/index.vue | 291 ++++++++++++++++++ 6 files changed, 528 insertions(+), 2 deletions(-) rename src/api/eam/{documentType => basicDocumentType}/index.ts (100%) create mode 100644 src/api/eam/basicMaintenanceOption/index.ts rename src/views/eam/{documentType/documentType.data.ts => basicDocumentType/basicDocumentType.data.ts} (100%) rename src/views/eam/{documentType => basicDocumentType}/index.vue (98%) create mode 100644 src/views/eam/basicMaintenanceOption/basicMaintenanceOption.data.ts create mode 100644 src/views/eam/basicMaintenanceOption/index.vue diff --git a/src/api/eam/documentType/index.ts b/src/api/eam/basicDocumentType/index.ts similarity index 100% rename from src/api/eam/documentType/index.ts rename to src/api/eam/basicDocumentType/index.ts diff --git a/src/api/eam/basicMaintenanceOption/index.ts b/src/api/eam/basicMaintenanceOption/index.ts new file mode 100644 index 000000000..0d95570c6 --- /dev/null +++ b/src/api/eam/basicMaintenanceOption/index.ts @@ -0,0 +1,64 @@ +import request from '@/config/axios' +import {EquipmentMainPartVO} from "@/api/eam/equipmentMainPart"; + +export interface BasicMaintenanceOptionVO { + id: number + code: string + name: string + describing: string + isUpdated: boolean + type: string + departmentCode: string + remark: string + siteId: string + available: string + deletionTime: Date + deleterId: byte[] + concurrencyStamp: number +} + +// 查询保养方案列表 +export const getBasicMaintenanceOptionPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/eam/basic-maintenance-option/senior', data }) + } else { + return await request.get({ url: `/eam/basic-maintenance-option/page`, params }) + } +} + +// 查询保养方案详情 +export const getBasicMaintenanceOption = async (id: number) => { + return await request.get({ url: `/eam/basic-maintenance-option/get?id=` + id }) +} + +// 新增保养方案 +export const createBasicMaintenanceOption = async (data: BasicMaintenanceOptionVO) => { + return await request.post({ url: `/eam/basic-maintenance-option/create`, data }) +} + +// 修改保养方案 +export const updateBasicMaintenanceOption = async (data: BasicMaintenanceOptionVO) => { + return await request.put({ url: `/eam/basic-maintenance-option/update`, data }) +} + +// 删除保养方案 +export const deleteBasicMaintenanceOption = async (id: number) => { + return await request.delete({ url: `/eam/basic-maintenance-option/delete?id=` + id }) +} + +// 导出保养方案 Excel +export const exportBasicMaintenanceOption = async (params) => { + return await request.download({ url: `/eam/basic-maintenance-option/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/eam/basic-maintenance-option/get-import-template' }) +} + +// 启用 / 禁用 +export const updateEnableCode = async (data: EquipmentMainPartVO) => { + return await request.post({ url: `/eam/basic-maintenance-option/ables` , data }) +} diff --git a/src/views/eam/documentType/documentType.data.ts b/src/views/eam/basicDocumentType/basicDocumentType.data.ts similarity index 100% rename from src/views/eam/documentType/documentType.data.ts rename to src/views/eam/basicDocumentType/basicDocumentType.data.ts diff --git a/src/views/eam/documentType/index.vue b/src/views/eam/basicDocumentType/index.vue similarity index 98% rename from src/views/eam/documentType/index.vue rename to src/views/eam/basicDocumentType/index.vue index 0f46e6cf1..50e79ca47 100644 --- a/src/views/eam/documentType/index.vue +++ b/src/views/eam/basicDocumentType/index.vue @@ -59,8 +59,8 @@
{{ JSON.parse(row.reqBody.replace(/[\\]/g, '')) }}