feat:增加面授课成绩导入

This commit is contained in:
lixg
2023-01-04 15:04:21 +08:00
parent 9b3f9e47ee
commit 78119e4093
5 changed files with 130 additions and 22 deletions

View File

@@ -105,7 +105,7 @@
:style="{ display: hideshow ? 'none' : 'block' }"
>
<div class="btnsbox">
<div class="btn4_tit" @click="handleAllJion">
<div class="btn4_tit" @click="showEScoreModal">
<span>批量录入成绩</span>
</div>
<div class="btn4_op1" @click="handleAllover">
@@ -300,6 +300,9 @@
v-model:checkStuId="checkStuId"
v-model:projectId="projectId"
/>
<!-- 导入作业成绩抽屉 -->
<ExportScore v-model:eScorevisible="eScorevisible" :type="3" :id="id" />
</template>
<script setup>
import { computed, defineProps, onMounted, ref, watch } from "vue";
@@ -309,7 +312,7 @@ import ChangeLevelModal from "./ChangeLevelModal.vue";
import { message } from "ant-design-vue";
// import { topStudent } from "../../api/indexProjStu";
import SeeStu from "../../components/drawers/SeeStu";
import ExportScore from "../drawers/ExportScore.vue";
const props = defineProps({
type: Number,
id: String,
@@ -551,7 +554,7 @@ const projectId = ref(null);
// console.log(checkStuId.value, projectId.value)
// }
//面授课批量操作
//面授课批量操作下拉框
const hideshow = ref(true);
const hideShow = () => {
if (hideshow.value == true) {
@@ -560,6 +563,11 @@ const hideShow = () => {
hideshow.value = true;
}
};
//批量导入成绩
const eScorevisible = ref(false);
const showEScoreModal = () => {
eScorevisible.value = true;
};
</script>
<style lang="scss">
.TableStudent {