Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
7bd6cfe4
提交
7bd6cfe4
authored
8月 25, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style(supply): 样式:修复供应链常用报表超出滚动条效果
上级
c89c2e22
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
71 行增加
和
32 行删除
+71
-32
index.scss
src/assets/styles/index.scss
+3
-0
index.vue
src/views/bi/supply/index.vue
+68
-29
index.vue
src/views/index.vue
+0
-3
没有找到文件。
src/assets/styles/index.scss
浏览文件 @
7bd6cfe4
...
...
@@ -133,6 +133,9 @@ aside {
width
:
100%
;
height
:
100%
;
background-color
:
var
(
--
el-bg-color-overlay
);
padding
:
20px
;
display
:
flex
;
flex-direction
:
column
;
}
}
...
...
src/views/bi/supply/index.vue
浏览文件 @
7bd6cfe4
...
...
@@ -43,7 +43,8 @@
<!-- 自定义报表分组 -->
<el-dialog
title=
"编辑常用报表"
v-model=
"visible"
draggable
overflow
>
draggable
overflow
>
<div
class=
"wrap"
>
<!-- 列表 -->
<div
class=
"left"
>
...
...
@@ -213,6 +214,15 @@ const addGroups = async () => {
<
style
scoped
lang=
"scss"
>
.container
{
padding-top
:
0
;
::v-deep
(
.el-card__body
)
{
max-height
:
100%
;
overflow-y
:
auto
;
}
.group_item
{
.group_name
{
display
:
flex
;
...
...
@@ -229,24 +239,30 @@ const addGroups = async () => {
.link_item
{
padding
:
10px
;
display
:
flex
;
align-items
:
center
;
gap
:
10px
;
}
}
}
}
.link_item
{
padding
:
5px
0
;
/* card 头部 */
::v-deep
(
.el-card__header
)
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
gap
:
10px
;
}
.group-container
{
padding-right
:
20px
;
.card-header-right
{
.el-button
{
margin
:
0
;
padding
:
10px
;
}
.group_card
{
margin-top
:
20px
;
}
}
/* 自定义报表分组弹窗 */
::v-deep
(
.el-dialog
)
{
.wrap
{
display
:
flex
;
...
...
@@ -257,15 +273,19 @@ const addGroups = async () => {
.left
{
width
:
100%
;
height
:
100%
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
}
overflow-y
:
auto
;
padding-top
:
20px
;
.right
{
width
:
100%
;
height
:
100%
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
.link_item
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
15px
;
span
{
/* 超出宽度不换行,省略号 */
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
...
...
@@ -273,21 +293,37 @@ const addGroups = async () => {
.dragging-item-left
{
background-color
:
transparent
;
}
.dragging-item
{
background-color
:
#a1ccf2
;
}
/* card 头部 */
::v-deep
(
.el-card__header
)
{
/* 编辑区 */
.right
{
width
:
100%
;
height
:
100%
;
overflow-y
:
auto
;
.group-container
{
padding-right
:
20px
;
.group_card
{
margin-top
:
20px
;
.link_item
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
10px
;
span
{
/* 超出宽度不换行,省略号 */
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.card-header-right
{
.el-button
{
margin
:
0
;
padding
:
10px
;
}
.dragging-item
{
background-color
:
#a1ccf2
;
}
}
}
...
...
@@ -299,5 +335,7 @@ const addGroups = async () => {
width
:
100%
;
}
}
}
}
}
</
style
>
\ No newline at end of file
src/views/index.vue
浏览文件 @
7bd6cfe4
...
...
@@ -76,9 +76,6 @@ const handleSetLineChartData = (type) => {
>
div
{
padding
:
0
;
background-color
:
transparent
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
.chart-wrapper
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论