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) {