mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
Merge branch 'develop' into manage-release
# Conflicts: # src/App.vue # src/components/drawers/AddHomework.vue # src/components/drawers/AddTest.vue # src/components/student/ChangeLevelModal.vue # src/components/student/TableStudent.vue # src/views/examine/ProjectReviewed.vue
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
style="padding-left: 20px; margin-right: 0px"
|
||||
>
|
||||
<a-col>
|
||||
<a-form-item title="姓名:" @click="getStuList">
|
||||
<a-form-item title="姓名:" >
|
||||
<a-input
|
||||
class="cus-input"
|
||||
v-model:value="tableParam.studentName"
|
||||
@@ -15,7 +15,7 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col>
|
||||
<a-button class="cus-btn" style="width: 100px">
|
||||
<a-button class="cus-btn" style="width: 100px" @click="getStuList">
|
||||
<template #icon>
|
||||
<img
|
||||
style="margin-right: 10px"
|
||||
@@ -117,7 +117,7 @@ import { computed, defineProps, onMounted, ref, watch } from "vue";
|
||||
import { delStudentList, getStuPage } from "@/api/index1";
|
||||
import CommonStudent from "@/components/student/CommonStudent";
|
||||
import ChangeLevelModal from "./ChangeLevelModal.vue";
|
||||
import {message} from "ant-design-vue";
|
||||
import { message } from "ant-design-vue";
|
||||
const props = defineProps({
|
||||
type: Number,
|
||||
id: String,
|
||||
@@ -191,7 +191,7 @@ const tableData = ref({
|
||||
});
|
||||
|
||||
const stuRowSelection = computed(() => ({
|
||||
columnWidth: 10,
|
||||
columnWidth: 20,
|
||||
selectedRowKeys: stuSelectKeys.value,
|
||||
onChange: onStuSelectChange,
|
||||
preserveSelectedRowKeys: true,
|
||||
@@ -233,9 +233,16 @@ function getStuList() {
|
||||
});
|
||||
}
|
||||
|
||||
function reset() {}
|
||||
function reset() {
|
||||
tableParam.value.studentName="";
|
||||
}
|
||||
|
||||
function bathDel() {
|
||||
if( stuSelectKeys.value &&
|
||||
stuSelectKeys.value.length === 0){
|
||||
message.destroy();
|
||||
return message.warning("请先选中学员");
|
||||
}
|
||||
stuSelectKeys.value &&
|
||||
stuSelectKeys.value.length &&
|
||||
delStudentList({
|
||||
|
||||
Reference in New Issue
Block a user