diff --git a/api/mall/discount.js b/api/mall/discount.js index f39be0f..aeaf5ad 100644 --- a/api/mall/discount.js +++ b/api/mall/discount.js @@ -1,91 +1,126 @@ import { - request + request } from "@/utils/request"; export default { - SalesDiscounts: { + SalesDiscounts: { - List(data) { - return request({ - url: "/shop/SalesDiscounts/List", - method: "GET", - data, - type: 'mall' - }); - }, - GetItem(data) { - return request({ - url: "/shop/SalesDiscounts/GetItem", - method: "GET", - data, - type: 'mall' - }); - }, - Create(data) { - return request({ - url: "/shop/SalesDiscounts/Create", - method: "POST", - data, - type: 'mall' - }); - }, - }, + List(data) { + return request({ + url: "/shop/SalesDiscounts/List", + method: "GET", + data, + type: 'mall' + }); + }, + GetItem(data) { + return request({ + url: "/shop/SalesDiscounts/GetItem", + method: "GET", + data, + type: 'mall' + }); + }, + Create(data) { + return request({ + url: "/shop/SalesDiscounts/Create", + method: "POST", + data, + type: 'mall' + }); + }, + }, - SalesFullDiscounts: { + SalesFullDiscounts: { - List(data) { - return request({ - url: "/shop/SalesFullDiscounts/List", - method: "GET", - data, - type: 'mall' - }); - }, - GetItem(data) { - return request({ - url: "/shop/SalesFullDiscounts/GetItem", - method: "GET", - data, - type: 'mall' - }); - }, - Create(data) { - return request({ - url: "/shop/SalesFullDiscounts/Create", - method: "POST", - data, - type: 'mall' - }); - }, - }, + List(data) { + return request({ + url: "/shop/SalesFullDiscounts/List", + method: "GET", + data, + type: 'mall' + }); + }, + GetItem(data) { + return request({ + url: "/shop/SalesFullDiscounts/GetItem", + method: "GET", + data, + type: 'mall' + }); + }, + Create(data) { + return request({ + url: "/shop/SalesFullDiscounts/Create", + method: "POST", + data, + type: 'mall' + }); + }, + }, - SalesFullSetRedution: { + SalesFullSetRedution: { - List(data) { - return request({ - url: "/shop/SalesFullSetRedution/List", - method: "GET", - data, - type: 'mall' - }); - }, - GetItem(data) { - return request({ - url: "/shop/SalesFullSetRedution/GetItem", - method: "GET", - data, - type: 'mall' - }); - }, - Create(data) { - return request({ - url: "/shop/SalesFullSetRedution/Create", - method: "POST", - data, - type: 'mall' - }); - }, - } + List(data) { + return request({ + url: "/shop/SalesFullSetRedution/List", + method: "GET", + data, + type: 'mall' + }); + }, + GetItem(data) { + return request({ + url: "/shop/SalesFullSetRedution/GetItem", + method: "GET", + data, + type: 'mall' + }); + }, + Create(data) { + return request({ + url: "/shop/SalesFullSetRedution/Create", + method: "POST", + data, + type: 'mall' + }); + }, + }, + + caiwu: { + List(data) { + return request({ + url: "/shop/shop/shareList", + method: "GET", + data, + type: 'mall' + }); + }, + cashList(data) { + return request({ + url: "/shop/shop/cashList", + method: "GET", + data, + type: 'mall' + }); + }, + shopData(data) { + return request({ + url: "/shop/shop/getData", + method: "GET", + data, + type: 'mall' + }); + }, + cashSubmit(data) { + return request({ + url: "/shop/shop/cashSubmit", + method: "POST", + data, + type: 'mall' + }); + }, + } }; \ No newline at end of file diff --git a/mall/caiwu/cash/edit.vue b/mall/caiwu/cash/edit.vue new file mode 100644 index 0000000..7b7d7b7 --- /dev/null +++ b/mall/caiwu/cash/edit.vue @@ -0,0 +1,146 @@ + + + + + + diff --git a/mall/caiwu/cash/index.vue b/mall/caiwu/cash/index.vue new file mode 100644 index 0000000..5dd2d7d --- /dev/null +++ b/mall/caiwu/cash/index.vue @@ -0,0 +1,165 @@ + + + + + \ No newline at end of file diff --git a/mall/caiwu/money/index.vue b/mall/caiwu/money/index.vue new file mode 100644 index 0000000..cbe4bc6 --- /dev/null +++ b/mall/caiwu/money/index.vue @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file diff --git a/mall/cat/edit.vue b/mall/cat/edit.vue index acc6855..12e4d77 100644 --- a/mall/cat/edit.vue +++ b/mall/cat/edit.vue @@ -1,88 +1,90 @@ \ No newline at end of file diff --git a/mall/discount/full_discount/edit.vue b/mall/discount/full_discount/edit.vue index 028268c..fd2f633 100644 --- a/mall/discount/full_discount/edit.vue +++ b/mall/discount/full_discount/edit.vue @@ -133,4 +133,4 @@ export default { + \ No newline at end of file diff --git a/mall/function/index.vue b/mall/function/index.vue index 7a6b4e3..b46bfa4 100644 --- a/mall/function/index.vue +++ b/mall/function/index.vue @@ -110,6 +110,33 @@ + + + +
+ +
+
+ + 财务 +
+
+ +
+ 佣金管理 +
+ +
+ 提现管理 +
+
+
+
+
diff --git a/pages.json b/pages.json index 206a171..38a018e 100644 --- a/pages.json +++ b/pages.json @@ -434,6 +434,27 @@ "navigationBarTitleText": "满额立减", "enablePullDownRefresh": false } + }, + { + "path": "caiwu/money/index", + "style": { + "navigationBarTitleText": "佣金明细", + "enablePullDownRefresh": false + } + }, + { + "path": "caiwu/cash/index", + "style": { + "navigationBarTitleText": "提现列表", + "enablePullDownRefresh": false + } + }, + { + "path": "caiwu/cash/edit", + "style": { + "navigationBarTitleText": "提现", + "enablePullDownRefresh": false + } } ] } diff --git a/store/recon/index.vue b/store/recon/index.vue index ca24093..e7a73c0 100644 --- a/store/recon/index.vue +++ b/store/recon/index.vue @@ -2,14 +2,14 @@ - + @@ -18,14 +18,14 @@ 账单 - +