From ce38a6c08dc6b38c48640a9c0a24213f2d90726e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=81=92=E6=88=90?= <962704835@qq.com> Date: Wed, 10 Dec 2025 17:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E4=BC=8D=E4=BF=9D=E7=95=99=E5=AD=A6?= =?UTF-8?q?=E7=B1=8D-=E9=99=84=E4=BB=B6=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../enlistmentReserveAttach/index.vue | 37 +++++++++++++------ 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/src/views/routine/enlistmentReserve/enlistmentReserveAttach/index.vue b/src/views/routine/enlistmentReserve/enlistmentReserveAttach/index.vue index 97dd45e..b68e15c 100644 --- a/src/views/routine/enlistmentReserve/enlistmentReserveAttach/index.vue +++ b/src/views/routine/enlistmentReserve/enlistmentReserveAttach/index.vue @@ -17,7 +17,7 @@ - + @@ -63,10 +63,12 @@ @@ -229,14 +231,21 @@ export default { this.title = "添加保留学籍申请附件(入伍通知书等)"; }, /** 修改按钮操作 */ - handleUpdate(row) { + handleUpdate(row, data) { this.reset(); const id = row.id || this.ids - getEnlistmentReserveAttach(id).then(response => { - this.form = response.data; - this.open = true; - this.title = "修改保留学籍申请附件(入伍通知书等)"; - }); + // getEnlistmentReserveAttach(id).then(response => { + // this.form = response.data; + // this.open = true; + // this.title = "修改保留学籍申请附件(入伍通知书等)"; + // }); + this.$modal.confirm('如果要' + data + '附件信息,请到申请表' + data + ',是否跳转到申请表?').then(() => { + this.$router.push({ + path: "/routine/enlistmentReserve/applicationForm", + query: { id: row.rtEnlistmentReserves[0].id } // 将 row.id 放在 query 中 + }); + }).catch(() => { }); + }, /** 提交按钮 */ submitForm() { @@ -273,7 +282,13 @@ export default { this.download('routine/enlistmentReserveAttach/export', { ...this.queryParams }, `enlistmentReserveAttach_${new Date().getTime()}.xlsx`) - } + }, + detail(row) { + this.$router.push({ + path: "/routine/enlistmentReserve/applicationForm", + query: { id: row.rtEnlistmentReserves[0].id, type: 'detail',deployId: row.rtEnlistmentReserves[0].deployId, processInstanceId: row.rtEnlistmentReserves[0].processInstanceId } // 将 row.id 放在 query 中 + }) + }, } };