ปรับ check สภานะการลบรายาการผระเมิน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-12 16:12:21 +07:00
parent d6eb917071
commit 1ed73a7cea
2 changed files with 6 additions and 8 deletions

View file

@ -193,8 +193,7 @@ watch([() => currentPage.value, () => pagination.value.rowsPerPage], () => {
v-if="
props.row.step === 'CHECK_SPEC' ||
props.row.step === 'PREPARE_DOC_V1' ||
props.row.step === 'CHECK_DOC_V1' ||
props.row.step === 'WAIT_CHECK_DOC_V1'
props.row.step === 'CHECK_DOC_V1'
"
flat
dense

View file

@ -55,6 +55,8 @@ const maxPage = ref<number>(10);
/** function เรียกรายการประเมิน*/
async function fetchEvaluteList() {
console.log("test");
showLoader();
const body = {
page: page.value,
@ -73,6 +75,7 @@ async function fetchEvaluteList() {
})
.finally(() => {
hideLoader();
console.log("test");
});
}
@ -313,6 +316,7 @@ watch(
:pageSize="pageSize"
:maxPage="maxPage"
@update:pagination="updatePaging"
:fetchData="fetchEvaluteList"
/>
</div>
</q-card>
@ -320,12 +324,7 @@ watch(
</div>
</div>
<DialogMain
:modal="modal"
:menu="menu"
:close="onclickAddEvaluate"
:fetchData="fetchEvaluteList"
/>
<DialogMain :modal="modal" :menu="menu" :close="onclickAddEvaluate" />
</template>
<style lang="scss" scoped></style>