From a0cad20d31df2d27cf508298010f670008d84e34 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Tue, 27 Aug 2024 15:43:02 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/shop/shop_configuration.vue | 3 ++- src/views/user_manage/user_list.vue | 39 ++++++++++++++++++++++++--- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/src/views/shop/shop_configuration.vue b/src/views/shop/shop_configuration.vue index 9c55bec..3d30106 100644 --- a/src/views/shop/shop_configuration.vue +++ b/src/views/shop/shop_configuration.vue @@ -6,7 +6,7 @@ - + @@ -35,6 +35,7 @@ export default { data() { return { activeName: '1', + shopId:localStorage.getItem('shopId') } } } diff --git a/src/views/user_manage/user_list.vue b/src/views/user_manage/user_list.vue index 6b4dd04..6ffc365 100644 --- a/src/views/user_manage/user_list.vue +++ b/src/views/user_manage/user_list.vue @@ -72,9 +72,21 @@ - + + + - + + + @@ -159,8 +171,8 @@ - 充值 - 消费退款 + {{ userinfo.operationType == 'in' ? '充值' : '消费' }} + {{ userinfo.operationType == 'in' ? '消费退款' : '充值退款' }} @@ -169,6 +181,13 @@ 确 定 + + + + + 取 消 + + @@ -197,6 +216,7 @@ export default { }, dialogVisible: false, dialogVisibleedit: false, + moneyvisible: false, userinfo: { nickName: '', operationType: 'in', @@ -222,6 +242,17 @@ export default { this.getShopInfo(); }, methods: { + moneyevent(d) { + this.moneyvisible = true + }, + orderNumberevent(d) { + this.$router.push({ + path: '/order_manage/order_list', + query: { + id: d.id + } + }) + }, checkIfNum() { this.userinfos.telephone = this.userinfos.telephone.toString().replace(/\D/g, ''); }, From 7876ed1c11839d680b2fc387390b9f7a804ba786 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Tue, 27 Aug 2024 16:38:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BB=BB=E5=8A=A1id1000083=20=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E7=8E=8780%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/order_manage/order_list.vue | 3 ++- src/views/shop/components/securitySetting.vue | 11 ++++++++++- src/views/user_manage/user_list.vue | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/order_manage/order_list.vue b/src/views/order_manage/order_list.vue index ced920f..239c203 100644 --- a/src/views/order_manage/order_list.vue +++ b/src/views/order_manage/order_list.vue @@ -313,7 +313,8 @@ export default { pageSize: this.tableData.size, orderType: this.orderType, ...this.query, - productName + productName, + userId:this.$route.query.userId }); this.tableData.loading = false; this.tableData.data = res.content; diff --git a/src/views/shop/components/securitySetting.vue b/src/views/shop/components/securitySetting.vue index 5602d91..d75fac6 100644 --- a/src/views/shop/components/securitySetting.vue +++ b/src/views/shop/components/securitySetting.vue @@ -1,6 +1,13 @@