From 2b695bfabdceccb0ee19c12c8e655bd7f47a6e2f Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期二, 27 十月 2026 18:06:44 +0800
Subject: [PATCH] feat(wxcp): 通知前端支持图片/视频/Markdown/多图文与成员预览

---
 src/api/research/application/index.ts |   50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 49 insertions(+), 1 deletions(-)

diff --git a/src/api/research/application/index.ts b/src/api/research/application/index.ts
index 3e91c52..a2de159 100644
--- a/src/api/research/application/index.ts
+++ b/src/api/research/application/index.ts
@@ -5,6 +5,31 @@
 import { requestClient } from '#/api/request';
 
 export namespace ResearchApplicationApi {
+  /** 璇鹃鐢虫姤涔︽垚鍛橈紙瀛愯〃锛� */
+  export interface ApplicationMember {
+    id?: number;
+    applicationId?: number;
+    name: string; // 鎴愬憳濮撳悕
+    memberType?: string; // 鎴愬憳绫诲瀷锛氭暀甯�/瀛︾敓/鏍″浜哄憳
+    contactPhone?: string; // 鑱旂郴鐢佃瘽锛堝巻鍙插瓧娈碉紝涓嶅啀褰曞叆锛�
+    workUnit?: string; // 鎵�灞為儴闂�
+    jobTitle?: string; // 鑱岀О
+    memberRole?: string; // 鎴愬憳瑙掕壊锛堝巻鍙插瓧娈碉紝涓嶅啀褰曞叆锛�
+    sortNo?: number; // 缃插悕椤哄簭
+  }
+
+  /** 鎴愬憳缁村害缁熻 */
+  export interface MemberStatistics {
+    name: string; // 鎴愬憳濮撳悕
+    memberTypes?: string; // 鎴愬憳绫诲瀷锛堝涓互椤垮彿鍒嗛殧锛�
+    contactPhone?: string; // 鑱旂郴鐢佃瘽
+    workUnit?: string; // 鎵�灞為儴闂�
+    jobTitle?: string; // 鑱岀О
+    memberRoles?: string; // 鎴愬憳瑙掕壊锛堝涓互椤垮彿鍒嗛殧锛�
+    projectCount?: number; // 鍙備笌璇鹃鏁�
+    projectTitles?: string; // 鍙備笌璇鹃鍚嶇О锛堝垎鍙峰垎闅旓級
+  }
+
   /** 璇鹃鐢虫姤涔� */
   export interface Application {
     id?: number;
@@ -20,7 +45,8 @@
     jobTitle?: string; // 鑱岀О
     contactPhone?: string; // 鑱旂郴鐢佃瘽
     contactEmail?: string; // 鑱旂郴閭
-    teamMembers?: string; // 璇鹃缁勬垚鍛橈紙姣忚涓�鏉★細濮撳悕|鍗曚綅|鑱岀О锛�
+    teamMembers?: string; // 璇鹃缁勬垚鍛橈紙鏃х増鏂囨湰锛屼粎鍘嗗彶鏁版嵁灞曠ず锛�
+    members?: ApplicationMember[]; // 璇鹃缁勬垚鍛樺瓙琛�
     budgetAmount?: number; // 鐢宠缁忚垂锛堝厓锛�
     planContent?: string; // 鐢虫姤涔︽鏂�
     status?: number; // 鐘舵�侊紝瀛楀吀 research_application_status
@@ -129,6 +155,28 @@
   });
 }
 
+/** 鎸夋垚鍛樼淮搴︾粺璁¤棰樺弬涓庢儏鍐� */
+export function getMemberStatistics(params: {
+  keyword?: string;
+  status?: number;
+}) {
+  return requestClient.get<ResearchApplicationApi.MemberStatistics[]>(
+    '/research/application/member-statistics',
+    { params },
+  );
+}
+
+/** 瀵煎嚭鎴愬憳缁村害缁熻 Excel */
+export function exportMemberStatistics(params: {
+  keyword?: string;
+  status?: number;
+}) {
+  return requestClient.download(
+    '/research/application/member-statistics/export-excel',
+    { params },
+  );
+}
+
 /** 鏌ヨ鏌愮敵鎶ヤ功鐨勪笓瀹惰瘎瀹℃槑缁嗗垪琛� */
 export function getTopicReviewList(applicationId: number) {
   return requestClient.get<ResearchApplicationApi.TopicReview[]>(

--
Gitblit v1.9.3