mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
feat:增加调整关卡弹窗
This commit is contained in:
@@ -63,12 +63,12 @@
|
||||
批量删除
|
||||
</a-button>
|
||||
</a-col>
|
||||
<!-- <a-col :span="1.5" v-if="type == 2">
|
||||
<a-col :span="1.5" v-if="type == 2">
|
||||
<a-button class="cus-btn white" @click="showChangeModal">
|
||||
<template #icon></template>
|
||||
批量调整关卡
|
||||
</a-button>
|
||||
</a-col> -->
|
||||
</a-col>
|
||||
</a-row>
|
||||
<div style="margin-top: 20px">
|
||||
<a-table
|
||||
@@ -80,11 +80,43 @@
|
||||
:row-selection="stuRowSelection"
|
||||
>
|
||||
<template #action="{ record }">
|
||||
<div
|
||||
@click="del(record.id)"
|
||||
style="color: #4ea6ff; font-size: 14px; text-align: center"
|
||||
>
|
||||
删除
|
||||
<div style="display: flex; justify-content: center">
|
||||
<div
|
||||
@click="del(record.id)"
|
||||
style="
|
||||
color: #4ea6ff;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
"
|
||||
>
|
||||
查看
|
||||
</div>
|
||||
<div
|
||||
@click="showChangeModal"
|
||||
style="
|
||||
color: #4ea6ff;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
"
|
||||
>
|
||||
调整
|
||||
</div>
|
||||
<div
|
||||
@click="del(record.id)"
|
||||
style="
|
||||
color: #4ea6ff;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
"
|
||||
>
|
||||
删除
|
||||
</div>
|
||||
</div>
|
||||
<!-- <a-row gutter="12">
|
||||
<a-col>
|
||||
@@ -109,7 +141,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 批量调整关卡弹窗 -->
|
||||
<ChangeLevelModal v-model:visiblene="visiblene" />
|
||||
<ChangeLevelModal v-model:visiblene="visiblene" :id="id" />
|
||||
<!-- 批量调整关卡弹窗 -->
|
||||
</template>
|
||||
<script setup>
|
||||
@@ -258,11 +290,11 @@ function submitCall(flag) {
|
||||
flag && getStuList();
|
||||
}
|
||||
|
||||
//调整关卡
|
||||
// const visiblene = ref(false);
|
||||
// const showChangeModal = () => {
|
||||
// visiblene.value = true;
|
||||
// };
|
||||
// 调整关卡;
|
||||
const visiblene = ref(false);
|
||||
const showChangeModal = () => {
|
||||
visiblene.value = true;
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
.studentopea1 {
|
||||
|
||||
Reference in New Issue
Block a user