เพิ่มเงื่อนไขการแสดงปุ่มลบรายการประเมิน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-12 14:17:20 +07:00
parent 2910994f15
commit bfb5fd9856
2 changed files with 7 additions and 0 deletions

View file

@ -190,6 +190,12 @@ watch([() => currentPage.value, () => pagination.value.rowsPerPage], () => {
</q-td>
<q-td>
<q-btn
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'
"
flat
dense
round

View file

@ -19,6 +19,7 @@ export const useEvaluateStore = defineStore("evaluateStore", () => {
type: e.type === "EXPERT" ? "ชำนาญการ" : "ชำนาญการพิเศษ",
dateSend: date2Thai(e.updatedAt),
status: convertStatus(e.step),
step: e.step,
}));
row.value = list;