From 55695da2fdb918df91b4e6021f8676adbe0e80c6 Mon Sep 17 00:00:00 2001 From: lbw_9527443 <780139497@qq.com> Date: Mon, 23 Mar 2026 16:46:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(wecom):=20=E9=9B=86=E6=88=90=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=BE=AE=E4=BF=A1JSSDK=E5=B9=B6=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF=E8=8E=B7=E5=8F=96=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor(admin): 优化文件上传处理及表单字段管理 fix(user): 修复企微SDK初始化及客户ID获取问题 --- package.json | 1 + pnpm-lock.yaml | 8 ++ src/views/AdminIndex.vue | 168 ++++++++++++++++++++++++++---------- src/views/UserHome.vue | 182 ++++++++++++++++++++++++++++----------- 4 files changed, 267 insertions(+), 92 deletions(-) diff --git a/package.json b/package.json index b7fcf45..b8327f5 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "@vicons/ionicons5": "^0.13.0", + "@wecom/jssdk": "^2.3.4", "axios": "^1.13.6", "dev": "^0.1.3", "naive-ui": "^2.44.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d313bfd..2605018 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: '@vicons/ionicons5': specifier: ^0.13.0 version: 0.13.0 + '@wecom/jssdk': + specifier: ^2.3.4 + version: 2.3.4 axios: specifier: ^1.13.6 version: 1.13.6 @@ -650,6 +653,9 @@ packages: vue: optional: true + '@wecom/jssdk@2.3.4': + resolution: {integrity: sha512-oLfuvwMBZCRRMowVi/JkKx/dLNGHCmmUbQfCYG7XGmHYbgkQJlAlack4jKBk+NVG4G0S24fIrAF+XwQuXXxgAw==} + acorn@8.16.0: resolution: {integrity: sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==} engines: {node: '>=0.4.0'} @@ -1890,6 +1896,8 @@ snapshots: typescript: 5.9.3 vue: 3.5.30(typescript@5.9.3) + '@wecom/jssdk@2.3.4': {} + acorn@8.16.0: {} alien-signals@3.1.2: {} diff --git a/src/views/AdminIndex.vue b/src/views/AdminIndex.vue index c605b75..89a86ad 100644 --- a/src/views/AdminIndex.vue +++ b/src/views/AdminIndex.vue @@ -101,9 +101,9 @@ - + - +
@@ -136,14 +136,8 @@
- + + @@ -162,27 +156,43 @@ - +
+
附件文档
- 上传新附件 + 更换附件文档
+
-
付款截图
+
电子签名
+ + 点击上传 + +
+ + +
+
付款截图凭证 (多选)
@@ -208,21 +218,17 @@