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 个修改的文件
包含
104 行增加
和
67 行删除
+104
-67
index.scss
src/assets/styles/index.scss
+3
-0
index.vue
src/views/bi/supply/index.vue
+101
-64
index.vue
src/views/index.vue
+0
-3
没有找到文件。
src/assets/styles/index.scss
浏览文件 @
7bd6cfe4
...
@@ -133,6 +133,9 @@ aside {
...
@@ -133,6 +133,9 @@ aside {
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-color
:
var
(
--
el-bg-color-overlay
);
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 @@
...
@@ -43,7 +43,8 @@
<!-- 自定义报表分组 -->
<!-- 自定义报表分组 -->
<el-dialog
title=
"编辑常用报表"
<el-dialog
title=
"编辑常用报表"
v-model=
"visible"
v-model=
"visible"
draggable
overflow
>
draggable
overflow
>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<!-- 列表 -->
<!-- 列表 -->
<div
class=
"left"
>
<div
class=
"left"
>
...
@@ -177,7 +178,7 @@ const groupNameBlur = async (group) => {
...
@@ -177,7 +178,7 @@ const groupNameBlur = async (group) => {
groupId
:
group
.
groupId
,
groupId
:
group
.
groupId
,
groupName
:
group
.
groupName
,
groupName
:
group
.
groupName
,
categoryName
:
'供应链报表'
categoryName
:
'供应链报表'
})
})
}
}
// 删除分组
// 删除分组
...
@@ -213,71 +214,39 @@ const addGroups = async () => {
...
@@ -213,71 +214,39 @@ const addGroups = async () => {
<
style
scoped
<
style
scoped
lang=
"scss"
>
lang=
"scss"
>
.group_item
{
.container
{
.group_name
{
padding-top
:
0
;
display
:
flex
;
align-items
:
center
;
gap
:
10px
;
font-size
:
16px
;
font-weight
:
800
;
}
.link_wrap
{
::v-deep
(
.el-card__body
)
{
display
:
flex
;
max-height
:
100%
;
flex-wrap
:
wrap
;
overflow-y
:
auto
;
padding
:
0
0
0
20px
;
.link_item
{
padding
:
10px
;
}
}
}
}
.link_item
{
padding
:
5px
0
;
display
:
flex
;
align-items
:
center
;
gap
:
10px
;
}
.group-container
{
.group_item
{
padding-right
:
20px
;
.group_name
{
}
display
:
flex
;
align-items
:
center
;
.group_card
{
gap
:
10px
;
margin-top
:
20px
;
font-size
:
16px
;
}
font-weight
:
800
;
}
.wrap
{
display
:
flex
;
gap
:
20px
;
width
:
100%
;
height
:
100%
;
.left
{
.link_wrap
{
width
:
100%
;
display
:
flex
;
height
:
100%
;
flex-wrap
:
wrap
;
overflow-y
:
scroll
;
padding
:
0
0
0
20px
;
overflow-x
:
hidden
;
}
.right
{
.link_item
{
width
:
100%
;
padding
:
10px
;
height
:
100%
;
display
:
flex
;
overflow-y
:
scroll
;
align-items
:
center
;
overflow-x
:
hidden
;
gap
:
10px
;
}
}
}
}
}
}
/* 添加拖拽时的样式 */
.dragging-item-left
{
background-color
:
transparent
;
}
.dragging-item
{
background-color
:
#a1ccf2
;
}
/* card 头部 */
/* card 头部 */
::v-deep
(
.el-card__header
)
{
::v-deep
(
.el-card__header
)
{
display
:
flex
;
display
:
flex
;
...
@@ -292,12 +261,81 @@ const addGroups = async () => {
...
@@ -292,12 +261,81 @@ const addGroups = async () => {
}
}
}
}
.add-group
{
/* 自定义报表分组弹窗 */
margin-top
:
20px
;
::v-deep
(
.el-dialog
)
{
.el-button
{
.wrap
{
display
:
flex
;
gap
:
20px
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
.left
{
width
:
100%
;
height
:
100%
;
overflow-y
:
auto
;
padding-top
:
20px
;
.link_item
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
15px
;
span
{
/* 超出宽度不换行,省略号 */
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
/* 添加拖拽时的样式 */
.dragging-item-left
{
background-color
:
transparent
;
}
}
/* 编辑区 */
.right
{
width
:
100%
;
height
:
100%
;
overflow-y
:
auto
;
.group-container
{
padding-right
:
20px
;
.group_card
{
margin-top
:
20px
;
.link_item
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
10px
;
span
{
/* 超出宽度不换行,省略号 */
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
.dragging-item
{
background-color
:
#a1ccf2
;
}
}
}
.add-group
{
margin-top
:
20px
;
.el-button
{
width
:
100%
;
}
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/index.vue
浏览文件 @
7bd6cfe4
...
@@ -76,9 +76,6 @@ const handleSetLineChartData = (type) => {
...
@@ -76,9 +76,6 @@ const handleSetLineChartData = (type) => {
>
div
{
>
div
{
padding
:
0
;
padding
:
0
;
background-color
:
transparent
;
background-color
:
transparent
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
}
.chart-wrapper
{
.chart-wrapper
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论