Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baifang-java
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
单欣鑫
baifang-java
Commits
6a4b0cdd
Commit
6a4b0cdd
authored
Jul 01, 2025
by
赵乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改图表
parent
99074a0c
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
561 additions
and
17 deletions
+561
-17
.env.local
yudao-ui/yudao-ui-admin-vue3/.env.local
+2
-2
settings.json
yudao-ui/yudao-ui-admin-vue3/.vscode/settings.json
+1
-1
package-lock.json
yudao-ui/yudao-ui-admin-vue3/package-lock.json
+542
-5
package.json
yudao-ui/yudao-ui-admin-vue3/package.json
+1
-0
BarChart.vue
...udao-ui-admin-vue3/src/views/Home/components/BarChart.vue
+6
-6
LineChart.vue
...dao-ui-admin-vue3/src/views/Home/components/LineChart.vue
+6
-3
index.vue
yudao-ui/yudao-ui-admin-vue3/src/views/visit/info/index.vue
+3
-0
No files found.
yudao-ui/yudao-ui-admin-vue3/.env.local
View file @
6a4b0cdd
...
@@ -5,8 +5,8 @@ VITE_DEV=true
...
@@ -5,8 +5,8 @@ VITE_DEV=true
# 请求路径
# 请求路径
# VITE_BASE_URL='http://192.168.0.133:48080'
# VITE_BASE_URL='http://192.168.0.133:48080'
#
VITE_BASE_URL='https://hntqwl.com'
VITE_BASE_URL='https://hntqwl.com'
VITE_BASE_URL='http://localhost:48080'
#
VITE_BASE_URL='http://localhost:48080'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
VITE_UPLOAD_TYPE=server
VITE_UPLOAD_TYPE=server
...
...
yudao-ui/yudao-ui-admin-vue3/.vscode/settings.json
View file @
6a4b0cdd
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
"source.fixAll.stylelint"
:
"explicit"
"source.fixAll.stylelint"
:
"explicit"
},
},
"[vue]"
:
{
"[vue]"
:
{
"editor.defaultFormatter"
:
"
octref.vetur
"
"editor.defaultFormatter"
:
"
esbenp.prettier-vscode
"
},
},
"i18n-ally.localesPaths"
:
[
"src/locales"
],
"i18n-ally.localesPaths"
:
[
"src/locales"
],
"i18n-ally.keystyle"
:
"nested"
,
"i18n-ally.keystyle"
:
"nested"
,
...
...
yudao-ui/yudao-ui-admin-vue3/package-lock.json
View file @
6a4b0cdd
This diff is collapsed.
Click to expand it.
yudao-ui/yudao-ui-admin-vue3/package.json
View file @
6a4b0cdd
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
"echarts-wordcloud"
:
"^2.1.0"
,
"echarts-wordcloud"
:
"^2.1.0"
,
"element-china-area-data"
:
"^6.1.0"
,
"element-china-area-data"
:
"^6.1.0"
,
"element-plus"
:
"2.9.1"
,
"element-plus"
:
"2.9.1"
,
"express"
:
"^5.1.0"
,
"fast-xml-parser"
:
"^4.3.2"
,
"fast-xml-parser"
:
"^4.3.2"
,
"highlight.js"
:
"^11.9.0"
,
"highlight.js"
:
"^11.9.0"
,
"jsencrypt"
:
"^3.3.2"
,
"jsencrypt"
:
"^3.3.2"
,
...
...
yudao-ui/yudao-ui-admin-vue3/src/views/Home/components/BarChart.vue
View file @
6a4b0cdd
<
template
>
<
template
>
<div
class=
"bar-chart"
>
<div
class=
"bar-chart"
>
<h3
class=
"chart-title"
>
{{
title
}}
</h3>
<h3
class=
"chart-title"
>
{{
title
}}
</h3>
<chartsCard
<chartsCard
:option=
"chartOption"
:width=
"width"
:height=
"height"
@
chart-ready=
"handleChartReady"
/>
:option=
"chartOption"
:width=
"width"
:height=
"height"
@
chart-ready=
"handleChartReady"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -109,6 +104,11 @@ const chartOption = computed(() => ({
...
@@ -109,6 +104,11 @@ const chartOption = computed(() => ({
barWidth
:
props
.
barWidth
,
barWidth
:
props
.
barWidth
,
itemStyle
:
{
itemStyle
:
{
color
:
props
.
color
,
color
:
props
.
color
,
normal
:
{
label
:
{
show
:
true
,
// 显示标签(数值)
}
},
borderRadius
:
[
4
,
4
,
0
,
0
]
// 柱子圆角
borderRadius
:
[
4
,
4
,
0
,
0
]
// 柱子圆角
},
},
emphasis
:
{
emphasis
:
{
...
...
yudao-ui/yudao-ui-admin-vue3/src/views/Home/components/LineChart.vue
View file @
6a4b0cdd
...
@@ -85,7 +85,8 @@ const chartOption = computed(() => ({
...
@@ -85,7 +85,8 @@ const chartOption = computed(() => ({
yAxis
:
{
yAxis
:
{
type
:
'
value
'
,
type
:
'
value
'
,
axisTick
:
{
axisTick
:
{
show
:
false
show
:
false
,
alignWithLabel
:
true
},
},
axisLine
:
{
axisLine
:
{
show
:
false
show
:
false
...
@@ -111,11 +112,13 @@ const chartOption = computed(() => ({
...
@@ -111,11 +112,13 @@ const chartOption = computed(() => ({
},
},
itemStyle
:
{
itemStyle
:
{
color
:
props
.
color
,
color
:
props
.
color
,
borderWidth
:
2
borderWidth
:
2
,
normal
:
{
label
:
{
show
:
true
}
},
symbolSize
:
10
//设定实心点的大小
},
},
symbol
:
'
circle
'
,
// 标记点形状
symbol
:
'
circle
'
,
// 标记点形状
symbolSize
:
6
,
// 标记点大小
symbolSize
:
6
,
// 标记点大小
showSymbol
:
fals
e
,
// 默认不显示标记点,鼠标悬停时显示
showSymbol
:
tru
e
,
// 默认不显示标记点,鼠标悬停时显示
emphasis
:
{
emphasis
:
{
symbol
:
'
circle
'
,
symbol
:
'
circle
'
,
symbolSize
:
8
symbolSize
:
8
...
...
yudao-ui/yudao-ui-admin-vue3/src/views/visit/info/index.vue
View file @
6a4b0cdd
...
@@ -307,6 +307,9 @@ const handleUnionAllPrint = async () => {
...
@@ -307,6 +307,9 @@ const handleUnionAllPrint = async () => {
if
(
list
.
value
.
length
===
0
)
{
if
(
list
.
value
.
length
===
0
)
{
return
message
.
warning
(
'
当前不存在可打印数据
'
)
return
message
.
warning
(
'
当前不存在可打印数据
'
)
}
}
// delete queryParams.pageSize
// queryParams.pageSize=100
// 需要修改接口 最多只能100条数据
printData
.
value
=
await
InfoApi
.
getUnionAllPrintListByIds
(
queryParams
)
printData
.
value
=
await
InfoApi
.
getUnionAllPrintListByIds
(
queryParams
)
await
nextTick
()
await
nextTick
()
const
dom
=
printComp
.
value
.
printRef
const
dom
=
printComp
.
value
.
printRef
...
...
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