feat:修改学习路径删除

This commit is contained in:
lixg
2022-11-30 23:53:23 +08:00
parent 44de52c2af
commit e96773ba23
10 changed files with 129 additions and 127 deletions

View File

@@ -596,7 +596,8 @@
</div>
<div class="xheadb">
<button class="addx" @click="showAddStu">添加学员</button>
<button class="addd" @click="showImpStu">导入学员</button>
<!-- 2022-11-30注释 后面放开 -->
<!-- <button class="addd" @click="showImpStu">导入学员</button> -->
<div class="select">
<a-select
style="width: 130px"
@@ -1277,14 +1278,15 @@ export default {
picUrl: null,
remark: null,
projectNameList: [
{
value: "1",
label: "导出信息",
},
{
value: "2",
label: "批量调整关卡",
},
// 2022-11-30注释 后面放开
// {
// value: "1",
// label: "导出信息",
// },
// {
// value: "2",
// label: "批量调整关卡",
// },
{
value: "3",
label: "批量删除",
@@ -1501,6 +1503,8 @@ export default {
return (
<div class="opa">
<div class="opacation">
{/**
2022-11-30注释 后面放开
<span
onClick={() => {
showCheckStu(text.record.studentId);
@@ -1510,6 +1514,9 @@ export default {
>
查看
</span>
*/}
{/**
2022-11-30注释 后面放开
<span
onClick={() => {
state.visiblene = true;
@@ -1519,6 +1526,7 @@ export default {
>
调整
</span>
*/}
<span
style="color:#4EA6FF;cursor:pointer"
onClick={() => {
@@ -1963,7 +1971,7 @@ export default {
cancelText: "取消",
onOk() {
api
.delStudent({ routerId: 100, studentIds: [id] })
.delStudent({ routerId: state.routerId, studentIds: [id] })
.then((res) => {
message.success("删除成功");
getStudent();
@@ -2001,7 +2009,7 @@ export default {
return;
}
let obj = {
routerId: 100,
routerId: state.routerId,
studentIds: state.selectedRowKeys,
};
api