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
3161bf89
Commit
3161bf89
authored
Dec 09, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改布局
parent
210f5a3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
10 deletions
+36
-10
data.ts
src/views/realTimeSync/dataBaseToDataBase/data.ts
+5
-0
optionPage.vue
src/views/realTimeSync/dataBaseToDataBase/optionPage.vue
+31
-10
No files found.
src/views/realTimeSync/dataBaseToDataBase/data.ts
View file @
3161bf89
...
@@ -320,6 +320,11 @@ export const mappingRuleConfigurationFormSchema: FormSchema[] = [
...
@@ -320,6 +320,11 @@ export const mappingRuleConfigurationFormSchema: FormSchema[] = [
component
:
'Select'
,
component
:
'Select'
,
colProps
:
{
span
:
4
},
colProps
:
{
span
:
4
},
},
},
{
field
:
'deleteBtn'
,
label
:
''
,
slot
:
'deleteBtn'
,
},
];
];
export
const
dataDirectionColumns
:
BasicColumn
[]
=
[
export
const
dataDirectionColumns
:
BasicColumn
[]
=
[
{
{
...
...
src/views/realTimeSync/dataBaseToDataBase/optionPage.vue
View file @
3161bf89
...
@@ -175,7 +175,13 @@
...
@@ -175,7 +175,13 @@
style=
"font-size: 15px; white-space: pre-wrap"
style=
"font-size: 15px; white-space: pre-wrap"
/>
/>
<BasicTable
title=
"数据转换规则"
@
register=
"registerMappingRuleConfigurationTable"
>
<BasicTable
title=
"数据转换规则"
@
register=
"registerMappingRuleConfigurationTable"
>
<
template
#
toolbar
>
<
template
#
headerTop
>
<a-input-search
placeholder=
"输入关键字搜索"
style=
"width: 200px"
/>
<Select
placeholder=
"选择规则类型"
style=
"width: 150px; margin-left: 20px; margin-right: 1200px"
:options=
"filterRuleTypeOptions"
/>
<a-button
<a-button
:disabled=
"getRowSelection().selectedRowKeys
<
=
0
"
:disabled=
"getRowSelection().selectedRowKeys
<
=
0
"
type=
"primary"
type=
"primary"
...
@@ -458,7 +464,7 @@
...
@@ -458,7 +464,7 @@
</TabPane>
</TabPane>
<TabPane
v-if=
"tabKey === '4'"
key=
"8"
tab=
"策略配置"
>
<TabPane
v-if=
"tabKey === '4'"
key=
"8"
tab=
"策略配置"
>
<span
style=
"font-weight: bold; font-size: 18px"
>
服务策略配置
</span>
<span
style=
"font-weight: bold; font-size: 18px"
>
服务策略配置
</span>
<BasicForm
@
register=
"registerPolicyOptionsForm"
>
<BasicForm
@
register=
"registerPolicyOptionsForm"
style=
"margin-top: 20px"
>
<
template
#
policyOption
>
<
template
#
policyOption
>
<Alert
<Alert
show-icon
show-icon
...
@@ -472,7 +478,7 @@
...
@@ -472,7 +478,7 @@
<TabPane
v-if=
"tabKey === '4'"
key=
"9"
tab=
"服务配置"
>
<TabPane
v-if=
"tabKey === '4'"
key=
"9"
tab=
"服务配置"
>
<div
class=
"flex"
v-if=
"scene === 'optionPage'"
>
<div
class=
"flex"
v-if=
"scene === 'optionPage'"
>
<div
style=
"width: 50%; border: rgb(217, 217, 217) 1px solid"
>
<div
style=
"width: 50%; border: rgb(217, 217, 217) 1px solid"
>
<span
style=
"font-size: 1
5
px; font-weight: bold; margin-left: 10px"
>
源端配置
</span>
<span
style=
"font-size: 1
8
px; font-weight: bold; margin-left: 10px"
>
源端配置
</span>
<BasicForm
<BasicForm
@
register=
"registerServerOptionsForm"
@
register=
"registerServerOptionsForm"
style=
"margin-top: 10px; margin-left: 10px"
style=
"margin-top: 10px; margin-left: 10px"
...
@@ -480,6 +486,9 @@
...
@@ -480,6 +486,9 @@
<div>
<div>
<BasicTable
@
register=
"registerServerSourceOptionsTable"
>
<BasicTable
@
register=
"registerServerSourceOptionsTable"
>
<
template
#
toolbar
>
<
template
#
toolbar
>
<span
style=
"font-size: 15px; font-weight: bold; margin-right: 650px"
>
高级配置
</span>
<a-button
type=
"primary"
@
click=
"addServerSourceOptions"
>
添加参数
</a-button>
<a-button
type=
"primary"
@
click=
"addServerSourceOptions"
>
添加参数
</a-button>
</
template
>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
<
template
#
bodyCell=
"{ column, record }"
>
...
@@ -496,8 +505,11 @@
...
@@ -496,8 +505,11 @@
</template>
</template>
</BasicTable>
</BasicTable>
</div>
</div>
<Description
size=
"middle"
title=
"
配置预览
"
:bordered=
"false"
>
<Description
size=
"middle"
title=
"
"
:bordered=
"false"
>
<
template
#
action
>
<
template
#
action
>
<span
style=
"font-size: 15px; font-weight: bold; margin-right: 690px"
>
配置预览
</span>
<Icon
<Icon
style=
"font-size: 25px !important"
style=
"font-size: 25px !important"
icon=
"fa6-regular:copy"
icon=
"fa6-regular:copy"
...
@@ -515,10 +527,13 @@
...
@@ -515,10 +527,13 @@
<textarea
v-model=
"jsonData"
style=
"width: 100%; height: 250px"
></textarea>
<textarea
v-model=
"jsonData"
style=
"width: 100%; height: 250px"
></textarea>
</div>
</div>
<div
style=
"width: 50%; border: rgb(217, 217, 217) 1px solid"
>
<div
style=
"width: 50%; border: rgb(217, 217, 217) 1px solid"
>
<span
style=
"font-size: 1
5
px; font-weight: bold; margin-left: 10px"
>
目标端配置
</span>
<span
style=
"font-size: 1
8
px; font-weight: bold; margin-left: 10px"
>
目标端配置
</span>
<div>
<div>
<BasicTable
@
register=
"registerServerTopicOptionsTable"
>
<BasicTable
@
register=
"registerServerTopicOptionsTable"
>
<
template
#
toolbar
>
<
template
#
toolbar
>
<span
style=
"font-size: 15px; font-weight: bold; margin-right: 650px"
>
高级配置
</span>
<a-button
type=
"primary"
@
click=
"addServerTopicOptions"
>
添加参数
</a-button>
<a-button
type=
"primary"
@
click=
"addServerTopicOptions"
>
添加参数
</a-button>
</
template
>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
<
template
#
bodyCell=
"{ column, record }"
>
...
@@ -535,8 +550,11 @@
...
@@ -535,8 +550,11 @@
</template>
</template>
</BasicTable>
</BasicTable>
</div>
</div>
<Description
size=
"middle"
title=
"
配置预览
"
:bordered=
"false"
>
<Description
size=
"middle"
title=
"
"
:bordered=
"false"
>
<
template
#
action
>
<
template
#
action
>
<span
style=
"font-size: 15px; font-weight: bold; margin-right: 690px"
>
配置预览
</span>
<Icon
<Icon
style=
"font-size: 25px !important"
style=
"font-size: 25px !important"
icon=
"fa6-regular:copy"
icon=
"fa6-regular:copy"
...
@@ -706,6 +724,11 @@
...
@@ -706,6 +724,11 @@
value
:
'V4'
,
value
:
'V4'
,
},
},
];
];
const
filterRuleTypeOptions
=
[
{
label
:
'数据操作过滤'
,
value
:
'1'
},
{
label
:
'数据值过滤'
,
value
:
'2'
},
{
label
:
'字段过滤'
,
value
:
'3'
},
];
const
mappingRulesTableShow
=
ref
(
false
);
const
mappingRulesTableShow
=
ref
(
false
);
const
mappingRulesTopicTableShow
=
ref
(
false
);
const
mappingRulesTopicTableShow
=
ref
(
false
);
const
tableMappingRulesTableShow
=
ref
(
false
);
const
tableMappingRulesTableShow
=
ref
(
false
);
...
@@ -876,7 +899,7 @@
...
@@ -876,7 +899,7 @@
showIndexColumn
:
false
,
showIndexColumn
:
false
,
rowSelection
:
true
,
rowSelection
:
true
,
bordered
:
false
,
bordered
:
false
,
useSearchForm
:
tru
e
,
useSearchForm
:
fals
e
,
formConfig
:
{
formConfig
:
{
labelWidth
:
120
,
labelWidth
:
120
,
showActionButtonGroup
:
false
,
showActionButtonGroup
:
false
,
...
@@ -953,7 +976,6 @@
...
@@ -953,7 +976,6 @@
scroll
:
{
y
:
500
},
scroll
:
{
y
:
500
},
});
});
const
[
registerServerSourceOptionsTable
,
{
reload
:
reloadServerSourceOptionsTable
}]
=
useTable
({
const
[
registerServerSourceOptionsTable
,
{
reload
:
reloadServerSourceOptionsTable
}]
=
useTable
({
title
:
'高级配置'
,
api
:
async
()
=>
{
api
:
async
()
=>
{
const
response
=
{
const
response
=
{
pageNu
:
'1'
,
pageNu
:
'1'
,
...
@@ -977,7 +999,6 @@
...
@@ -977,7 +999,6 @@
scroll
:
{
y
:
200
},
scroll
:
{
y
:
200
},
});
});
const
[
registerServerTopicOptionsTable
,
{
reload
:
reloadServerTopicOptionsTable
}]
=
useTable
({
const
[
registerServerTopicOptionsTable
,
{
reload
:
reloadServerTopicOptionsTable
}]
=
useTable
({
title
:
'高级配置'
,
api
:
async
()
=>
{
api
:
async
()
=>
{
const
response
=
{
const
response
=
{
pageNu
:
'1'
,
pageNu
:
'1'
,
...
@@ -1171,7 +1192,7 @@
...
@@ -1171,7 +1192,7 @@
function
handleVersionManagement
()
{
function
handleVersionManagement
()
{
openVersionManageModal
(
true
,
{
openVersionManageModal
(
true
,
{
title
:
'
数据加载
版本管理'
,
title
:
'版本管理'
,
scene
:
scene
.
value
,
scene
:
scene
.
value
,
});
});
}
}
...
...
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