From 073c5004240f134c27a8751652dcf6bf92d3c085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E5=90=8C=E5=AD=A6?= <2495967527@qq.com> Date: Sun, 15 Dec 2024 17:35:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/marketing.js | 8 + src/api/modules/mer_admin.js | 8 + src/router/full-routers.js | 15 +- .../modules/marketing/points-mall/index.vue | 77 +++-- .../points-mall/popup/add-or-update.vue | 0 .../marketing/points-setting/index.vue | 29 +- .../points-setting/popup/add-or-update.vue | 265 +++++++--------- .../marketing/points-setting/popup/browse.vue | 172 ++++++++++ .../points-setting/popup/evaluate.vue | 192 +++++++++++ .../points-setting/popup/product-points.vue | 171 ++++++++++ .../points-setting/popup/share-points.vue | 175 ++++++++++ .../modules/product/{ => commodity}/index.vue | 0 .../{ => commodity}/popup/add-attribute.vue | 0 .../{ => commodity}/popup/add-discount.vue | 0 .../{ => commodity}/popup/add-or-update.vue | 0 .../{ => commodity}/popup/add-price.vue | 0 .../popup/add-specifications.vue | 0 .../{ => commodity}/popup/add-stock.vue | 0 src/views/modules/product/order/index.vue | 298 ++++++++++++++++++ 19 files changed, 1239 insertions(+), 171 deletions(-) create mode 100644 src/views/modules/marketing/points-mall/popup/add-or-update.vue create mode 100644 src/views/modules/marketing/points-setting/popup/browse.vue create mode 100644 src/views/modules/marketing/points-setting/popup/evaluate.vue create mode 100644 src/views/modules/marketing/points-setting/popup/product-points.vue create mode 100644 src/views/modules/marketing/points-setting/popup/share-points.vue rename src/views/modules/product/{ => commodity}/index.vue (100%) rename src/views/modules/product/{ => commodity}/popup/add-attribute.vue (100%) rename src/views/modules/product/{ => commodity}/popup/add-discount.vue (100%) rename src/views/modules/product/{ => commodity}/popup/add-or-update.vue (100%) rename src/views/modules/product/{ => commodity}/popup/add-price.vue (100%) rename src/views/modules/product/{ => commodity}/popup/add-specifications.vue (100%) rename src/views/modules/product/{ => commodity}/popup/add-stock.vue (100%) create mode 100644 src/views/modules/product/order/index.vue 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