Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sdream-ai-fe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
侯明涛
sdream-ai-fe
Commits
71bcc46b
Commit
71bcc46b
authored
Jan 21, 2026
by
Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:策略分析 busiType && recordType传值
parent
6390aa55
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/pages/ChatTactics/TacticsChat.tsx
+7
-7
No files found.
src/pages/ChatTactics/TacticsChat.tsx
View file @
71bcc46b
...
...
@@ -417,7 +417,7 @@ export const TacticsChat: React.FC = () => {
const
shouldIncludeOrderMeta
=
extra
?.
includeOrderMeta
!==
false
// 去除缓存中可能存在的 from 字段,避免作为参数传递
const
{
from
:
_omitFrom
,
...
safeTacticsMeta
}
=
(
tacticsMeta
||
{})
as
Record
<
string
,
any
>
const
{
from
:
_omitFrom
,
busiType
:
_omitBusiType
,
...
safeTacticsMeta
}
=
(
tacticsMeta
||
{})
as
Record
<
string
,
any
>
const
requestBody
:
Record
<
string
,
any
>
=
{
conversationId
:
currentIdRef
.
current
,
...
...
@@ -477,7 +477,7 @@ export const TacticsChat: React.FC = () => {
}
}
else
if
(
tacticsMeta
)
{
requestBody
.
busiType
??
=
'0
2
'
requestBody
.
busiType
??
=
'0
3
'
requestBody
.
busiId
??
=
tacticsMeta
.
taskId
}
// 如果 includeQuestion 为 false,不展示问题但接口参数中仍要传递 question
...
...
@@ -711,7 +711,7 @@ export const TacticsChat: React.FC = () => {
}
else
{
await
handleSubmitQuestion
(
undefined
,
undefined
,
undefined
,
{
busiType
:
'0
2
'
,
busiType
:
'0
3
'
,
recordType
:
'A01'
,
includeQuestion
:
false
,
includeTacticsMeta
:
true
,
...
...
@@ -856,7 +856,7 @@ export const TacticsChat: React.FC = () => {
undefined
,
undefined
,
{
busiType
:
'0
2
'
,
busiType
:
'0
3
'
,
recordType
:
'A01'
,
includeQuestion
:
false
,
includeTacticsMeta
:
true
,
...
...
@@ -974,8 +974,8 @@ export const TacticsChat: React.FC = () => {
productCode
,
undefined
,
{
busiType
:
'0
2
'
,
recordType
:
'A0
2
'
,
busiType
:
'0
3
'
,
recordType
:
'A0
1
'
,
includeQuestion
:
true
,
includeTacticsMeta
:
true
,
},
...
...
@@ -1171,7 +1171,7 @@ export const TacticsChat: React.FC = () => {
undefined
,
{
busiType
:
'02'
,
recordType
:
'A0
2
'
,
recordType
:
'A0
1
'
,
includeQuestion
:
true
,
includeTacticsMeta
:
true
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment