This commit is contained in:
parent
841f1157b1
commit
da5cec3638
1 changed files with 24 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { QSelect } from 'quasar';
|
||||
import { QSelect, QTableProps } from 'quasar';
|
||||
import { useNavigator } from 'src/stores/navigator';
|
||||
import { useProperty } from 'src/stores/property';
|
||||
|
||||
|
|
@ -37,6 +37,27 @@ const fieldSelectedOption = ref<{ label: string; value: string }[]>([
|
|||
},
|
||||
]);
|
||||
|
||||
const columns = [
|
||||
{
|
||||
name: 'name',
|
||||
align: 'center',
|
||||
label: 'property.table.name',
|
||||
field: 'order',
|
||||
},
|
||||
{
|
||||
name: 'nameEn',
|
||||
align: 'center',
|
||||
label: 'property.table.nameEn',
|
||||
field: 'nameEn',
|
||||
},
|
||||
{
|
||||
name: 'type',
|
||||
align: 'center',
|
||||
label: 'property.table.type',
|
||||
field: 'type',
|
||||
},
|
||||
] satisfies QTableProps['columns'];
|
||||
|
||||
const pageState = reactive({
|
||||
hideStat: false,
|
||||
inputSearch: '',
|
||||
|
|
@ -445,8 +466,8 @@ onMounted(async () => {
|
|||
:status="props.row.status"
|
||||
@view="() => {}"
|
||||
@edit="() => {}"
|
||||
@delete="() => "
|
||||
@change-status="() => "
|
||||
@delete="() => {}"
|
||||
@change-status="() => {}"
|
||||
/>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue