From cc0aba97c205fb45053d0dfb7a21c9901625cb91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8D=93=E7=85=9C?= <2210102150@qq.com> Date: Thu, 24 Jul 2025 14:08:08 +0800 Subject: [PATCH 01/14] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A1=88=E4=BE=8B?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E9=93=BE=E6=8E=A5=E6=89=93=E5=BC=80=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/article/ManageList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/article/ManageList.vue b/src/views/article/ManageList.vue index 386b4ac5..c4f12737 100644 --- a/src/views/article/ManageList.vue +++ b/src/views/article/ManageList.vue @@ -289,8 +289,8 @@ export default { }) }, viewTopic(data) { - // window.open(this.webBaseUrl+'/article/detail?id='+data.id , '_blank') - this.$router.push({path:'/article/detail',query:{id:data.id}}) + window.open(this.webBaseUrl+'/article/detail?id='+data.id , '_blank') + // this.$router.push({path:'/article/detail',query:{id:data.id}}) }, }, } From 40be9c3e210686f058b819f4ea3d1f2da64857cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8D=93=E7=85=9C?= <2210102150@qq.com> Date: Thu, 24 Jul 2025 14:15:33 +0800 Subject: [PATCH 02/14] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E6=A1=88=E4=BE=8B?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E9=93=BE=E6=8E=A5=E6=89=93=E5=BC=80=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/article/ManageList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/article/ManageList.vue b/src/views/article/ManageList.vue index c4f12737..c534754c 100644 --- a/src/views/article/ManageList.vue +++ b/src/views/article/ManageList.vue @@ -289,8 +289,8 @@ export default { }) }, viewTopic(data) { - window.open(this.webBaseUrl+'/article/detail?id='+data.id , '_blank') - // this.$router.push({path:'/article/detail',query:{id:data.id}}) + // window.open(this.webBaseUrl+'/article/detail?id='+data.id , '_blank') + this.$router.push({path:'/article/detail',query:{id:data.id}}) }, }, } From 032e15013a029346b2ef87a649960a46fac048ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8D=93=E7=85=9C?= <2210102150@qq.com> Date: Thu, 24 Jul 2025 14:20:44 +0800 Subject: [PATCH 03/14] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A1=88=E4=BE=8B?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E9=93=BE=E6=8E=A5=E6=89=93=E5=BC=80=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/case/ManageList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/case/ManageList.vue b/src/views/case/ManageList.vue index 5e70ac72..cba20191 100644 --- a/src/views/case/ManageList.vue +++ b/src/views/case/ManageList.vue @@ -697,7 +697,8 @@ export default { }, viewTopic(data) { if (data.confidentialityLevel == '内部') { - this.$router.push({ path: '/case/detail', query: { id: data.id } }) + // this.$router.push({ path: '/case/detail', query: { id: data.id } }) + window.open(this.webBaseUrl+'/case/detail?id='+data.id , '_blank') } else { this.$message.warning("非内部密级案例不能查看"); } From 4d01d6946b10d9990966c03f45cbdbfc4624610d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8D=93=E7=85=9C?= <2210102150@qq.com> Date: Thu, 24 Jul 2025 14:31:12 +0800 Subject: [PATCH 04/14] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E9=93=BE=E6=8E=A5=E6=89=93=E5=BC=80=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/article/ManageList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/article/ManageList.vue b/src/views/article/ManageList.vue index c534754c..c4f12737 100644 --- a/src/views/article/ManageList.vue +++ b/src/views/article/ManageList.vue @@ -289,8 +289,8 @@ export default { }) }, viewTopic(data) { - // window.open(this.webBaseUrl+'/article/detail?id='+data.id , '_blank') - this.$router.push({path:'/article/detail',query:{id:data.id}}) + window.open(this.webBaseUrl+'/article/detail?id='+data.id , '_blank') + // this.$router.push({path:'/article/detail',query:{id:data.id}}) }, }, } From fde8e622731e11708e0a1b3a5d2ea91defb6d300 Mon Sep 17 00:00:00 2001 From: zhengsongbo Date: Sat, 2 Aug 2025 13:19:48 +0800 Subject: [PATCH 05/14] =?UTF-8?q?zhengsongbo:=E6=A0=87=E7=AD=BE=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=AC=AC=E4=B8=80=E6=AC=A1=E6=8F=90=E6=B5=8B=20on=202?= =?UTF-8?q?025-08-02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/courseTag.js | 64 +++++ src/components/Course/courseForm.vue | 6 +- src/components/Course/courseTag.vue | 158 ++++++++++++ src/data/pages.js | 3 +- src/views/portal/course/Index.vue | 104 +++++++- src/views/tag/TagManageList.vue | 372 +++++++++++++++++++++++++++ 6 files changed, 698 insertions(+), 9 deletions(-) create mode 100644 src/api/modules/courseTag.js create mode 100644 src/components/Course/courseTag.vue create mode 100644 src/views/tag/TagManageList.vue diff --git a/src/api/modules/courseTag.js b/src/api/modules/courseTag.js new file mode 100644 index 00000000..0368c0d9 --- /dev/null +++ b/src/api/modules/courseTag.js @@ -0,0 +1,64 @@ +/**课程标签模块的相关处理*/ +import ajax from '@/utils/xajax.js' + +/** + * 分页查询:标签列表 + * @param {Object} query + */ +const portalPageList = function(query) { + return ajax.post('/xboe/m/coursetag/page', query); +} + +//改变标签的公共属性 +const changeTagPublic = function (row){ + // 返回 Promise 的 API 调用 + return ajax.post('/xboe/m/coursetag/changePublicStatus', { + id: row.id, + isPublic: row.isPublic + }); +} + +//改变标签的热点属性 +const changeTagHot = function (row){ + // 返回 Promise 的 API 调用 + return ajax.post('/xboe/m/coursetag/changeHotStatus', { + id: row.id, + isHot: row.isHot + }); +} + +//查询指定id的标签关联的所有课程 +const showCourseByTag = function (query){ + return ajax.post('/xboe/m/coursetag/showCourseByTag', query); +} + +//解除指定id的课程和某个标签之间的关联关系 +const unbindCourseTagRelation = function (params){ + return ajax.post('/xboe/m/coursetag/unbind', params); +} + +//编辑课程:标签模糊查询 +const searchTags = function (params){ + return ajax.post('/xboe/m/coursetag/searchTags', params); +} + +//编辑课程:创建标签(与当前课程关联) +const createTag = function (params){ + return ajax.post('/xboe/m/coursetag/createTag', params); +} + +//获取最新前10个热点标签 +const getHotTagList = function (params){ + return ajax.post('/xboe/m/coursetag/getHotTagList', params); +} + +export default { + portalPageList, + changeTagPublic, + changeTagHot, + showCourseByTag, + unbindCourseTagRelation, + searchTags, + createTag, + getHotTagList +} diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index 8163331c..13ddd9a8 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -253,6 +253,9 @@ --> + + + @@ -402,6 +405,7 @@ + + diff --git a/src/data/pages.js b/src/data/pages.js index fa49ae36..5ec52049 100644 --- a/src/data/pages.js +++ b/src/data/pages.js @@ -128,7 +128,8 @@ export const iframes=[ {title:'查看受众', path:'/iframe/ugroup/view',hidden:false,component:'manage/AudienceView'}, {title:'问答管理', path:'/iframe/qa/manages',hidden:false,component:'qa/ManageList'}, {title:'待审核课程', path:'/iframe/course/noapproved',hidden:false,component:'examine/NotApproved'}, - {title:'已审核课程', path:'/iframe/course/reviewed',hidden:false,component:'examine/Reviewed'} + {title:'已审核课程', path:'/iframe/course/reviewed',hidden:false,component:'examine/Reviewed'}, + {title:'标签管理', path:'/iframe/tag/manages',hidden:false,component:'tag/TagManageList'}, ] diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index fef6ab57..2084430d 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -284,32 +284,40 @@
- {{item}} +
From b4a0261f8a1a50600621063e5c3707ae77062031 Mon Sep 17 00:00:00 2001 From: huangzhe <3451701311@qq.com> Date: Fri, 29 Aug 2025 11:31:09 +0800 Subject: [PATCH 14/14] =?UTF-8?q?feat:=20=E6=BA=A2=E5=87=BA=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E9=AB=98=E5=BA=A6=E7=9A=84=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=20=E9=98=B2=E6=AD=A2=E5=86=85=E5=AE=B9=E5=A1=8C=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/study/coursenew.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index eff4dcec..5fc1cb0a 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -805,7 +805,8 @@ }else if(h>500){ h=h+60; } - $this.controlHeight=h-95; + // 移除高度控制 防止内容塌陷 + // $this.controlHeight=h-95; })