This commit is contained in:
Viet An
2026-05-15 11:18:33 +07:00
parent 869138c003
commit 0ef1d29850
18 changed files with 175 additions and 111 deletions

View File

@@ -0,0 +1,25 @@
<script setup>
import DataView from "@/components/datatable/DataView.vue";
</script>
<template>
<DataView
v-bind="{
api: 'product',
setting: 'products',
pagename: 'products',
params: {
values:
'id,code,name,manufacturer,manufacturer__name,os,os__name,battery,battery__code,screen,cpu,cpu__name,gpu,gpu__name,camera_system,camera_system__code,sim,sim__code,network_technology,network_technology__name,charging_technology,charging_technology__code,external_storage,external_storage__max_capacity,ip_rating,ip_rating__code,design,create_time,update_time',
sort: 'id',
},
timeopt: { time: 36000 },
modal: {
component: 'imports/AddProductForm',
title: 'Tạo sản phẩm',
width: '75%',
height: 'auto',
},
}"
/>
</template>