From ca22cdd5550cfa0defb0f430c538698182cdaec1 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 30 十二月 2024 16:42:49 +0800 Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3 --- src/views/model/mpk/project/ProjectPackage.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/model/mpk/project/ProjectPackage.vue b/src/views/model/mpk/project/ProjectPackage.vue index 2acce8f..8ba4c25 100644 --- a/src/views/model/mpk/project/ProjectPackage.vue +++ b/src/views/model/mpk/project/ProjectPackage.vue @@ -3,6 +3,7 @@ <el-form ref="formRef" v-loading="formLoading" + element-loading-text="打包时间较长,请耐心等待" :model="formData" :rules="formRules" label-width="80px" @@ -57,17 +58,15 @@ projectId: undefined, projectName: undefined, projectCode: undefined, - ids: undefined, version: undefined, }) /** 打开弹窗 */ - const open = async (projectId,projectName,projectCode,ids) => { + const open = async (projectId,projectName,projectCode) => { dialogVisible.value = true formData.projectId = projectId formData.projectName = projectName formData.projectCode = projectCode - formData.ids = ids formData.log = undefined formData.version = 'V' } @@ -85,7 +84,6 @@ formLoading.value = true formData.zipFileName = 'IAILMPK.' + formData.projectCode + '.' + formatToDateString(new Date()) + '.zip' const data = await ProjectApi.packageProject(formData) - debugger download.zip(data, formData.zipFileName) formLoading.value = false dialogVisible.value = false -- Gitblit v1.9.3