diff --git a/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue b/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue index 6a2cf14..83cb122 100644 --- a/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue +++ b/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue @@ -154,6 +154,8 @@ const openDialog = (row: any, query: any) => { } if (query && query.hourType) { state.queryForm.hourType = query.hourType + } else if (row.hourType) { + state.queryForm.hourType = row.hourType } console.log("state.queryForm:", state.queryForm); diff --git a/src/views/hard/canteen-dept-total/index.vue b/src/views/hard/canteen-dept-total/index.vue index d5c28c3..c020f68 100644 --- a/src/views/hard/canteen-dept-total/index.vue +++ b/src/views/hard/canteen-dept-total/index.vue @@ -10,8 +10,8 @@ - - + @@ -25,7 +25,7 @@ + @expand-change="tableExpandChange">