mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
feat:增加面授提示
This commit is contained in:
@@ -29,13 +29,16 @@
|
||||
</div>
|
||||
<span style="margin-right: 3px">课程名称:</span>
|
||||
</div>
|
||||
<div class="btnbox">
|
||||
<div class="btnbox" style="position: relative">
|
||||
<a-input
|
||||
v-model:value="courseName"
|
||||
style="width: 384px; height: 32px"
|
||||
placeholder="请输入名称"
|
||||
style="width: 423px; height: 32px"
|
||||
placeholder="请输入名称,最多输入20个字"
|
||||
:maxlength="20"
|
||||
/>
|
||||
<div class="inp_num" style="position: absolute; right: 115px">
|
||||
<span style="color: #c7cbd2"> {{ courseName.length }}/20 </span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_item">
|
||||
@@ -95,7 +98,7 @@
|
||||
</div>
|
||||
<span style="margin-right: 3px">授课教师:</span>
|
||||
</div>
|
||||
<div class="btnbox">
|
||||
<div class="btnbox" style="width: 423px">
|
||||
<!-- <a-auto-complete placeholder="选择老师" :value="memberValue.label" style="width: 364px"-->
|
||||
<!-- :options="options" @change="handleChange2" @search="handleSearch"></a-auto-complete>-->
|
||||
<ProjectManager
|
||||
@@ -238,7 +241,7 @@
|
||||
</a-checkbox>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
-->
|
||||
|
||||
<div class="main_item">
|
||||
<div class="signbox">
|
||||
@@ -358,7 +361,9 @@
|
||||
</div>
|
||||
<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>
|
||||
@@ -405,8 +410,8 @@ 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";
|
||||
import { queryWorkDetailById } from "@/api/indexWork";
|
||||
import { queryExaminationDetailById } from "@/api/indexExam";
|
||||
export default {
|
||||
name: "AddFaceteach",
|
||||
components: {
|
||||
@@ -609,19 +614,22 @@ 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;
|
||||
|
||||
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)=>{
|
||||
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;
|
||||
});
|
||||
queryExaminationDetailById({ examinationId: result.testId }).then(
|
||||
(res) => {
|
||||
state.testName = res.data.data.examinationName;
|
||||
}
|
||||
);
|
||||
console.log("state=======", state);
|
||||
});
|
||||
};
|
||||
@@ -730,7 +738,7 @@ export default {
|
||||
await ProjectEditTask(editObj)
|
||||
.then(() => {
|
||||
console.log("props.EditFaceId", props.EditFaceId);
|
||||
// message.success(`${props.edit ? "编辑" : "新增"}阶段任务成功`);
|
||||
// message.success(`${props.edit ? "编辑" : "新增"}阶段任务成功`);
|
||||
})
|
||||
.catch(() => {
|
||||
//message.error(`${props.EditFaceId ? "编辑" : "新增"}阶段任务失败`);
|
||||
|
||||
Reference in New Issue
Block a user