Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
4bda570f
提交
4bda570f
authored
4月 09, 2026
作者:
张伊明
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'ayp-dev' 到 'pre'
修改 public config文件 增加outImgbaseUrl变量 查看合并请求
!323
上级
874dcf6a
3ce99655
流水线
#386
已通过 于阶段
in 4 分 1 秒
变更
2
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
6 行删除
+5
-6
config.js
public/js/config.js
+4
-2
writtingAsstaintStore.js
src/stores/writtingAsstaintStore.js
+1
-4
没有找到文件。
public/js/config.js
浏览文件 @
4bda570f
const
baseUrl
=
`http://8.140.26.4:9085`
const
baseUrl
=
`http://8.140.26.4:9085`
\ No newline at end of file
const
outImgbaseUrl
=
`http://172.19.21.9:8003/out/img`
// 写报图片URL
\ No newline at end of file
src/stores/writtingAsstaintStore.js
浏览文件 @
4bda570f
...
@@ -485,7 +485,6 @@ export const useWrittingAsstaintStore = defineStore('writtingAsstaint', {
...
@@ -485,7 +485,6 @@ export const useWrittingAsstaintStore = defineStore('writtingAsstaint', {
// ========== AI 生成报文 SSE(更新报文内容 + 执行步骤) ==========
// ========== AI 生成报文 SSE(更新报文内容 + 执行步骤) ==========
async
fetchReportData
(
params
)
{
async
fetchReportData
(
params
)
{
console
.
log
(
">"
)
if
(
this
.
abortController
)
this
.
abortController
.
abort
();
if
(
this
.
abortController
)
this
.
abortController
.
abort
();
this
.
abortController
=
new
AbortController
();
this
.
abortController
=
new
AbortController
();
// this.processLog = '';
// this.processLog = '';
...
@@ -511,7 +510,7 @@ export const useWrittingAsstaintStore = defineStore('writtingAsstaint', {
...
@@ -511,7 +510,7 @@ export const useWrittingAsstaintStore = defineStore('writtingAsstaint', {
lastFlushedIndex
=
0
;
lastFlushedIndex
=
0
;
if
(
this
.
reportContent
.
includes
(
'./out/img'
))
{
if
(
this
.
reportContent
.
includes
(
'./out/img'
))
{
this
.
reportContent
=
this
.
reportContent
.
replaceAll
(
'./out/img'
,
'http://172.19.21.9:8003/out/img'
);
this
.
reportContent
=
this
.
reportContent
.
replaceAll
(
'./out/img'
,
outImgbaseUrl
);
}
}
};
};
...
@@ -571,7 +570,6 @@ export const useWrittingAsstaintStore = defineStore('writtingAsstaint', {
...
@@ -571,7 +570,6 @@ export const useWrittingAsstaintStore = defineStore('writtingAsstaint', {
streamBuffer
+=
str
;
streamBuffer
+=
str
;
updateFlushIndexByBoundary
();
updateFlushIndexByBoundary
();
flushToReport
(
false
);
flushToReport
(
false
);
console
.
log
(
streamBuffer
,
456
)
console
.
log
(
msgData
,
'data'
)
console
.
log
(
msgData
,
'data'
)
}
else
{
}
else
{
// 结束时把剩余内容强制 flush
// 结束时把剩余内容强制 flush
...
@@ -663,7 +661,6 @@ export const useWrittingAsstaintStore = defineStore('writtingAsstaint', {
...
@@ -663,7 +661,6 @@ export const useWrittingAsstaintStore = defineStore('writtingAsstaint', {
};
};
await
this
.
fetchReportData
(
params
);
await
this
.
fetchReportData
(
params
);
}
else
{
}
else
{
console
.
log
(
10101010101010
)
// 政令模板需要先解析PDF
// 政令模板需要先解析PDF
if
(
this
.
curTempTitle
===
'政令'
)
{
if
(
this
.
curTempTitle
===
'政令'
)
{
if
(
this
.
uploadFileList
.
length
===
0
)
{
if
(
this
.
uploadFileList
.
length
===
0
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论