diff --git a/src/api/supermarket/mallCategory.ts b/src/api/supermarket/mallCategory.ts new file mode 100644 index 0000000..b993d34 --- /dev/null +++ b/src/api/supermarket/mallCategory.ts @@ -0,0 +1,48 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/supermarket/mallCategory/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/supermarket/mallCategory', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/supermarket/mallCategory/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/supermarket/mallCategory', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/supermarket/mallCategory', + method: 'put', + data: obj + }) +} + +export function tree(obj?: Object) { + return request({ + url: '/supermarket/mallCategory/tree', + method: 'get', + data: obj + }) +} diff --git a/src/api/supermarket/mallMerchant.ts b/src/api/supermarket/mallMerchant.ts new file mode 100644 index 0000000..bdc615d --- /dev/null +++ b/src/api/supermarket/mallMerchant.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/supermarket/mallMerchant/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/supermarket/mallMerchant', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/supermarket/mallMerchant/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/supermarket/mallMerchant', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/supermarket/mallMerchant', + method: 'put', + data: obj + }) +} + diff --git a/src/api/supermarket/mallProduct.ts b/src/api/supermarket/mallProduct.ts new file mode 100644 index 0000000..edada56 --- /dev/null +++ b/src/api/supermarket/mallProduct.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/supermarket/mallProduct/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/supermarket/mallProduct', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/supermarket/mallProduct/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/supermarket/mallProduct', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/supermarket/mallProduct', + method: 'put', + data: obj + }) +} + diff --git a/src/api/supermarket/mallProductSku.ts b/src/api/supermarket/mallProductSku.ts new file mode 100644 index 0000000..6f7db5e --- /dev/null +++ b/src/api/supermarket/mallProductSku.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/supermarket/mallProductSku/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/supermarket/mallProductSku', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/supermarket/mallProductSku/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/supermarket/mallProductSku', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/supermarket/mallProductSku', + method: 'put', + data: obj + }) +} + diff --git a/src/views/supermarket/mallCategory/form.vue b/src/views/supermarket/mallCategory/form.vue new file mode 100644 index 0000000..4192b8c --- /dev/null +++ b/src/views/supermarket/mallCategory/form.vue @@ -0,0 +1,160 @@ + + + diff --git a/src/views/supermarket/mallCategory/index.vue b/src/views/supermarket/mallCategory/index.vue new file mode 100644 index 0000000..04eb2b2 --- /dev/null +++ b/src/views/supermarket/mallCategory/index.vue @@ -0,0 +1,179 @@ + + + diff --git a/src/views/supermarket/mallMerchant/form.vue b/src/views/supermarket/mallMerchant/form.vue new file mode 100644 index 0000000..a863f61 --- /dev/null +++ b/src/views/supermarket/mallMerchant/form.vue @@ -0,0 +1,174 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/mallMerchant/index.vue b/src/views/supermarket/mallMerchant/index.vue new file mode 100644 index 0000000..6952b88 --- /dev/null +++ b/src/views/supermarket/mallMerchant/index.vue @@ -0,0 +1,147 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/mallProduct/form.vue b/src/views/supermarket/mallProduct/form.vue new file mode 100644 index 0000000..8dff3bd --- /dev/null +++ b/src/views/supermarket/mallProduct/form.vue @@ -0,0 +1,219 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/mallProduct/index.vue b/src/views/supermarket/mallProduct/index.vue new file mode 100644 index 0000000..3ae8405 --- /dev/null +++ b/src/views/supermarket/mallProduct/index.vue @@ -0,0 +1,150 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/mallProductSku/form.vue b/src/views/supermarket/mallProductSku/form.vue new file mode 100644 index 0000000..7599080 --- /dev/null +++ b/src/views/supermarket/mallProductSku/form.vue @@ -0,0 +1,167 @@ + + + \ No newline at end of file diff --git a/src/views/supermarket/mallProductSku/index.vue b/src/views/supermarket/mallProductSku/index.vue new file mode 100644 index 0000000..8138e3f --- /dev/null +++ b/src/views/supermarket/mallProductSku/index.vue @@ -0,0 +1,123 @@ + + + \ No newline at end of file