mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 01:36:47 +08:00
fix:关闭debugger
This commit is contained in:
@@ -7,14 +7,8 @@
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<template>
|
||||
<a-modal
|
||||
style="padding: 0"
|
||||
:closable="true"
|
||||
:visible="changegroupV"
|
||||
:footer="null"
|
||||
centered="true"
|
||||
wrapClassName="changeModal"
|
||||
>
|
||||
<a-modal style="padding: 0" :closable="true" :visible="changegroupV" :footer="null" centered="true"
|
||||
wrapClassName="changeModal">
|
||||
<div class="con">
|
||||
<div class="header">
|
||||
<div class="inhe">
|
||||
@@ -27,28 +21,14 @@
|
||||
<div class="inher">
|
||||
<!-- <div class="cur">当前关卡:关卡2</div> -->
|
||||
<div class="select">
|
||||
<a-select
|
||||
v-model:value="selectGroupId"
|
||||
style="width: 100%"
|
||||
placeholder="请选择小组"
|
||||
:options="option"
|
||||
allowClear
|
||||
@change="selectGroup"
|
||||
></a-select>
|
||||
<a-select v-model:value="selectGroupId" style="width: 100%" placeholder="请选择小组" :options="option" allowClear
|
||||
@change="selectGroup"></a-select>
|
||||
</div>
|
||||
<div class="btn">
|
||||
<button
|
||||
class="sameb btn1"
|
||||
@click="closeChangeModal"
|
||||
style="cursor: pointer"
|
||||
>
|
||||
<button class="sameb btn1" @click="closeChangeModal" style="cursor: pointer">
|
||||
取消
|
||||
</button>
|
||||
<button
|
||||
class="sameb btn2"
|
||||
@click="changeGroup"
|
||||
style="cursor: pointer"
|
||||
>
|
||||
<button class="sameb btn2" @click="changeGroup" style="cursor: pointer">
|
||||
确定
|
||||
</button>
|
||||
</div>
|
||||
@@ -100,7 +80,7 @@ const selectGroup = (e, v) => {
|
||||
};
|
||||
//确认换组
|
||||
const changeGroup = (item) => {
|
||||
debugger
|
||||
// debugger
|
||||
console.log("换组", selectGroupId.value, item);
|
||||
props.checkgroupStuId.forEach(stu => {
|
||||
let obj = {
|
||||
@@ -110,17 +90,17 @@ const changeGroup = (item) => {
|
||||
};
|
||||
console.log("换组obj", obj);
|
||||
api
|
||||
.changeGroupByStudentId(obj)
|
||||
.then((res) => {
|
||||
console.log("换组成功", res);
|
||||
if (res.data.code === 200) {
|
||||
message.success("换组成功");
|
||||
closeChangeModal();
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("换组失败", err);
|
||||
});
|
||||
.changeGroupByStudentId(obj)
|
||||
.then((res) => {
|
||||
console.log("换组成功", res);
|
||||
if (res.data.code === 200) {
|
||||
message.success("换组成功");
|
||||
closeChangeModal();
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("换组失败", err);
|
||||
});
|
||||
})
|
||||
|
||||
};
|
||||
@@ -131,9 +111,11 @@ const changeGroup = (item) => {
|
||||
.ant-modal {
|
||||
width: 549px !important;
|
||||
height: 245px !important;
|
||||
|
||||
.ant-modal-close-x {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ant-modal-content {
|
||||
width: 549px !important;
|
||||
height: 245px !important;
|
||||
@@ -155,10 +137,8 @@ const changeGroup = (item) => {
|
||||
position: relative;
|
||||
justify-content: center;
|
||||
|
||||
background: linear-gradient(
|
||||
rgba(78, 166, 255, 0.2) 0%,
|
||||
rgba(78, 166, 255, 0) 100%
|
||||
);
|
||||
background: linear-gradient(rgba(78, 166, 255, 0.2) 0%,
|
||||
rgba(78, 166, 255, 0) 100%);
|
||||
|
||||
.inhe {
|
||||
width: 80%;
|
||||
|
||||
Reference in New Issue
Block a user