Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
31f7cc0c
提交
31f7cc0c
authored
12月 30, 2021
作者:
taojinlong
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev' of github.com:dataease/dataease into dev
上级
d4e7c888
fb7ccd34
全部展开
显示空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
51 行增加
和
8 行删除
+51
-8
EmailTaskHandler.java
...ataease/job/sechedule/strategy/impl/EmailTaskHandler.java
+9
-3
index.vue
frontend/src/components/business/condition-table/index.vue
+3
-0
Hyperlinks.vue
...nd/src/components/canvas/components/Editor/Hyperlinks.vue
+1
-1
en.js
frontend/src/lang/en.js
+7
-2
tw.js
frontend/src/lang/tw.js
+0
-0
zh.js
frontend/src/lang/zh.js
+7
-2
Group.vue
frontend/src/views/chart/group/Group.vue
+3
-0
ChartEdit.vue
frontend/src/views/chart/view/ChartEdit.vue
+3
-0
index.vue
frontend/src/views/panel/LinkJumpSet/index.vue
+3
-0
index.vue
frontend/src/views/system/menu/index.vue
+3
-0
form.vue
frontend/src/views/system/user/form.vue
+3
-0
imp-ldap.vue
frontend/src/views/system/user/imp-ldap.vue
+3
-0
index.vue
frontend/src/views/system/user/index.vue
+3
-0
privateForm.vue
frontend/src/views/system/user/privateForm.vue
+3
-0
没有找到文件。
backend/src/main/java/io/dataease/job/sechedule/strategy/impl/EmailTaskHandler.java
浏览文件 @
31f7cc0c
...
@@ -66,6 +66,7 @@ public class EmailTaskHandler extends TaskHandler implements Job {
...
@@ -66,6 +66,7 @@ public class EmailTaskHandler extends TaskHandler implements Job {
XpackEmailTemplateDTO
emailTemplate
=
(
XpackEmailTemplateDTO
)
jobDataMap
.
get
(
"emailTemplate"
);
XpackEmailTemplateDTO
emailTemplate
=
(
XpackEmailTemplateDTO
)
jobDataMap
.
get
(
"emailTemplate"
);
SysUserEntity
creator
=
(
SysUserEntity
)
jobDataMap
.
get
(
"creator"
);
SysUserEntity
creator
=
(
SysUserEntity
)
jobDataMap
.
get
(
"creator"
);
LogUtil
.
info
(
"start execute send panel report task..."
);
sendReport
(
taskInstance
,
emailTemplate
,
creator
);
sendReport
(
taskInstance
,
emailTemplate
,
creator
);
}
}
...
@@ -103,8 +104,14 @@ public class EmailTaskHandler extends TaskHandler implements Job {
...
@@ -103,8 +104,14 @@ public class EmailTaskHandler extends TaskHandler implements Job {
SysUserEntity
user
)
{
SysUserEntity
user
)
{
EmailXpackService
emailXpackService
=
SpringContextUtil
.
getBean
(
EmailXpackService
.
class
);
EmailXpackService
emailXpackService
=
SpringContextUtil
.
getBean
(
EmailXpackService
.
class
);
try
{
try
{
byte
[]
bytes
=
emailXpackService
.
printData
(
panelUrl
(
emailTemplateDTO
.
getPanelId
()),
tokenByUser
(
user
),
String
panelId
=
emailTemplateDTO
.
getPanelId
();
buildPixel
(
emailTemplateDTO
));
String
url
=
panelUrl
(
panelId
);
String
token
=
tokenByUser
(
user
);
XpackPixelEntity
xpackPixelEntity
=
buildPixel
(
emailTemplateDTO
);
LogUtil
.
info
(
"url is "
+
url
);
LogUtil
.
info
(
"token is "
+
token
);
byte
[]
bytes
=
emailXpackService
.
printData
(
url
,
token
,
xpackPixelEntity
);
LogUtil
.
info
(
"picture of "
+
url
+
" is finished"
);
// 下面继续执行发送邮件的
// 下面继续执行发送邮件的
String
recipients
=
emailTemplateDTO
.
getRecipients
();
String
recipients
=
emailTemplateDTO
.
getRecipients
();
byte
[]
content
=
emailTemplateDTO
.
getContent
();
byte
[]
content
=
emailTemplateDTO
.
getContent
();
...
@@ -118,7 +125,6 @@ public class EmailTaskHandler extends TaskHandler implements Job {
...
@@ -118,7 +125,6 @@ public class EmailTaskHandler extends TaskHandler implements Job {
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
error
(
taskInstance
,
e
);
error
(
taskInstance
,
e
);
LogUtil
.
error
(
e
.
getMessage
(),
e
);
LogUtil
.
error
(
e
.
getMessage
(),
e
);
e
.
printStackTrace
();
}
}
}
}
...
...
frontend/src/components/business/condition-table/index.vue
浏览文件 @
31f7cc0c
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
:options=
"options"
:options=
"options"
:load-options=
"loadData"
:load-options=
"loadData"
style=
"width: 200px"
style=
"width: 200px"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
/>
/>
</div>
</div>
</
template
>
</
template
>
...
...
frontend/src/components/canvas/components/Editor/Hyperlinks.vue
浏览文件 @
31f7cc0c
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
>
>
<el-row>
<el-row>
<el-form
ref=
"form"
size=
"mini"
label-width=
"70px"
>
<el-form
ref=
"form"
size=
"mini"
label-width=
"70px"
>
<el-form-item
:label=
"$t('panel.
is_enable
')"
>
<el-form-item
:label=
"$t('panel.
enable_jump
')"
>
<el-switch
v-model=
"linkInfo.enable"
size=
"mini"
/>
<el-switch
v-model=
"linkInfo.enable"
size=
"mini"
/>
<span
v-show=
"linkInfo.enable"
style=
"color: #909399; font-size: 8px;margin-left: 3px"
>
<span
v-show=
"linkInfo.enable"
style=
"color: #909399; font-size: 8px;margin-left: 3px"
>
Tips:
{{
$t
(
'panel.link_open_tips'
)
}}
Tips:
{{
$t
(
'panel.link_open_tips'
)
}}
...
...
frontend/src/lang/en.js
浏览文件 @
31f7cc0c
...
@@ -343,7 +343,12 @@ export default {
...
@@ -343,7 +343,12 @@ export default {
},
},
ukey_title
:
'API Keys'
,
ukey_title
:
'API Keys'
,
thumbnail
:
'thumbnail'
,
thumbnail
:
'thumbnail'
,
confirm_delete
:
'Confirm delete'
confirm_delete
:
'Confirm delete'
,
treeselect
:
{
no_children_text
:
'No sub-options.'
,
no_options_text
:
'No options available.'
,
no_results_text
:
'No results found...'
}
},
},
documentation
:
{
documentation
:
{
documentation
:
'Documentation'
,
documentation
:
'Documentation'
,
...
@@ -1437,7 +1442,7 @@ export default {
...
@@ -1437,7 +1442,7 @@ export default {
open_mode
:
'Open Model'
,
open_mode
:
'Open Model'
,
new_window
:
'New Window'
,
new_window
:
'New Window'
,
now_window
:
'Now Window'
,
now_window
:
'Now Window'
,
hyperLinks
:
'
hyperlink
s'
,
hyperLinks
:
'
target addres
s'
,
link_open_tips
:
'Open When Panel Not In Edit Status'
,
link_open_tips
:
'Open When Panel Not In Edit Status'
,
data_loading
:
'Data Loading...'
,
data_loading
:
'Data Loading...'
,
export_loading
:
'Export Loading...'
,
export_loading
:
'Export Loading...'
,
...
...
frontend/src/lang/tw.js
浏览文件 @
31f7cc0c
差异被折叠。
点击展开。
frontend/src/lang/zh.js
浏览文件 @
31f7cc0c
...
@@ -344,7 +344,12 @@ export default {
...
@@ -344,7 +344,12 @@ export default {
},
},
ukey_title
:
'API Keys'
,
ukey_title
:
'API Keys'
,
thumbnail
:
'缩略图'
,
thumbnail
:
'缩略图'
,
confirm_delete
:
'确认删除'
confirm_delete
:
'确认删除'
,
treeselect
:
{
no_children_text
:
'没有子节点'
,
no_options_text
:
'没有可用选项'
,
no_results_text
:
'没有匹配的结果'
}
},
},
documentation
:
{
documentation
:
{
documentation
:
'文档'
,
documentation
:
'文档'
,
...
@@ -1449,7 +1454,7 @@ export default {
...
@@ -1449,7 +1454,7 @@ export default {
open_mode
:
'打开方式'
,
open_mode
:
'打开方式'
,
new_window
:
'新开页面'
,
new_window
:
'新开页面'
,
now_window
:
'当前页面'
,
now_window
:
'当前页面'
,
hyperLinks
:
'
超链接
'
,
hyperLinks
:
'
目标地址
'
,
link_open_tips
:
'仪表板非编辑状态可打开链接'
,
link_open_tips
:
'仪表板非编辑状态可打开链接'
,
data_loading
:
'数据准备中...'
,
data_loading
:
'数据准备中...'
,
export_loading
:
'导出中...'
,
export_loading
:
'导出中...'
,
...
...
frontend/src/views/chart/group/Group.vue
浏览文件 @
31f7cc0c
...
@@ -196,6 +196,9 @@
...
@@ -196,6 +196,9 @@
:options=
"chartGroupTreeAvailable"
:options=
"chartGroupTreeAvailable"
:normalizer=
"normalizer"
:normalizer=
"normalizer"
:placeholder=
"$t('chart.select_group')"
:placeholder=
"$t('chart.select_group')"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
...
frontend/src/views/chart/view/ChartEdit.vue
浏览文件 @
31f7cc0c
...
@@ -232,6 +232,9 @@
...
@@ -232,6 +232,9 @@
:normalizer=
"normalizer"
:normalizer=
"normalizer"
@
input=
"calcData"
@
input=
"calcData"
@
deselect=
"calcData"
@
deselect=
"calcData"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
/>
/>
</span>
</span>
</el-row>
</el-row>
...
...
frontend/src/views/panel/LinkJumpSet/index.vue
浏览文件 @
31f7cc0c
...
@@ -52,6 +52,9 @@
...
@@ -52,6 +52,9 @@
:disable-branch-nodes=
"true"
:disable-branch-nodes=
"true"
:normalizer=
"normalizer"
:normalizer=
"normalizer"
:placeholder=
"$t('panel.select_jump_panel')"
:placeholder=
"$t('panel.select_jump_panel')"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
style=
"margin-right: 10px"
style=
"margin-right: 10px"
@
select=
"panelNodeClick"
@
select=
"panelNodeClick"
@
input=
"inputVal"
@
input=
"inputVal"
...
...
frontend/src/views/system/menu/index.vue
浏览文件 @
31f7cc0c
...
@@ -96,6 +96,9 @@
...
@@ -96,6 +96,9 @@
:load-options=
"loadMenus"
:load-options=
"loadMenus"
style=
"width: 450px;"
style=
"width: 450px;"
:placeholder=
"$t('menu.parent_category')"
:placeholder=
"$t('menu.parent_category')"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
/>
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
...
frontend/src/views/system/user/form.vue
浏览文件 @
31f7cc0c
...
@@ -40,6 +40,9 @@
...
@@ -40,6 +40,9 @@
:load-options=
"loadDepts"
:load-options=
"loadDepts"
:auto-load-root-options=
"false"
:auto-load-root-options=
"false"
:placeholder=
"$t('user.choose_org')"
:placeholder=
"$t('user.choose_org')"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
@
open=
"filterData"
@
open=
"filterData"
/>
/>
</el-form-item>
</el-form-item>
...
...
frontend/src/views/system/user/imp-ldap.vue
浏览文件 @
31f7cc0c
...
@@ -34,6 +34,9 @@
...
@@ -34,6 +34,9 @@
:load-options=
"loadDepts"
:load-options=
"loadDepts"
:auto-load-root-options=
"false"
:auto-load-root-options=
"false"
:placeholder=
"$t('user.choose_org')"
:placeholder=
"$t('user.choose_org')"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
@
open=
"filterData"
@
open=
"filterData"
/>
/>
</el-form-item>
</el-form-item>
...
...
frontend/src/views/system/user/index.vue
浏览文件 @
31f7cc0c
...
@@ -107,6 +107,9 @@
...
@@ -107,6 +107,9 @@
:load-options=
"loadDepts"
:load-options=
"loadDepts"
style=
"width: 430px"
style=
"width: 430px"
:placeholder=
"$t('user.choose_org')"
:placeholder=
"$t('user.choose_org')"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
style=
"margin-bottom: 0;"
:label=
"$t('commons.role')"
prop=
"roleIds"
>
<el-form-item
style=
"margin-bottom: 0;"
:label=
"$t('commons.role')"
prop=
"roleIds"
>
...
...
frontend/src/views/system/user/privateForm.vue
浏览文件 @
31f7cc0c
...
@@ -33,6 +33,9 @@
...
@@ -33,6 +33,9 @@
:load-options=
"loadDepts"
:load-options=
"loadDepts"
:auto-load-root-options=
"false"
:auto-load-root-options=
"false"
:placeholder=
"$t('user.choose_org')"
:placeholder=
"$t('user.choose_org')"
:noChildrenText=
"$t('commons.treeselect.no_children_text')"
:noOptionsText=
"$t('commons.treeselect.no_options_text')"
:noResultsText=
"$t('commons.treeselect.no_results_text')"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('commons.role')"
prop=
"roleIds"
>
<el-form-item
:label=
"$t('commons.role')"
prop=
"roleIds"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论