From a7544976af576955e8236582c02cf4672ae809da Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Fri, 21 Mar 2025 11:28:30 +0800
Subject: [PATCH 1/2] =?UTF-8?q?feat:=E9=92=B1=E5=8C=85=E8=AE=B0=E8=B4=A6?=
=?UTF-8?q?=E6=89=A3=E6=AC=BE=E8=AE=B0=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wallet/mch-manage.ts | 9 ++
src/api/wallet/wallet-transaction.ts | 12 ++
src/views/wallet/mch-manage/index.vue | 38 +++---
src/views/wallet/wallet-jz/index.vue | 174 ++++++++++++++++++++++++++
4 files changed, 218 insertions(+), 15 deletions(-)
create mode 100644 src/views/wallet/wallet-jz/index.vue
diff --git a/src/api/wallet/mch-manage.ts b/src/api/wallet/mch-manage.ts
index fd9bf27..8e0f880 100644
--- a/src/api/wallet/mch-manage.ts
+++ b/src/api/wallet/mch-manage.ts
@@ -1,5 +1,14 @@
import request from "/@/utils/request"
+// 刷新商户二维码
+export function refreshQrcode(query?: Object) {
+ return request({
+ url: "/wallet/mch-manage/refresh-qrcode",
+ method: "get",
+ params: query,
+ })
+}
+
export function select(query?: Object) {
return request({
url: "/wallet/mch-manage/select",
diff --git a/src/api/wallet/wallet-transaction.ts b/src/api/wallet/wallet-transaction.ts
index 48b648a..f30402c 100644
--- a/src/api/wallet/wallet-transaction.ts
+++ b/src/api/wallet/wallet-transaction.ts
@@ -12,6 +12,18 @@ export function pageCz(query?: any) {
})
}
+export function pageJz(query?: any) {
+ return request({
+ url: "/wallet/wallet-transaction/page-jz",
+ method: "post",
+ params: {
+ current: query.current,
+ size: query.size,
+ },
+ data: query,
+ })
+}
+
export function pageXf(query?: any) {
return request({
url: "/wallet/wallet-transaction/page-xf",
diff --git a/src/views/wallet/mch-manage/index.vue b/src/views/wallet/mch-manage/index.vue
index 0602bf2..bb4644b 100644
--- a/src/views/wallet/mch-manage/index.vue
+++ b/src/views/wallet/mch-manage/index.vue
@@ -77,23 +77,18 @@
-
-
-
+
+
+
+ 刷新二维码
+
+
配置
-
+
编辑
-
- 删除
-
+ 删除
@@ -110,7 +105,7 @@
From 796714a3775922ec77eddb86e2676f4d4d505814 Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Fri, 21 Mar 2025 12:50:24 +0800
Subject: [PATCH 2/2] 11
---
src/api/hard/hard-total.ts | 12 ++++++++++++
.../hard/{hard-sb => hard-payType-total}/index.vue | 7 +++----
2 files changed, 15 insertions(+), 4 deletions(-)
rename src/views/hard/{hard-sb => hard-payType-total}/index.vue (95%)
diff --git a/src/api/hard/hard-total.ts b/src/api/hard/hard-total.ts
index ee8e33e..9e503cf 100644
--- a/src/api/hard/hard-total.ts
+++ b/src/api/hard/hard-total.ts
@@ -20,6 +20,18 @@ export function pageListSb(query?: any) {
})
}
+export function pagePayType(query?: any) {
+ return request({
+ url: "/hard/hard-total/page-list-payType",
+ method: "post",
+ params: {
+ current: query.current,
+ size: query.size,
+ },
+ data: query,
+ })
+}
+
export function pageListCs(query?: any) {
return request({
url: "/hard/hard-total/page-list-cs",
diff --git a/src/views/hard/hard-sb/index.vue b/src/views/hard/hard-payType-total/index.vue
similarity index 95%
rename from src/views/hard/hard-sb/index.vue
rename to src/views/hard/hard-payType-total/index.vue
index 930347e..25445ac 100644
--- a/src/views/hard/hard-sb/index.vue
+++ b/src/views/hard/hard-payType-total/index.vue
@@ -52,7 +52,7 @@
>
-
+
{{ row.hardName }}
@@ -60,7 +60,6 @@
-
@@ -131,7 +130,7 @@ const { hard_type } = useDict("hard_type")
const state: BasicTableProps = reactive({
isPage: false,
queryForm: {},
- pageList: hardTotalApi.pageListSb,
+ pageList: hardTotalApi.pagePayType,
})
// table hook
@@ -139,7 +138,7 @@ const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, do
// 导出excel
const exportExcel = () => {
- downBlobFile("/hard/hard-total/export-sb", Object.assign(state.queryForm), "设备交易记录.xlsx")
+ downBlobFile("/hard/hard-total/export-payType", Object.assign(state.queryForm), "设备交易记录.xlsx")
}
const getSummaries = (param: any) => {