ปรับ Table ส่งไปออกคำสั่ง ส่วน รายการแต่งตั้งลูกจ้างประจำ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-10-11 11:03:21 +07:00
parent be0d571361
commit 44593ce57b

View file

@ -86,9 +86,9 @@ const columns2 = ref<QTableProps["columns"]>([
style: "font-size: 14px", style: "font-size: 14px",
}, },
]); ]);
const pageNext = (item: object) => { // const pageNext = (item: object) => {
props.nextPage?.(item); // props.nextPage?.(item);
}; // };
const emit = defineEmits([ const emit = defineEmits([
"update:filterKeyword2", "update:filterKeyword2",
"update:type", "update:type",
@ -240,18 +240,20 @@ watchEffect(() => {
<q-td key="no" :props="props"> <q-td key="no" :props="props">
{{ props.rowIndex + 1 }} {{ props.rowIndex + 1 }}
</q-td> </q-td>
<q-td key="citizenId" :props="props" @click="pageNext(props.row)"> <q-td key="citizenId" :props="props">
{{ props.row.citizenId }} {{ props.row.citizenId }}
</q-td> </q-td>
<q-td key="fullname" :props="props" @click="pageNext(props.row)"> <q-td key="fullname" :props="props">
{{ props.row.fullname }} {{ props.row.fullname }}
</q-td> </q-td>
<q-td <q-td key="organizationName" :props="props">
key="organizationName" {{ props.row.orgName !== null ? props.row.orgName : "-" }}
:props="props" {{
@click="pageNext(props.row)" props.row.organizationShortName !== null
> ? `(${props.row.organizationShortName})`
<div : ""
}}
<!-- <div
v-if=" v-if="
props.row.orgName !== null || props.row.orgName !== null ||
props.row.positionPath !== null props.row.positionPath !== null
@ -284,9 +286,9 @@ watchEffect(() => {
<div class="col-4"> <div class="col-4">
<div class="text-weight-medium">-</div> <div class="text-weight-medium">-</div>
</div> </div>
</div> </div> -->
</q-td> </q-td>
<q-td key="birthday" :props="props" @click="pageNext(props.row)"> <q-td key="birthday" :props="props">
{{ props.row.birthday }} {{ props.row.birthday }}
</q-td> </q-td>
</q-tr> </q-tr>