From f23fd6b01c31842108addee5ab45c3ee56bd58a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E7=8E=89=E5=BC=BA?= <875626088@qq.com> Date: Tue, 24 Oct 2023 14:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/api/shop.js | 25 ++ src/utils/index.js | 9 + .../components/authentication.vue | 10 +- .../components/businessLicense.vue | 7 +- .../organization/components/settleInfo.vue | 225 +++++++++++------- .../organization/components/shopInfo.vue | 3 +- 7 files changed, 184 insertions(+), 97 deletions(-) diff --git a/package.json b/package.json index 979e2b0..5622223 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-admin", "private": true, - "version": "1.2.37", + "version": "1.2.41", "type": "module", "scripts": { "dev": "vite", diff --git a/src/api/shop.js b/src/api/shop.js index 1d859c5..34bc6e8 100644 --- a/src/api/shop.js +++ b/src/api/shop.js @@ -248,3 +248,28 @@ export function updatemerchLicense(data) { data }) } + +/** + * 结算信息 认证信息 + * @returns + */ +export function authentication(userId) { + return request({ + method: 'get', + url: `/merchantInfo/detail/authentication/${userId}` + }) +} + +/** + * 更改认证信息 + * @param {*} data + * @returns + */ +export function updateAuthentication(params) { + return request({ + method: 'get', + url: '/merchantInfo/detail/updateAuthentication', + params + }) +} + diff --git a/src/utils/index.js b/src/utils/index.js index 26919f9..c541ccc 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -92,4 +92,13 @@ export function clearNoNum(obj) { } } return obj.value; +} + +/** + * 过滤字符串空格 + * @param {*} str + * @returns + */ +export function removeSpaces(str) { + return str.replace(/\s+/g, ''); } \ No newline at end of file diff --git a/src/views/organization/components/authentication.vue b/src/views/organization/components/authentication.vue index 5bc3c57..d4c7e6f 100644 --- a/src/views/organization/components/authentication.vue +++ b/src/views/organization/components/authentication.vue @@ -24,7 +24,8 @@ - + @@ -70,12 +71,14 @@ - + - + @@ -121,6 +124,7 @@ diff --git a/src/views/organization/components/shopInfo.vue b/src/views/organization/components/shopInfo.vue index b6a1d15..660c065 100644 --- a/src/views/organization/components/shopInfo.vue +++ b/src/views/organization/components/shopInfo.vue @@ -33,7 +33,7 @@ - + @@ -110,6 +110,7 @@