开课评估回显

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