@@ -1113,7 +1110,7 @@
v-model:projectId="projectId"
v-model:ChangeGroupStuId="ChangeGroupStuId"
v-model:ChangeGroupStuName="ChangeGroupStuName"
- v-model:ChangeGroupId = "ChangeGroupId"
+ v-model:ChangeGroupId="ChangeGroupId"
@changeD="changeGrouped"
/>
@@ -1134,7 +1131,13 @@
:title="showWorkText"
/>
-
+
@@ -2360,7 +2363,7 @@ export default {
//直播、活动页面传递参数
showkaoqinText: "",
//所有抽屉的传过去的type
- itemstype:null,
+ itemstype: null,
//排行榜时间
rankStartTime: null,
@@ -2756,91 +2759,91 @@ export default {
};
//学员管理列表操作
- const studentData = () => {
- let arr = state.tabledata;
- console.log(arr, "学员管理");
- arr.map((value) => {
- value.operation = (
-
-
{
- if (value.excellent === false) {
- state.canclestu = true;
- console.log("youxiu", value.studentId);
- state.changeGoods.push(value.studentId);
- } else if (value.excellent === true) {
- state.canclestu1 = true;
- console.log("youxiu", value.studentId);
- state.changeGoods.push(value.studentId);
- }
- }}
- >
- {value.excellent ? "取消优秀" : "优秀学员"}
-
-
-
{
- state.Seevisible = true;
- console.log(value.studentId, "点击了查看");
- state.checkStuId = value.studentId;
- }}
- >
- 查看
-
-
-
-
- {
- state.Changevisible = true;
- console.log(value, "xixixixix");
- state.ChangeGroupStuId = value.studentId;
- state.ChangeGroupStuName = value.name;
- state.ChangeGroupId = value.groupId;
- }}
- >
- 换组
-
-
-
- {
- console.log("点击了111", value.studentId);
- showDeleteOne(value.studentId);
- }}
- >
- 删除
-
-
-
-
-
- );
- });
- state.tabledata = arr;
- };
- studentData();
// const studentData = () => {
// let arr = state.tabledata;
// console.log(arr, "学员管理");
// arr.map((value) => {
// value.operation = (
-
+ //
+ //
{
+ // if (value.excellent === false) {
+ // state.canclestu = true;
+ // console.log("youxiu", value.studentId);
+ // state.changeGoods.push(value.studentId);
+ // } else if (value.excellent === true) {
+ // state.canclestu1 = true;
+ // console.log("youxiu", value.studentId);
+ // state.changeGoods.push(value.studentId);
+ // }
+ // }}
+ // >
+ // {value.excellent ? "取消优秀" : "优秀学员"}
+ //
+
+ //
{
+ // state.Seevisible = true;
+ // console.log(value.studentId, "点击了查看");
+ // state.checkStuId = value.studentId;
+ // }}
+ // >
+ // 查看
+ //
+ //
+ //
+ //
+ // {
+ // state.Changevisible = true;
+ // console.log(value, "xixixixix");
+ // state.ChangeGroupStuId = value.studentId;
+ // state.ChangeGroupStuName = value.name;
+ // state.ChangeGroupId = value.groupId;
+ // }}
+ // >
+ // 换组
+ //
+ //
+ //
+ // {
+ // console.log("点击了111", value.studentId);
+ // showDeleteOne(value.studentId);
+ // }}
+ // >
+ // 删除
+ //
+ //
+ //
+ //
+ //
+ // );
+ // });
+ // state.tabledata = arr;
+ // };
+ // studentData();
+ // const studentData = () => {
+ // let arr = state.tabledata;
+ // console.log(arr, "学员管理");
+ // arr.map((value) => {
+ // value.operation = (
+
// );
// });
// state.tabledata = arr;
@@ -2952,75 +2955,79 @@ export default {
// width: 60,
align: "center",
className: "h",
- scopedSlots: { customRender: "action" }, //引入的插槽
- customRender: (text) => {
+ scopedSlots: { customRender: "action" }, //引入的插槽
+ customRender: (text) => {
// console.log(text);
return (
-
-
{
- if (text.record.excellent === false) {
- state.canclestu = true;
- console.log("youxiu", text.record.studentId);
- state.changeGoods.push(text.record.studentId);
- } else if (text.record.excellent === true) {
- state.canclestu1 = true;
- console.log("youxiu", text.record.studentId);
- state.changeGoods.push(text.record.studentId);
- }
- }}
- >
- {text.record.excellent ? "取消优秀" : "优秀学员"}
-
-
-
{
- state.Seevisible = true;
- console.log(text.record.studentId, "点击了查看");
- state.checkStuId = text.record.studentId;
- }}
- >
- 查看
-
-
-
-
- {
- state.Changevisible = true;
- }}
+
{
+ if (text.record.excellent === false) {
+ state.canclestu = true;
+ console.log("youxiu", text.record.studentId);
+ state.changeGoods.push(text.record.studentId);
+ } else if (text.record.excellent === true) {
+ state.canclestu1 = true;
+ console.log("youxiu", text.record.studentId);
+ state.changeGoods.push(text.record.studentId);
+ }
+ }}
+ >
+ {text.record.excellent ? "取消优秀" : "优秀学员"}
+
+
+
{
+ state.Seevisible = true;
+ console.log(text.record.studentId, "点击了查看");
+ state.checkStuId = text.record.studentId;
+ }}
+ >
+ 查看
+
+
-
-
- {
- // console.log("点击了111", text);
- showDeleteOne(text.record.studentId);
- }}
- >
- 删除
-
-
-
-
-
-
- )}
+
+ {
+ state.Changevisible = true;
+ console.log(text, "xixixixix");
+ state.ChangeGroupStuId = text.record.studentId;
+ state.ChangeGroupStuName = text.record.name;
+ state.ChangeGroupId = text.record.groupId;
+ }}
+ >
+ 换组
+
+
+
+ {
+ // console.log("点击了111", text);
+ showDeleteOne(text.record.studentId);
+ }}
+ >
+ 删除
+
+
+
+
+
+ );
+ },
},
];
return tablecolumns;