diff --git a/src/components/drawers/ProjectOwn.vue b/src/components/drawers/ProjectOwn.vue index 13f0ec30..dd4b7215 100644 --- a/src/components/drawers/ProjectOwn.vue +++ b/src/components/drawers/ProjectOwn.vue @@ -210,6 +210,10 @@ export default { type: Number, default: null, }, + classify: { + type: String, + default: null, + }, }, setup(props, ctx) { const store = useStore(); @@ -567,7 +571,7 @@ export default { state.tableDataTotal = 0; return; } - console.log("obj", obj); + // console.log("obj", obj); api .getMemberInfo(obj) .then((res) => { @@ -606,7 +610,14 @@ export default { keyWord: "", tag: 1, //归属权 opt: 1, //查询 - type: 2, //项目 + type: + props.classify === "project" + ? 2 + : props.classify === "learnPath" + ? 1 + : props.classify === "course" + ? 3 + : null, refId: props.selectProjectId, //项目id // refId: 64, pageNo: 1, @@ -629,7 +640,14 @@ export default { keyWord: "", tag: 2, //归属权 opt: 3, //修改 - type: 2, //项目 + type: + props.classify === "project" + ? 2 + : props.classify === "learnPath" + ? 1 + : props.classify === "course" + ? 3 + : null, refId: props.selectProjectId, //项目id // refId: 64, pageNo: 1, diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 3ffa6b65..ca722941 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -677,6 +677,9 @@
确定
+
+
提交审核
+
@@ -4750,6 +4753,17 @@ export default defineComponent({ return getdateToTime(val * 1000); }; + //提交审核 + const submitReview = () => { + console.log("ft_eidt", state.ft_eidt); + // if (state.ft_eidt) { + // //编辑面授课 + // } + if (!state.ft_eidt) { + //新建面授课 + handlePush(); + } + }; return { ...toRefs(state), getdateToDateFn, @@ -4849,6 +4863,7 @@ export default defineComponent({ handelChangePageTea1, handleChangeTea2, handelChangePageTea2, + submitReview, }; }, }); diff --git a/src/views/learningpath/LearningPath.vue b/src/views/learningpath/LearningPath.vue index cc038ca8..9df299af 100644 --- a/src/views/learningpath/LearningPath.vue +++ b/src/views/learningpath/LearningPath.vue @@ -583,14 +583,42 @@ - + - + - + - + + + + + + + + + @@ -638,12 +666,15 @@