diff --git a/src/api/supermarket/shopCategory.ts b/src/api/supermarket/shopCategory.ts index 098cdcb..c262f87 100644 --- a/src/api/supermarket/shopCategory.ts +++ b/src/api/supermarket/shopCategory.ts @@ -39,3 +39,10 @@ export function putObj(obj?: Object) { }) } +export function tree(obj?: Object) { + return request({ + url: '/supermarket/shopCategory/tree', + method: 'get', + data: obj + }) +} diff --git a/src/views/supermarket/shopCategory/form.vue b/src/views/supermarket/shopCategory/form.vue index d9dffd6..bde8925 100644 --- a/src/views/supermarket/shopCategory/form.vue +++ b/src/views/supermarket/shopCategory/form.vue @@ -4,8 +4,15 @@ - - + + + + @@ -15,12 +22,6 @@ - - - - - - @@ -42,12 +43,6 @@ - - - - - -