From a57e429f714ddb7f58329fffb58e956c5f8adf2c Mon Sep 17 00:00:00 2001 From: zyn Date: Thu, 28 Dec 2023 15:57:16 +0800 Subject: [PATCH] =?UTF-8?q?feature(=E4=BC=81=E6=A0=87=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E5=AF=BC=E5=85=A5=E6=94=B9=E4=B8=BA=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/hzwlComponents/Import.vue | 30 +++++++++++++++++++ .../enterpriseStandardPlan/index.vue | 9 +++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/src/components/hzwlComponents/Import.vue b/src/components/hzwlComponents/Import.vue index 951b4c111..6ebf1f102 100644 --- a/src/components/hzwlComponents/Import.vue +++ b/src/components/hzwlComponents/Import.vue @@ -4,6 +4,7 @@
点击或拖拽上传文件
+
@@ -70,6 +84,16 @@ export default { type: Number, default: 200 }, + // 是否自动上传 + autoUpload: { + type: Boolean, + default: true + }, + // 手动上传按钮 + manualUpload: { + type: Boolean, + default: false + } }, data () { return { @@ -120,6 +144,9 @@ export default { this.importForm.content = response.message } }, + ManualUpload () { + this.$refs.importfile.submit(); + } } } @@ -132,4 +159,7 @@ export default { width: 100% !important; } +/deep/ .el-dialog__body { + padding: 10px 20px !important; +} diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index 789e6dd42..e65641223 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -1028,7 +1028,14 @@ - +