Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
7e51c30d
提交
7e51c30d
authored
4月 12, 2021
作者:
junjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(frontend):field icon
上级
6a1d2300
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
42 行增加
和
6 行删除
+42
-6
field_text.svg
frontend/src/icons/svg/field_text.svg
+1
-0
field_time.svg
frontend/src/icons/svg/field_time.svg
+1
-0
field_value.svg
frontend/src/icons/svg/field_value.svg
+1
-0
index.scss
frontend/src/styles/index.scss
+17
-0
ChartEdit.vue
frontend/src/views/chart/view/ChartEdit.vue
+12
-2
DatasetGroupSelector.vue
frontend/src/views/dataset/common/DatasetGroupSelector.vue
+1
-1
TabDataPreview.vue
frontend/src/views/dataset/data/TabDataPreview.vue
+8
-2
Group.vue
frontend/src/views/dataset/group/Group.vue
+1
-1
没有找到文件。
frontend/src/icons/svg/field_text.svg
0 → 100644
浏览文件 @
7e51c30d
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1618217035616"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"6354"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M554.666667 256v640h-85.333334V256H213.333333V170.666667h597.333334v85.333333z"
p-id=
"6355"
></path></svg>
frontend/src/icons/svg/field_time.svg
0 → 100644
浏览文件 @
7e51c30d
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1618217742324"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"7205"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M512 64C264.96 64 64 264.96 64 512s200.96 448 448 448 448-200.96 448-448S759.04 64 512 64z m0 831.712c-211.584 0-383.712-172.16-383.712-383.712 0-211.584 172.128-383.712 383.712-383.712 211.552 0 383.712 172.128 383.712 383.712 0 211.552-172.16 383.712-383.712 383.712z"
p-id=
"7206"
></path><path
d=
"M671.968 512H512V288.064c0-17.76-14.24-32.128-32-32.128s-32 14.4-32 32.128V544c0 17.76 14.272 32 32 32h191.968c17.76 0 32.128-14.24 32.128-32s-14.368-32-32.128-32z"
p-id=
"7207"
></path></svg>
frontend/src/icons/svg/field_value.svg
0 → 100644
浏览文件 @
7e51c30d
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1618218878362"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"9183"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M159.926857 689.426286h130.724572l-39.003429 193.718857c-0.859429 4.278857-1.28 9.435429-1.28 13.714286 0 20.992 14.555429 32.566857 34.706286 32.566857 20.571429 0 35.565714-11.154286 39.862857-32.146286l41.984-207.853714h202.715428L530.651429 883.145143c-1.28 4.278857-1.700571 9.435429-1.700572 13.714286 0 20.992 14.573714 32.566857 35.145143 32.566857s35.565714-11.154286 39.862857-32.146286L645.485714 689.426286h152.996572c23.570286 0 39.862857-17.133714 39.862857-40.283429 0-18.852571-12.854857-34.285714-32.146286-34.285714h-145.298286L706.377143 388.571429h149.997714c23.588571 0 39.862857-17.152 39.862857-40.283429 0-18.852571-12.854857-34.285714-32.146285-34.285714h-142.72l35.145142-172.726857c0.420571-2.56 1.28-8.137143 1.28-13.714286 0-20.992-14.994286-32.987429-35.565714-32.987429-23.990857 0-34.706286 13.275429-39.003428 33.426286l-37.705143 186.002286H442.788571l35.145143-172.726857c0.420571-2.56 1.28-8.137143 1.28-13.714286 0-20.992-15.433143-32.987429-35.565714-32.987429-24.429714 0-35.584 13.275429-39.442286 33.426286l-37.705143 186.002286h-140.580571c-23.570286 0-39.862857 17.993143-39.862857 41.563428 0 19.291429 12.873143 33.005714 32.164571 33.005715h133.284572l-45.44 226.285714h-138.422857c-23.588571 0-39.862857 17.993143-39.862858 41.563428 0 19.291429 12.854857 33.005714 32.146286 33.005715z m221.988572-74.569143l45.878857-226.285714H630.491429l-45.842286 226.285714z"
p-id=
"9184"
></path></svg>
frontend/src/styles/index.scss
浏览文件 @
7e51c30d
...
...
@@ -171,3 +171,20 @@ div:focus {
width
:
100%
!
important
;
}
}
%field-icon
{
font-size
:
13px
;
margin
:
0
3px
0
0
;
}
.field-icon-text
{
@extend
%field-icon
;
color
:
#688fd8
;
}
.field-icon-time
{
@extend
%field-icon
;
color
:
#faaa39
;
}
.field-icon-value
{
@extend
%field-icon
;
color
:
#37b4aa
;
}
frontend/src/views/chart/view/ChartEdit.vue
浏览文件 @
7e51c30d
...
...
@@ -28,7 +28,12 @@
@start="start1"
>
<transition-group>
<span
v-for=
"item in dimension"
:key=
"item.id"
class=
"item"
>
{{
item
.
name
}}
</span>
<span
v-for=
"item in dimension"
:key=
"item.id"
class=
"item"
>
<svg-icon
v-if=
"item.deType === 0"
icon-class=
"field_text"
class=
"field-icon-text"
/>
<svg-icon
v-if=
"item.deType === 1"
icon-class=
"field_time"
class=
"field-icon-time"
/>
<svg-icon
v-if=
"item.deType === 2 || item.deType === 3"
icon-class=
"field_value"
class=
"field-icon-value"
/>
{{
item
.
name
}}
</span>
</transition-group>
</draggable>
</div>
...
...
@@ -44,7 +49,12 @@
@start="start1"
>
<transition-group>
<span
v-for=
"item in quota"
:key=
"item.id"
class=
"item"
>
{{
item
.
name
}}
</span>
<span
v-for=
"item in quota"
:key=
"item.id"
class=
"item"
>
<svg-icon
v-if=
"item.deType === 0"
icon-class=
"field_text"
class=
"field-icon-text"
/>
<svg-icon
v-if=
"item.deType === 1"
icon-class=
"field_time"
class=
"field-icon-time"
/>
<svg-icon
v-if=
"item.deType === 2 || item.deType === 3"
icon-class=
"field_value"
class=
"field-icon-value"
/>
{{
item
.
name
}}
</span>
</transition-group>
</draggable>
</div>
...
...
frontend/src/views/dataset/common/DatasetGroupSelector.vue
浏览文件 @
7e51c30d
...
...
@@ -87,7 +87,7 @@
</span>
<span>
<span
v-if=
"data.mode === 0"
style=
"margin-left: 6px"
><i
class=
"el-icon-s-operation"
/></span>
<span
v-if=
"data.mode === 1"
style=
"margin-left: 6px"
><i
class=
"el-icon-
time
"
/></span>
<span
v-if=
"data.mode === 1"
style=
"margin-left: 6px"
><i
class=
"el-icon-
alarm-clock
"
/></span>
</span>
<span
style=
"margin-left: 6px"
>
{{
data
.
name
}}
</span>
</span>
...
...
frontend/src/views/dataset/data/TabDataPreview.vue
浏览文件 @
7e51c30d
...
...
@@ -24,9 +24,15 @@
:key=
"field.originName"
min-width=
"200px"
:field=
"field.originName"
:title=
"field.name"
:resizable=
"true"
/>
>
<template
slot=
"header"
>
<svg-icon
v-if=
"field.deType === 0"
icon-class=
"field_text"
class=
"field-icon-text"
/>
<svg-icon
v-if=
"field.deType === 1"
icon-class=
"field_time"
class=
"field-icon-time"
/>
<svg-icon
v-if=
"field.deType === 2 || field.deType === 3"
icon-class=
"field_value"
class=
"field-icon-value"
/>
<span>
{{
field
.
name
}}
</span>
</
template
>
</ux-table-column>
</ux-grid>
</el-col>
</template>
...
...
frontend/src/views/dataset/group/Group.vue
浏览文件 @
7e51c30d
...
...
@@ -184,7 +184,7 @@
</span>
<span>
<span
v-if=
"data.mode === 0"
style=
"margin-left: 6px"
><i
class=
"el-icon-s-operation"
/></span>
<span
v-if=
"data.mode === 1"
style=
"margin-left: 6px"
><i
class=
"el-icon-
time
"
/></span>
<span
v-if=
"data.mode === 1"
style=
"margin-left: 6px"
><i
class=
"el-icon-
alarm-clock
"
/></span>
</span>
<span
style=
"margin-left: 6px"
>
{{
data
.
name
}}
</span>
</span>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论