Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f6732920
authored
2024-12-30 22:07:53 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_20241202_xukangle' into develop
2 parents
b384c219
b8cf6889
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_inventory/tableCreateExisting.vue
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
f673292
...
...
@@ -335,6 +335,7 @@ const tableInfo = ref({
fields
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
56
,
align
:
"center"
},
{
label
:
"字段名"
,
field
:
"fieldName"
,
width
:
140
},
{
label
:
"字段中文名"
,
field
:
"fieldChName"
,
width
:
180
},
{
label
:
"分类"
,
field
:
"classifyDetailName"
,
width
:
120
},
{
label
:
"分级"
,
field
:
"gradeDetailName"
,
width
:
80
},
{
label
:
"标签"
,
field
:
"label"
,
width
:
140
},
...
...
@@ -342,7 +343,7 @@ const tableInfo = ref({
{
label
:
"表名"
,
field
:
"tableName"
,
width
:
120
,
align
:
'center'
},
{
label
:
"表中文名"
,
field
:
"tableChName"
,
width
:
120
,
align
:
'center'
},
{
label
:
"数据库名"
,
field
:
"database"
,
width
:
120
,
align
:
'center'
},
{
label
:
"数据
类型
"
,
field
:
"databaseChName"
,
width
:
120
,
align
:
'center'
},
{
label
:
"数据
库中文名
"
,
field
:
"databaseChName"
,
width
:
120
,
align
:
'center'
},
],
data
:
[],
...
...
@@ -1245,7 +1246,6 @@ const treeSelectNodeChange = (node, item) => {
// 这里应该是onActivated 钩子,路由从configure-路由从configure-rules跳转过来要重新请求数据、
onActivated
(
async
()
=>
{
if
(
route
.
query
.
reload
===
'true'
)
{
console
.
log
(
'重新请求数据'
);
await
getExecGuid
();
activeName
.
value
=
'second'
;
getDataBaseTreeData
();
...
...
src/views/data_inventory/tableCreateExisting.vue
View file @
f673292
...
...
@@ -833,6 +833,22 @@ const inputLengthKeyUp = (regexp, scope, field, max: any = null, min: any = null
scope
.
row
[
field
]
=
min
;
}
}
onActivated
(()
=>
{
const
tableChName
=
route
.
query
.
tableChName
;
let
tab
:
any
=
userStore
.
tabbar
.
find
((
tab
:
any
)
=>
tab
.
fullPath
===
fullPath
);
if
(
tab
)
{
if
(
tableChName
)
{
tab
.
meta
.
title
=
`编辑-(
${
tableChName
}
)`
;
}
if
(
fullPath
===
route
.
fullPath
)
{
document
.
title
=
tab
.
meta
.
title
;
}
}
});
</
script
>
<
template
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment