Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
01299607
提交
01299607
authored
5月 28, 2021
作者:
taojinlong
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'main' of github.com:dataease/dataease into main
上级
f99865cf
1965ff3e
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
30 行增加
和
14 行删除
+30
-14
en.js
frontend/src/lang/en.js
+2
-1
tw.js
frontend/src/lang/tw.js
+2
-1
zh.js
frontend/src/lang/zh.js
+2
-1
variables.scss
frontend/src/styles/variables.scss
+3
-3
ChartEdit.vue
frontend/src/views/chart/view/ChartEdit.vue
+8
-2
DatasetTableData.vue
frontend/src/views/dataset/common/DatasetTableData.vue
+11
-4
index.vue
frontend/src/views/system/role/index.vue
+2
-2
没有找到文件。
frontend/src/lang/en.js
浏览文件 @
01299607
...
@@ -677,7 +677,8 @@ export default {
...
@@ -677,7 +677,8 @@ export default {
quota_show
:
'Quota Show'
,
quota_show
:
'Quota Show'
,
title_limit
:
'Title cannot be greater than 50 characters'
,
title_limit
:
'Title cannot be greater than 50 characters'
,
filter_condition
:
'Filter Condition'
,
filter_condition
:
'Filter Condition'
,
filter_field_can_null
:
'Filter field must choose'
filter_field_can_null
:
'Filter field must choose'
,
preview_100_data
:
'Preview 100 rows'
},
},
dataset
:
{
dataset
:
{
sheet_warn
:
'There are multiple sheet pages, and the first one is extracted by default'
,
sheet_warn
:
'There are multiple sheet pages, and the first one is extracted by default'
,
...
...
frontend/src/lang/tw.js
浏览文件 @
01299607
...
@@ -677,7 +677,8 @@ export default {
...
@@ -677,7 +677,8 @@ export default {
quota_show
:
'指標顯示'
,
quota_show
:
'指標顯示'
,
title_limit
:
'標題不能大於50個字符'
,
title_limit
:
'標題不能大於50個字符'
,
filter_condition
:
'過濾條件'
,
filter_condition
:
'過濾條件'
,
filter_field_can_null
:
'過濾字段必填'
filter_field_can_null
:
'過濾字段必填'
,
preview_100_data
:
'預覽前100條記錄'
},
},
dataset
:
{
dataset
:
{
sheet_warn
:
'有多個sheet頁面,默認抽取第一個'
,
sheet_warn
:
'有多個sheet頁面,默認抽取第一個'
,
...
...
frontend/src/lang/zh.js
浏览文件 @
01299607
...
@@ -677,7 +677,8 @@ export default {
...
@@ -677,7 +677,8 @@ export default {
quota_show
:
'指标显示'
,
quota_show
:
'指标显示'
,
title_limit
:
'标题不能大于50个字符'
,
title_limit
:
'标题不能大于50个字符'
,
filter_condition
:
'过滤条件'
,
filter_condition
:
'过滤条件'
,
filter_field_can_null
:
'过滤字段必填'
filter_field_can_null
:
'过滤字段必填'
,
preview_100_data
:
'预览前100条记录'
},
},
dataset
:
{
dataset
:
{
sheet_warn
:
'有多个Sheet页,默认抽取第一个'
,
sheet_warn
:
'有多个Sheet页,默认抽取第一个'
,
...
...
frontend/src/styles/variables.scss
浏览文件 @
01299607
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
/* theme color */
/* theme color */
$--color-primary
:
#0a7be0
;
$--color-primary
:
#0a7be0
;
$--color-success
:
#
13ce66
;
$--color-success
:
#
67C23A
;
$--color-warning
:
#
ffba00
;
$--color-warning
:
#
E6A23C
;
$--color-danger
:
#
ff4949
;
$--color-danger
:
#
F56C6C
;
// $--color-info: #1E1E1E;
// $--color-info: #1E1E1E;
$--button-font-weight
:
400
;
$--button-font-weight
:
400
;
...
...
frontend/src/views/chart/view/ChartEdit.vue
浏览文件 @
01299607
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<el-radio-group
<el-radio-group
v-model=
"view.type"
v-model=
"view.type"
style=
"width: 100%"
style=
"width: 100%"
@
change=
"save(true)"
@
change=
"save(true
,'chart'
)"
>
>
<div
style=
"width: 100%;display: flex;display: -webkit-flex;justify-content: space-between;flex-direction: row;flex-wrap: wrap;"
>
<div
style=
"width: 100%;display: flex;display: -webkit-flex;justify-content: space-between;flex-direction: row;flex-wrap: wrap;"
>
<el-radio
value=
"table-normal"
label=
"table-normal"
><svg-icon
icon-class=
"table-normal"
class=
"chart-icon"
/></el-radio>
<el-radio
value=
"table-normal"
label=
"table-normal"
><svg-icon
icon-class=
"table-normal"
class=
"chart-icon"
/></el-radio>
...
@@ -430,7 +430,7 @@ export default {
...
@@ -430,7 +430,7 @@ export default {
return
true
return
true
})
})
},
},
save
(
getData
)
{
save
(
getData
,
trigger
)
{
const
view
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
view
))
const
view
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
view
))
view
.
id
=
this
.
view
.
id
view
.
id
=
this
.
view
.
id
view
.
sceneId
=
this
.
view
.
sceneId
view
.
sceneId
=
this
.
view
.
sceneId
...
@@ -471,6 +471,12 @@ export default {
...
@@ -471,6 +471,12 @@ export default {
view
.
yaxis
.
splice
(
1
,
view
.
yaxis
.
length
)
view
.
yaxis
.
splice
(
1
,
view
.
yaxis
.
length
)
}
}
}
}
if
(
view
.
type
===
'line'
&&
trigger
===
'chart'
)
{
view
.
customAttr
.
size
.
lineArea
=
false
}
if
(
view
.
type
===
'line-stack'
&&
trigger
===
'chart'
)
{
view
.
customAttr
.
size
.
lineArea
=
true
}
view
.
xaxis
=
JSON
.
stringify
(
view
.
xaxis
)
view
.
xaxis
=
JSON
.
stringify
(
view
.
xaxis
)
view
.
yaxis
=
JSON
.
stringify
(
view
.
yaxis
)
view
.
yaxis
=
JSON
.
stringify
(
view
.
yaxis
)
view
.
customAttr
=
JSON
.
stringify
(
view
.
customAttr
)
view
.
customAttr
=
JSON
.
stringify
(
view
.
customAttr
)
...
...
frontend/src/views/dataset/common/DatasetTableData.vue
浏览文件 @
01299607
...
@@ -14,10 +14,17 @@
...
@@ -14,10 +14,17 @@
:key=
"field.dataeaseName"
:key=
"field.dataeaseName"
min-width=
"200px"
min-width=
"200px"
:field=
"field.dataeaseName"
:field=
"field.dataeaseName"
:title=
"field.name"
:resizable=
"true"
: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>
</ux-grid>
<span
v-if=
"table.name"
style=
"font-size: 12px;"
>
{{ $t('chart.preview_100_data') }}
</span>
</el-col>
</el-col>
</template>
</template>
...
@@ -57,8 +64,8 @@ export default {
...
@@ -57,8 +64,8 @@ export default {
initData
()
{
initData
()
{
this
.
resetData
()
this
.
resetData
()
if
(
this
.
table
.
id
)
{
if
(
this
.
table
.
id
)
{
this
.
table
.
row
=
10
this
.
table
.
row
=
10
0
post
(
'/dataset/table/getPreviewData/1/10'
,
this
.
table
).
then
(
response
=>
{
post
(
'/dataset/table/getPreviewData/1/10
0
'
,
this
.
table
).
then
(
response
=>
{
this
.
fields
=
response
.
data
.
fields
this
.
fields
=
response
.
data
.
fields
this
.
data
=
response
.
data
.
data
this
.
data
=
response
.
data
.
data
const
datas
=
this
.
data
const
datas
=
this
.
data
...
...
frontend/src/views/system/role/index.vue
浏览文件 @
01299607
...
@@ -251,13 +251,13 @@ export default {
...
@@ -251,13 +251,13 @@ export default {
this
.
$refs
.
menu
.
setCheckedKeys
(
this
.
menuIds
)
this
.
$refs
.
menu
.
setCheckedKeys
(
this
.
menuIds
)
},
},
handleDelete
(
row
)
{
handleDelete
(
row
)
{
this
.
$confirm
(
this
.
$t
(
'
commons
.confirm_delete'
)
+
': '
+
row
.
name
+
'?'
,
this
.
$t
(
'role.tips'
),
{
this
.
$confirm
(
this
.
$t
(
'
role
.confirm_delete'
)
+
': '
+
row
.
name
+
'?'
,
this
.
$t
(
'role.tips'
),
{
confirmButtonText
:
this
.
$t
(
'commons.confirm'
),
confirmButtonText
:
this
.
$t
(
'commons.confirm'
),
cancelButtonText
:
this
.
$t
(
'commons.cancel'
),
cancelButtonText
:
this
.
$t
(
'commons.cancel'
),
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
delRole
(
row
.
roleId
).
then
(
res
=>
{
delRole
(
row
.
roleId
).
then
(
res
=>
{
this
.
$success
(
this
.
$t
(
'commons.
modify
_success'
))
this
.
$success
(
this
.
$t
(
'commons.
delete
_success'
))
this
.
search
()
this
.
search
()
})
})
}).
catch
(()
=>
{
}).
catch
(()
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论