feat:合并

This commit is contained in:
lixg
2022-12-20 17:30:06 +08:00
parent 0509b2f979
commit f73a467ab8
4 changed files with 106 additions and 4 deletions

View File

@@ -63,6 +63,12 @@
批量删除
</a-button>
</a-col>
<a-col :span="1.5" v-if="type == 2">
<a-button class="cus-btn white" @click="showChangeModal">
<template #icon></template>
批量调整关卡
</a-button>
</a-col>
</a-row>
<div style="margin-top: 20px">
<a-table
@@ -102,12 +108,15 @@
</a-table>
</div>
</div>
<!-- 批量调整关卡弹窗 -->
<ChangeLevelModal v-model:visiblene="visiblene" />
<!-- 批量调整关卡弹窗 -->
</template>
<script setup>
import { computed, defineProps, onMounted, ref, watch } from "vue";
import { delStudentList, getStuPage } from "@/api/index1";
import CommonStudent from "@/components/student/CommonStudent";
import ChangeLevelModal from "./ChangeLevelModal.vue";
const props = defineProps({
type: Number,
id: String,
@@ -125,7 +134,7 @@ const tablecolumns = ref([
title: "姓名",
dataIndex: "studentName",
key: "studentName",
width: "10%",
width: "8%",
align: "left",
className: "h",
},
@@ -248,6 +257,12 @@ function submitCall(flag) {
tableData.value.loading = true;
flag && getStuList();
}
//调整关卡
const visiblene = ref(false);
const showChangeModal = () => {
visiblene.value = true;
};
</script>
<style>
.studentopea1 {