Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
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
张伯涛
bigDataSystem
Commits
4ff07d15
Commit
4ff07d15
authored
Dec 03, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改任务管理bug
parent
ac0db2b6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
8 deletions
+32
-8
databaseOfflineLoading.vue
...tion/dataLoading/dataEntryLake/databaseOfflineLoading.vue
+29
-6
runOptionsModal.vue
...Integration/dataLoading/dataEntryLake/runOptionsModal.vue
+1
-1
saveModal.vue
...s/dataIntegration/dataLoading/dataEntryLake/saveModal.vue
+2
-1
No files found.
src/views/dataIntegration/dataLoading/dataEntryLake/databaseOfflineLoading.vue
View file @
4ff07d15
...
...
@@ -32,11 +32,26 @@
>
跳转运维
</a-button
>
<a-button
:disabled=
"isEdit !== 'true'"
type=
"primary"
@
click=
"handleSave"
>
保存
</a-button>
<a-button
:disabled=
"isEdit !== 'true'"
type=
"primary"
@
click=
"handleDebug"
<a-button
:disabled=
"isEdit !== 'true'"
v-if=
"isEdit !== 'debug'"
type=
"primary"
@
click=
"handleDebug"
>
调试
</a-button
>
<a-button
:disabled=
"isEdit !== 'true'"
type=
"primary"
@
click=
"handleRun"
>
运行
</a-button>
<a-button
:disabled=
"isEdit !== 'true'"
type=
"primary"
@
click=
"handlePublish"
<a-button
v-if=
"isEdit === 'debug'"
type=
"primary"
@
click=
"handleExitDebug"
>
退出调试
</a-button
>
<a-button
:disabled=
"isRun === 'false' || isEdit !== 'true'"
type=
"primary"
@
click=
"handleRun"
>
运行
</a-button
>
<a-button
:disabled=
"isSave === 'false' || isEdit !== 'true'"
type=
"primary"
@
click=
"handlePublish"
>
发布
</a-button
>
<a-button
type=
"primary"
@
click=
"handleGobalDeply"
>
全局配置
</a-button>
...
...
@@ -464,7 +479,7 @@
<AddDataConversionRuleModal
@
register=
"registerAddRuleModal"
/>
<DataOptionsModal
@
register=
"registerDataOptionsModal"
/>
<GlobalOptionsModal
@
register=
"registerGlobalOptionsModal"
/>
<SaveModal
@
register=
"registerSaveModal"
/>
<SaveModal
@
register=
"registerSaveModal"
@
success=
"handleSaveSuccess"
/>
<VersionManageModal
@
register=
"registerVersionManageModal"
/>
<RunOptionsModal
@
register=
"registerRunOptionsModal"
/>
<PartitionedDataProcessingModal
@
register=
"registerPartitionedDataProcessingModal"
/>
...
...
@@ -568,6 +583,8 @@
let
isAutomaticTableConstructionFlag
=
ref
(
false
);
let
isParsingSQL
=
ref
(
false
);
let
isClearTargetTable
=
ref
(
false
);
const
isSave
=
ref
(
'false'
);
const
isRun
=
ref
(
'false'
);
let
loadType
=
ref
(
'全量数据加载'
);
let
configurationModeFlag
=
ref
(
''
);
let
selectAdvancedConfiguration
=
ref
();
...
...
@@ -1731,6 +1748,10 @@
});
}
function
handleExitDebug
()
{
router
.
back
();
}
async
function
handleSave
()
{
try
{
const
isValid
=
await
validateSourceSideConfigurationForm
();
...
...
@@ -1740,7 +1761,7 @@
}
await
submitSourceSideConfiguration
();
createMessage
.
success
(
'保存成功'
);
router
.
back
()
;
isSave
.
value
=
'true'
;
}
catch
(
error
)
{
console
.
error
(
'保存失败:'
,
error
);
createMessage
.
error
(
'表单校验未通过,请检查输入'
);
...
...
@@ -1752,7 +1773,9 @@
title
:
'发布新版本'
,
});
}
function
handleSaveSuccess
()
{
isRun
.
value
=
'true'
;
}
function
handleDeplys
()
{
console
.
log
(
'myCheckedKeys'
,
myCheckedKeys
.
value
);
openDeplysModal
(
true
,
{
...
...
src/views/dataIntegration/dataLoading/dataEntryLake/runOptionsModal.vue
View file @
4ff07d15
...
...
@@ -57,7 +57,7 @@
async
function
handleSubmit
()
{
closeModal
();
createMessage
.
success
(
'
提交
成功'
);
createMessage
.
success
(
'
运行
成功'
);
}
onMounted
(()
=>
{
tableData
.
value
=
runOptionsData
;
...
...
src/views/dataIntegration/dataLoading/dataEntryLake/saveModal.vue
View file @
4ff07d15
...
...
@@ -41,7 +41,8 @@
async
function
handleSubmit
()
{
closeModal
();
createMessage
.
success
(
'提交成功'
);
emit
(
'success'
);
createMessage
.
success
(
'发布成功'
);
await
resetFields
();
}
</
script
>
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