mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
完成活动页面学员列表数据缺失
This commit is contained in:
@@ -443,6 +443,7 @@ export default {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getTableData = () => {
|
const getTableData = () => {
|
||||||
|
debugger
|
||||||
console.log('当前是项目还是路径图 1 路径图 2 项目', props.types)
|
console.log('当前是项目还是路径图 1 路径图 2 项目', props.types)
|
||||||
if ( props.datasource.type == 6 && props.types==1 || props.datasource.type == 9 && props.types==1) {
|
if ( props.datasource.type == 6 && props.types==1 || props.datasource.type == 9 && props.types==1) {
|
||||||
// 此处为获取评估学员的接口 - 如后续还有用到此接口的公共任务可直接在if里面加||判断即可
|
// 此处为获取评估学员的接口 - 如后续还有用到此接口的公共任务可直接在if里面加||判断即可
|
||||||
@@ -452,7 +453,7 @@ export default {
|
|||||||
currentStageId: props.datasource.chapterId,
|
currentStageId: props.datasource.chapterId,
|
||||||
type: 2,
|
type: 2,
|
||||||
pid: props.datasource.routerId,
|
pid: props.datasource.routerId,
|
||||||
taskId: props.datasource.routerTaskId,
|
taskId: props.datasource.id,
|
||||||
taskType: props.datasource.type,
|
taskType: props.datasource.type,
|
||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
@@ -465,7 +466,7 @@ export default {
|
|||||||
currentStageId: props.datasource.chapterId,
|
currentStageId: props.datasource.chapterId,
|
||||||
type: 2, // 1项目 2 路径
|
type: 2, // 1项目 2 路径
|
||||||
pid: props.datasource.routerId,
|
pid: props.datasource.routerId,
|
||||||
taskId: props.datasource.routerTaskId,
|
taskId: props.datasource.id,
|
||||||
taskType: props.datasource.type,
|
taskType: props.datasource.type,
|
||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
|
|||||||
@@ -247,9 +247,9 @@
|
|||||||
|
|
||||||
<!-- 换组弹窗 -->
|
<!-- 换组弹窗 -->
|
||||||
<ChangeGroupModal
|
<ChangeGroupModal
|
||||||
v-model:changegroupV="changegroupV"
|
v-model:changegroupV="checkgroupParam.changegroupV"
|
||||||
:groupList="groupList"
|
:groupList="checkgroupParam.checkgroupList"
|
||||||
:checkgroupStuId="checkgroupStuId"
|
:checkgroupStuId="checkgroupParam.checkgroupStuId"
|
||||||
/>
|
/>
|
||||||
<!-- 批量调整关卡弹窗 -->
|
<!-- 批量调整关卡弹窗 -->
|
||||||
<!-- 取消学员弹窗 -->
|
<!-- 取消学员弹窗 -->
|
||||||
@@ -350,6 +350,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { computed, createVNode, defineProps, onMounted, ref, watch } from "vue";
|
import { computed, createVNode, defineProps, onMounted, ref, watch } from "vue";
|
||||||
import { delStudentList, getStuPage, batchUpdateStatus } from "@/api/index1";
|
import { delStudentList, getStuPage, batchUpdateStatus } from "@/api/index1";
|
||||||
|
import ChangeGroupModal from "@/components/student/ChangeGroupModal.vue";
|
||||||
import CommonStudent from "@/components/student/CommonStudent";
|
import CommonStudent from "@/components/student/CommonStudent";
|
||||||
import ChangeLevelModal from "./ChangeLevelModal.vue";
|
import ChangeLevelModal from "./ChangeLevelModal.vue";
|
||||||
import { message, Modal } from "ant-design-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([
|
const tablecolumns = ref([
|
||||||
{
|
{
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
@@ -516,6 +512,13 @@ const tableParam = ref({
|
|||||||
type: props.type,
|
type: props.type,
|
||||||
pid: props.id,
|
pid: props.id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const checkgroupParam = ref({
|
||||||
|
changegroupV: false, //学员名称
|
||||||
|
checkgroupList: "", //学员小组
|
||||||
|
checkgroupStuId: null,
|
||||||
|
});
|
||||||
|
|
||||||
const stuSelectKeys = ref([]);
|
const stuSelectKeys = ref([]);
|
||||||
const tableData = ref({
|
const tableData = ref({
|
||||||
list: [],
|
list: [],
|
||||||
@@ -532,6 +535,11 @@ const stuRowSelection = computed(() => ({
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//显示学员换组弹窗
|
||||||
|
function showChangeGroupModal () {
|
||||||
|
debugger
|
||||||
|
checkgroupParam.value.changegroupV = true;
|
||||||
|
}
|
||||||
|
|
||||||
// 导出数据
|
// 导出数据
|
||||||
function exportTaskStu() {
|
function exportTaskStu() {
|
||||||
|
|||||||
@@ -1843,6 +1843,8 @@ export default {
|
|||||||
};
|
};
|
||||||
//考勤的抽屉
|
//考勤的抽屉
|
||||||
const showAA = (course, a, data) => {
|
const showAA = (course, a, data) => {
|
||||||
|
debugger
|
||||||
|
console.log("直播管理", data);
|
||||||
state.AAvisible = true;
|
state.AAvisible = true;
|
||||||
state.liveData = data;
|
state.liveData = data;
|
||||||
state.showKaoqinText = "直播";
|
state.showKaoqinText = "直播";
|
||||||
|
|||||||
@@ -3171,6 +3171,7 @@ export default {
|
|||||||
}
|
}
|
||||||
//考勤的抽屉
|
//考勤的抽屉
|
||||||
const showAA = (course, a, data) => {
|
const showAA = (course, a, data) => {
|
||||||
|
debugger
|
||||||
state.AAvisible = true;
|
state.AAvisible = true;
|
||||||
state.liveData = data;
|
state.liveData = data;
|
||||||
state.showKaoqinText = "直播";
|
state.showKaoqinText = "直播";
|
||||||
|
|||||||
Reference in New Issue
Block a user