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
a4a7ea6d
Commit
a4a7ea6d
authored
Dec 10, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据加载
parent
ae121f9e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
9 deletions
+26
-9
index.vue
...views/dataIntegration/dataLoading/dataEntryLake/index.vue
+15
-6
saveModal.vue
...s/dataIntegration/dataLoading/dataEntryLake/saveModal.vue
+1
-1
index.vue
src/views/dataIntegration/dataLoading/fileLoading/index.vue
+10
-2
No files found.
src/views/dataIntegration/dataLoading/dataEntryLake/index.vue
View file @
a4a7ea6d
...
...
@@ -90,6 +90,8 @@
<SceneSelectionModal
@
register=
"registerSceneSelectionModal"
/>
<NewFolder
@
register=
"registerNewFolder"
/>
<ResetName
@
register=
"registerResetNameModal"
@
success=
"handleAddSuccess"
/>
<SaveModal
@
register=
"registerSaveModal"
/>
<RunOptionsModal
@
register=
"registerRunOptionsModal"
/>
</PageWrapper>
</template>
<
script
lang=
"ts"
setup
>
...
...
@@ -109,6 +111,8 @@
import
SceneSelectionModal
from
'./sceneSelectionModal.vue'
;
import
ImportModal
from
'./importModal.vue'
;
import
ResetName
from
'./resetName.vue'
;
import
SaveModal
from
'@/views/dataIntegration/dataLoading/dataEntryLake/saveModal.vue'
;
import
RunOptionsModal
from
'@/views/dataIntegration/dataLoading/dataEntryLake/runOptionsModal.vue'
;
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
filterStore
=
useFilterStore
();
...
...
@@ -116,8 +120,10 @@
const
[
registerResetNameModal
,
{
openModal
:
openResetNameModal
}]
=
useModal
();
const
[
registerImport
,
{
openModal
:
openImportModal
}]
=
useModal
();
const
[
registerMoveFile
,
{
openModal
:
openMoveFileModal
}]
=
useModal
();
const
[
registerSaveModal
,
{
openModal
:
openSaveModal
}]
=
useModal
();
const
[
registerSceneSelectionModal
,
{
openModal
:
openSceneSelectionModal
}]
=
useModal
();
const
[
registerNewFolder
,
{
openModal
:
openNewFolderModal
}]
=
useModal
();
const
[
registerRunOptionsModal
,
{
openModal
:
openRunOptionsModal
}]
=
useModal
();
const
[
registerTable
,
{
reload
,
updateTableDataRecord
,
getSearchInfo
,
getForm
,
getRowSelection
},
...
...
@@ -207,8 +213,9 @@
title
:
'确认下线'
,
content
:
'确认批量下线选中数据?'
,
onOk
()
{
createMessage
.
success
(
'批量下线选中数据成功!'
);
reload
();
openSaveModal
(
true
,
{
title
:
'下线版本'
,
});
},
});
}
...
...
@@ -219,8 +226,9 @@
title
:
'确认发布'
,
content
:
'确认发布选中数据?'
,
onOk
()
{
createMessage
.
success
(
'发布成功!'
);
reload
();
openSaveModal
(
true
,
{
title
:
'发布新版本'
,
});
},
});
}
...
...
@@ -238,8 +246,9 @@
title
:
'运行'
,
content
:
'是否批量运行选中数据?'
,
onOk
()
{
createMessage
.
success
(
'批量运行选中数据成功!'
);
reload
();
openRunOptionsModal
(
true
,
{
title
:
'参数列表'
,
});
},
});
}
...
...
src/views/dataIntegration/dataLoading/dataEntryLake/saveModal.vue
View file @
a4a7ea6d
...
...
@@ -42,7 +42,7 @@
async
function
handleSubmit
()
{
closeModal
();
emit
(
'success'
);
createMessage
.
success
(
'
发布
成功'
);
createMessage
.
success
(
'
提交
成功'
);
await
resetFields
();
}
</
script
>
src/views/dataIntegration/dataLoading/fileLoading/index.vue
View file @
a4a7ea6d
...
...
@@ -11,11 +11,11 @@
<a-button
:disabled=
"isDebug"
type=
"primary"
@
click=
"handleSave"
>
保存
</a-button>
<a-button
v-if=
"!isDebug"
type=
"primary"
@
click=
"handleDebug"
>
调试
</a-button>
<a-button
v-else
type=
"primary"
@
click=
"handleExitDebug"
>
退出调试
</a-button>
<a-button
:disabled=
"isDebug || !isUpload"
type=
"primary"
>
运行
</a-button>
<a-button
:disabled=
"isDebug || !isUpload"
type=
"primary"
@
click=
"handleRun"
>
运行
</a-button>
<a-button
:disabled=
"!isSave || isDebug"
type=
"primary"
@
click=
"handlePublish"
>
发布
</a-button>
<a-button
type=
"primary"
@
click=
"handleGobalDeply"
>
全局配置
</a-button>
<a-button
type=
"primary"
@
click=
"handleParameterConfiguration"
>
参数配置
</a-button>
<a-button
type=
"primary"
>
版本管理
</a-button>
<a-button
type=
"primary"
@
click=
"handleVersionManagement"
>
版本管理
</a-button>
<!--
<a-button
type=
"primary"
@
click=
"handleVersionManagement"
>
版本管理
</a-button>
-->
</
template
>
<
template
#
footer
>
...
...
@@ -385,6 +385,7 @@
<GlobalOptionsModal
@
register=
"registerGlobalOptionsModal"
/>
<DataOptionsModal
@
register=
"registerDataOptionsModal"
/>
<VersionManageModal
@
register=
"registerVersionManageModal"
/>
<RunOptionsModal
@
register=
"registerRunOptionsModal"
/>
</PageWrapper>
</template>
...
...
@@ -466,12 +467,14 @@
import
DataOptionsModal
from
'@/views/dataIntegration/dataLoading/dataEntryLake/dataOptionsModal.vue'
;
import
VersionManageModal
from
'@/views/dataIntegration/dataLoading/dataEntryLake/versionManageModal.vue'
;
import
PartitionDataHandleModal
from
'@/views/dataIntegration/dataLoading/fileLoading/partitionDataHandleModal.vue'
;
import
RunOptionsModal
from
'@/views/dataIntegration/dataLoading/dataEntryLake/runOptionsModal.vue'
;
const
[
registerSaveModal
,
{
openModal
:
openSaveModal
}]
=
useModal
();
const
[
registerGlobalOptionsModal
,
{
openModal
:
openGlobalOptionsModal
}]
=
useModal
();
const
[
registerDataOptionsModal
,
{
openModal
:
openDataOptionsModal
}]
=
useModal
();
const
[
registerVersionManageModal
,
{
openModal
:
openVersionManageModal
}]
=
useModal
();
const
[
partitionDataHandleModal
,
{
openModal
:
openPartitionDataHandleModal
}]
=
useModal
();
const
[
registerRunOptionsModal
,
{
openModal
:
openRunOptionsModal
}]
=
useModal
();
const
isSave
=
ref
(
false
);
async
function
handleSave
()
{
createMessage
.
success
(
'保存成功'
);
...
...
@@ -545,6 +548,11 @@
title
:
'数据加载全局配置'
,
});
}
function
handleRun
()
{
openRunOptionsModal
(
true
,
{
title
:
'参数列表'
,
});
}
function
handleParameterConfiguration
()
{
openDataOptionsModal
(
true
,
{
title
:
'数据加载参数配置'
,
...
...
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