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
6d4f0972
authored
2024-12-24 19:02:04 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix : 修改分类分级标准
1 parent
e6df3a28
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
17 deletions
src/components/ContentWrap/src/ContentWrap.vue
src/views/data_inventory/classStandardEdit.vue
src/views/data_inventory/classifyGradEdit.vue
src/views/data_inventory/templateConfig.vue
src/components/ContentWrap/src/ContentWrap.vue
View file @
6d4f097
...
...
@@ -24,7 +24,8 @@ const props = defineProps({
const
emits
=
defineEmits
([
"expand"
]);
const
isExpanded
=
ref
(
true
);
// const isExpanded = ref(true);
const
isExpanded
=
ref
(
props
.
isExpand
);
watch
(
()
=>
props
.
isExpand
,
...
...
@@ -46,14 +47,10 @@ const expandSwicthHandler = () => {
</
script
>
<
template
>
<ElCard
class=
"v-content-wrap"
shadow=
"never"
:body-style=
"
{
<ElCard
class=
"v-content-wrap"
shadow=
"never"
:body-style=
"
{
padding: `0px`,
height: `${isExpanded ? contentHeight + 28 : 0}px`,
}"
>
}">
<template
v-if=
"title"
#
header
>
<div
class=
"card-title"
@
click=
"expandSwicthHandler"
>
<span
v-if=
"expandSwicth"
style=
"padding-right: 5px; cursor: pointer"
>
...
...
src/views/data_inventory/classStandardEdit.vue
View file @
6d4f097
...
...
@@ -673,7 +673,7 @@ const initGraph = () => {
},
getHGap
:
function
getHGap
()
{
return
80
;
}
}
,
}
});
graph
.
data
(
shapeTreeListData
.
value
[
0
]);
...
...
@@ -799,12 +799,16 @@ onMounted(() => {
// });
})
const
isExpand
=
ref
<
boolean
>
(
router
.
currentRoute
.
value
.
query
.
isExpand
==
'true'
);
</
script
>
<
template
>
<div
class=
"container_wrap"
v-loading=
"fullscreenLoading"
>
<div
class=
"content_main"
>
<ContentWrap
id=
"id-baseInfo"
title=
"基础信息"
description=
""
style=
"margin-top: 8px;"
>
<ContentWrap
id=
"id-baseInfo"
title=
"基础信息"
description=
""
style=
"margin-top: 8px;"
:expandSwicth=
"true"
:isExpand=
"isExpand"
>
<Form
ref=
"formRef"
:itemList=
"classStandardFormItems"
formId=
"main-model-edit"
col=
"col3"
/>
</ContentWrap>
<ContentWrap
id=
"id-classStandard"
class=
"detail-content"
title=
"分类标准"
description=
""
...
...
@@ -852,6 +856,7 @@ onMounted(() => {
.content_main
{
height
:
calc
(
100%
-
44px
);
padding
:
10px
16px
;
overflow
:
auto
;
}
.bottom_tool_wrap
{
...
...
@@ -870,6 +875,7 @@ onMounted(() => {
.card-body-content
{
height
:
100%
;
overflow
:
auto
;
}
}
}
...
...
@@ -885,11 +891,11 @@ onMounted(() => {
}
.shape-main
{
height
:
calc
(
100%
-
160
px
);
height
:
calc
(
100%
-
44
px
);
}
.table_panel
{
height
:
calc
(
100%
-
160
px
)
!important
;
height
:
calc
(
100%
-
44
px
)
!important
;
}
.node-details-popup
{
...
...
src/views/data_inventory/classifyGradEdit.vue
View file @
6d4f097
...
...
@@ -114,7 +114,7 @@ const tableInfo = ref({
multiple
:
true
,
fields
:
[
{
label
:
"序号"
,
type
:
'index'
,
width
:
56
,
align
:
"center"
},
{
label
:
"排序"
,
field
:
'orderNum'
,
width
:
56
,
align
:
"center"
},
//
{ label: "排序", field: 'orderNum', width: 56, align: "center" },
{
label
:
"数据级别"
,
field
:
"dataGrade"
,
width
:
120
,
getName
:
(
scope
)
=>
{
let
dataGrade
=
scope
.
row
.
dataGrade
;
...
...
@@ -231,7 +231,7 @@ const newCreateGradeFormItems = ref([{
visible
:
true
,
},
{
label
:
'序号'
,
label
:
'
排
序号'
,
type
:
'input'
,
maxlength
:
19
,
placeholder
:
'请输入'
,
...
...
@@ -417,6 +417,7 @@ const cancel = () => {
.content_main
{
height
:
calc
(
100%
-
44px
);
padding
:
10px
16px
;
overflow
:
auto
;
.table-top-btns
{
margin-bottom
:
12px
;
...
...
src/views/data_inventory/templateConfig.vue
View file @
6d4f097
...
...
@@ -158,7 +158,8 @@ const handleClassDataClick = (item, des = '') => {
type
:
des
===
''
?
'配置'
:
des
,
classStandardName
:
item
.
name
,
refGradeGuid
:
item
.
refGradeGuid
,
description
:
item
.
description
description
:
item
.
description
,
isExpand
:
item
.
isExpand
||
false
}
});
}
...
...
@@ -276,7 +277,8 @@ const newCreateClassStandardDialogInfo = ref({
name
:
item
.
name
,
guid
:
item
.
guid
,
refGradeGuid
:
item
.
refGradeGuid
,
description
:
item
.
description
description
:
item
.
description
,
isExpand
:
true
}
handleClassDataClick
(
params
,
''
);
}
...
...
@@ -559,7 +561,7 @@ const newCreateGrade = () => {
</el-icon>
</
template
>
<div
class=
"levitation-ul"
>
<span
class=
"levitation-li"
@
click=
"handleClassDataClick(item)"
>
配置
</span>
<span
class=
"levitation-li"
@
click=
"handleClassDataClick(item)"
>
编辑
</span>
<!-- <span class="levitation-li" @click="handleClassDataEdit(item)">编辑</span> -->
<span
class=
"levitation-li"
@
click=
"handleClassDataDel(item)"
>
删除
</span>
</div>
...
...
@@ -592,7 +594,7 @@ const newCreateGrade = () => {
</el-icon>
</
template
>
<div
class=
"levitation-ul"
>
<span
class=
"levitation-li"
@
click=
"handleClassifyGradDataClick(item)"
>
配置
</span>
<span
class=
"levitation-li"
@
click=
"handleClassifyGradDataClick(item)"
>
编辑
</span>
<!-- <span class="levitation-li" @click="handleClassifyGradDataEdit(item)">编辑</span> -->
<span
class=
"levitation-li"
@
click=
"handleClassifyGradDataDel(item)"
>
删除
</span>
</div>
...
...
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