From c51d5cd064044df965788431500afd2e65567e1f Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 19 Aug 2024 17:54:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/application.js | 47 ++++++ src/api/goxcx.js | 47 ++++++ src/views/application/advertisement.vue | 155 ++++++++++++++++++ .../invoicing/components/addConsTakin.vue | 32 +++- .../invoicing/components/addStockTakin.vue | 2 + .../invoicing/consumable/information.vue | 102 +++++++----- .../invoicing/consumable/specifications.vue | 4 +- src/views/product/components/addGroup.vue | 2 + src/views/product/index.vue | 6 +- src/views/shop/components/goxcx.vue | 123 ++++++++++++++ src/views/shop/shop_configuration.vue | 5 +- src/views/user_manage/user_list.vue | 56 ++++++- 12 files changed, 517 insertions(+), 64 deletions(-) create mode 100644 src/api/goxcx.js create mode 100644 src/views/application/advertisement.vue create mode 100644 src/views/shop/components/goxcx.vue diff --git a/src/api/application.js b/src/api/application.js index 6d90106..c25328e 100644 --- a/src/api/application.js +++ b/src/api/application.js @@ -124,3 +124,50 @@ export function countRecord(data) { } }); } + + +/** + * 广告列表 + * @returns + */ +export function adget(params) { + return request({ + url: "/api/ad", + method: "get", + params + }); +} + +/** +* 广告新增单位 +* @returns +*/ +export function adpost(data) { + return request({ + url: `/api/miniAppPages`, + method: "post", + data + }); +} +/** +* 广告编辑详情 +* @returns +*/ +export function adput(data) { + return request({ + url: '/api/miniAppPages', + method: 'put', + data + }) +} + +/** +* 广告删除商品 +* @returns +*/ +export function addelete(params) { + return request({ + url: "/api/miniAppPages/" + params, + method: "put", + }); +} diff --git a/src/api/goxcx.js b/src/api/goxcx.js new file mode 100644 index 0000000..4922962 --- /dev/null +++ b/src/api/goxcx.js @@ -0,0 +1,47 @@ +import request from "@/utils/request"; + +/** + * 列表 + * @returns + */ +export function miniAppPagesget(params) { + return request({ + url: "/api/miniAppPages", + method: "get", + params + }); +} + +/** + * 新增单位 + * @returns + */ +export function miniAppPagespost(data) { + return request({ + url: `/api/miniAppPages`, + method: "post", + data + }); +} +/** +* 编辑详情 +* @returns +*/ +export function miniAppPagesput(data) { + return request({ + url: '/api/miniAppPages', + method: 'put', + data + }) +} + +/** + * 删除商品 + * @returns + */ +export function miniAppPagesdelete(params) { + return request({ + url: "/api/miniAppPages/" + params, + method: "delete", + }); +} diff --git a/src/views/application/advertisement.vue b/src/views/application/advertisement.vue new file mode 100644 index 0000000..5e9e97c --- /dev/null +++ b/src/views/application/advertisement.vue @@ -0,0 +1,155 @@ + + + \ No newline at end of file diff --git a/src/views/invoicing/components/addConsTakin.vue b/src/views/invoicing/components/addConsTakin.vue index ed09d4f..c0bde07 100644 --- a/src/views/invoicing/components/addConsTakin.vue +++ b/src/views/invoicing/components/addConsTakin.vue @@ -1,12 +1,12 @@ - - + + +
@@ -107,6 +108,34 @@ @size-change="sizeChange" @current-change="paginationChange" layout="total, sizes, prev, pager, next, jumper">
+ + + + + + {{ userinfo.nickName }} + + + + 增加 + 备选项 + + + + + + + + 消费 + 充值退款 + + + + + 取 消 + 确 定 + + @@ -132,6 +161,12 @@ export default { size: 10, loading: false, total: 0 + }, + dialogVisible: false, + userinfo: { + nickName: '', + IncreaseDeduction: 1, + type: 1 } }; }, @@ -146,6 +181,13 @@ export default { this.getShopInfo(); }, methods: { + handleClose() { + this.userinfo = {} + }, + editPop(d) { + this.dialogVisible = true + this.userinfo.nickName = d.nickName + }, toPage(type) { const pages = { charge: "charge_list",