From ab3bece35313fe17d0d2701249d23c828ee9a868 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 31 Mar 2022 15:28:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AD=9B=E9=80=89=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=92=8C=E4=B8=8B=E8=BD=BD=E9=83=A8=E7=BD=B2=E5=8C=85?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/oms/apps/AppDeploy/AppDeploy.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/project/oms/apps/AppDeploy/AppDeploy.vue b/project/oms/apps/AppDeploy/AppDeploy.vue index 1f639e46..cadff14d 100644 --- a/project/oms/apps/AppDeploy/AppDeploy.vue +++ b/project/oms/apps/AppDeploy/AppDeploy.vue @@ -7,6 +7,10 @@ + @@ -87,7 +91,19 @@ export default { }) }, handleDownload(row) { + let loading = this.$loading({ + lock: true, text: "正在打包文件...", + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }), {id} = row + this.instance.post("/node/autodeploy/getZip", null, { + params: {id} + }).then(res => { + loading.close() + if (res?.code == 0) { + } + }) }, handleEdit(row) { this.form = JSON.parse(JSON.stringify(row))