From fa562c08ce4f91888f02d908726a3ef28362f697 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Tue, 16 Apr 2024 09:56:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=84=E4=B8=8A=E4=BC=A0=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=A0=B7=E5=BC=8F=E6=94=B9=E4=B8=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/evaluation/evaluationUpload.vue | 138 +++++++++++++++++++++- 1 file changed, 135 insertions(+), 3 deletions(-) diff --git a/src/views/evaluation/evaluationUpload.vue b/src/views/evaluation/evaluationUpload.vue index 5fd58aca..e4537f8d 100644 --- a/src/views/evaluation/evaluationUpload.vue +++ b/src/views/evaluation/evaluationUpload.vue @@ -213,14 +213,49 @@
-
+ + + + + + + +
@@ -248,9 +283,12 @@
+ + +
-
+
-->
上传说明
@@ -1087,6 +1125,35 @@ import {downLoadZip} from "@/utils/zipdownload"; // slots: { customRender: "addAuthority" }, // }, ]) + const columnsUpload = ref([ + { + title: '文件名称', + dataIndex: 'name', + width: '150px', + align: 'center', + ellipsis: true, + }, + { + title: '上传状态', + dataIndex: 'status', + width: '60px', + align: 'center', + slots: { customRender: 'status' }, + }, + { + title: '上传进度', + dataIndex: 'percent', + width: '100px', + slots: { customRender: 'percent' }, + }, + { + title: '操作', + dataIndex: 'action', + width: '80px', + align: 'center', + slots: { customRender: 'uploadAction' }, + }, + ]); const textDisabled = async (record) => { await updateStatus({status:1,id:record.id}).then((res)=>{ if(res.code === 200){ @@ -1393,6 +1460,7 @@ import {downLoadZip} from "@/utils/zipdownload"; } if(state.stateUpload){ state.uploadList = fileList.slice(-1) + console.log(state.uploadList,'uploadList') } state.stateUpload = true }; @@ -1593,6 +1661,7 @@ import {downLoadZip} from "@/utils/zipdownload"; uploadAdmin, columns, columnsAdd, + columnsUpload, columns2, bgupload, of_exit, @@ -1642,6 +1711,69 @@ import {downLoadZip} from "@/utils/zipdownload";