mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
feat:增加换组弹窗
This commit is contained in:
@@ -723,6 +723,9 @@
|
||||
<a-button @click="settingTopFlag(record)" type="link">{{
|
||||
record.topFlag ? "取消优秀" : "优秀学员"
|
||||
}}</a-button>
|
||||
<a-button type="link" @click="showChangeGroupModal()"
|
||||
>换组</a-button
|
||||
>
|
||||
</template>
|
||||
</TableStudent>
|
||||
</a-tab-pane>
|
||||
@@ -2043,6 +2046,10 @@
|
||||
type="课程二维码"
|
||||
/>
|
||||
<!-- 二维码弹窗 -->
|
||||
|
||||
<!-- 换组弹窗 -->
|
||||
<ChangeGroupModal v-model:changegroupV="changegroupV" />
|
||||
<!-- 换组弹窗 -->
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -2098,6 +2105,7 @@ import TrainClass from "@/components/project/TrainClass";
|
||||
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||
import TableStudent from "@/components/student/TableStudent";
|
||||
import { getStuPage } from "@/api/index1";
|
||||
import ChangeGroupModal from "@/components/student/ChangeGroupModal.vue";
|
||||
export default {
|
||||
name: "taskPage",
|
||||
components: {
|
||||
@@ -2129,6 +2137,7 @@ export default {
|
||||
AddCertificate,
|
||||
CreateCertificate,
|
||||
ProjectVoteManage,
|
||||
ChangeGroupModal,
|
||||
},
|
||||
setup() {
|
||||
const store = useStore();
|
||||
@@ -2827,6 +2836,8 @@ export default {
|
||||
facestudent: "",
|
||||
|
||||
modal1Visible: false, // 证书预览
|
||||
|
||||
changegroupV: false, //换组弹窗
|
||||
});
|
||||
|
||||
const levelList = reactive({
|
||||
@@ -3032,6 +3043,12 @@ export default {
|
||||
state.canclestu1 = false;
|
||||
};
|
||||
|
||||
//显示学员换组弹窗
|
||||
const showChangeGroupModal = () => {
|
||||
state.changegroupV = true;
|
||||
console.log("点击换组", state.changegroupV);
|
||||
};
|
||||
|
||||
const showModal2 = (classify, item) => {
|
||||
state.stuMemberClassify = classify;
|
||||
state.projectGroupId =
|
||||
@@ -4607,6 +4624,7 @@ export default {
|
||||
searchGroup,
|
||||
cancelyou,
|
||||
cancelcanyou,
|
||||
showChangeGroupModal,
|
||||
changePaginationStu,
|
||||
handleChange,
|
||||
toEdit,
|
||||
|
||||
Reference in New Issue
Block a user