mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
fix:修改小组
This commit is contained in:
@@ -97,8 +97,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnn">
|
||||
<button class="btn1">取消</button>
|
||||
<button class="btn2">确定</button>
|
||||
<button class="btn1" @click="closeDrawer">取消</button>
|
||||
<button class="btn2" @click="closeDrawer">确定</button>
|
||||
</div>
|
||||
<!-- 批量删除的弹窗 -->
|
||||
<a-modal
|
||||
@@ -270,6 +270,8 @@ export default {
|
||||
});
|
||||
const closeDrawer = () => {
|
||||
ctx.emit("update:Lvisible", false);
|
||||
state.tabledata = [];
|
||||
console.log("tabledata", state.tabledata);
|
||||
};
|
||||
const showModal = () => {
|
||||
if (state.selectedRows.length == 0) {
|
||||
@@ -345,18 +347,25 @@ export default {
|
||||
state.tableDataTotal = -1;
|
||||
getProjStu(objf).then((res) => {
|
||||
console.log(res.data.data, "获取学员列表");
|
||||
let leng = res.data.data.rows.length;
|
||||
state.total = res.data.data.total;
|
||||
state.tableDataTotal = res.data.data.total;
|
||||
if (leng > 0) {
|
||||
if (res.data.code === 200) {
|
||||
state.total = res.data.data.total;
|
||||
state.tableDataTotal = res.data.data.total;
|
||||
let arr = res.data.data.rows;
|
||||
getTableDataList(arr);
|
||||
}
|
||||
// let leng = res.data.data.rows.length;
|
||||
|
||||
// state.tableDataTotal = res.data.data.total;
|
||||
// if (leng > 0) {
|
||||
|
||||
// }
|
||||
});
|
||||
};
|
||||
|
||||
const afterVisibleChange = () => {
|
||||
getStu();
|
||||
const afterVisibleChange = (bool) => {
|
||||
if (bool) {
|
||||
getStu();
|
||||
}
|
||||
};
|
||||
//分页
|
||||
const changePaginationStu = (page) => {
|
||||
|
||||
Reference in New Issue
Block a user