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,
align: "center",
customRender: ({ text }) => {
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 : "-";
},
},
{
@@ -4818,7 +4820,6 @@ export default defineComponent({
const handelEditStu = async (itm) => {
console.log(itm);
state.offcourseId = itm.offcourseId;
state.offcoursePlanId = itm.offcoursePlanId;
@@ -4828,12 +4829,15 @@ 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;
}