mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
直播 评估回显
This commit is contained in:
@@ -352,11 +352,9 @@
|
||||
<div class="signbox">
|
||||
<span style="margin-right: 3px">已选考试:</span>
|
||||
</div>
|
||||
<div class="btnbox" @click="showDrawerAddTest">
|
||||
<div class="btnbox">
|
||||
<a-tag closable color="processing" @close="logT">
|
||||
<span style="font-size: 14px; line-height: 33px">{{
|
||||
testName
|
||||
}}</span>
|
||||
<span style="font-size: 14px; line-height: 33px">{{testName}}</span>
|
||||
</a-tag>
|
||||
</div>
|
||||
</div>
|
||||
@@ -396,10 +394,15 @@ import { debounce } from "lodash-es";
|
||||
import { queryFaceDetailById, editPlan } from "../../api/indexFace";
|
||||
import dayjs from "dayjs";
|
||||
import AssessmentList from "../drawers/ AssessmentList.vue";
|
||||
|
||||
// import { toDate } from "../../api/method";、
|
||||
import { addTempTask } from "../../api/indexTaskadd";
|
||||
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||
|
||||
import { detail } from "../../api/indexCourse";
|
||||
import { queryAppraiseDetailById } from "../../api/indexInvist";
|
||||
import {queryWorkDetailById} from "@/api/indexWork";
|
||||
import {queryExaminationDetailById} from "@/api/indexExam";
|
||||
export default {
|
||||
name: "AddFaceteach",
|
||||
components: {
|
||||
@@ -495,6 +498,7 @@ export default {
|
||||
EditTestId: null,
|
||||
EditWorkId: null,
|
||||
workName: null,
|
||||
testName: null,
|
||||
assessmentVisible: false,
|
||||
needEval: false,
|
||||
onlySign: false,
|
||||
@@ -588,7 +592,6 @@ export default {
|
||||
state.before = result.beforeStart;
|
||||
state.afterStartValue = result.afterStart;
|
||||
state.fileList = JSON.parse(result.attach);
|
||||
state.EditWorkId = result.homeWorkId;
|
||||
state.onlySign =
|
||||
result.completeType.split(",")[0] == "1" ? true : false;
|
||||
state.completeLeave =
|
||||
@@ -602,7 +605,19 @@ export default {
|
||||
state.EditWorkId = result.homeWorkId;
|
||||
state.assessmentId = result.evaluateId;
|
||||
state.needEval = result.evaluateId;
|
||||
detail({offcourseId:result.offcourseId}).then((res)=>{
|
||||
state.chooseCourseName =res.data.data.name;
|
||||
|
||||
});
|
||||
queryAppraiseDetailById({assessmentId:result.evaluateId}).then((res)=>{
|
||||
state.assessmentName =res.data.data.assessmentName;
|
||||
});
|
||||
queryWorkDetailById({workId:result.homeWorkId}).then((res)=>{
|
||||
state.workName = res.data.data.workName;
|
||||
});
|
||||
queryExaminationDetailById({ examinationId: result.testId }).then((res)=>{
|
||||
state.testName = res.data.data.examinationName;
|
||||
});
|
||||
console.log("state=======", state);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user