修改综合评价量达标功能

This commit is contained in:
2025-09-15 17:38:04 +08:00
parent cc9dd101e5
commit 1e052de2fb

View File

@@ -1,11 +1,17 @@
<template> <template>
<div class="app-container" v-loading.fullscreen.lock="fullLoading"> <div class="app-container" v-loading.fullscreen.lock="fullLoading">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="120px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="120px">
<el-form-item label="学院" prop="deptId"> <!-- <el-form-item label="学院" prop="deptId">
<el-select v-model="queryParams.deptId" placeholder="请选择学院" clearable @keyup.enter.native="handleQuery"> <el-select v-model="queryParams.deptId" placeholder="请选择学院" clearable @keyup.enter.native="handleQuery">
<el-option v-for="(dept, index) in deptList" :key="index" :label="dept.label" :value="dept.value"> <el-option v-for="(dept, index) in deptList" :key="index" :label="dept.label" :value="dept.value">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> -->
<el-form-item label="学院" prop="deptId">
<el-select v-model="queryParams.deptId" filterable clearable placeholder="请选择学院">
<el-option v-for="item in deptList" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="辅导员姓名" prop="teacherName"> <el-form-item label="辅导员姓名" prop="teacherName">
<el-input v-model="queryParams.teacherName" placeholder="请输入辅导员姓名" clearable <el-input v-model="queryParams.teacherName" placeholder="请输入辅导员姓名" clearable
@@ -63,6 +69,7 @@
<script> <script>
import { getTeacherEvaluationStatus, exportTeacherEvaluationStatus, getDeptNameList } from "@/api/stuCQS/teacher-evaluation-status"; import { getTeacherEvaluationStatus, exportTeacherEvaluationStatus, getDeptNameList } from "@/api/stuCQS/teacher-evaluation-status";
import { getDeptName } from "@/api/system/dept";
import { listAllYear } from "@/api/stuCQS/basedata/year"; import { listAllYear } from "@/api/stuCQS/basedata/year";
import { fullLoading } from "@/api/helpFunc"; import { fullLoading } from "@/api/helpFunc";
@@ -98,8 +105,13 @@ export default {
this.getList(); this.getList();
this.getDeptList(); this.getDeptList();
this.getYearList(); this.getYearList();
this.listDept();
}, },
methods: { methods: {
async listDept() {
let res = await getDeptName();
this.deptList = [...res.data];
},
/** 查询辅导员评价状态列表 */ /** 查询辅导员评价状态列表 */
async getList() { async getList() {
this.loading = true; this.loading = true;