⚡ 组织同步按公司刷新树并加宽组织名称列

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 16:22:39 +08:00
parent d1e779bbcc
commit f4542cd0b8
+6 -1
View File
@@ -298,7 +298,7 @@ export default {
{
label: '组织名称',
prop: 'deptName',
minWidth: 160,
minWidth: 320,
order: 80,
search: true,
searchOrder: 2,
@@ -801,6 +801,11 @@ export default {
current = 1;
this.oaSyncProgress.current = 0;
this.oaSyncProgress.total = 0;
// 单公司部门拉完并重建层级后刷新树,便于中途核对挂载结果
this.parentId = 0;
this.data = [];
this.$refs.crud?.refreshTable?.();
this.onLoad(this.page, this.query);
continue;
}
current += 1;