diff --git a/src/utils/auth.js b/src/utils/auth.js index 91e6cf3..dfa16bb 100644 --- a/src/utils/auth.js +++ b/src/utils/auth.js @@ -5,7 +5,7 @@ const TokenKey = Config.TokenKey; export function getToken() { // return Cookies.get(TokenKey) - return "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJiYWNrZW5kVXNlciI6IntcImRlcHRJZFwiOlwiMVwiLFwibG9naW5JZFwiOjEsXCJyb2xlc1wiOlsxXSxcInVzZXJJZFwiOjEsXCJ1c2VyTmFtZVwiOlwiYWRtaW5cIn0iLCJleHAiOjE3Mzg0MTQwMzF9.iVfp38Qsy6s-bOAFlqsTgCam0GNkMIZl_faFnvggiHA"; + return "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJiYWNrZW5kVXNlciI6IntcImRlcHRJZFwiOlwiMVwiLFwibG9naW5JZFwiOjEsXCJyb2xlc1wiOlsxXSxcInVzZXJJZFwiOjEsXCJ1c2VyTmFtZVwiOlwiYWRtaW5cIn0iLCJleHAiOjE3Mzg1MDYxNDd9.jRG7GUOTYi9xOy15hA5Wbm4eqe13Ao643vx20W1BJD8"; } export function setToken(token, rememberMe) { diff --git a/src/views/circle/components/select.vue b/src/views/course/components/select.vue similarity index 100% rename from src/views/circle/components/select.vue rename to src/views/course/components/select.vue diff --git a/src/views/circle/components/select2.vue b/src/views/course/components/select2.vue similarity index 100% rename from src/views/circle/components/select2.vue rename to src/views/course/components/select2.vue diff --git a/src/views/course/detail/index.vue b/src/views/course/detail/index.vue new file mode 100644 index 0000000..f8a8ad1 --- /dev/null +++ b/src/views/course/detail/index.vue @@ -0,0 +1,782 @@ + + + + {{ course.name }} + + 内容数:{{ course.contentCount }} + + 添加课程内容 + + + + + + + + + + + + + + + + + + + + + + + {{ serialTypeList[scope.row.serial.type] }} + + + + + {{ statusList[scope.row.serial.status] }} + + + + + + + + + + + {{ scope.row.isRecommend ? "是" : "否" }} + + + + + + + 取消推荐 + 推荐 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + {{ playTypeList[scope.row.video.playType] }} + + + + + {{ statusList[scope.row.video.status] }} + + + + + + + {{ playStyleList[scope.row.video.playStyle] }} + + + + + + + {{ liveStatusList[scope.row.video.liveStatus] }} + + + + + {{ + scope.row.video.duration + ? timeFormatTwo(scope.row.video.duration) + : scope.row.video.duration + }} + + + + + + {{ scope.row.video.isCart === 1 ? "是" : "否" }} + + + + + {{ scope.row.isRecommend ? "是" : "否" }} + + + + + + + 取消推荐 + 推荐 + 删除 + + + + + + + + + + + + + + + + + 查询 + + + + + + + + + + + + + {{ statusList[scope.row.status] }} + + + + + + + + + + + + 查询 + + + + + + + + + + + + + {{ statusList[scope.row.status] }} + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/course/list/index.vue b/src/views/course/list/index.vue new file mode 100644 index 0000000..a24f849 --- /dev/null +++ b/src/views/course/list/index.vue @@ -0,0 +1,786 @@ + + + + + + + + + + + + + 查询 + 新增课程 + + + + + + + + {{ scope.row.name }} + + + + + + + + + + + + + + + + + + + + + + + + {{ riskLevelList[scope.row.riskLevel] }} + + + + + {{ scope.row.authorityId ? "权限判断" : "无限制" }} + + + + + {{ statusList[scope.row.status] }} + + + + + + + 审核 + 查看 + 修改 + 申请上架 + 撤回 + + 复制课程链接 + 上架 + 下架 + 删除 + + + + + + + + + + + + + + + + + + + + 上传图片 + + + + { + form.advisorId = item.id; + } + " + > + + + + 无限制 + 权限判断 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 通过 + + 驳回 + + + + + + + + + + + + + + + diff --git a/src/views/course/list/indexTg.vue b/src/views/course/list/indexTg.vue new file mode 100644 index 0000000..d924f7e --- /dev/null +++ b/src/views/course/list/indexTg.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/src/views/course/list/indexYx.vue b/src/views/course/list/indexYx.vue new file mode 100644 index 0000000..8b65dd8 --- /dev/null +++ b/src/views/course/list/indexYx.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/src/views/course/list/indexYy.vue b/src/views/course/list/indexYy.vue new file mode 100644 index 0000000..44cbc19 --- /dev/null +++ b/src/views/course/list/indexYy.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/src/views/course/list/indexZj.vue b/src/views/course/list/indexZj.vue new file mode 100644 index 0000000..f5edd52 --- /dev/null +++ b/src/views/course/list/indexZj.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/src/views/liveBroadcast/list/components/batchCreate.vue b/src/views/liveBroadcast/list/components/batchCreate.vue index 6555885..e629d92 100644 --- a/src/views/liveBroadcast/list/components/batchCreate.vue +++ b/src/views/liveBroadcast/list/components/batchCreate.vue @@ -480,7 +480,7 @@ import { getToken } from "@/utils/auth"; import { mapState, mapGetters } from "vuex"; import SerialSelect from "@/views/serial/components/select2.vue"; -import CourseSelect from "@/views/circle/components/select2.vue"; +import CourseSelect from "@/views/course/components/select2.vue"; import AdviserSelect from "@/views/adviser/components/select.vue"; import { getColumnList, diff --git a/src/views/liveBroadcast/list/components/create.vue b/src/views/liveBroadcast/list/components/create.vue index acde807..f110678 100644 --- a/src/views/liveBroadcast/list/components/create.vue +++ b/src/views/liveBroadcast/list/components/create.vue @@ -655,7 +655,7 @@ import TcVod from "vod-js-sdk-v6"; import { mapGetters } from "vuex"; import AdviserSelect from "@/views/adviser/components/select"; -import CourseSelect from "@/views/circle/components/select"; +import CourseSelect from "@/views/course/components/select"; import SerialSelect from "@/views/serial/components/select"; import { fileUpload } from "@/api/upload"; import { channelArr, mixQueryTemplateObj } from "@/utils/options";
+ 内容数:{{ course.contentCount }} +