This commit is contained in:
kclf
2022-12-07 12:23:05 +08:00
parent adc1a8e61d
commit 093514d374

View File

@@ -3454,7 +3454,8 @@ const columns6 = [
ellipsis: true, ellipsis: true,
align: "center", align: "center",
customRender: ({ text }) => { customRender: ({ text }) => {
return text ? getdateToTime(text * 1000) : "-"; // return text ? getdateToTime(text * 1000) : "-";
return text ? text : "-";
}, },
}, },
{ {
@@ -3465,7 +3466,8 @@ const columns6 = [
ellipsis: true, ellipsis: true,
align: "center", align: "center",
customRender: ({ text }) => { customRender: ({ text }) => {
return text ? getdateToTime(text * 1000) : "-"; // return text ? getdateToTime(text * 1000) : "-";
return text ? text : "-";
}, },
}, },
{ {
@@ -4818,7 +4820,6 @@ export default defineComponent({
const handelEditStu = async (itm) => { const handelEditStu = async (itm) => {
console.log(itm); console.log(itm);
state.offcourseId = itm.offcourseId; state.offcourseId = itm.offcourseId;
state.offcoursePlanId = itm.offcoursePlanId; state.offcoursePlanId = itm.offcoursePlanId;
@@ -4830,10 +4831,13 @@ export default defineComponent({
let obj = { let obj = {
assessmentId: item.evaluateId, assessmentId: item.evaluateId,
} };
api.queryAppraiseDetailById(obj).then((res) => { api
.queryAppraiseDetailById(obj)
.then((res) => {
state.assessmentName = res.data.data.assessmentName; state.assessmentName = res.data.data.assessmentName;
}).catch(); })
.catch();
console.log("res"); console.log("res");
console.log(item); console.log(item);
@@ -5247,10 +5251,6 @@ export default defineComponent({
}; };
//编辑面授课 //编辑面授课
const handleEdit = async (itm, type) => { const handleEdit = async (itm, type) => {
console.log(45555); console.log(45555);
console.log(itm); console.log(itm);
if (type === "1") { if (type === "1") {
@@ -5322,7 +5322,6 @@ export default defineComponent({
state.lookCourseModal = false; state.lookCourseModal = false;
}; };
const handleLook = async (itm, type) => { const handleLook = async (itm, type) => {
if (type === "1") { if (type === "1") {
return; return;
} }