feat(pwl):三重一大内容生成添加文件选择功能

This commit is contained in:
2025-10-30 16:54:00 +08:00
parent 7ac79bbc11
commit 2d0fb21d0c
4 changed files with 1797 additions and 1323 deletions

View File

@@ -17,6 +17,27 @@ export async function generateDecisionTable(data: {
data
);
if (res.data.code === 0) {
return res.data;
}
return Promise.reject(new Error(res.data.message));
}
/**
* 生成三重一大制度对比分析表
*/
export async function generateTripleOneTable(data: {
kbIds?: string;
libraryIds?: string;
projectLibrary?: string;
history?: string;
suggestion?: string;
}) {
const res = await request.post<ApiResult<any>>(
MODULES_API_URL + '/ai/auditContent3/generateTripleOneTable',
data
);
if (res.data.code === 0) {
return res.data;
}