fix: 隐藏已完成的日计划作业

This commit is contained in:
zhouz
2026-08-14 17:23:52 +08:00
parent 63a6a44dde
commit 80f5ddf87e
4 changed files with 19 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ export namespace LmsDailyPlanApi {
materialKeyword?: string;
orderStatus: number;
planOrOrderCode?: string;
workType: number;
}
export interface CreateReq {

View File

@@ -80,6 +80,7 @@ function handleTabChange() {
function handleWorkTypeChange() {
weightDrafts.value = {};
updateColumns();
handleRefresh();
}
function handleDetail(row: LmsDailyPlanApi.DailyPlan) {
@@ -108,6 +109,7 @@ async function handleSort() {
orderStatus: Number(activeOrderStatus.value),
pageNo,
pageSize,
workType: Number(activeWorkType.value),
});
rows.push(...page.list);
if (page.list.length === 0 || rows.length >= page.total) break;
@@ -173,6 +175,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
pageSize: page.pageSize,
...formValues,
orderStatus: Number(activeOrderStatus.value),
workType: Number(activeWorkType.value),
}),
},
},