From 6078f911b60d8d24c66289916d2c5ba57393f3f0 Mon Sep 17 00:00:00 2001 From: yangchangfa <721441256@qq.com> Date: Fri, 26 Jul 2024 16:30:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E6=88=B7=E5=A2=9E=E5=8A=A0=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=A8=A1=E5=BC=8F=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/form.js | 19 +++- .../pay/payAgentUser/payAgentUserList.vue | 90 ++++++++++++++----- .../pay/payType/payTypeChannelManage.vue | 56 ++++++------ 3 files changed, 110 insertions(+), 55 deletions(-) diff --git a/src/api/form.js b/src/api/form.js index 45cf2d8..e7478c6 100644 --- a/src/api/form.js +++ b/src/api/form.js @@ -255,7 +255,7 @@ export const payAgentUser = { }, }) }, - //修改商户通道 + //修改商户通道 updateStoreChannel: (data) => { return request({ url: '/store/store/updateStoreChannel?' + qs.stringify(data), @@ -287,6 +287,17 @@ export const payAgentUser = { }, }) }, + // 更新商户信息 + updateStore: (data) => { + return request({ + url: '/store/store/updateStore', + method: 'PUT', + data: data, + headers: { + Authorization: "Bearer " + getToken(), + }, + }) + }, // 获取用户谷歌密钥 getGoogleCaptcha: (query) => { return request({ @@ -939,7 +950,7 @@ export const payTypeMan = { }) }, - // 新增类型 + // 新增类型 addInfo: (data) => { return request({ url: '/pay/payType', @@ -1388,7 +1399,7 @@ export const payBankManualUser = { } /** - * 出款渠道配置模块 + * 出款渠道配置模块 */ export const payChannelOut = { // 编辑出款渠道配置模块 @@ -1442,7 +1453,7 @@ export const payChannelOut = { /** - * 内充银行模块 + * 内充银行模块 */ export const payBankManual = { // 编辑内充银行模块 diff --git a/src/views/pay/payAgentUser/payAgentUserList.vue b/src/views/pay/payAgentUser/payAgentUserList.vue index af3f81b..f8f7f24 100644 --- a/src/views/pay/payAgentUser/payAgentUserList.vue +++ b/src/views/pay/payAgentUser/payAgentUserList.vue @@ -24,20 +24,20 @@ @keyup.enter.native="handleQuery" style="width: 215px;border-color: #E6F1FF;" /> --> - - - - @@ -45,27 +45,27 @@
- 搜索 - 重置 + 搜索 + 重置 - 新增代理 - 新增商户
-
-
+
+
累计代理:{{ sum.agentCount }}
-
+
累计商户:{{ sum.storeCount }}
@@ -77,15 +77,15 @@ - + - - - + + + \ No newline at end of file +