diff --git a/api/store.js b/api/store.js new file mode 100644 index 0000000..552fdde --- /dev/null +++ b/api/store.js @@ -0,0 +1,5 @@ +import request from '@/utils/request'; + +export const menuList = (data) => { + return request.get('/store/store/menu_list', data); +} \ No newline at end of file diff --git a/config/app.js b/config/app.js index 59ba585..dea5d28 100644 --- a/config/app.js +++ b/config/app.js @@ -17,7 +17,7 @@ switch (env) { WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; case 'local': - BASE_URL = 'http://192.168.1.5:8545'; + BASE_URL = 'http://192.168.1.22:8545'; WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; default: diff --git a/pageQuota/purchase_product_offer/index.vue b/pageQuota/purchase_product_offer/index.vue index a80be21..e16eb2f 100644 --- a/pageQuota/purchase_product_offer/index.vue +++ b/pageQuota/purchase_product_offer/index.vue @@ -40,7 +40,6 @@ - diff --git a/pages.json b/pages.json index 6b4cb41..7f65b31 100644 --- a/pages.json +++ b/pages.json @@ -211,6 +211,48 @@ { "navigationBarTitleText" : "门店订单" } + }, + { + "path" : "store/index", + "style" : + { + "navigationBarTitleText" : "门店管理" + } + }, + { + "path" : "deliveryOrder/index", + "style" : + { + "navigationBarTitleText" : "每日配送统计" + } + }, + { + "path" : "deliveryOrder/count", + "style" : + { + "navigationBarTitleText" : "累计配送统计" + } + }, + { + "path" : "productSales/index", + "style" : + { + "navigationBarTitleText" : "每日销量统计" + } + }, + { + "path" : "productSales/count", + "style" : + { + "navigationBarTitleText" : "累计销售统计" + } + }, + { + "path" : "store_product/index", + "style" : + { + "navigationBarTitleText" : "商品库存" + } } ] }, diff --git a/pages/my/my.vue b/pages/my/my.vue index ebf75d9..e25a643 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -123,7 +123,7 @@ - + diff --git a/pagesOrder/deliveryOrder/count.vue b/pagesOrder/deliveryOrder/count.vue new file mode 100644 index 0000000..f56587d --- /dev/null +++ b/pagesOrder/deliveryOrder/count.vue @@ -0,0 +1,303 @@ + + + + + + \ No newline at end of file diff --git a/pagesOrder/deliveryOrder/index.vue b/pagesOrder/deliveryOrder/index.vue new file mode 100644 index 0000000..f56587d --- /dev/null +++ b/pagesOrder/deliveryOrder/index.vue @@ -0,0 +1,303 @@ + + + + + + \ No newline at end of file diff --git a/pagesOrder/productSales/count.vue b/pagesOrder/productSales/count.vue new file mode 100644 index 0000000..f56587d --- /dev/null +++ b/pagesOrder/productSales/count.vue @@ -0,0 +1,303 @@ + + + + + + \ No newline at end of file diff --git a/pagesOrder/productSales/index.vue b/pagesOrder/productSales/index.vue new file mode 100644 index 0000000..f56587d --- /dev/null +++ b/pagesOrder/productSales/index.vue @@ -0,0 +1,303 @@ + + + + + + \ No newline at end of file diff --git a/pagesOrder/store/index.vue b/pagesOrder/store/index.vue new file mode 100644 index 0000000..940faa5 --- /dev/null +++ b/pagesOrder/store/index.vue @@ -0,0 +1,178 @@ + + + + + \ No newline at end of file diff --git a/pagesOrder/store_product/index.vue b/pagesOrder/store_product/index.vue new file mode 100644 index 0000000..2fed9d2 --- /dev/null +++ b/pagesOrder/store_product/index.vue @@ -0,0 +1,957 @@ + + + + + + \ No newline at end of file