|
@@ -28,13 +28,11 @@
|
|
></exam-select>
|
|
></exam-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <el-form-item prop="teachingRoomId" label="部门:">
|
|
|
|
- <org-select
|
|
|
|
- v-model="examTask.teachingRoomId"
|
|
|
|
- class="width-full"
|
|
|
|
- @change="teachingRoomChange"
|
|
|
|
- ></org-select>
|
|
|
|
|
|
+ <el-form-item label="部门:">
|
|
|
|
+ {{ teachingRoomName }}
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -57,6 +55,8 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item prop="paperNumber" label="试卷编号:">
|
|
<el-form-item prop="paperNumber" label="试卷编号:">
|
|
<el-input
|
|
<el-input
|
|
@@ -336,6 +336,7 @@ export default {
|
|
cards: [],
|
|
cards: [],
|
|
courses: [],
|
|
courses: [],
|
|
semesters: [],
|
|
semesters: [],
|
|
|
|
+ teachingRoomName: "",
|
|
cardRuleName: "全部通卡",
|
|
cardRuleName: "全部通卡",
|
|
// exam-task-detail
|
|
// exam-task-detail
|
|
examTaskDetail: { makeMethod: "" },
|
|
examTaskDetail: { makeMethod: "" },
|
|
@@ -385,7 +386,7 @@ export default {
|
|
...mapMutations("exam", ["updateTaskInfo"]),
|
|
...mapMutations("exam", ["updateTaskInfo"]),
|
|
initData() {
|
|
initData() {
|
|
const userOrg = this.$ls.get("user", { orgInfo: {} }).orgInfo;
|
|
const userOrg = this.$ls.get("user", { orgInfo: {} }).orgInfo;
|
|
-
|
|
|
|
|
|
+ this.teachingRoomName = userOrg.name;
|
|
this.examTask = { ...this.infoExamTask, teachingRoomId: userOrg.id };
|
|
this.examTask = { ...this.infoExamTask, teachingRoomId: userOrg.id };
|
|
this.examTaskDetail = { ...this.infoExamTaskDetail };
|
|
this.examTaskDetail = { ...this.infoExamTaskDetail };
|
|
this.paperAttachments = this.examTaskDetail.paperAttachmentIds
|
|
this.paperAttachments = this.examTaskDetail.paperAttachmentIds
|