From 4b9399b8a5f2c894ffe30608d76970d0efb29d1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=AB=98=E7=8E=89=E5=BC=BA?= <875626088@qq.com>
Date: Wed, 18 Oct 2023 11:03:32 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=90=A5=E4=B8=9A=E8=B5=84?=
=?UTF-8?q?=E8=B4=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
src/api/shop.js | 26 ++-
.../components/businessLicense.vue | 154 ++++++++++++++++++
.../organization/components/settleInfo.vue | 4 +-
src/views/organization/shop_detail.vue | 51 +++---
5 files changed, 207 insertions(+), 30 deletions(-)
create mode 100644 src/views/organization/components/businessLicense.vue
diff --git a/package.json b/package.json
index d843b6d..52b2eb3 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "vue-admin",
"private": true,
- "version": "1.2.34",
+ "version": "1.2.36",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/src/api/shop.js b/src/api/shop.js
index c16a86d..1d859c5 100644
--- a/src/api/shop.js
+++ b/src/api/shop.js
@@ -223,4 +223,28 @@ export function manualMerchantIncom(params) {
url: `/merchantChannel/manualMerchantIncom`,
params
})
-}
\ No newline at end of file
+}
+
+/**
+ * 营业执照信息
+ * @returns
+ */
+export function merchLicense(userId) {
+ return request({
+ method: 'get',
+ url: `/merchantInfo/detail/merchLicense/${userId}`
+ })
+}
+
+/**
+ * 更改营业执照信息
+ * @param {*} data
+ * @returns
+ */
+export function updatemerchLicense(data) {
+ return request({
+ method: 'post',
+ url: '/merchantInfo/detail/updatemerchLicense',
+ data
+ })
+}
diff --git a/src/views/organization/components/businessLicense.vue b/src/views/organization/components/businessLicense.vue
new file mode 100644
index 0000000..5fe984a
--- /dev/null
+++ b/src/views/organization/components/businessLicense.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ form.license.licenseimage = file"
+ @removeFile="form.license.licenseimage = ''" />
+
+
+
+
+ form.idCard.imgpositive = file"
+ @removeFile="form.idCard.imgpositive = ''" />
+
+
+
+
+ form.idCard.imgnegative = file"
+ @removeFile="form.idCard.imgnegative = ''" />
+
+
+
+
+ 立即提交
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/organization/components/settleInfo.vue b/src/views/organization/components/settleInfo.vue
index 9f7584e..b45a7ad 100644
--- a/src/views/organization/components/settleInfo.vue
+++ b/src/views/organization/components/settleInfo.vue
@@ -40,7 +40,7 @@
-
@@ -103,7 +103,7 @@
-
diff --git a/src/views/organization/shop_detail.vue b/src/views/organization/shop_detail.vue
index fb532d0..3e1cf50 100644
--- a/src/views/organization/shop_detail.vue
+++ b/src/views/organization/shop_detail.vue
@@ -9,10 +9,6 @@