From c9a6f7cbb5209415e626df29c7572cf40fe92b66 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期一, 06 一月 2025 11:44:50 +0800 Subject: [PATCH] 1、工作流程功能优化,解决流程图模拟功能simulation不生效的bug 2、system menu等页面修改 3、Footer copyright年份修改为动态 --- src/views/model/mpk/project/ProjectPackage.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/model/mpk/project/ProjectPackage.vue b/src/views/model/mpk/project/ProjectPackage.vue index 86f3d77..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" @@ -30,7 +31,7 @@ </Dialog> </template> <script lang="ts" setup> - import * as ProjectApi from '@/api/mpk/project' + import * as ProjectApi from '@/api/model/mpk/project' import download from "@/utils/download"; import {FormRules} from "element-plus"; import {formatToDateString} from "@/utils/dateUtil"; @@ -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