开课评估回显

This commit is contained in:
zhangyc
2022-12-07 08:33:55 +08:00
parent 3f802ba962
commit 30b68631cb

View File

@@ -3094,6 +3094,7 @@ import {
onBeforeUnmount,
watch,
} from "vue";
import * as api from "../../api/indexInvist.js";
import { message } from "ant-design-vue";
import { useRouter, useRoute } from "vue-router";
// import StuAdd from "../../components/drawers/StuAdd";
@@ -4818,6 +4819,8 @@ export default defineComponent({
//编辑开课
const handelEditStu = async (itm) => {
console.log(itm);
state.offcourseId = itm.offcourseId;
state.offcoursePlanId = itm.offcoursePlanId;
@@ -4826,6 +4829,14 @@ export default defineComponent({
}).then((res) => {
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();
console.log("res");
console.log(item);
@@ -5238,6 +5249,9 @@ export default defineComponent({
};
//编辑面授课
const handleEdit = async (itm, type) => {
state.isEdit = 0;
console.log(45555);
console.log(itm);