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
4699e6b0
authored
2025-01-02 15:15:45 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
结果确认界面调整
1 parent
470e3796
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
src/views/data_inventory/taskDetail.vue
src/views/data_inventory/taskDetail.vue
View file @
4699e6b
...
...
@@ -85,11 +85,12 @@ const sheetItemList = ref([
value
:
'dbGuid'
},
clearable
:
true
,
filterable
:
true
,
},
{
type
:
"select"
,
label
:
""
,
placeholder
:
'表中文
/英文
名'
,
placeholder
:
'表中文名'
,
field
:
'tableGuid'
,
default
:
''
,
options
:
[],
...
...
@@ -98,6 +99,7 @@ const sheetItemList = ref([
value
:
'dbGuid'
},
clearable
:
true
,
filterable
:
true
,
disabled
:
true
},
]);
...
...
@@ -128,11 +130,12 @@ const fieldItemList = ref([
value
:
'dbGuid'
},
clearable
:
true
,
filterable
:
true
,
},
{
type
:
"select"
,
label
:
""
,
placeholder
:
'表中文
/英文
名'
,
placeholder
:
'表中文名'
,
field
:
'tableGuid'
,
default
:
''
,
options
:
[],
...
...
@@ -141,12 +144,13 @@ const fieldItemList = ref([
value
:
'dbGuid'
},
clearable
:
true
,
filterable
:
true
,
disabled
:
true
},
{
type
:
"select"
,
label
:
""
,
placeholder
:
'字段中文
/英文
名'
,
placeholder
:
'字段中文名'
,
field
:
'fieldGuid'
,
default
:
''
,
options
:
[],
...
...
@@ -155,6 +159,7 @@ const fieldItemList = ref([
value
:
'dbGuid'
},
clearable
:
true
,
filterable
:
true
,
disabled
:
true
},
{
...
...
@@ -235,7 +240,8 @@ const sheetTableInfo = ref({
{
label
:
"表英文名"
,
field
:
"tableName"
,
width
:
200
,
type
:
"text_btn"
,
value
:
'tab'
},
{
label
:
"数据库名"
,
field
:
"database"
,
width
:
120
},
{
label
:
"数据库名"
,
field
:
"databaseChName"
,
width
:
120
},
{
label
:
"数据库名称"
,
field
:
"database"
,
width
:
200
},
{
label
:
"字段数"
,
field
:
"fieldNum"
,
width
:
96
,
align
:
'right'
},
{
label
:
"已分类字段数"
,
field
:
"classifyFieldNum"
,
width
:
120
,
align
:
'right'
},
{
label
:
"已分级字段数"
,
field
:
"gradeFieldNum"
,
width
:
120
,
align
:
'right'
},
...
...
@@ -298,7 +304,8 @@ const fieldTableInfo = ref({
{
label
:
"规则"
,
field
:
"ruleDetail"
,
width
:
200
},
{
label
:
"表英文名"
,
field
:
"tableName"
,
width
:
200
},
{
label
:
"表中文名"
,
field
:
"tableChName"
,
width
:
120
},
{
label
:
"数据库名"
,
field
:
"database"
,
width
:
120
},
{
label
:
"数据库名"
,
field
:
"databaseChName"
,
width
:
120
},
{
label
:
"数据库名称"
,
field
:
"database"
,
width
:
200
},
],
loading
:
false
,
data
:
[],
...
...
@@ -785,12 +792,15 @@ const selectChange = (val, item, scope = null) => {
}
else
if
(
item
.
field
==
'databaseGuid'
||
item
.
field
==
'tableGuid'
)
{
const
params
:
any
=
scope
;
if
(
tabsInfo
.
value
.
activeName
==
'sheet'
)
{
if
(
item
.
field
==
"databaseGuid"
)
{
if
(
!
val
)
{
sheetItemList
.
value
[
1
].
default
=
''
;
sheetItemList
.
value
[
1
].
disabled
=
true
;
}
else
{
sheetItemList
.
value
[
1
].
disabled
=
false
;
}
}
item
.
field
==
"databaseGuid"
&&
(
params
.
tableGuid
=
''
);
if
(
val
&&
item
.
field
!=
"tableGuid"
)
{
const
params
=
{
...
...
@@ -913,7 +923,7 @@ onMounted(() => {
</div>
<div
class=
"desc_item"
>
<span
class=
"desc_label"
>
执行时间:
</span>
<span
class=
"desc_value"
>
{{
taskDetail
.
update
Time
||
'--'
}}
</span>
<span
class=
"desc_value"
>
{{
taskDetail
.
exec
Time
||
'--'
}}
</span>
</div>
</div>
<div
class=
"desc_group"
>
...
...
@@ -967,20 +977,20 @@ onMounted(() => {
<div
class=
"table_tool_wrap"
ref=
"tableToolRef"
>
<TableTools
ref=
"fieldSearchRef"
:searchItems=
"fieldItemList"
:searchId=
"'field-search'"
:init=
"false"
@
selectChange=
"selectChange"
@
cascaderChange=
"cascaderChange"
@
search=
"searchField"
/>
<div
class=
"tools_btns"
>
<div
class=
"btns"
v-if=
"showBtns"
>
<div
class=
"tools_btns"
v-if=
"showBtns"
>
<div
class=
"btns"
>
<el-button
type=
"primary"
plain
@
click=
"btnClick(
{ value: 'batch' })">批量变更分类分级
</el-button>
<el-button
type=
"primary"
plain
@
click=
"btnClick(
{ value: 'status' })">批量确认
</el-button>
<!--
<el-button
plain
@
click=
"btnClick(
{ value: 'export' })">导出
</el-button>
-->
</div>
<
!--
<
div
class=
"checkboxs"
>
<div
class=
"checkboxs"
>
<el-checkbox
v-model=
"checked1"
@
change=
"getFieldTableData()"
>
仅看多分类
</el-checkbox>
<el-tooltip
effect=
"light"
placement=
"top"
content=
"一个字段只能有一个分类,多分类的字段需要人工确定分类"
>
<el-icon
style=
"margin-left: 8px;"
>
<svg-icon
name=
"icon-tip"
/>
</el-icon>
</el-tooltip>
</div>
-->
</div>
</div>
</div>
<div
class=
"table_panel_wrap panel"
:style=
"
{ height: 'calc(100% - ' + toolH + 'px)' }">
...
...
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