From 31c100bb1286e2c3a2f155c3b3261bd1f1fc6314 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 1 Jul 2020 13:51:46 +0300 Subject: [PATCH] New crud demo --- src/service/ProductService.js | 2 +- src/views/datatable/DataTableCrudDemo.vue | 512 +++++++++++++----- .../datatable/DataTableRowExpandDemo.vue | 8 +- src/views/datatable/DataTableRowGroupDemo.vue | 12 +- src/views/dialog/DialogDemo.vue | 2 +- 5 files changed, 377 insertions(+), 159 deletions(-) diff --git a/src/service/ProductService.js b/src/service/ProductService.js index 78e3eb2bc..2499b2f32 100644 --- a/src/service/ProductService.js +++ b/src/service/ProductService.js @@ -9,7 +9,7 @@ export default class ProductService { getProducts() { return axios.get('demo/data/products.json').then(res => res.data.data); } - + getProductsWithOrdersSmall() { return axios.get('demo/data/products-orders-small.json').then(res => res.data.data); } diff --git a/src/views/datatable/DataTableCrudDemo.vue b/src/views/datatable/DataTableCrudDemo.vue index 415edff73..4b19dba3b 100755 --- a/src/views/datatable/DataTableCrudDemo.vue +++ b/src/views/datatable/DataTableCrudDemo.vue @@ -9,51 +9,128 @@
- -