From 90b343acf8e2b4393de0addc999025d750455178 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期二, 04 六月 2024 11:48:34 +0800 Subject: [PATCH] 1、pom文件改动上传。 2、文件上传代码改动。 --- Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue b/Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue index b6db326..ca5e5b4 100644 --- a/Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue +++ b/Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue @@ -75,6 +75,11 @@ type: Object, default: () => {}, }, + uploadattachment:{ + //鏄惁鏄剧ず涓婁紶闄勪欢 + type:Boolean, + default:false + }, }, data() { return { @@ -225,6 +230,10 @@ this.subitemName = col.field; }else if(col.type === 'upload'){ console.log('col',col) + }else if(col.type=="multiFile"){ + if(this.uploadattachment == "false" || this.uploadattachment == false){ + col.display=false + } } if (col.type === "select") { if(col.data && col.data.length>0){ -- Gitblit v1.9.3