完成活动页面学员列表数据缺失

This commit is contained in:
lpq
2023-02-18 22:01:42 +08:00
parent d222853ec7
commit 2ec1f206ca
4 changed files with 31 additions and 19 deletions

View File

@@ -443,6 +443,7 @@ export default {
};
const getTableData = () => {
debugger
console.log('当前是项目还是路径图 1 路径图 2 项目', props.types)
if ( props.datasource.type == 6 && props.types==1 || props.datasource.type == 9 && props.types==1) {
// 此处为获取评估学员的接口 - 如后续还有用到此接口的公共任务可直接在if里面加||判断即可
@@ -452,7 +453,7 @@ export default {
currentStageId: props.datasource.chapterId,
type: 2,
pid: props.datasource.routerId,
taskId: props.datasource.routerTaskId,
taskId: props.datasource.id,
taskType: props.datasource.type,
status: state.projectName,
studentName: state.name,
@@ -465,7 +466,7 @@ export default {
currentStageId: props.datasource.chapterId,
type: 2, // 1项目 2 路径
pid: props.datasource.routerId,
taskId: props.datasource.routerTaskId,
taskId: props.datasource.id,
taskType: props.datasource.type,
status: state.projectName,
studentName: state.name,

View File

@@ -247,9 +247,9 @@
<!-- 换组弹窗 -->
<ChangeGroupModal
v-model:changegroupV="changegroupV"
:groupList="groupList"
:checkgroupStuId="checkgroupStuId"
v-model:changegroupV="checkgroupParam.changegroupV"
:groupList="checkgroupParam.checkgroupList"
:checkgroupStuId="checkgroupParam.checkgroupStuId"
/>
<!-- 批量调整关卡弹窗 -->
<!-- 取消学员弹窗 -->
@@ -350,6 +350,7 @@
<script setup>
import { computed, createVNode, defineProps, onMounted, ref, watch } from "vue";
import { delStudentList, getStuPage, batchUpdateStatus } from "@/api/index1";
import ChangeGroupModal from "@/components/student/ChangeGroupModal.vue";
import CommonStudent from "@/components/student/CommonStudent";
import ChangeLevelModal from "./ChangeLevelModal.vue";
import { message, Modal } from "ant-design-vue";
@@ -400,11 +401,6 @@ const topFlagList = ref([
},
]);
const changegroupV = ref({
});
const checkgroupStuId = ref({});
const groupList = ref({});
const tablecolumns = ref([
{
title: "姓名",
@@ -516,6 +512,13 @@ const tableParam = ref({
type: props.type,
pid: props.id,
});
const checkgroupParam = ref({
changegroupV: false, //学员名称
checkgroupList: "", //学员小组
checkgroupStuId: null,
});
const stuSelectKeys = ref([]);
const tableData = ref({
list: [],
@@ -532,6 +535,11 @@ const stuRowSelection = computed(() => ({
//显示学员换组弹窗
function showChangeGroupModal () {
debugger
checkgroupParam.value.changegroupV = true;
}
// 导出数据
function exportTaskStu() {

View File

@@ -1843,6 +1843,8 @@ export default {
};
//考勤的抽屉
const showAA = (course, a, data) => {
debugger
console.log("直播管理", data);
state.AAvisible = true;
state.liveData = data;
state.showKaoqinText = "直播";

View File

@@ -3171,6 +3171,7 @@ export default {
}
//考勤的抽屉
const showAA = (course, a, data) => {
debugger
state.AAvisible = true;
state.liveData = data;
state.showKaoqinText = "直播";