From a18dec1e4ae3e241747f73ad409c91a29fd2c42d Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 24 十月 2024 17:11:09 +0800
Subject: [PATCH] 表单定义 新增表格修改添加方式
---
Source/plt-web/plt-web-ui/src/components/actions/base/uploadFile.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/components/actions/base/uploadFile.vue b/Source/plt-web/plt-web-ui/src/components/actions/base/uploadFile.vue
index 6b73c7c..6a10a70 100644
--- a/Source/plt-web/plt-web-ui/src/components/actions/base/uploadFile.vue
+++ b/Source/plt-web/plt-web-ui/src/components/actions/base/uploadFile.vue
@@ -2,7 +2,6 @@
<el-dialog
v-dialogDrag
:close-on-click-modal="false"
- :destroy-on-close="true"
:visible.sync="visible"
:width="width"
append-to-body
@@ -11,10 +10,11 @@
style="margin-top: -20vh !important;"
>
<Divider left="30px" text="瀵煎叆鎻愮ず"></Divider>
- <ul>
- <li>
+ <ul style="color: #e73a3a">
+ <li v-if="!paramVOS.tipList">
璇风偣鍑绘祻瑙堟枃浠惰繘琛屼笂浼�
</li>
+ <li v-if="paramVOS.tipList && paramVOS.tipList.length >=1 " v-for="(item,index) in paramVOS.tipList" :key="index"> {{index+1}} : {{item}}銆�</li>
</ul>
<Divider left="30px" text="閫夋嫨鏂囦欢鍚庝細鑷姩涓婁紶"></Divider>
<el-upload
@@ -87,9 +87,9 @@
return {
ownbizOid: this.sourceData.oid,
ownBtmName: this.sourceData.btmname,
- secretGrade: -1,
- fileDocClassify: '',
- updateFileFlag: true,
+ secretGrade: this.paramVOS.secretGrade || -1,
+ fileDocClassify: this.paramVOS.fileDocClassify || "",
+ updateFileFlag: this.paramVOS.updateFileFlag || true,
}
},
width() {
@@ -140,7 +140,7 @@
onSuccess(resbonse) {
if (resbonse.code === 200) {
this.$message.success("涓婁紶鎴愬姛锛�");
- this.dialogVisible = false;
+ this.visible = false;
}else {
this.$message.error(resbonse.msg);
}
@@ -155,7 +155,7 @@
if (file.status === "success" || file.status === "error") {
this.pageLoading.close();
}
- }
+ },
}
}
</script>
--
Gitblit v1.9.3