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 841f6db5
authored
Mar 14, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
1 parent
b0c7412c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
18 deletions
src/views/archi-intelligence-search/index.vue
src/views/archiAssetVisualShow/tab1.vue
src/views/archiAssetVisualShow/tab2.vue
src/views/archiAssetVisualShow/tab3.vue
src/views/archiAssetVisualShow/tab4.vue
src/views/archiAssetVisualShow/tab5.vue
src/views/archi-intelligence-search/index.vue
View file @
841f6db
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"search_menu_item"
style=
"margin-top: 15px;"
>
<div
class=
"search_menu_item"
style=
"margin-top: 15px;"
>
<span
class=
"search_title"
>
架构内容:
</span>
<span
class=
"search_title"
>
架构内容:
</span>
<!--
<el-input
v-no-backslash
v-model=
"query_item1"
placeholder=
"请输入"
style=
"width: 300px;"
maxlength=
"100"
></el-input>
-->
<!--
<el-input
v-no-backslash
v-model=
"query_item1"
placeholder=
"请输入"
style=
"width: 300px;"
maxlength=
"100"
></el-input>
-->
<el-input
placeholder=
"请输入内容"
v-
model=
"query_item1"
style=
"width: 300px;"
>
<el-input
placeholder=
"请输入内容"
v-
no-backslash
v-model=
"query_item1"
clearable
style=
"width: 300px;"
>
<template
slot=
"append"
>
<template
slot=
"append"
>
<div
style=
"cursor: pointer;width: 50px;height: 35px;display: flex;justify-content: center;align-items: center;"
@
click=
"select1"
>
<div
style=
"cursor: pointer;width: 50px;height: 35px;display: flex;justify-content: center;align-items: center;"
@
click=
"select1"
>
<i
class=
"el-icon-search"
></i>
<i
class=
"el-icon-search"
></i>
...
@@ -66,6 +66,9 @@ export default {
...
@@ -66,6 +66,9 @@ export default {
},
},
select2
(
data
)
{
select2
(
data
)
{
if
(
this
.
myChart
)
{
this
.
myChart
.
dispose
();
}
this
.
getTreeData
();
this
.
getTreeData
();
},
},
echarts1
(
seriesData
,
linkData
)
{
echarts1
(
seriesData
,
linkData
)
{
...
@@ -137,8 +140,6 @@ export default {
...
@@ -137,8 +140,6 @@ export default {
if
(
tree
.
checkedNodes
.
length
>
0
)
{
if
(
tree
.
checkedNodes
.
length
>
0
)
{
console
.
log
(
tree
.
checkedNodes
)
tree
.
checkedNodes
.
forEach
(
item
=>
{
tree
.
checkedNodes
.
forEach
(
item
=>
{
if
(
!
item
.
targetList
){
if
(
!
item
.
targetList
){
return
;
return
;
...
@@ -175,24 +176,24 @@ export default {
...
@@ -175,24 +176,24 @@ export default {
}
}
})
})
//
var new_arr2 = []
var
new_arr2
=
[]
//
for (var i = 0; i < seriesData.length; i++) {
for
(
var
i
=
0
;
i
<
seriesData
.
length
;
i
++
)
{
//
var flag = true
var
flag
=
true
//
for (var j = 0; j < new_arr2.length; j++) {
for
(
var
j
=
0
;
j
<
new_arr2
.
length
;
j
++
)
{
//
if (new_arr2[j].id == seriesData[i].id) {
if
(
new_arr2
[
j
].
id
==
seriesData
[
i
].
id
)
{
//
flag = false
flag
=
false
//
}
}
//
}
}
//
if (flag) {
if
(
flag
)
{
//
new_arr2.push(seriesData[i])
new_arr2
.
push
(
seriesData
[
i
])
//
}
}
//
}
}
//
seriesData = new_arr2;
seriesData
=
new_arr2
;
//
this.echarts1(seriesData, linkData);
this
.
echarts1
(
seriesData
,
linkData
);
}
else
{
}
else
{
//
this.myChart.dispose();
this
.
myChart
.
dispose
();
}
}
},
},
}
}
...
...
src/views/archiAssetVisualShow/tab1.vue
View file @
841f6db
...
@@ -126,6 +126,7 @@
...
@@ -126,6 +126,7 @@
width
:
35%
;
width
:
35%
;
height
:
100%
;
height
:
100%
;
border-right
:
2px
solid
#ccc
;
border-right
:
2px
solid
#ccc
;
overflow-y
:
auto
;
}
}
.containerRight
{
.containerRight
{
width
:
45%
;
width
:
45%
;
...
...
src/views/archiAssetVisualShow/tab2.vue
View file @
841f6db
...
@@ -126,6 +126,7 @@
...
@@ -126,6 +126,7 @@
width
:
35%
;
width
:
35%
;
height
:
100%
;
height
:
100%
;
border-right
:
2px
solid
#ccc
;
border-right
:
2px
solid
#ccc
;
overflow-y
:
auto
;
}
}
.containerRight
{
.containerRight
{
width
:
45%
;
width
:
45%
;
...
...
src/views/archiAssetVisualShow/tab3.vue
View file @
841f6db
...
@@ -126,6 +126,7 @@
...
@@ -126,6 +126,7 @@
width
:
35%
;
width
:
35%
;
height
:
100%
;
height
:
100%
;
border-right
:
2px
solid
#ccc
;
border-right
:
2px
solid
#ccc
;
overflow-y
:
auto
;
}
}
.containerRight
{
.containerRight
{
width
:
45%
;
width
:
45%
;
...
...
src/views/archiAssetVisualShow/tab4.vue
View file @
841f6db
...
@@ -126,6 +126,7 @@
...
@@ -126,6 +126,7 @@
width
:
35%
;
width
:
35%
;
height
:
100%
;
height
:
100%
;
border-right
:
2px
solid
#ccc
;
border-right
:
2px
solid
#ccc
;
overflow-y
:
auto
;
}
}
.containerRight
{
.containerRight
{
width
:
45%
;
width
:
45%
;
...
...
src/views/archiAssetVisualShow/tab5.vue
View file @
841f6db
...
@@ -126,6 +126,7 @@
...
@@ -126,6 +126,7 @@
width
:
35%
;
width
:
35%
;
height
:
100%
;
height
:
100%
;
border-right
:
2px
solid
#ccc
;
border-right
:
2px
solid
#ccc
;
overflow-y
:
auto
;
}
}
.containerRight
{
.containerRight
{
width
:
45%
;
width
:
45%
;
...
...
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