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>
|
<script lang="ts" setup>
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import { onMounted, reactive, ref } from 'vue';
|
import { onMounted, reactive, ref } from 'vue';
|
||||||
import { QSelect } from 'quasar';
|
import { QSelect, QTableProps } from 'quasar';
|
||||||
import { useNavigator } from 'src/stores/navigator';
|
import { useNavigator } from 'src/stores/navigator';
|
||||||
import { useProperty } from 'src/stores/property';
|
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({
|
const pageState = reactive({
|
||||||
hideStat: false,
|
hideStat: false,
|
||||||
inputSearch: '',
|
inputSearch: '',
|
||||||
|
|
@ -445,8 +466,8 @@ onMounted(async () => {
|
||||||
:status="props.row.status"
|
:status="props.row.status"
|
||||||
@view="() => {}"
|
@view="() => {}"
|
||||||
@edit="() => {}"
|
@edit="() => {}"
|
||||||
@delete="() => "
|
@delete="() => {}"
|
||||||
@change-status="() => "
|
@change-status="() => {}"
|
||||||
/>
|
/>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue