hapus
This commit is contained in:
No files matched your search
@@ -27,6 +27,8 @@ const state = ref(false)
|
||||
<v-btn color="primary" class="ms-auto" @click="emit('detail', props?.item)">Detail</v-btn>
|
||||
|
||||
</template> -->
|
||||
<slot name="actions"></slot>
|
||||
|
||||
</v-card>
|
||||
|
||||
<!-- <MasterDialogModal v-if="state" :stateValue="state" @stateValue="val => state = val" /> -->
|
||||
|
||||
@@ -77,7 +77,7 @@ onMounted(async () => {
|
||||
console.log('aaaaa', data.value);
|
||||
});
|
||||
|
||||
|
||||
const form = ref({})
|
||||
// Helper function to create checkbox config
|
||||
const createCheckbox = (namePrefix: string, menu: any) => {
|
||||
const accessMap = {
|
||||
@@ -126,12 +126,12 @@ const createMenuRow = (menu: any) => {
|
||||
:rows="1+data.length"
|
||||
:grid="[
|
||||
[
|
||||
['No', 1, 1, null, null],
|
||||
['Nama Menu', 1, 1, null, null],
|
||||
['Tambah', 1, 1, null, null],
|
||||
['Ubah', 1, 1, null, null],
|
||||
['Baca', 1, 1, null, null],
|
||||
['Hapus', 1, 1, null, null],
|
||||
['<strong>No</strong>', 1, 1, null, null],
|
||||
['<strong>Nama Menu</strong>', 1, 1, null, null],
|
||||
['<strong>Tambah</strong>', 1, 1, null, null],
|
||||
['<strong>Ubah</strong>', 1, 1, null, null],
|
||||
['<strong>Baca</strong>', 1, 1, null, null],
|
||||
['<strong>Hapus</strong>', 1, 1, null, null],
|
||||
],
|
||||
...data.map((menu:any) => createMenuRow(menu))
|
||||
]"
|
||||
|
||||
Reference in New Issue
Block a user