diff --git a/src/api/supermarket/shopCategory.ts b/src/api/supermarket/shopCategory.ts new file mode 100644 index 0000000..098cdcb --- /dev/null +++ b/src/api/supermarket/shopCategory.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/supermarket/shopCategory/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/supermarket/shopCategory', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/supermarket/shopCategory/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/supermarket/shopCategory', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/supermarket/shopCategory', + method: 'put', + data: obj + }) +} + diff --git a/src/api/supermarket/shopSku.ts b/src/api/supermarket/shopSku.ts new file mode 100644 index 0000000..ceaafaf --- /dev/null +++ b/src/api/supermarket/shopSku.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/supermarket/shopSku/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/supermarket/shopSku', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/supermarket/shopSku/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/supermarket/shopSku', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/supermarket/shopSku', + method: 'put', + data: obj + }) +} + diff --git a/src/api/supermarket/shopSpu.ts b/src/api/supermarket/shopSpu.ts new file mode 100644 index 0000000..df061f4 --- /dev/null +++ b/src/api/supermarket/shopSpu.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/supermarket/shopSpu/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/supermarket/shopSpu', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/supermarket/shopSpu/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/supermarket/shopSpu', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/supermarket/shopSpu', + method: 'put', + data: obj + }) +} + diff --git a/src/views/supermarket/shopCategory/form.vue b/src/views/supermarket/shopCategory/form.vue new file mode 100644 index 0000000..d9dffd6 --- /dev/null +++ b/src/views/supermarket/shopCategory/form.vue @@ -0,0 +1,144 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/shopCategory/index.vue b/src/views/supermarket/shopCategory/index.vue new file mode 100644 index 0000000..be2c2f1 --- /dev/null +++ b/src/views/supermarket/shopCategory/index.vue @@ -0,0 +1,137 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/shopSku/form.vue b/src/views/supermarket/shopSku/form.vue new file mode 100644 index 0000000..3232e65 --- /dev/null +++ b/src/views/supermarket/shopSku/form.vue @@ -0,0 +1,160 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/shopSku/index.vue b/src/views/supermarket/shopSku/index.vue new file mode 100644 index 0000000..a97505b --- /dev/null +++ b/src/views/supermarket/shopSku/index.vue @@ -0,0 +1,122 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/shopSpu/form.vue b/src/views/supermarket/shopSpu/form.vue new file mode 100644 index 0000000..3c78ae1 --- /dev/null +++ b/src/views/supermarket/shopSpu/form.vue @@ -0,0 +1,203 @@ + + + diff --git a/src/views/supermarket/shopSpu/index.vue b/src/views/supermarket/shopSpu/index.vue new file mode 100644 index 0000000..d12868b --- /dev/null +++ b/src/views/supermarket/shopSpu/index.vue @@ -0,0 +1,148 @@ + + +