From cbe0a6f5928722b94f724c318431c2cc8ace8dca Mon Sep 17 00:00:00 2001 From: hupeng Date: Sun, 22 Mar 2020 20:59:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BC=9A=E5=91=98=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=BB=84=E4=BB=B6,=E5=BA=97=E5=91=98=E7=AE=A1?= =?UTF-8?q?=E7=90=86,=E4=BF=AE=E5=A4=8D#I1C5AP,#I1C6MK,#I1C055?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yxSystemStore.js | 14 +-- src/api/yxSystemStoreStaff.js | 27 +++++ src/components/material/index.vue | 3 +- src/views/shop/order/index.vue | 9 +- src/views/shop/order/indext.vue | 3 +- src/views/shop/storestaff/index.vue | 179 ++++++++++++++++++++++++++++ src/views/shop/storestaff/user.vue | 156 ++++++++++++++++++++++++ 7 files changed, 380 insertions(+), 11 deletions(-) create mode 100644 src/api/yxSystemStoreStaff.js create mode 100644 src/views/shop/storestaff/index.vue create mode 100644 src/views/shop/storestaff/user.vue diff --git a/src/api/yxSystemStore.js b/src/api/yxSystemStore.js index 15caf7e..80984fc 100644 --- a/src/api/yxSystemStore.js +++ b/src/api/yxSystemStore.js @@ -8,12 +8,12 @@ export function add(data) { }) } -// export function get() { -// return request({ -// url: 'api/yxSystemStore', -// method: 'get' -// }) -// } +export function get() { + return request({ + url: 'api/yxSystemStore', + method: 'get' + }) +} export function getL(data) { return request({ @@ -39,4 +39,4 @@ export function edit(data) { }) } -export default { getL, add, edit, del } +export default { getL, add, edit, del, get } diff --git a/src/api/yxSystemStoreStaff.js b/src/api/yxSystemStoreStaff.js new file mode 100644 index 0000000..f95a59e --- /dev/null +++ b/src/api/yxSystemStoreStaff.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxSystemStoreStaff', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxSystemStoreStaff/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxSystemStoreStaff', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/components/material/index.vue b/src/components/material/index.vue index 1271f6d..409966b 100644 --- a/src/components/material/index.vue +++ b/src/components/material/index.vue @@ -338,7 +338,8 @@ export default { page: page.currentPage - 1, size: page.pageSize, descs: this.page.descs, - ascs: this.page.ascs + ascs: this.page.ascs, + sort: 'createTime,desc' }, { groupId: this.groupId })).then(response => { diff --git a/src/views/shop/order/index.vue b/src/views/shop/order/index.vue index 4c6a9c5..f624b12 100644 --- a/src/views/shop/order/index.vue +++ b/src/views/shop/order/index.vue @@ -71,7 +71,11 @@

{{ scope.row.pinkName }}

- + + +