diff --git a/src/api/modules/marketing.js b/src/api/modules/marketing.js index ce05810..d8443d1 100644 --- a/src/api/modules/marketing.js +++ b/src/api/modules/marketing.js @@ -98,4 +98,12 @@ export const marketing = { data, }); }, + // 会员积分商品 + PointsProductPage: (data) => { + return $http.request({ + url: `/merchant-api/memberUnitPointsProduct/page`, + method: "get", + params: data, + }); + }, }; diff --git a/src/api/modules/mer_admin.js b/src/api/modules/mer_admin.js index f06c096..aca5092 100644 --- a/src/api/modules/mer_admin.js +++ b/src/api/modules/mer_admin.js @@ -204,4 +204,12 @@ export const mer_admin = { params: data, }); }, + //订单管理 + orderPage: (data) => { + return $http.request({ + method: "get", + url: `/merchant-api/order/page`, + params: data, + }); + }, }; diff --git a/src/router/full-routers.js b/src/router/full-routers.js index 5a0a63c..1ce4141 100644 --- a/src/router/full-routers.js +++ b/src/router/full-routers.js @@ -43,7 +43,20 @@ export default { parentId: 0, parentName: null, name: "商品管理", - url: "product/index", + url: "product/commodity/index", + perms: "", + type: 1, + elIcon: "el-icon-menu", + orderNum: 0, + open: null, + list: [], + }, + { + menuId: getUUID(), + parentId: 0, + parentName: null, + name: "订单管理", + url: "product/order/index", perms: "", type: 1, elIcon: "el-icon-menu", diff --git a/src/views/modules/marketing/points-mall/index.vue b/src/views/modules/marketing/points-mall/index.vue index 1d0cd38..dfb8348 100644 --- a/src/views/modules/marketing/points-mall/index.vue +++ b/src/views/modules/marketing/points-mall/index.vue @@ -12,38 +12,65 @@ > + \ No newline at end of file diff --git a/src/views/modules/marketing/points-setting/popup/evaluate.vue b/src/views/modules/marketing/points-setting/popup/evaluate.vue new file mode 100644 index 0000000..7dceae2 --- /dev/null +++ b/src/views/modules/marketing/points-setting/popup/evaluate.vue @@ -0,0 +1,192 @@ + + + \ No newline at end of file diff --git a/src/views/modules/marketing/points-setting/popup/product-points.vue b/src/views/modules/marketing/points-setting/popup/product-points.vue new file mode 100644 index 0000000..961ecff --- /dev/null +++ b/src/views/modules/marketing/points-setting/popup/product-points.vue @@ -0,0 +1,171 @@ + + + \ No newline at end of file diff --git a/src/views/modules/marketing/points-setting/popup/share-points.vue b/src/views/modules/marketing/points-setting/popup/share-points.vue new file mode 100644 index 0000000..dccb2f8 --- /dev/null +++ b/src/views/modules/marketing/points-setting/popup/share-points.vue @@ -0,0 +1,175 @@ + + + \ No newline at end of file diff --git a/src/views/modules/product/index.vue b/src/views/modules/product/commodity/index.vue similarity index 100% rename from src/views/modules/product/index.vue rename to src/views/modules/product/commodity/index.vue diff --git a/src/views/modules/product/popup/add-attribute.vue b/src/views/modules/product/commodity/popup/add-attribute.vue similarity index 100% rename from src/views/modules/product/popup/add-attribute.vue rename to src/views/modules/product/commodity/popup/add-attribute.vue diff --git a/src/views/modules/product/popup/add-discount.vue b/src/views/modules/product/commodity/popup/add-discount.vue similarity index 100% rename from src/views/modules/product/popup/add-discount.vue rename to src/views/modules/product/commodity/popup/add-discount.vue diff --git a/src/views/modules/product/popup/add-or-update.vue b/src/views/modules/product/commodity/popup/add-or-update.vue similarity index 100% rename from src/views/modules/product/popup/add-or-update.vue rename to src/views/modules/product/commodity/popup/add-or-update.vue diff --git a/src/views/modules/product/popup/add-price.vue b/src/views/modules/product/commodity/popup/add-price.vue similarity index 100% rename from src/views/modules/product/popup/add-price.vue rename to src/views/modules/product/commodity/popup/add-price.vue diff --git a/src/views/modules/product/popup/add-specifications.vue b/src/views/modules/product/commodity/popup/add-specifications.vue similarity index 100% rename from src/views/modules/product/popup/add-specifications.vue rename to src/views/modules/product/commodity/popup/add-specifications.vue diff --git a/src/views/modules/product/popup/add-stock.vue b/src/views/modules/product/commodity/popup/add-stock.vue similarity index 100% rename from src/views/modules/product/popup/add-stock.vue rename to src/views/modules/product/commodity/popup/add-stock.vue diff --git a/src/views/modules/product/order/index.vue b/src/views/modules/product/order/index.vue new file mode 100644 index 0000000..3db031e --- /dev/null +++ b/src/views/modules/product/order/index.vue @@ -0,0 +1,298 @@ + + + + + \ No newline at end of file