diff --git a/src/api/store/shop/index.js b/src/api/store/shop/index.js index b0c9a49..3ddf2d2 100644 --- a/src/api/store/shop/index.js +++ b/src/api/store/shop/index.js @@ -7,6 +7,7 @@ const api = { detail: '/shop/detail', add: '/shop/add', edit: '/shop/edit', + updateParking: '/shop/updateParking', delete: '/shop/delete' } @@ -61,6 +62,14 @@ export function edit (data) { }) } +export function updateParking (data) { + return axios({ + url: api.updateParking, + method: 'post', + data + }) +} + /** * 删除记录 * @param {*} data diff --git a/src/views/store/shop/Create.vue b/src/views/store/shop/Create.vue index acb5652..ab5bae4 100644 --- a/src/views/store/shop/Create.vue +++ b/src/views/store/shop/Create.vue @@ -109,21 +109,6 @@ - - 启用 diff --git a/src/views/store/shop/Index.vue b/src/views/store/shop/Index.vue index 7ac6538..15810b9 100644 --- a/src/views/store/shop/Index.vue +++ b/src/views/store/shop/Index.vue @@ -53,21 +53,26 @@ + +