mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
批量换组
This commit is contained in:
@@ -255,8 +255,8 @@
|
||||
<!-- 换组弹窗 -->
|
||||
<ChangeGroupModal
|
||||
v-model:changegroupV="checkgroupParam.changegroupV"
|
||||
:groupList="checkgroupParam.checkgroupList"
|
||||
:checkgroupStuId="checkgroupParam.checkgroupStuId"
|
||||
:groupList="groupList"
|
||||
:checkgroupStuId="stuSelectKeys"
|
||||
/>
|
||||
<!-- 批量调整关卡弹窗 -->
|
||||
<!-- 取消学员弹窗 -->
|
||||
@@ -394,6 +394,10 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
default: null,
|
||||
},
|
||||
groupList: {
|
||||
type: Array,
|
||||
default: () => [],
|
||||
}
|
||||
});
|
||||
const topFlagList = ref([
|
||||
{
|
||||
@@ -533,6 +537,7 @@ const tableData = ref({
|
||||
loading: false,
|
||||
});
|
||||
|
||||
|
||||
const stuRowSelection = computed(() => ({
|
||||
columnWidth: 20,
|
||||
selectedRowKeys: stuSelectKeys.value,
|
||||
@@ -542,6 +547,8 @@ const stuRowSelection = computed(() => ({
|
||||
|
||||
//显示学员换组弹窗
|
||||
function showChangeGroupModal() {
|
||||
const d = props.groupList
|
||||
console.log("d"+d)
|
||||
// debugger
|
||||
checkgroupParam.value.changegroupV = true;
|
||||
}
|
||||
@@ -609,6 +616,8 @@ function getStuList() {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
function reset() {
|
||||
tableParam.value.studentName = "";
|
||||
tableParam.value.groupName = ""; //学员小组
|
||||
@@ -619,7 +628,6 @@ function reset() {
|
||||
}
|
||||
|
||||
function bathDel() {
|
||||
debugger
|
||||
if (stuSelectKeys.value && stuSelectKeys.value.length === 0) {
|
||||
message.destroy();
|
||||
return message.warning("请先选中学员");
|
||||
|
||||
Reference in New Issue
Block a user