From 61f92a59ea455841563bf622d4bd4d6b2c4c07ef Mon Sep 17 00:00:00 2001 From: yanyan <513352169@qq.com> Date: Wed, 18 Mar 2026 14:57:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=87=8D=E6=96=B0=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/srmPart/com_part_Attachments.vue | 4 ++-- src/views/modules/srmPart/com_part_Suppliers.vue | 2 +- src/views/modules/srmPart/partInfoList.vue | 15 ++++++++------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/views/modules/srmPart/com_part_Attachments.vue b/src/views/modules/srmPart/com_part_Attachments.vue index 8efdf97..5f81db0 100644 --- a/src/views/modules/srmPart/com_part_Attachments.vue +++ b/src/views/modules/srmPart/com_part_Attachments.vue @@ -2,7 +2,7 @@
- + Upload @@ -13,7 +13,7 @@ :height="240" :data="fileList" ref="fileTableRef" - style="width: 100%; margin-top: 20px;"> + style="width: 100%; margin-top: 10px;"> - + diff --git a/src/views/modules/srmPart/partInfoList.vue b/src/views/modules/srmPart/partInfoList.vue index f33da08..544e72b 100644 --- a/src/views/modules/srmPart/partInfoList.vue +++ b/src/views/modules/srmPart/partInfoList.vue @@ -55,7 +55,8 @@ width="160" label="Action"> @@ -266,7 +267,6 @@ import attachments from './com_part_Attachments' import { approveNodeInstance, - getFlowPreview, restartFlowInstance } from '@/api/workFlow/workFlow.js' @@ -970,26 +970,27 @@ export default { }, // 重新审批 - rqrq - handleRestart(row) { + handleRestart(row) { this.$confirm('确定要重新发起审批流程吗?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { restartFlowInstance({ - applyNo: row.flowNodeInstanceData.applyNo, - site: row.flowNodeInstanceData.site, - orderType: row.flowNodeInstanceData.orderType + applyNo: row.applyNo, + site: row.site, + orderType: row.orderType }).then(({ data }) => { if (data && data.code === 0) { this.$message.success('重新审批成功') - this.currentInstance = null + this.getMainData() } else { this.$message.error(data.msg || '操作失败') } }) }).catch(() => {}) } + } }