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
3e1b5bd2
Commit
3e1b5bd2
authored
Nov 27, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据库到数据库配置页面
parent
8705f399
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1706 additions
and
7 deletions
+1706
-7
dataDirection.png
src/assets/images/dataDirection.png
+0
-0
index.ts
src/router/routes/index.ts
+26
-0
data.ts
src/views/realTimeSync/dataBaseToDataBase/data.ts
+42
-0
dataBaseData.ts
src/views/realTimeSync/dataBaseToDataBase/dataBaseData.ts
+676
-6
optionPage.vue
src/views/realTimeSync/dataBaseToDataBase/optionPage.vue
+949
-0
sceneSelectionModal.vue
...s/realTimeSync/dataBaseToDataBase/sceneSelectionModal.vue
+13
-1
No files found.
src/assets/images/dataDirection.png
0 → 100644
View file @
3e1b5bd2
54.5 KB
src/router/routes/index.ts
View file @
3e1b5bd2
...
...
@@ -692,6 +692,31 @@ export const sqlExecuteRoute: AppRouteRecordRaw = {
},
],
};
/**实时同步-数据库到数据库*/
export
const
dataBaseToDataBaseRoute
:
AppRouteRecordRaw
=
{
path
:
'/realTimeSync/dataBaseToDataBase'
,
name
:
'dataBaseToDataBase'
,
component
:
LAYOUT
,
meta
:
{
title
:
'数据库到数据库'
,
icon
:
''
,
hidden
:
true
,
currentActiveMenu
:
'/realTimeSync/dataBaseToDataBase'
,
},
children
:
[
{
path
:
'optionPage'
,
name
:
'optionPage'
,
component
:
()
=>
import
(
'@/views/realTimeSync/dataBaseToDataBase/optionPage.vue'
),
meta
:
{
title
:
'数据库到数据库配置'
,
icon
:
''
,
},
},
],
};
/**shell开发*/
export
const
shellExecuteRoute
:
AppRouteRecordRaw
=
{
path
:
'/scriptDevelopment/shellDevelopment/shellExecute'
,
...
...
@@ -888,6 +913,7 @@ export const basicRoutes = [
DataStandardRoute
,
kinshipParseRoute
,
serviceDevelopmentRoute
,
dataBaseToDataBaseRoute
,
RootRoute
,
sqlExecuteRoute
,
shellExecuteRoute
,
...
...
src/views/realTimeSync/dataBaseToDataBase/data.ts
View file @
3e1b5bd2
...
...
@@ -226,3 +226,45 @@ export const formSchemaNewFolder: any = [
// },
// },
];
export
const
isCustomSQLColumns
:
BasicColumn
[]
=
[
{
title
:
'列名'
,
dataIndex
:
'fieldName'
,
},
{
title
:
'类型'
,
dataIndex
:
'fieldType'
,
},
];
export
const
notCustomSQLColumns
:
BasicColumn
[]
=
[
{
title
:
'列名'
,
dataIndex
:
'fieldName'
,
},
{
title
:
'类型'
,
dataIndex
:
'fieldType'
,
},
{
title
:
'数据转换'
,
dataIndex
:
'dataConversion'
,
slots
:
{
customRender
:
'dataConversion'
},
},
];
export
const
mappingRuleConfigurationColumns
:
BasicColumn
[]
=
[
{
title
:
'规则名称'
,
dataIndex
:
'ruleName'
,
width
:
200
,
},
{
title
:
'规则内容'
,
dataIndex
:
'ruleContent'
,
},
{
title
:
'执行顺序'
,
width
:
100
,
dataIndex
:
'executionSequence'
,
slots
:
{
customRender
:
'executionSequence'
},
},
];
src/views/realTimeSync/dataBaseToDataBase/dataBaseData.ts
View file @
3e1b5bd2
This diff is collapsed.
Click to expand it.
src/views/realTimeSync/dataBaseToDataBase/optionPage.vue
0 → 100644
View file @
3e1b5bd2
This diff is collapsed.
Click to expand it.
src/views/realTimeSync/dataBaseToDataBase/sceneSelectionModal.vue
View file @
3e1b5bd2
...
...
@@ -17,6 +17,18 @@
:icon=
"item.icon"
:color=
"item.color"
/>
<Icon
class=
"sceneSelectionIcon"
v-if=
"item.pathIcon"
:icon=
"item.pathIcon"
:color=
"item.pathColor"
/>
<Icon
class=
"sceneSelectionIcon"
v-if=
"item.endpointIcon"
:icon=
"item.endpointIcon"
:color=
"item.pathColor"
/>
</div>
<div
class=
"sceneSelectionTitle"
>
{{
item
.
title
}}
...
...
@@ -45,7 +57,7 @@
function
handleNewModal
(
scene
)
{
router
.
push
({
path
:
'/
dataIntegration/dataLoading/dataEntryLak
e/'
+
scene
,
path
:
'/
realTimeSync/dataBaseToDataBas
e/'
+
scene
,
});
}
</
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