Commit 82a0b5d8 authored by Tình Trương's avatar Tình Trương

Update index.vue

parent 44b9a15d
...@@ -14,6 +14,18 @@ ...@@ -14,6 +14,18 @@
clearable clearable
></q-input> ></q-input>
</div> </div>
<div class="col-2 sreach">
<q-select
v-model="nameMenuSreach"
:options="nameMenuOptions"
option-label="name"
option-value="id"
dense
outlined
label="Tên menu"
clearable
></q-select>
</div>
<div class="col-auto"> <div class="col-auto">
<q-btn <q-btn
...@@ -94,7 +106,7 @@ ...@@ -94,7 +106,7 @@
</td> </td>
</template> </template>
<template v-slot:body-cell-url="rowData"> <!-- <template v-slot:body-cell-url="rowData">
<q-td> <q-td>
<div align="center"> <div align="center">
<a <a
...@@ -105,7 +117,7 @@ ...@@ -105,7 +117,7 @@
> >
</div> </div>
</q-td> </q-td>
</template> </template> -->
</q-table> </q-table>
</div> </div>
<div class="col-12 q-mt-sm"> <div class="col-12 q-mt-sm">
...@@ -251,6 +263,7 @@ export default defineComponent({ ...@@ -251,6 +263,7 @@ export default defineComponent({
const content: Ref<string> = ref(''); const content: Ref<string> = ref('');
const numIndex: Ref<number | undefined> = ref(undefined); const numIndex: Ref<number | undefined> = ref(undefined);
const ConfigSystemId: Ref<number | undefined> = ref(undefined); const ConfigSystemId: Ref<number | undefined> = ref(undefined);
const nameMenuSreach: Ref<unknown[]> = ref([]);
const getConfigSystem = async () => { const getConfigSystem = async () => {
try { try {
...@@ -424,6 +437,7 @@ export default defineComponent({ ...@@ -424,6 +437,7 @@ export default defineComponent({
updateConfigSystem, updateConfigSystem,
confirmDelete, confirmDelete,
deleteConfigSystem, deleteConfigSystem,
nameMenuSreach,
}; };
}, },
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment