feat(personal): add editable report outlines

This commit is contained in:
2026-07-12 23:03:36 +08:00
parent 2cb31f524c
commit 0868f0adb5
11 changed files with 601 additions and 5 deletions
@@ -53,6 +53,20 @@ test('问答首页默认只查询个人资料并展示真实引用域', async ()
assert.doesNotMatch(page, /ownerUserId|tenantId/);
});
test('个人助理先生成可编辑大纲并在确认后冻结来源', async () => {
const [page, client] = await Promise.all([
source('../src/pages/user/assistant/index.vue'),
source('../src/services/personal-assistant.ts')
]);
assert.match(client, /createPersonalOutline/);
assert.match(client, /updatePersonalOutline/);
assert.match(client, /confirmPersonalOutline/);
assert.match(page, /生成汇报提纲/);
assert.match(page, /确认大纲/);
assert.match(page, /资料来源不可编辑/);
assert.match(page, /answer\.citations\?\.length/);
});
test('资料库和收藏页覆盖分页筛选以及三种真实收藏方式', async () => {
const [library, capture] = await Promise.all([
source('../src/pages/user/assistant/library.vue'),