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
6fbf9e23
Commit
6fbf9e23
authored
Dec 04, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据库到数据库
parent
a867a708
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
104 additions
and
36 deletions
+104
-36
data.ts
src/views/realTimeSync/dataBaseToDataBase/data.ts
+11
-0
optionPage.vue
src/views/realTimeSync/dataBaseToDataBase/optionPage.vue
+75
-33
versionManageModal.vue
...ws/realTimeSync/dataBaseToDataBase/versionManageModal.vue
+18
-3
No files found.
src/views/realTimeSync/dataBaseToDataBase/data.ts
View file @
6fbf9e23
...
@@ -1112,3 +1112,14 @@ export const messageFormSchema: FormSchema[] = [
...
@@ -1112,3 +1112,14 @@ export const messageFormSchema: FormSchema[] = [
colProps
:
{
lg
:
6
,
md
:
6
},
colProps
:
{
lg
:
6
,
md
:
6
},
},
},
];
];
export
const
versionManagementFormSchema
:
FormSchema
[]
=
[
{
field
:
'name'
,
label
:
' '
,
componentProps
:
{
placeholder
:
'输入关键字搜索'
,
},
component
:
'Input'
,
colProps
:
{
span
:
6
},
},
];
src/views/realTimeSync/dataBaseToDataBase/optionPage.vue
View file @
6fbf9e23
This diff is collapsed.
Click to expand it.
src/views/realTimeSync/dataBaseToDataBase/versionManageModal.vue
View file @
6fbf9e23
...
@@ -37,13 +37,15 @@
...
@@ -37,13 +37,15 @@
import
{
versionManageColumns
}
from
'@/views/dataIntegration/dataLoading/dataEntryLake/dataEntry.data'
;
import
{
versionManageColumns
}
from
'@/views/dataIntegration/dataLoading/dataEntryLake/dataEntry.data'
;
import
{
versionManageData
}
from
'@/views/dataIntegration/dataLoading/dataEntryLake/mock'
;
import
{
versionManageData
}
from
'@/views/dataIntegration/dataLoading/dataEntryLake/mock'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
import
{
versionManagementFormSchema
}
from
'@/views/realTimeSync/dataBaseToDataBase/data'
;
defineOptions
({
name
:
'KnowledgeModal'
});
defineOptions
({
name
:
'KnowledgeModal'
});
const
emit
=
defineEmits
([
'success'
,
'register'
]);
const
emit
=
defineEmits
([
'success'
,
'register'
]);
const
{
createMessage
}
=
useMessage
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
title
=
ref
();
const
title
=
ref
();
const
tableData
=
ref
([]);
const
tableData
=
ref
([]);
const
scene
=
ref
();
//获取接口数据并放在下拉框里(这里是打开了一个弹框)
//获取接口数据并放在下拉框里(这里是打开了一个弹框)
//初始化表单
//初始化表单
const
[
registerTable
,
{
reload
}]
=
useTable
({
const
[
registerTable
,
{
reload
}]
=
useTable
({
...
@@ -64,8 +66,12 @@
...
@@ -64,8 +66,12 @@
},
},
pagination
:
false
,
pagination
:
false
,
columns
:
versionManageColumns
,
columns
:
versionManageColumns
,
useSearchForm
:
false
,
showTableSetting
:
false
,
showTableSetting
:
false
,
formConfig
:
{
showActionButtonGroup
:
false
,
schemas
:
versionManagementFormSchema
,
},
useSearchForm
:
true
,
bordered
:
true
,
bordered
:
true
,
actionColumn
:
{
actionColumn
:
{
width
:
150
,
width
:
150
,
...
@@ -79,16 +85,25 @@
...
@@ -79,16 +85,25 @@
await
reload
();
await
reload
();
setModalProps
({
confirmLoading
:
false
});
setModalProps
({
confirmLoading
:
false
});
title
.
value
=
data
.
title
;
title
.
value
=
data
.
title
;
scene
.
value
=
data
.
scene
;
});
});
function
handleRollback
()
{
function
handleRollback
()
{
createMessage
.
success
(
'回滚成功'
);
createConfirm
({
iconType
:
'warning'
,
title
:
'确认回滚吗?'
,
content
:
'是否确认进行回滚?'
,
onOk
()
{
createMessage
.
success
(
'回滚成功!'
);
},
});
}
}
function
handleDetail
()
{
function
handleDetail
()
{
router
.
push
({
router
.
push
({
path
:
'/realTimeSync/dataBaseToDataBase/optionPage'
,
path
:
'/realTimeSync/dataBaseToDataBase/optionPage'
,
query
:
{
query
:
{
isEdit
:
false
,
isEdit
:
false
,
scene
:
scene
.
value
,
},
},
});
});
closeModal
();
closeModal
();
...
...
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