From 067ee1ea22d73e01a2b5ca3fada00ec3a1bd5a26 Mon Sep 17 00:00:00 2001 From: daihh Date: Wed, 7 Jun 2023 18:51:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/course/Index.vue | 3 ++- src/views/user/Mynotes.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 55f0e877..918c7ae1 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -443,6 +443,7 @@ export default { // 查询信息 course: { orderField: "studys", + companyId:'', keyword:'',//关键词 topOrder: true, orderAsc: false, @@ -993,7 +994,7 @@ export default { this.course.audiences=this.audiences.join(","); } //console.log(this.userInfo) - //this.course.companyId=this.userInfo.companyId; + this.course.companyId=this.userInfo.companyId; this.course.type = "";//不使用单查询了 this.course.types = ""; this.course.sysType1 = ""; diff --git a/src/views/user/Mynotes.vue b/src/views/user/Mynotes.vue index b19ee8ff..a03c8a9a 100644 --- a/src/views/user/Mynotes.vue +++ b/src/views/user/Mynotes.vue @@ -351,6 +351,7 @@ export default { } if(this.exportType == '1') { + //导出pdf已不再使用 apiNote.exportPdf(data).then(res=>{ const link = document.createElement('a');// 创建a标签 let blob = new Blob([res],{type: 'application/vnd.ms-pdf;charset=UTF-8'}); // 设置文件类型