dedsudiyu 11 hours ago
parent
commit
29e634b0ef

+ 8 - 1
src/api/safetyEducationExaminationNew/index.js

@@ -1,5 +1,12 @@
 import request from '@/utils/request'
-
+// 分页查询考试专业
+export function examElExamResultScorePageType(data) {
+  return request({
+    url: '/exam/elExamResult/score-page_type',
+    method: 'post',
+    data: data
+  })
+}
 // 分页查询证书模板
 export function examElCertificateTemplatePage(data) {
   return request({

+ 4 - 4
src/views/safetyEducationExaminationNew/examManagement/examinationResult/academicPerformance.vue

@@ -27,10 +27,10 @@
             placeholder="学院单位"
           ></el-cascader>
         </el-form-item>
-        <el-form-item label="" prop="searchValue">
+        <el-form-item label="" prop="keyword">
           <el-input
             maxLength="30"
-            v-model="queryParams.searchValue"
+            v-model="queryParams.keyword"
             placeholder="姓名/学工号"
             style="width: 240px"
           />
@@ -91,7 +91,7 @@
           disciplineId :null,
           userType :null,
           passStatus :null,
-          searchValue :'',
+          keyword :'',
         },
         //列表数据
         dataList:[],
@@ -135,7 +135,7 @@
           disciplineId :null,
           userType :null,
           passStatus :null,
-          searchValue :'',
+          keyword :'',
         });
         this.getList();
       },

+ 6 - 6
src/views/safetyEducationExaminationNew/examManagement/examinationResult/viewGrades.vue

@@ -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);
         });
       },