Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
20edaddb
Commit
20edaddb
authored
Dec 16, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: agent数据统计UI调整
parent
bc306b9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
agent-analysis.vue
...-app-setting/components/agent-analysis/agent-analysis.vue
+5
-2
channel-user-comparison-chart.vue
...ent-analysis/components/channel-user-comparison-chart.vue
+4
-0
usage-trend-chart.vue
...omponents/agent-analysis/components/usage-trend-chart.vue
+9
-2
No files found.
src/views/personal-space/personal-app-setting/components/agent-analysis/agent-analysis.vue
View file @
20edaddb
...
@@ -186,10 +186,13 @@ function handleGetAllChannelList(options: TreeSelectOption[]) {
...
@@ -186,10 +186,13 @@ function handleGetAllChannelList(options: TreeSelectOption[]) {
@include
custom-scrollbar
(
6px
);
@include
custom-scrollbar
(
6px
);
:deep
(
.tree-tag
.n-base-selection
)
{
:deep
(
.tree-tag
.n-base-selection
)
{
--n-height
:
34px
!
important
;
--n-height
:
36px
!
important
;
--n-color
:
#f3f5f8
!
important
;
--n-color-active
:
#f3f5f8
!
important
;
--n-border
:
1px
solid
#ccc
!
important
;
.n-base-selection-tag-wrapper
.n-tag
{
.n-base-selection-tag-wrapper
.n-tag
{
background
:
#f
3f5f8
!
important
;
background
:
#f
ff
!
important
;
--n-border
:
none
!
important
;
--n-border
:
none
!
important
;
...
...
src/views/personal-space/personal-app-setting/components/agent-analysis/components/channel-user-comparison-chart.vue
View file @
20edaddb
...
@@ -42,6 +42,8 @@ const defaultEchartOption: EChartsOption = {
...
@@ -42,6 +42,8 @@ const defaultEchartOption: EChartsOption = {
{
{
name
:
t
(
'analysis_module.link_share'
),
name
:
t
(
'analysis_module.link_share'
),
type
:
'bar'
,
type
:
'bar'
,
barMaxWidth
:
'34px'
,
barMinHeight
:
4
,
encode
:
{
x
:
'date'
,
y
:
'linkShareCount'
},
encode
:
{
x
:
'date'
,
y
:
'linkShareCount'
},
itemStyle
:
{
itemStyle
:
{
color
:
'#454FFF'
,
color
:
'#454FFF'
,
...
@@ -51,6 +53,8 @@ const defaultEchartOption: EChartsOption = {
...
@@ -51,6 +53,8 @@ const defaultEchartOption: EChartsOption = {
{
{
name
:
t
(
'analysis_module.agent_square'
),
name
:
t
(
'analysis_module.agent_square'
),
type
:
'bar'
,
type
:
'bar'
,
barMaxWidth
:
'34px'
,
barMinHeight
:
4
,
encode
:
{
x
:
'date'
,
y
:
'mallCount'
},
encode
:
{
x
:
'date'
,
y
:
'mallCount'
},
itemStyle
:
{
itemStyle
:
{
color
:
'#00C2FF'
,
color
:
'#00C2FF'
,
...
...
src/views/personal-space/personal-app-setting/components/agent-analysis/components/usage-trend-chart.vue
View file @
20edaddb
...
@@ -188,7 +188,7 @@ async function handleUpdateDateRange(_value: [number, number], formattedValue: [
...
@@ -188,7 +188,7 @@ async function handleUpdateDateRange(_value: [number, number], formattedValue: [
<n-select
<n-select
v-model:value=
"currentRangType"
v-model:value=
"currentRangType"
:options=
"rangTypeOptionList"
:options=
"rangTypeOptionList"
class=
"w-[124px]! text-[#84868c]!"
class=
"w-[124px]! text-[#84868c]!
time-range-select
"
@
update:value=
"handleUpdateRangType"
@
update:value=
"handleUpdateRangType"
/>
/>
...
@@ -197,7 +197,7 @@ async function handleUpdateDateRange(_value: [number, number], formattedValue: [
...
@@ -197,7 +197,7 @@ async function handleUpdateDateRange(_value: [number, number], formattedValue: [
:is-date-disabled=
"disableDateRange"
:is-date-disabled=
"disableDateRange"
type=
"daterange"
type=
"daterange"
clearable
clearable
class=
"w-[250px]!"
class=
"w-[250px]!
customize-date-picker
"
@
update:value=
"handleUpdateDateRange"
@
update:value=
"handleUpdateDateRange"
/>
/>
</div>
</div>
...
@@ -236,3 +236,10 @@ async function handleUpdateDateRange(_value: [number, number], formattedValue: [
...
@@ -236,3 +236,10 @@ async function handleUpdateDateRange(_value: [number, number], formattedValue: [
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
style
scoped
lang=
"scss"
>
:deep
(
.time-range-select
.n-base-selection
),
:deep
(
.customize-date-picker.n-date-picker
.n-input
)
{
--n-height
:
36px
!
important
;
}
</
style
>
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