Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5aff8ee3
authored
Jun 18, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交AI导师传参数问题
1 parent
ab08ffd7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
components/HomeFrame/components/AIBazaar.vue
pages/common/aiWebview.vue
pages/common/messageList.vue
components/HomeFrame/components/AIBazaar.vue
View file @
5aff8ee
...
...
@@ -46,7 +46,7 @@ export default {
this
.
list
=
res
},
async
jump
(
data
)
{
let
{
agentUrl
,
domainName
,
presuppositionProblem
,
sopTaskDetailInfoDTO
}
=
data
let
{
agentUrl
,
domainName
,
presuppositionProblem
,
taskStatus
,
checkDate
}
=
data
if
(
!
agentUrl
)
{
return
uni
.
showToast
({
title
:
'待开放'
,
...
...
@@ -54,13 +54,11 @@ export default {
})
}
let
url
=
`/pages/common/aiWebview?url=
${
agentUrl
}
&domain=
${
domainName
}
&presuppositionProblem=
${
presuppositionProblem
}
`
if
(
sopTaskDetailInfoDTO
)
{
const
{
phone
}
=
uni
.
$storage
.
get
(
"userInfo"
)
url
+=
`&practice_status=
${
sopTaskDetailInfoDTO
.
taskStatus
}
&date=
${
sopTaskDetailInfoDTO
.
checkDate
}
`
const
res
=
await
uni
.
$api
.
commonApi
.
updateSopAiAgentMessageStatus
({
staffPhone
:
phone
})
}
const
{
phone
}
=
uni
.
$storage
.
get
(
"userInfo"
)
url
+=
`&practice_status=
${
taskStatus
}
&date=
${
checkDate
}
`
const
res
=
await
uni
.
$api
.
commonApi
.
updateSopAiAgentMessageStatus
({
staffPhone
:
phone
})
uni
.
navigateTo
({
url
})
}
}
...
...
pages/common/aiWebview.vue
View file @
5aff8ee
...
...
@@ -38,6 +38,12 @@ export default {
3
:
'其他'
}[
channelType
]
this
.
url
=
`
${
options
.
url
}
?no_header=1&business_type=
${
bussinessType
}
&phone=
${
phone
}
&brand=
${
brand
}
&one_id=
${
uuid
}
&platformType=1&domain=
${
options
.
domain
}
&presuppositionProblem=
${
options
.
presuppositionProblem
}
`
if
(
options
.
practice_status
)
{
this
.
url
+=
`&practice_status=
${
options
.
practice_status
}
`
}
if
(
options
.
date
)
{
this
.
url
+=
`&date=
${
options
.
date
}
`
}
console
.
log
(
this
.
url
,
999
)
// this.url='http://assistant.test.glsx.com.cn/chat/jHpvpOmuMWPxYxKo?business_type=12&brand=%E9%97%AE%E7%95%8C&one_id=266&platformType=2&no_header=1&domain=http://aiassistant.test.glsx.com.cn'
setTimeout
(()
=>
{
...
...
pages/common/messageList.vue
View file @
5aff8ee
...
...
@@ -217,7 +217,7 @@ export default {
icon
:
'none'
}
);
}
const
url
=
`/pages/common/aiWebview?url=${agentUrl
}
&domain=${domainName
}
&presuppositionProblem=${presuppositionProblem
}
&practice_status=${taskStatus
}
&
checkD
ate=${checkDate
}
`
;
const
url
=
`/pages/common/aiWebview?url=${agentUrl
}
&domain=${domainName
}
&presuppositionProblem=${presuppositionProblem
}
&practice_status=${taskStatus
}
&
d
ate=${checkDate
}
`
;
uni
.
navigateTo
({
url
}
);
// 不刷新列表的更新消息状态
if
(
row
.
status
==
0
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment