批量换组

This commit is contained in:
lpq
2023-02-18 20:21:04 +08:00
parent 659cbfef7b
commit 3e0cc37ba4

View File

@@ -109,10 +109,12 @@
导入学员
</a-button>
</a-col>
<!--
<a-col :span="1.5" v-if="type === 1">
<a-button class="cus-btn white"> 批量换组 </a-button>
</a-col>-->
<a-button class="cus-btn white" @click="showChangeGroupModal">
批量换组
</a-button>
</a-col>
<a-col :span="1.5" v-if="type === 1">
<a-button class="cus-btn white" @click="exportTaskStu">
导出学习信息
@@ -242,6 +244,13 @@
:ids="stuSelectKeys"
@finash="submitCall"
/>
<!-- 换组弹窗 -->
<ChangeGroupModal
v-model:changegroupV="changegroupV"
:groupList="groupList"
:checkgroupStuId="checkgroupStuId"
/>
<!-- 批量调整关卡弹窗 -->
<!-- 取消学员弹窗 -->
<div>
@@ -390,6 +399,12 @@ const topFlagList = ref([
label: "优秀学员",
},
]);
const changegroupV = ref({
});
const checkgroupStuId = ref({});
const groupList = ref({});
const tablecolumns = ref([
{
title: "姓名",
@@ -514,6 +529,10 @@ const stuRowSelection = computed(() => ({
onChange: onStuSelectChange,
preserveSelectedRowKeys: true,
}));
// 导出数据
function exportTaskStu() {
console.log("props.datasource", props);
@@ -567,7 +586,6 @@ function changePagination(page) {
}
function getStuList() {
debugger
tableData.value.loading = true;
console.log("tableParam.value", tableParam.value);
getStuPage(tableParam.value).then((res) => {