From bac738d80cf231d1b3b42b3fa302a817a122e959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Fri, 27 Sep 2024 11:18:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E8=AE=BE=E7=BD=AE>>=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E4=B8=AD=E5=BF=83>>=E4=B8=8B=E8=BD=BD=E5=9B=BE?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/notifications.js | 9 +++ .../invoicing/consumable/cons_record.vue | 56 +++++++++++++--- .../invoicing/consumable/information.vue | 65 +++++++++++++------ src/views/shop/notifications/index.vue | 45 +++++++++++-- 4 files changed, 141 insertions(+), 34 deletions(-) diff --git a/src/api/notifications.js b/src/api/notifications.js index 36cd25e..ce4e6a5 100644 --- a/src/api/notifications.js +++ b/src/api/notifications.js @@ -40,3 +40,12 @@ export function delmsg(ids) { data: ids }) } + +//获取订阅二维码 +export function subQrCode(params) { + return request({ + url: '/api/msg/subQrCode', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/views/invoicing/consumable/cons_record.vue b/src/views/invoicing/consumable/cons_record.vue index 8a71f43..d8d586c 100644 --- a/src/views/invoicing/consumable/cons_record.vue +++ b/src/views/invoicing/consumable/cons_record.vue @@ -32,10 +32,26 @@ - {{ item.productName }} - + + + {{ + item.productName }} + + + + + + + + {{ item.productName }} + + + + + @@ -53,10 +69,10 @@ { - clickseetableData.size = e; - clickseetableData.page = 0; - getTableData(); - } + clickseetableData.size = e; + clickseetableData.page = 0; + getTableData(); + } " /> @@ -90,11 +106,11 @@ export default { this.getTableData(); }, methods: { - toGoods(data) { + toGoods(productId) { this.$router.push({ path: '/product/product', query: { - productId: data.productId + productId: productId } }) }, @@ -134,7 +150,7 @@ export default { size: this.clickseetableData.size, ...this.query, shopId: localStorage.getItem("shopId"), - sort:'createTime,desc' + sort: 'createTime,desc' }); this.clickseetableData.loading = false; this.clickseetableData.data = res.content.map(v => { @@ -162,6 +178,26 @@ export default { };