From 4be10170bc9a1546537762e03f2c963d61d2f6ea Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期四, 22 二月 2024 09:16:24 +0800 Subject: [PATCH] mrshi --- company/src/components/business/OperaInsuranceWindow.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/company/src/components/business/OperaInsuranceWindow.vue b/company/src/components/business/OperaInsuranceWindow.vue index ed719f6..e3419de 100644 --- a/company/src/components/business/OperaInsuranceWindow.vue +++ b/company/src/components/business/OperaInsuranceWindow.vue @@ -80,6 +80,7 @@ }, methods: { open (title, target) { + this.form.worktypeList = [{ name: '' }] this.title = title this.visible = true // 鏂板缓 @@ -107,10 +108,11 @@ }, // 瀵煎嚭妯℃澘 exprot() { - let a = document.createElement("a"); - a.href = '/public/file/typeWork.xlsx'; - a.download = '淇濋櫓鍏徃-宸ョ瀵煎叆妯$増.xlsx'; - a.click(); + window.open(process.env.VUE_APP_TYPEWORK_URL) + // let a = document.createElement("a"); + // a.href = '/public/file/typeWork.xlsx'; + // a.download = '淇濋櫓鍏徃-宸ョ瀵煎叆妯$増.xlsx'; + // a.click(); }, // 瀵煎叆宸ョ妯℃澘 getFile(e) { -- Gitblit v1.9.3