更新班组

This commit is contained in:
2025-10-24 11:42:24 +08:00
parent 67b6b88863
commit 31bafae4aa
17 changed files with 1865 additions and 257 deletions

View File

@@ -31,7 +31,6 @@ export default {
components: { treeTransfer },
data() {
return {
groupId: undefined,
title: ['待选', '已选'],
mode: 'transfer',
fromData: [], //左边内容
@@ -39,10 +38,10 @@ export default {
};
},
methods: {
init(id) {
init(val) {
this._pageIndex = val._pageIndex-1;
this.fromData = [];
this.toData = [];
this.groupId = id;
getGroupPlanTree().then((res) => {
this.fromData = res.data;
this.fromData.forEach((item) => {
@@ -62,7 +61,7 @@ export default {
},
// 表单提交
dataFormSubmit() {
this.$emit('refreshTableData',this.toData);
this.$emit('refreshTableData', this._pageIndex,this.toData);
},
},
};