From a716aa464b9db55741cafde7bbd8e88b7e6bf9e8 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Thu, 9 Mar 2023 22:13:53 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=E9=A1=B9=E7=9B=AE/=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=9B=BE/=E6=A8=A1=E6=9D=BF=E5=BA=93-=E5=85=B1=E4=BA=AB?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=8B=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/learningpath/LevelAdd.vue | 1 - src/views/projectcenter/LibraryAdd.vue | 9 ++++++--- src/views/projectcenter/TaskPage.vue | 1 - 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index 416444ed..05a030ea 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -2821,7 +2821,6 @@ export default { // 共享文档文件下载 const downloadFile = (url) => { - url && window.open(url); console.log(url); window.open( window.location.protocol + diff --git a/src/views/projectcenter/LibraryAdd.vue b/src/views/projectcenter/LibraryAdd.vue index c5843605..459a5bf2 100644 --- a/src/views/projectcenter/LibraryAdd.vue +++ b/src/views/projectcenter/LibraryAdd.vue @@ -1389,9 +1389,12 @@ export default defineComponent({ // 共享文档文件下载 const downloadFile = (url) => { console.log(url) - if (url) { - window.open(url) - } + window.open( + window.location.protocol + + process.env.VUE_APP_BOE_API_URL + + process.env.VUE_APP_FILE_PATH + + url + ); // if(url){ // const filename = '操作指南' // const x = new XMLHttpRequest() diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index b69f529c..148612ac 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -4724,7 +4724,6 @@ export default { } // 共享文档文件下载 const downloadFile = (url) => { - url && window.open(url); console.log(url); window.open( window.location.protocol + From 762c3ada96ec416f578b737318166b4099e804b7 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Thu, 9 Mar 2023 22:56:42 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=E6=9F=A5=E7=9C=8B=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=EF=BC=8C=E4=BD=9C=E4=B8=9A=E9=99=84=E4=BB=B6=E5=90=8D=E5=AD=97?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/CheckWork.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/drawers/CheckWork.vue b/src/components/drawers/CheckWork.vue index 00200b2d..612b49f4 100644 --- a/src/components/drawers/CheckWork.vue +++ b/src/components/drawers/CheckWork.vue @@ -86,7 +86,7 @@
- {{ workUploadAddressName }} + {{ workUploadAddressName?workUploadAddressName.slice(workUploadAddressName.lastIndexOf('/')+1):'' }}
Date: Thu, 9 Mar 2023 23:30:54 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix:=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=B8=8B=E8=BD=BD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.prod b/.env.prod index e28f6832..21347850 100644 --- a/.env.prod +++ b/.env.prod @@ -14,9 +14,9 @@ VUE_APP_IFRAME_TEACHER_URL=//u.boe.com/pc/need/waitaudit VUE_APP_COURSE_STUDY=//u.boe.com/pc/course/studyindex?id= -VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx +VUE_APP_UP_LOAD_STUDENT_TEMPLATE=file/导入学员模版-1678375429633.xlsx # 外部考试导入成绩模板 -VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx +VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=file/外部考试学员成绩导入模板-1678375450407.xlsx VUE_APP_ONLINE_CLASS_URL=//u.boe.com/mobile/pages/study/courseStudy?id= VITE_BOE_CASS_DETAIL_URL=//u.boe.com/pc/case/detail?id= From 43fefc29fc6f05e2ff85fcdbd4846120ae60bde6 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Thu, 9 Mar 2023 23:47:47 +0800 Subject: [PATCH 4/4] =?UTF-8?q?fix:=E9=9D=A2=E6=8E=88=E8=AF=BE=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=98=AF=E5=90=A6=E5=8F=91=E5=B8=83=E5=8F=8A=E5=BC=80?= =?UTF-8?q?=E8=AF=BE=E6=8C=89=E9=92=AE=E5=88=A4=E6=96=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index f4498c10..2978bfad 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -347,7 +347,7 @@ --> - record.auditStatus === 3 ? "已发布" : "未发布", + record.publishStatus === 1 ? "已发布" : "未发布", }, { title: "创建人",