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
f7c06b24
Commit
f7c06b24
authored
Dec 03, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改任务管理bug
parent
d61e5008
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
70 additions
and
12 deletions
+70
-12
dataEntry.data.ts
...taIntegration/dataLoading/dataEntryLake/dataEntry.data.ts
+10
-0
dataOptionsModal.vue
...ntegration/dataLoading/dataEntryLake/dataOptionsModal.vue
+5
-7
databaseOfflineLoading.vue
...tion/dataLoading/dataEntryLake/databaseOfflineLoading.vue
+14
-2
mock.ts
src/views/dataIntegration/dataLoading/dataEntryLake/mock.ts
+22
-0
versionManageModal.vue
...egration/dataLoading/dataEntryLake/versionManageModal.vue
+19
-3
No files found.
src/views/dataIntegration/dataLoading/dataEntryLake/dataEntry.data.ts
View file @
f7c06b24
...
...
@@ -846,3 +846,13 @@ export const runOptionsColumns: BasicColumn[] = [
editable
:
true
,
},
];
export
const
searchEditFormSchema
:
FormSchema
[]
=
[
{
field
:
'name'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'搜索名称'
,
},
},
];
src/views/dataIntegration/dataLoading/dataEntryLake/dataOptionsModal.vue
View file @
f7c06b24
...
...
@@ -31,11 +31,12 @@
</BasicModal>
</template>
<
script
lang=
"ts"
setup
>
import
{
onMounted
,
ref
}
from
'vue'
;
import
{
ref
}
from
'vue'
;
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
BasicTable
,
TableAction
,
useTable
}
from
'@/components/Table'
;
import
{
recommendColumns
}
from
'./dataEntry.data'
;
import
{
optionDataList
}
from
'@/views/dataIntegration/dataLoading/dataEntryLake/mock'
;
defineOptions
({
name
:
'KnowledgeModal'
});
...
...
@@ -55,11 +56,9 @@
total
:
tableData
.
value
.
length
,
code
:
''
,
message
:
''
,
data
:
[]
,
data
:
tableData
.
value
,
};
let
data
=
[];
data
=
tableData
.
value
;
return
{
...
response
,
data
:
data
};
return
{
...
response
};
},
pagination
:
false
,
columns
:
recommendColumns
,
...
...
@@ -79,7 +78,7 @@
});
//初始化弹框
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
tableData
.
value
=
[]
;
tableData
.
value
=
optionDataList
;
await
reload
();
setModalProps
({
confirmLoading
:
false
});
title
.
value
=
data
.
title
;
...
...
@@ -110,5 +109,4 @@
createMessage
.
success
(
'删除成功!'
);
reload
();
}
onMounted
(()
=>
{});
</
script
>
src/views/dataIntegration/dataLoading/dataEntryLake/databaseOfflineLoading.vue
View file @
f7c06b24
...
...
@@ -10,7 +10,7 @@
style=
"width: 120px"
:options=
"versionOptions"
/>
<a-button
v-if=
"isEdit === 'false'"
>
回滚
</a-button>
<a-button
v-if=
"isEdit === 'false'"
@
click=
"handleRollback"
>
回滚
</a-button>
<a-button
v-if=
"isEdit === 'false'"
@
click=
"goBack"
>
退出查看
</a-button>
</div>
<Icon
...
...
@@ -1784,7 +1784,7 @@
}
function
handleVersionManagement
()
{
openVersionManageModal
(
true
,
{
title
:
'
数据加载
版本管理'
,
title
:
'版本管理'
,
});
}
function
handleRun
()
{
...
...
@@ -1993,6 +1993,18 @@
};
}
function
handleRollback
()
{
createConfirm
({
iconType
:
'warning'
,
title
:
'确认回滚吗?'
,
content
:
'是否确认进行回滚?'
,
onOk
()
{
createMessage
.
success
(
'回滚成功!'
);
router
.
back
();
},
});
}
function
handleDeletePartitionKey
(
record
)
{
createMessage
.
success
(
'删除成功!'
);
deletePartitionKeyIds
.
value
.
push
(
record
.
businessId
);
...
...
src/views/dataIntegration/dataLoading/dataEntryLake/mock.ts
View file @
f7c06b24
...
...
@@ -1488,3 +1488,25 @@ export const compareTableList = [
annotation
:
'-'
,
},
];
export
const
optionDataList
=
[
{
name
:
'tdt.job.cleaning'
,
expression
:
'true'
,
type
:
'服务参数'
,
},
{
name
:
'tdt.jdbc.mapper.size'
,
expression
:
'1024'
,
type
:
'服务参数'
,
},
{
name
:
'tdt.job.mapper.count'
,
expression
:
'true'
,
type
:
'服务参数'
,
},
{
name
:
'tdt.strict.mode'
,
expression
:
'false'
,
type
:
'服务参数'
,
},
];
src/views/dataIntegration/dataLoading/dataEntryLake/versionManageModal.vue
View file @
f7c06b24
...
...
@@ -34,14 +34,17 @@
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
BasicTable
,
TableAction
,
useTable
}
from
'@/components/Table'
;
import
{
versionManageColumns
}
from
'@/views/dataIntegration/dataLoading/dataEntryLake/dataEntry.data'
;
import
{
versionManageColumns
,
searchEditFormSchema
,
}
from
'@/views/dataIntegration/dataLoading/dataEntryLake/dataEntry.data'
;
import
{
versionManageData
}
from
'@/views/dataIntegration/dataLoading/dataEntryLake/mock'
;
import
{
router
}
from
'@/router'
;
defineOptions
({
name
:
'KnowledgeModal'
});
const
emit
=
defineEmits
([
'success'
,
'register'
]);
const
{
createMessage
}
=
useMessage
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
title
=
ref
();
const
tableData
=
ref
([]);
//获取接口数据并放在下拉框里(这里是打开了一个弹框)
...
...
@@ -67,6 +70,12 @@
useSearchForm
:
false
,
showTableSetting
:
false
,
bordered
:
true
,
formConfig
:
{
schemas
:
searchEditFormSchema
,
autoSubmitOnEnter
:
true
,
showActionButtonGroup
:
false
,
},
useSearchForm
:
true
,
actionColumn
:
{
width
:
150
,
title
:
'操作'
,
...
...
@@ -82,7 +91,14 @@
});
function
handleRollback
()
{
createMessage
.
success
(
'回滚成功'
);
createConfirm
({
iconType
:
'warning'
,
title
:
'确认回滚吗?'
,
content
:
'是否确认进行回滚?'
,
onOk
()
{
createMessage
.
success
(
'回滚成功!'
);
},
});
}
function
handleDetail
()
{
router
.
push
({
...
...
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