From fd0e3fd03817d6610c52b09fe27cccf0d3f96438 Mon Sep 17 00:00:00 2001 From: yaowanxin <3588231647@qq.com> Date: 星期二, 12 八月 2025 16:26:11 +0800 Subject: [PATCH] Merge branch 'dev_ai' of http://114.132.189.42:9002/r/product-inventory-management into ywx --- src/views/collaborativeApproval/approvalProcess/index.vue | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/views/collaborativeApproval/approvalProcess/index.vue b/src/views/collaborativeApproval/approvalProcess/index.vue index 79f358b..9630af3 100644 --- a/src/views/collaborativeApproval/approvalProcess/index.vue +++ b/src/views/collaborativeApproval/approvalProcess/index.vue @@ -44,10 +44,12 @@ </div> <info-form-dia ref="infoFormDia" @close="handleQuery"></info-form-dia> <approval-dia ref="approvalDia" @close="handleQuery"></approval-dia> + <FileList ref="fileListRef" /> </div> </template> <script setup> +import FileList from "./fileList.vue"; import { Search } from "@element-plus/icons-vue"; import {onMounted, ref} from "vue"; import {ElMessageBox} from "element-plus"; @@ -116,11 +118,12 @@ { label: "鐢宠浜�", prop: "approveUserName", + width: 120 }, { label: "鐢宠鏃ユ湡", prop: "approveTime", - width: 120 + width: 200 }, { label: "缁撴潫鏃ユ湡", @@ -137,7 +140,7 @@ label: "鎿嶄綔", align: "center", fixed: "right", - width: 150, + width: 230, operation: [ { name: "缂栬緫", @@ -162,6 +165,13 @@ openApprovalDia('view', row); }, }, + { + name: "闄勪欢", + type: "text", + clickFun: (row) => { + downLoadFile(row); + }, + }, ], }, ]); @@ -183,6 +193,11 @@ page.current = 1; getList(); }; +const fileListRef = ref(null) +const downLoadFile = (row) => { + fileListRef.value.open(row.commonFileList) + +} const pagination = (obj) => { page.current = obj.page; page.size = obj.limit; -- Gitblit v1.9.3