26 lines
839 B
Vue
26 lines
839 B
Vue
<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>
|