Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Shucai Chen
/
lufa-ai
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b48e8f92
authored
Mar 24, 2026
by
pengshun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 对话分析页面调整
parent
f63ea6ae
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
8 deletions
+10
-8
.DS_Store
+0
-0
ruoyi-vue-pro-master-jdk17/.DS_Store
+0
-0
ruoyi-vue-pro-master-jdk17/yudao-module-ai/yudao-module-ai-biz/src/main/resources/mapper/chat/AiChatAnalysisMapper.xml
+1
-1
ruoyi-vue-pro-master-jdk17/yudao-server/.DS_Store
+0
-0
yudao-ui-admin-vue3/.DS_Store
+0
-0
yudao-ui-admin-vue3/src/assets/.DS_Store
+0
-0
yudao-ui-admin-vue3/src/views/ai/chat_analysis/analysis/index.vue
+7
-5
yudao-ui-admin-vue3/src/views/ai/chat_analysis/message/components/message/MessageList.vue
+2
-2
No files found.
.DS_Store
View file @
b48e8f92
No preview for this file type
ruoyi-vue-pro-master-jdk17/.DS_Store
View file @
b48e8f92
No preview for this file type
ruoyi-vue-pro-master-jdk17/yudao-module-ai/yudao-module-ai-biz/src/main/resources/mapper/chat/AiChatAnalysisMapper.xml
View file @
b48e8f92
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<if
test=
"reqVO.question != null and reqVO.question != ''"
>
<if
test=
"reqVO.question != null and reqVO.question != ''"
>
AND question LIKE CONCAT('%', #{reqVO.question}, '%')
AND question LIKE CONCAT('%', #{reqVO.question}, '%')
</if>
</if>
<if
test=
"reqVO.chatTime != null and reqVO.chatTime.
size()
== 2"
>
<if
test=
"reqVO.chatTime != null and reqVO.chatTime.
length
== 2"
>
AND chat_time BETWEEN #{reqVO.chatTime[0]} AND #{reqVO.chatTime[1]}
AND chat_time BETWEEN #{reqVO.chatTime[0]} AND #{reqVO.chatTime[1]}
</if>
</if>
</where>
</where>
...
...
ruoyi-vue-pro-master-jdk17/yudao-server/.DS_Store
View file @
b48e8f92
No preview for this file type
yudao-ui-admin-vue3/.DS_Store
View file @
b48e8f92
No preview for this file type
yudao-ui-admin-vue3/src/assets/.DS_Store
View file @
b48e8f92
No preview for this file type
yudao-ui-admin-vue3/src/views/ai/chat_analysis/analysis/index.vue
View file @
b48e8f92
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<span
class=
"num"
>
{{
statsData
?.
totalCount
||
0
}}
</span>
<span
class=
"num"
>
{{
statsData
?.
totalCount
||
0
}}
</span>
<span
:class=
"['growth', (statsData?.percentQAPrevious || 0) >= 0 ? 'up' : 'down']"
>
<span
:class=
"['growth', (statsData?.percentQAPrevious || 0) >= 0 ? 'up' : 'down']"
>
{{
(
statsData
?.
percentQAPrevious
||
0
)
>=
0
?
'↑'
:
'↓'
}}
{{
(
statsData
?.
percentQAPrevious
||
0
)
>=
0
?
'↑'
:
'↓'
}}
{{
Math
.
abs
(
statsData
?.
percentQAPrevious
||
0
)
}}
%
{{
Math
.
abs
(
statsData
?.
percentQAPrevious
||
0
)
.
toFixed
(
2
)
}}
%
</span>
</span>
</div>
</div>
<div
class=
"compare-text"
>
较前一
{{
config
.
compareUnit
}}
</div>
<div
class=
"compare-text"
>
较前一
{{
config
.
compareUnit
}}
</div>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<span
class=
"num"
>
{{
statsData
?.
transferCount
||
0
}}
</span>
<span
class=
"num"
>
{{
statsData
?.
transferCount
||
0
}}
</span>
<span
:class=
"['growth', (statsData?.percentTransPrevious || 0) >= 0 ? 'up' : 'down']"
>
<span
:class=
"['growth', (statsData?.percentTransPrevious || 0) >= 0 ? 'up' : 'down']"
>
{{
(
statsData
?.
percentTransPrevious
||
0
)
>=
0
?
'↑'
:
'↓'
}}
{{
(
statsData
?.
percentTransPrevious
||
0
)
>=
0
?
'↑'
:
'↓'
}}
{{
Math
.
abs
(
statsData
?.
percentTransPrevious
||
0
)
}}
%
{{
Math
.
abs
(
statsData
?.
percentTransPrevious
||
0
)
.
toFixed
(
2
)
}}
%
</span>
</span>
</div>
</div>
<div
class=
"compare-text"
>
较前一
{{
config
.
compareUnit
}}
</div>
<div
class=
"compare-text"
>
较前一
{{
config
.
compareUnit
}}
</div>
...
@@ -109,7 +109,7 @@ const displayWords = computed(() => {
...
@@ -109,7 +109,7 @@ const displayWords = computed(() => {
// 周期配置
// 周期配置
const
periodConfigs
:
Record
<
string
,
any
>
=
{
const
periodConfigs
:
Record
<
string
,
any
>
=
{
today
:
{
label
:
'
本
日'
,
compareUnit
:
'日'
,
tagType
:
'primary'
},
today
:
{
label
:
'
昨
日'
,
compareUnit
:
'日'
,
tagType
:
'primary'
},
week
:
{
label
:
'本周'
,
compareUnit
:
'周'
,
tagType
:
'success'
},
week
:
{
label
:
'本周'
,
compareUnit
:
'周'
,
tagType
:
'success'
},
month
:
{
label
:
'本月'
,
compareUnit
:
'月'
,
tagType
:
'warning'
}
month
:
{
label
:
'本月'
,
compareUnit
:
'月'
,
tagType
:
'warning'
}
}
}
...
@@ -126,8 +126,10 @@ const getTimeRangeByPeriod = (period: string): [string, string] => {
...
@@ -126,8 +126,10 @@ const getTimeRangeByPeriod = (period: string): [string, string] => {
switch
(
period
)
{
switch
(
period
)
{
case
'today'
:
case
'today'
:
start
=
now
.
startOf
(
'day'
)
// 当天 00:00:00
// start = now.startOf('day') // 当天 00:00:00
end
=
now
.
endOf
(
'day'
)
// 当天 23:59:59
// end = now.endOf('day') // 当天 23:59:59
start
=
now
.
subtract
(
1
,
'day'
).
startOf
(
'day'
)
end
=
now
.
subtract
(
1
,
'day'
).
endOf
(
'day'
)
break
break
case
'week'
:
case
'week'
:
start
=
now
.
startOf
(
'isoWeek'
)
// 本周一 00:00:00
start
=
now
.
startOf
(
'isoWeek'
)
// 本周一 00:00:00
...
...
yudao-ui-admin-vue3/src/views/ai/chat_analysis/message/components/message/MessageList.vue
View file @
b48e8f92
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</div>
</div>
<div
class=
"analysis-dashboard mt-12px"
v-show=
"analysisExpanded[item.id]"
>
<div
class=
"analysis-dashboard mt-12px"
v-show=
"analysisExpanded[item.id]"
>
<div
v-if=
"item.intentInsight"
class=
"analysis-item"
>
<
!--
<
div
v-if=
"item.intentInsight"
class=
"analysis-item"
>
<el-tag
type=
"info"
effect=
"plain"
size=
"small"
>
意图洞察
</el-tag>
<el-tag
type=
"info"
effect=
"plain"
size=
"small"
>
意图洞察
</el-tag>
<span
class=
"analysis-content"
>
{{
item
.
intentInsight
}}
</span>
<span
class=
"analysis-content"
>
{{
item
.
intentInsight
}}
</span>
</div>
</div>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<ul
class=
"diagnosis-list"
>
<ul
class=
"diagnosis-list"
>
<li
v-for=
"(msg, i) in item.reviewDiagnosis"
:key=
"i"
>
{{
msg
}}
</li>
<li
v-for=
"(msg, i) in item.reviewDiagnosis"
:key=
"i"
>
{{
msg
}}
</li>
</ul>
</ul>
</div>
</div>
-->
<div
v-if=
"item.optimizeSuggest"
class=
"analysis-item"
>
<div
v-if=
"item.optimizeSuggest"
class=
"analysis-item"
>
<el-tag
type=
"success"
effect=
"plain"
size=
"small"
>
优化建议
</el-tag>
<el-tag
type=
"success"
effect=
"plain"
size=
"small"
>
优化建议
</el-tag>
...
...
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