Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-bi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-bi
Commits
cadb59e8
提交
cadb59e8
authored
3月 19, 2025
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
85bceeb6
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
34 行增加
和
10 行删除
+34
-10
ButtonModal.tsx
src/modules/data/chart/bar/components/ButtonModal.tsx
+34
-10
没有找到文件。
src/modules/data/chart/bar/components/ButtonModal.tsx
浏览文件 @
cadb59e8
import
{
useState
}
from
'react'
import
{
useState
}
from
'react'
import
{
Button
,
Flex
,
Modal
,
Form
,
Divider
,
Select
,
Radio
,
Row
,
Col
}
from
'antd'
import
{
Button
,
Flex
,
Modal
,
Form
,
Divider
,
Select
,
Radio
,
Row
,
Col
,
Input
}
from
'antd'
import
{
useDataFieldQuery
}
from
'@/hooks/useQuery'
import
{
useDataFieldQuery
}
from
'@/hooks/useQuery'
export
default
function
ButtonModal
()
{
export
default
function
ButtonModal
()
{
...
@@ -103,31 +103,55 @@ export default function ButtonModal() {
...
@@ -103,31 +103,55 @@ export default function ButtonModal() {
</
Col
>
</
Col
>
<
Col
span=
{
12
}
>
<
Col
span=
{
12
}
>
<
Form
.
Item
label=
"请选择颜色规则"
>
<
Form
.
Item
label=
"请选择颜色规则"
>
<
Select
options=
{
fieldOptions
}
placeholder=
"请选择"
></
Select
>
<
Radio
.
Group
options=
{
[
{
label
:
'自动颜色'
,
value
:
'自动颜色'
},
{
label
:
'不同柱子颜色不同'
,
value
:
'不同柱子颜色不同'
},
]
}
></
Radio
.
Group
>
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
20
}
>
<
Row
gutter=
{
20
}
>
<
Col
span=
{
12
}
>
<
Col
span=
{
12
}
>
<
Form
.
Item
label=
"是否有标题"
name=
"hidden_y"
>
<
Flex
>
<
Radio
.
Group
options=
{
hiddenOptions
}
></
Radio
.
Group
>
<
Form
.
Item
label=
"是否有标题"
name=
"hidden_y"
>
</
Form
.
Item
>
<
Radio
.
Group
options=
{
[
{
label
:
'无'
,
value
:
'无'
},
{
label
:
'有'
,
value
:
'有'
},
]
}
></
Radio
.
Group
>
</
Form
.
Item
>
<
Form
.
Item
name=
"title"
>
<
Input
placeholder=
"请输入"
/>
</
Form
.
Item
>
</
Flex
>
</
Col
>
</
Col
>
<
Col
span=
{
12
}
>
<
Col
span=
{
12
}
>
<
Form
.
Item
label=
"请选择填充图案"
name=
"hidden_y"
>
<
Form
.
Item
label=
"请选择填充图案"
name=
"padding"
>
<
Radio
.
Group
options=
{
hiddenOptions
}
></
Radio
.
Group
>
<
Radio
.
Group
options=
{
[
{
label
:
'纯色'
,
value
:
'纯色'
},
{
label
:
'斜线'
,
value
:
'斜线'
},
{
label
:
'横线'
,
value
:
'横线'
},
{
label
:
'竖线'
,
value
:
'竖线'
},
]
}
></
Radio
.
Group
>
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
20
}
>
<
Row
gutter=
{
20
}
>
<
Col
span=
{
12
}
>
<
Col
span=
{
12
}
>
<
Form
.
Item
label=
"是否隐藏图例"
name=
"hidden_
y
"
>
<
Form
.
Item
label=
"是否隐藏图例"
name=
"hidden_
len
"
>
<
Radio
.
Group
options=
{
hiddenOptions
}
></
Radio
.
Group
>
<
Radio
.
Group
options=
{
hiddenOptions
}
></
Radio
.
Group
>
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
<
Col
span=
{
12
}
>
<
Col
span=
{
12
}
>
<
Form
.
Item
label=
"是否四个角圆滑"
name=
"hidden_y"
>
<
Form
.
Item
label=
"是否四个角圆滑"
name=
"radio"
>
<
Radio
.
Group
options=
{
hiddenOptions
}
></
Radio
.
Group
>
<
Radio
.
Group
options=
{
[
{
label
:
'不做圆滑处理'
,
value
:
'不做圆滑处理'
},
{
label
:
'四个角圆滑处理'
,
value
:
'四个角圆滑处理'
},
{
label
:
'两个角圆滑处理'
,
value
:
'两个角圆滑处理'
},
]
}
></
Radio
.
Group
>
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论