fix การทดลองปฏิบัติหน้าที่ราชการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-21 17:00:55 +07:00
parent 700f4bc2ed
commit e48606fc75
8 changed files with 244 additions and 23 deletions

View file

@ -38,7 +38,7 @@ const {
} = useCounterMixin();
const tab = ref<string>("save1");
const tabs = ref<any[]>([{ no: 1 }, { no: 2 }]);
const tabs = ref<any[]>([]);
const dataArrayNumber = ref<number>(1);
const evaluate = ref<any>([]);
const assignId = ref<string>(route.params.form.toString());
@ -59,8 +59,6 @@ async function fecthAssign(id: string) {
.then((res) => {
dataResult.value = res.data.result;
fullName.value = res.data.result.person.name;
console.log();
tabs.value = res.data.result.result.map((e: any, index: number) => {
return { no: index + 1, ...e };
});
@ -121,9 +119,7 @@ onMounted(() => {
:add-data="addData"
:loop="tabs.length"
:FileDownload="onDownloadFile"
:checkPermission="
probationStore?.dataPermissions?.tab6?.isEdit && tabs.length === 1
"
:checkPermission="false"
/>
<q-tab-panels