Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dlink
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaowei
dlink
Commits
f40622f5
Commit
f40622f5
authored
Jun 07, 2021
by
wenmo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示优化
parent
ee14d2e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
21 deletions
+7
-21
pom.xml
dlink-client/dlink-client-1.12/pom.xml
+0
-18
index.tsx
dlink-web/src/components/Studio/StudioMenu/index.tsx
+7
-3
No files found.
dlink-client/dlink-client-1.12/pom.xml
View file @
f40622f5
...
...
@@ -42,24 +42,6 @@
</exclusions>
<version>
${flink.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-connector-jdbc_2.11
</artifactId>
<version>
${flink.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-connector-kafka_2.11
</artifactId>
<version>
${flink.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.flink
</groupId>
<artifactId>
flink-json
</artifactId>
<version>
${flink.version}
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
<plugins>
...
...
dlink-web/src/components/Studio/StudioMenu/index.tsx
View file @
f40622f5
import
styles
from
"./index.less"
;
import
{
Menu
,
Dropdown
,
Tooltip
,
Row
,
Col
,
Popconfirm
,
notification
,
Modal
}
from
"antd"
;
import
{
Menu
,
Dropdown
,
Tooltip
,
Row
,
Col
,
Popconfirm
,
notification
,
Modal
,
message
}
from
"antd"
;
import
{
PauseCircleTwoTone
,
CopyTwoTone
,
DeleteTwoTone
,
PlayCircleTwoTone
,
DiffTwoTone
,
FileAddTwoTone
,
FolderOpenTwoTone
,
SafetyCertificateTwoTone
,
SaveTwoTone
,
FlagTwoTone
,
EnvironmentOutlined
,
SmileOutlined
,
RocketTwoTone
}
from
"@ant-design/icons"
;
...
...
@@ -70,16 +70,20 @@ const StudioMenu = (props: any) => {
};
const
submit
=
()
=>
{
if
(
!
current
.
task
.
id
){
message
.
error
(
`草稿【
${
current
.
title
}
】无法被提交,请创建或选择有效作业进行提交`
);
return
false
;
}
Modal
.
confirm
({
title
:
'异步提交作业'
,
content
:
'确定异步提交该作业到其配置的集群吗?'
,
content
:
`确定异步提交作业【
${
current
.
task
.
alias
}
】到其配置的集群吗?`
,
okText
:
'确认'
,
cancelText
:
'取消'
,
onOk
:
async
()
=>
{
let
task
=
{
id
:
current
.
task
.
id
,
};
handleSubmit
(
'/api/task/submit'
,
'作业'
,[
task
]);
handleSubmit
(
'/api/task/submit'
,
'
异步提交
作业'
,[
task
]);
}
});
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment