dengzedong
2024-11-28 5c475d3ac8ee98713e0f0962dd9464daccfb9eb1
src/views/model/mpk/project/ProjectPackage.vue
@@ -30,7 +30,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";
@@ -85,7 +85,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