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 f9197d99
authored
Mar 01, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
1 parent
d8a2f89d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
src/views/archi-intelligence-search/index.vue
src/views/archiAssetVisualShow/index.vue
src/views/busi-assets-list/index.vue
src/views/archi-intelligence-search/index.vue
View file @
f9197d9
...
...
@@ -71,9 +71,9 @@ export default {
}
},
force
:
{
repulsion
:
1
000
repulsion
:
6
000
},
edgeSymbol
:
[
'circle'
,
'arrow'
],
//
edgeSymbol: ['circle', 'arrow'],
data
:
seriesData
,
links
:
linkData
}
...
...
@@ -95,7 +95,6 @@ export default {
},
treeCheckChange
(
data
,
tree
)
{
//左侧树勾选
let
seriesData
=
[],
linkData
=
[];
console
.
log
(
tree
.
checkedNodes
)
if
(
tree
.
checkedNodes
.
length
>
0
)
{
tree
.
checkedNodes
.
forEach
(
item
=>
{
if
(
!
item
.
targetList
){
...
...
@@ -125,7 +124,6 @@ export default {
},
}
})
linkData
.
push
({
source
:
item
.
assetCode
,
target
:
item2
.
assetCode
,
...
...
@@ -133,7 +131,20 @@ export default {
})
}
})
console
.
log
(
seriesData
)
var
new_arr2
=
[]
for
(
var
i
=
0
;
i
<
seriesData
.
length
;
i
++
)
{
var
flag
=
true
for
(
var
j
=
0
;
j
<
new_arr2
.
length
;
j
++
)
{
if
(
new_arr2
[
j
].
id
==
seriesData
[
i
].
id
)
{
flag
=
false
}
}
if
(
flag
)
{
new_arr2
.
push
(
seriesData
[
i
])
}
}
seriesData
=
new_arr2
;
this
.
echarts1
(
seriesData
,
linkData
);
}
else
{
this
.
myChart
.
dispose
();
...
...
src/views/archiAssetVisualShow/index.vue
View file @
f9197d9
This diff is collapsed.
Click to expand it.
src/views/busi-assets-list/index.vue
View file @
f9197d9
...
...
@@ -382,6 +382,7 @@
if
(
this
.
ruleForm
.
dynamicForm_
.
length
>
0
)
{
this
.
ruleForm
.
dynamicForm_
.
forEach
(
item
=>
{
fieldsValue
.
push
({
id
:
item
.
propertyId
,
cnName
:
item
.
cnName
,
value_
:
item
.
value_
,
controlType
:
item
.
controlType
,
...
...
@@ -669,6 +670,7 @@
}
item
[
'value_'
]
=
''
;
});
console
.
log
(
res
.
data
)
this
.
ruleForm
.
dynamicForm_
=
res
.
data
;
}
else
{
this
.
ruleForm
.
dynamicForm_
=
[];
...
...
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