diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index e7dba954..68af3bfe 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -715,7 +715,7 @@
保存
- +
{ - return text ? getdateToTime(text * 1000) : "-"; + // return text ? getdateToTime(text * 1000) : "-"; + return text ? text : "-"; }, }, { @@ -3465,7 +3466,8 @@ const columns6 = [ ellipsis: true, align: "center", customRender: ({ text }) => { - return text ? getdateToTime(text * 1000) : "-"; + // return text ? getdateToTime(text * 1000) : "-"; + return text ? text : "-"; }, }, { @@ -4717,7 +4719,7 @@ export default defineComponent({ // ft_exit_1(); rest(); state.addLoading = false; - + state.statusTingQi = 1; // console.log("res.data", res.data); if (param === "review") { @@ -4817,8 +4819,7 @@ export default defineComponent({ //编辑开课 const handelEditStu = async (itm) => { console.log(itm); - - + state.offcourseId = itm.offcourseId; state.offcoursePlanId = itm.offcoursePlanId; @@ -4828,13 +4829,16 @@ export default defineComponent({ if (res.data.code === 200) return res.data.data; }); - let obj={ - assessmentId:item.evaluateId, - } - api.queryAppraiseDetailById(obj).then((res) => { - state.assessmentName= res.data.data.assessmentName; - }).catch(); - + let obj = { + assessmentId: item.evaluateId, + }; + api + .queryAppraiseDetailById(obj) + .then((res) => { + state.assessmentName = res.data.data.assessmentName; + }) + .catch(); + console.log("res"); console.log(item); @@ -5247,10 +5251,6 @@ export default defineComponent({ }; //编辑面授课 const handleEdit = async (itm, type) => { - - - - console.log(45555); console.log(itm); if (type === "1") { @@ -5322,7 +5322,6 @@ export default defineComponent({ state.lookCourseModal = false; }; const handleLook = async (itm, type) => { - if (type === "1") { return; }