This commit is contained in:
zlwu committed 2026-08-30 18:33:13 +08:00
1 parent c8cec132bf
commit 19c5aaa8f5
95 files changed
+309129 -9838

No files matched your search

@@ -13,11 +13,16 @@ export function usePlPlanMergeListTable(options: {
selectedRows: Ref<Plan[]>
pagination: { page: number; pageSize: number }
onView?: (plan: Plan) => void
/** 计划区固定合并列数:默认 3(勾选+序号+计划编号);无勾选列时传 2 */
fixedMergeColCount?: number
}) {
const displayRows = computed(() => flattenPlanListRows(unref(options.planList)))
const planListSpanMethod = computed(() =>
buildPlPlanListSpanMethod([...options.visiblePlanMergeProps.value])
buildPlPlanListSpanMethod(
[...options.visiblePlanMergeProps.value],
options.fixedMergeColCount
)
)
function getDisplayRowIndex(index: number) {