|
|
@@ -35,9 +35,9 @@
|
|
|
<el-select v-model="queryParams.disciplineId" placeholder="专业" style="width: 140px">
|
|
|
<el-option
|
|
|
v-for="dict in optionListC"
|
|
|
- :key="dict.id"
|
|
|
+ :key="dict.disciplineId"
|
|
|
:label="dict.disciplineName"
|
|
|
- :value="dict.id"
|
|
|
+ :value="dict.disciplineId"
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
@@ -129,7 +129,7 @@
|
|
|
<script>
|
|
|
import {
|
|
|
systemUserGetCategories,systemUserGetAcademicYear,
|
|
|
- examElExamResultScorePage,examElDisciplineTypeList,systemDeptCurrentDept,
|
|
|
+ examElExamResultScorePage,examElExamResultScorePageType,systemDeptCurrentDept,
|
|
|
} from "@/api/safetyEducationExaminationNew/index";
|
|
|
import examDetails from '@/views/safetyEducationExaminationNew/components/examDetails.vue'
|
|
|
export default {
|
|
|
@@ -175,7 +175,7 @@
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getList();
|
|
|
- this.examElDisciplineTypeList();
|
|
|
+ this.examElExamResultScorePageType();
|
|
|
this.systemDeptCurrentDept();
|
|
|
this.systemUserGetCategories();
|
|
|
this.systemUserGetAcademicYear();
|
|
|
@@ -233,8 +233,8 @@
|
|
|
});
|
|
|
},
|
|
|
//查询全部专业类别
|
|
|
- examElDisciplineTypeList(){
|
|
|
- examElDisciplineTypeList({}).then(response => {
|
|
|
+ examElExamResultScorePageType(){
|
|
|
+ examElExamResultScorePageType({examId:this.drawerPropsData.examId}).then(response => {
|
|
|
this.$set(this,'optionListC',response.data);
|
|
|
});
|
|
|
},
|