diff --git a/.env b/.env index 409b9fb6..c4abd398 100644 --- a/.env +++ b/.env @@ -11,22 +11,23 @@ VUE_APP_TOOL_FOLDERID=1147577145918910464 #文件路径 VUE_APP_FILE_PATH=/upload/ # 代理url 本地调试,不可以用在其他地方 -VUE_APP_PROXY_URL=//u-pre.boe.com/manageApi +VUE_APP_PROXY_URL=//pretest.zcwytd.com/manageApi # 登录url -VUE_APP_LOGIN_URL=//u-pre.boe.com/web?returnUrl= +# VUE_APP_LOGIN_URL=//pretest.zcwytd.com/web?returnUrl= +VUE_APP_LOGIN_URL=/pc/login # boe域名 -VUE_APP_BOE_API_URL=//u-pre.boe.com +VUE_APP_BOE_API_URL=//pretest.zcwytd.com #打包路径 VUE_APP_OUTPUT_DIR=./dist # iframe嵌套url -VUE_APP_IFRAME_URL=//u-pre.boe.com/pc/iframe +VUE_APP_IFRAME_URL=//pretest.zcwytd.com/pc/iframe # 学员端路由 -VUE_APP_IFRAME_STUDENT_URL=//u-pre.boe.com/pc/loading -VUE_APP_IFRAME_TEACHER_URL=//u-pre.boe.com/pc/need/waitaudit +VUE_APP_IFRAME_STUDENT_URL=//pretest.zcwytd.com/pc/loading +VUE_APP_IFRAME_TEACHER_URL=//pretest.zcwytd.com/pc/need/waitaudit # 课程二维码 -VUE_APP_COURSE_STUDY=//u-pre.boe.com/pc/course/studyindex?id= +VUE_APP_COURSE_STUDY=//pretest.zcwytd.com/pc/course/studyindex?id= # 导入学员模板 VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx @@ -34,16 +35,16 @@ VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx #在线 -VUE_APP_ONLINE_CLASS_URL=//u-pre.boe.com/mobile/pages/study/courseStudy?id= +VUE_APP_ONLINE_CLASS_URL=//pretest.zcwytd.com/mobile/pages/study/courseStudy?id= #案例 -VITE_BOE_CASS_DETAIL_URL=//u-pre.boe.com/pc/case/detail?id= +VITE_BOE_CASS_DETAIL_URL=//pretest.zcwytd.com/pc/case/detail?id= #考试 -VUE_APP_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id= +VUE_APP_EXAM_DETAIL_URL=//pretest.zcwytd.com/mobile/pages/exam/exam?id= #h5的基本url -VUE_APP_H5=//u-pre.boe.com/student-h5 +VUE_APP_H5=//pretest.zcwytd.com/student-h5 #用户头像 VUE_APP_AVATAR_PATH=/upload/ # 旧版管理员界面 -VUE_APP_OLD_MANAGE=//u-pre.boe.com/resource/index.html +VUE_APP_OLD_MANAGE=//pretest.zcwytd.com/resource/index.html # 批量面授报名模板 VUE_APP_FACE_STUDENT_TEMPLATE=批量面授报名模版-1673963663229.xlsx \ No newline at end of file diff --git a/src/components/BreadCrumb.vue b/src/components/BreadCrumb.vue index faead9c5..5d0f2c03 100644 --- a/src/components/BreadCrumb.vue +++ b/src/components/BreadCrumb.vue @@ -194,6 +194,22 @@ }, ]; } + if ( + n.indexOf("/courserecommended") !== -1 || + n.indexOf("/CourseRecommended") !== -1 + ) { + state.list = [ + { + name: "课程库", + href: "", + // href: "#/coursewaremanage", + }, + { + name: "课程推荐", + href: "", + }, + ]; + } if ( n.indexOf("/coursemanage") !== -1 || n.indexOf("/CourseManage") !== -1 diff --git a/src/components/NavLeft.vue b/src/components/NavLeft.vue index 4d2fa72d..c6ffb053 100644 --- a/src/components/NavLeft.vue +++ b/src/components/NavLeft.vue @@ -153,6 +153,15 @@ > 课件管理 + + + 课程推荐 + + + + + 项目管理系列课 + + 推荐值:27分 + 推荐组织:京东方大学堂 + 课程数:3 + 用户数:10 + + + + 搜索 + + + + + + + + handleLook()" + type="link" + >查看详情 + + + + + + + + + + + + + + diff --git a/src/views/courselibrary/CourseRecommended.vue b/src/views/courselibrary/CourseRecommended.vue new file mode 100644 index 00000000..05707b4a --- /dev/null +++ b/src/views/courselibrary/CourseRecommended.vue @@ -0,0 +1,934 @@ + + + + + + + + + + + + 创建时间: + + + + + + + 搜索 + + + + 重置 + + + + + + + 发起推荐 + + + + + + + + + + 信息下载 + + handleLook(record, String(record.courseform))" + type="link" + >查看 + + handleOper(record, 'withdraw', record.pushProgress)" type="link"> + {{ state.status[record.pushProgress] }} + + 删除 + + + + + + + + + + + 课程:{{ newCourseName }} + 类型: + {{ faceType }} + 内容分类: + {{ faceClassification }} + 状态: + + {{ faceStatus == 1 ? "已启用" : "已停用" }} + + + + + + + + + + + + + + + + + + 搜索 + + + + 重置 + + + + + + + + 查看详情 + + + + + + + + + + + + + + + + + + + + + + + +