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 7ee6ea43
authored
Mar 07, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
1 parent
2bd3d759
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
public/drawio/extention/js/exGraph.js
src/views/archiViewConfig/index.vue
public/drawio/extention/js/exGraph.js
View file @
7ee6ea4
...
...
@@ -48,8 +48,8 @@
this
.
sidebarTitles
=
true
;
//勾选标签
console
.
log
(
joinGraph
)
joinGraph
.
forEach
(
item
=>
{
let
fns
=
[];
if
(
item
.
arciBelongName
==
'架构元素关系'
)
{
let
fns
=
[];
item
.
eleDtos
.
forEach
(
item2
=>
{
fns
.
push
(
this
.
createEdgeTemplateEntry
(
...
...
@@ -67,7 +67,7 @@
}
else
{
item
.
eleDtos
.
forEach
(
item2
=>
{
if
(
item2
.
assets
&&
item2
.
dicys
)
{
let
fns
=
[];
let
attr_
=
[];
item2
.
dicys
.
forEach
(
res
=>
{
if
(
res
.
fieldName
)
{
...
...
src/views/archiViewConfig/index.vue
View file @
7ee6ea4
...
...
@@ -277,7 +277,12 @@
:center=
"false"
:close-on-click-modal=
"false"
width=
"40%"
>
<el-transfer
v-model=
"transferValue2"
:data=
"tableData2"
></el-transfer>
<el-transfer
v-model=
"transferValue2"
:data=
"tableData2"
:left-default-checked=
"leftDefaultChecked2"
:right-default-checked=
"transferValue2"
>
</el-transfer>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"greenButton"
@
click=
"saveDialog3"
>
保存
</el-button>
<el-button
@
click=
"cancelDialog3"
>
取消
</el-button>
...
...
@@ -318,6 +323,7 @@ export default {
return
{
transferValue1
:
[],
leftDefaultChecked1
:
[],
leftDefaultChecked2
:
[],
transferValue2
:
[],
dialog2
:
false
,
dialog3
:
false
,
...
...
@@ -758,10 +764,20 @@ export default {
this
.
viewId
=
item
.
viewId
;
this
.
getDicyTable
();
this
.
formData
=
item
;
this
.
transferValue1
=
this
.
formData
.
archiEleId
.
split
(
","
).
map
(
item
=>
Number
(
item
));
console
.
log
(
this
.
transferValue1
)
console
.
log
(
this
.
tableData1
)
let
tableData1Key
=
[];
this
.
tableData1
.
forEach
(
item
=>
{
tableData1Key
.
push
(
item
.
key
);
})
this
.
leftDefaultChecked1
=
tableData1Key
.
filter
(
v
=>
!
this
.
transferValue1
.
find
(
item
=>
item
===
v
));
this
.
transferValue2
=
this
.
formData
.
archiEleRelId
.
split
(
","
).
map
(
item
=>
Number
(
item
));
let
tableData1Key2
=
[];
this
.
tableData2
.
forEach
(
item
=>
{
tableData1Key2
.
push
(
item
.
key
);
})
this
.
leftDefaultChecked2
=
tableData1Key2
.
filter
(
v
=>
!
this
.
transferValue2
.
find
(
item
=>
item
===
v
));
if
(
item
.
eleName
)
{
this
.
selectData1
=
item
.
eleName
.
split
(
","
);
...
...
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