fix colums no ===> ทะเบียนประวัติ ข้อมูลเครื่องราช
This commit is contained in:
parent
3eb5946489
commit
ee9470182f
2 changed files with 3 additions and 1 deletions
|
|
@ -1311,6 +1311,7 @@ onMounted(async () => {
|
|||
:title="`ประวัติแก้ไขเครื่องราชอิสริยาภรณ์`"
|
||||
:columns="columnsHistory"
|
||||
:fetch-data="fetchDataHistory"
|
||||
:type="'insignia'"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ const columns = defineModel<QTableColumn[]>("columns", {
|
|||
const visibleColumnsMain = defineModel<string[]>("visibleColumns", {
|
||||
required: true,
|
||||
});
|
||||
const type = defineModel<string>("type", { default: "" });
|
||||
|
||||
const props = defineProps({
|
||||
fetchData: { type: Function, required: true },
|
||||
|
|
@ -114,7 +115,7 @@ watch(
|
|||
<template v-slot:body="props">
|
||||
<q-tr :props="props">
|
||||
<q-td v-for="col in props.cols" :key="col.id">
|
||||
<div v-if="col.name === 'no'">
|
||||
<div v-if="col.name === 'no' && type !== 'insignia'">
|
||||
{{ props.rowIndex + 1 }}
|
||||
</div>
|
||||
<div v-else-if="col.name == 'organization'" class="text-html">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue