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 }}
-