get รายการตำแหน่งเพิ่มส่ง revisionId

This commit is contained in:
Warunee Tamkoo 2024-02-20 15:53:24 +07:00
parent effad3f275
commit b4e0280ca9
2 changed files with 4 additions and 0 deletions

View file

@ -46,6 +46,7 @@ const reqMaster = reactive<FilterMaster>({
page: 1,
pageSize: 10,
keyword: "",
revisionId: "",
});
const totalPage = ref<number>(1);
const action1 = ref<boolean>(false);
@ -96,6 +97,8 @@ async function fetchDataTable(id: string, level: number, action: boolean) {
reqMaster.page = 1;
reqMaster.pageSize = 10;
reqMaster.keyword = "";
reqMaster.revisionId =
store.typeOrganizational == "draft" ? store.draftId : store.activeId;
}
if (action === true) {