浏览代码

班主任选班查询

shilipojs 2 年之前
父节点
当前提交
c2728e85dd
共有 2 个文件被更改,包括 39 次插入1 次删除
  1. 1 1
      src/views/elective/dispatch/master/index.vue
  2. 38 0
      src/views/elective/master/index.vue

+ 1 - 1
src/views/elective/dispatch/master/index.vue

@@ -173,7 +173,7 @@ export default {
         return cur += pre.classCount
       },0)
       console.log(roundGroupsLength)
-      if (headteacherSettings.length < roundGroupsLength.length) {
+      if (headteacherSettings.length < roundGroupsLength) {
         this.$message.warning('还有班级未分配新班主任和新班级号')
         return
       }

+ 38 - 0
src/views/elective/master/index.vue

@@ -0,0 +1,38 @@
+<template>
+  <!-- 班主任查看学生报名 -->
+  <div class="app-container">
+    <el-card class="box-card mb10">
+      <mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery"
+                    @invalid="handleInvalidQuery"
+      ></mx-condition>
+    </el-card>
+  </div>
+</template>
+<script>
+
+import MxCondition from '@/components/MxCondition/mx-condition'
+
+export default {
+  components: { MxCondition },
+  data() {
+    return {
+      requireFields: ['year', 'roundId'],
+      queryParams: {
+        year: '',
+        roundId: ''
+      },
+    }
+  },
+  methods: {
+    handleQuery() {
+    },
+    handleInvalidQuery() {
+      console.log('query取消')
+      this.round = {}
+    }
+  }
+}
+</script>
+<style>
+
+</style>