Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d3c9697a
authored
Apr 18, 2024
by
‘july-fu’
Browse files
Options
Browse Files
Download
Plain Diff
fix: 架构视图配置,架构元素关系管理编辑数据联动问题解决
2 parents
3af912bd
be9b8306
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
src/views/archiEleRela/index.vue
src/views/archiViewConfig/index.vue
src/views/archiEleRela/index.vue
View file @
d3c9697
...
@@ -47,8 +47,8 @@
...
@@ -47,8 +47,8 @@
height=
"450"
>
height=
"450"
>
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"selectInit"
></el-table-column>
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"selectInit"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
:index=
"indexMethod"
align=
"center"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
:index=
"indexMethod"
align=
"center"
></el-table-column>
<el-table-column
prop=
"rsName"
label=
"元素关系名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"rsName"
label=
"元素关系名称"
align=
"center"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"content"
label=
"关系描述"
align=
"center"
></el-table-column>
<el-table-column
prop=
"content"
label=
"关系描述"
align=
"center"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
label=
"图标"
align=
"center"
width=
"100"
>
<el-table-column
label=
"图标"
align=
"center"
width=
"100"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
class=
"tableIcon"
>
<div
class=
"tableIcon"
>
...
@@ -777,14 +777,14 @@ export default {
...
@@ -777,14 +777,14 @@ export default {
}
else
if
(
type
==
"edit"
)
{
}
else
if
(
type
==
"edit"
)
{
this
.
add_dialog
=
true
;
this
.
add_dialog
=
true
;
this
.
title
=
"编辑元素关系"
;
this
.
title
=
"编辑元素关系"
;
this
.
formData
=
item
;
this
.
formData
=
{
...
item
}
;
this
.
getDicyTable
();
this
.
getDicyTable
();
}
else
if
(
type
==
"view"
)
{
}
else
if
(
type
==
"view"
)
{
// this.add_dialog3 = true
// this.add_dialog3 = true
// this.formData = item
// this.formData = item
this
.
add_dialog
=
true
;
this
.
add_dialog
=
true
;
this
.
title
=
"查看元素关系"
;
this
.
title
=
"查看元素关系"
;
this
.
formData
=
item
;
this
.
formData
=
{
...
item
}
;
this
.
getDicyTable
();
this
.
getDicyTable
();
}
else
if
(
type
==
"create"
)
{
}
else
if
(
type
==
"create"
)
{
this
.
$refs
.
relaForm
.
validate
((
valid
)
=>
{
this
.
$refs
.
relaForm
.
validate
((
valid
)
=>
{
...
...
src/views/archiViewConfig/index.vue
View file @
d3c9697
...
@@ -834,13 +834,13 @@ export default {
...
@@ -834,13 +834,13 @@ export default {
this
.
title
=
'查看架构视图'
this
.
title
=
'查看架构视图'
this
.
add_dialog
=
true
this
.
add_dialog
=
true
this
.
resetForm
()
this
.
resetForm
()
this
.
viewId
=
item
.
viewId
this
.
viewId
=
item
.
viewId
this
.
getDicyTable
()
this
.
getDicyTable
()
this
.
formData
=
item
this
.
formData
=
{
this
.
formData
.
archiLevelId
=
this
.
formData
.
archiLevelId
+
''
...
item
,
this
.
formData
.
archiBelongId
=
this
.
formData
.
archiBelongId
+
''
archiLevelId
:
this
.
formData
.
archiLevelId
.
toString
(),
archiBelongId
:
this
.
formData
.
archiBelongId
.
toString
(),
}
this
.
transferValue1
=
this
.
formData
.
archiEleId
this
.
transferValue1
=
this
.
formData
.
archiEleId
.
split
(
','
)
.
split
(
','
)
.
map
((
item
)
=>
Number
(
item
))
.
map
((
item
)
=>
Number
(
item
))
...
@@ -882,9 +882,11 @@ export default {
...
@@ -882,9 +882,11 @@ export default {
this
.
viewId
=
item
.
viewId
this
.
viewId
=
item
.
viewId
this
.
getDicyTable
()
this
.
getDicyTable
()
this
.
formData
=
item
this
.
formData
=
{
this
.
formData
.
archiLevelId
=
this
.
formData
.
archiLevelId
+
''
...
item
,
this
.
formData
.
archiBelongId
=
this
.
formData
.
archiBelongId
+
''
archiLevelId
:
this
.
formData
.
archiLevelId
.
toString
(),
archiBelongId
:
this
.
formData
.
archiBelongId
.
toString
(),
}
this
.
transferValue1
=
this
.
formData
.
archiEleId
this
.
transferValue1
=
this
.
formData
.
archiEleId
.
split
(
','
)
.
split
(
','
)
.
map
((
item
)
=>
Number
(
item
))
.
map
((
item
)
=>
Number
(
item
))
...
...
Write
Preview
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