Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
477d3668
Commit
477d3668
authored
Aug 04, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
涉黑人案案人
parent
673d5191
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
118 additions
and
136 deletions
+118
-136
src/components/NaoTu.vue
+1
-0
src/components/RelationalGraph.vue
+48
-3
src/views/naotu/index.vue
+59
-126
src/views/shceksh/shargxfx.vue
+5
-3
src/views/shceksh/shragxfx.vue
+5
-4
No files found.
src/components/NaoTu.vue
View file @
477d3668
...
...
@@ -285,6 +285,7 @@ export default {
if
(
_node
.
id
==
this
.
rootId
)
{
_node
.
width
=
20
*
_node
.
text
.
length
;
if
(
_node
.
width
>=
400
)
_node
.
width
=
400
;
if
(
_node
.
width
<=
100
)
_node
.
width
=
100
;
}
else
{
if
(
_node
.
text
.
length
<=
7
)
{
_node
.
width
=
"200"
;
...
...
src/components/RelationalGraph.vue
View file @
477d3668
...
...
@@ -136,6 +136,7 @@ export default {
let
rootNode
=
null
;
let
ajlbdmStr
=
null
;
let
ajlbdm
=
null
;
let
isXsAj
=
null
;
//如果存在根节点就创建
if
(
this
.
nodedata
)
{
nodePhoto
=
this
.
selectIcon
(
this
.
nodedata
.
type
,
false
);
...
...
@@ -185,7 +186,30 @@ export default {
zjhm
:
this
.
nodedata
.
name
,
});
if
(
photoData
?.
rows
?.
name
)
{
describe
=
photoData
?.
rows
?.
name
;
describe
=
photoData
?.
rows
?.
describe
;
}
}
//涉黑人员人案案人
if
(
this
.
photoXhrStr
&&
this
.
photoXhrStr
==
"/shceapi/ajQuery/getRootById"
)
{
photoData
=
await
this
.
callApi
(
this
.
photoXhrStr
,
{
id
:
this
.
nodedata
.
name
,
type
:
this
.
nodedata
.
type
,
});
console
.
log
(
photoData
);
if
(
photoData
?.
rows
?.
name
)
{
describe
=
photoData
?.
rows
?.
describe
;
}
if
(
photoData
?.
rows
?.
ajlbdmStr
)
{
ajlbdmStr
=
photoData
?.
rows
?.
ajlbdmStr
;
}
if
(
photoData
?.
rows
?.
ajlbdm
)
{
ajlbdm
=
photoData
?.
rows
?.
ajlbdm
;
}
if
(
photoData
?.
rows
?.
isXsAj
)
{
isXsAj
=
photoData
?.
rows
?.
isXsAj
;
}
}
//涉黑人选线索对比
...
...
@@ -217,6 +241,7 @@ export default {
nodePhoto
:
nodePhoto
,
ajlbdmStr
:
this
.
filterDescribe
(
ajlbdmStr
),
ajlbdm
:
this
.
filterDescribe
(
ajlbdm
),
isXsAj
:
isXsAj
,
},
this
.
nodedata
),
...
...
@@ -224,7 +249,18 @@ export default {
this
.
nodeArr
.
push
(
rootNode
);
}
//动态调用接口初始化数据
this
.
callApi
(
this
.
childrenXhrStr
,
this
.
params
)
let
obj
=
{};
if
(
isXsAj
)
{
obj
=
{
...
this
.
params
,
isXsAj
,
};
}
else
{
obj
=
{
...
this
.
params
,
};
}
this
.
callApi
(
this
.
childrenXhrStr
,
obj
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
//初始化子节点
...
...
@@ -296,11 +332,14 @@ export default {
* @return {*}
*/
setNodeData
(
selfObj
,
nodeObj
)
{
debugger
;
let
obj
=
{
...
selfObj
,
};
for
(
let
key
in
nodeObj
)
{
obj
[
key
]
=
nodeObj
[
key
];
if
(
obj
[
key
]
==
""
||
obj
[
key
]
!==
0
||
!
obj
[
key
])
{
obj
[
key
]
=
nodeObj
[
key
];
}
}
return
obj
;
},
...
...
@@ -448,6 +487,12 @@ export default {
if
(
node
.
id
==
this
.
nodedata
.
name
)
{
str
=
this
.
childrenXhrStr
;
obj
=
this
.
params
;
if
(
node
.
data
.
isXsAj
)
{
obj
=
{
...
this
.
params
,
isXsAj
:
node
.
data
.
isXsAj
,
};
}
}
this
.
callApi
(
str
,
obj
).
then
((
res
)
=>
{
//获取所有的节点对象
...
...
src/views/naotu/index.vue
View file @
477d3668
<!--
* @Author: your name
* @Date: 2021-06-28 10:37:15
* @LastEditTime: 2021-0
7-01 14:32:17
* @LastEditTime: 2021-0
8-04 19:02:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\naotu\index.vue
...
...
@@ -28,229 +28,162 @@ export default {
nodes
:
[
{
id
:
"a"
,
text
:
"
时空轨迹刻画顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
"
,
text
:
"
脑图
"
,
},
{
id
:
"b"
,
text
:
"
cca顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶都的顶顶
"
,
text
:
"
可疑人员
"
,
data
:
{
icon
:
[
{
type
:
"
car
"
,
type
:
"
person
"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
},
{
id
:
"b1"
,
text
:
"
a顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶水水水水水水水水水水顶
"
,
id
:
"b
-
1"
,
text
:
"
背景信息
"
,
data
:
{
icon
:
[
{
type
:
"
car
"
,
type
:
"
person
"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
},
{
id
:
"b1-1"
,
text
:
"a顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶"
,
id
:
"b-1-1"
,
text
:
"本省涉案"
,
data
:
{},
},
{
id
:
"b-2"
,
text
:
"虚拟身份信息"
,
data
:
{
icon
:
[
{
type
:
"
car
"
,
type
:
"
person
"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
},
{
id
:
"b
1-2
"
,
text
:
"
a顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
"
,
id
:
"b
-2-1
"
,
text
:
"
qq
"
,
data
:
{
icon
:
[
{
type
:
"
car
"
,
type
:
"
qq
"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
},
{
id
:
"b
1-3
"
,
text
:
"
a顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
"
,
id
:
"b
-2-2
"
,
text
:
"
imei
"
,
data
:
{
icon
:
[
{
type
:
"
car
"
,
type
:
"
imei
"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
},
{
id
:
"b1
-4
"
,
text
:
"
a顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
"
,
id
:
"b1"
,
text
:
"
车辆信息
"
,
data
:
{
icon
:
[
{
type
:
"car"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
},
{
id
:
"b1-
5
"
,
text
:
"
a顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
"
,
id
:
"b1-
1
"
,
text
:
"
车牌号
"
,
data
:
{
icon
:
[
{
type
:
"car"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
},
{
id
:
"b1-
6
"
,
text
:
"
a顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶水水水水水水水水
"
,
id
:
"b1-
2
"
,
text
:
"
车辆档案信息
"
,
data
:
{
icon
:
[
{
type
:
"car"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
},
{
id
:
"b2"
,
text
:
"b2顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶"
,
},
{
id
:
"b2-1"
,
text
:
"b2-1"
},
{
id
:
"b2-2"
,
text
:
"b2-2顶顶顶顶顶汪汪汪汪汪顶顶顶顶顶顶顶顶顶服务嗡嗡嗡嗡嗡嗡嗡嗡嗡"
,
},
{
id
:
"c"
,
text
:
"c-动态数据展开/关闭顶顶顶顶顶顶顶顶的是"
,
data
:
{
icon
:
[
{
type
:
"car"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
text
:
"标识号信息"
,
data
:
{},
},
{
id
:
"c1"
,
text
:
"c1-动态获取子节点"
,
data
:
{
icon
:
[
{
type
:
"car"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
id
:
"c-1"
,
text
:
"档案信息"
,
data
:
{},
},
{
id
:
"c2"
,
text
:
"c2-动态获取子节点"
,
id
:
"c-2"
,
text
:
"虚实身份信息"
,
data
:
{},
},
{
id
:
"c3"
,
text
:
"c3-动态获取子节点顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶"
,
data
:
{
icon
:
[
{
type
:
"car"
,
value
:
"晋D10138"
,
},
{
type
:
"phone"
,
value
:
"13333333333"
,
},
],
},
id
:
"c-3"
,
text
:
"手机信息"
,
data
:
{},
},
{
id
:
"c32"
,
text
:
"c3-动态获取子节点顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶"
,
id
:
"c-3-1"
,
text
:
"手机号码"
,
data
:
{},
},
{
id
:
"c33"
,
text
:
"c3-动态获取子节点顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶"
,
id
:
"c-3-2"
,
text
:
"通话记录"
,
data
:
{},
},
{
id
:
"c34"
,
text
:
"c3-动态获取子节点顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶"
,
id
:
"c-3-2-1"
,
text
:
"联系人"
,
data
:
{},
},
],
links
:
[
{
from
:
"a"
,
to
:
"b"
},
{
from
:
"a"
,
to
:
"b1"
},
{
from
:
"a"
,
to
:
"c"
},
{
from
:
"b"
,
to
:
"b-1"
},
{
from
:
"b"
,
to
:
"b-2"
},
{
from
:
"b1"
,
to
:
"b1-1"
},
{
from
:
"b1"
,
to
:
"b1-2"
},
{
from
:
"b1"
,
to
:
"b1-3"
},
{
from
:
"b1"
,
to
:
"b1-4"
},
{
from
:
"b1"
,
to
:
"b1-5"
},
{
from
:
"b1"
,
to
:
"b1-6"
},
{
from
:
"b"
,
to
:
"b2"
},
{
from
:
"b2"
,
to
:
"b2-1"
},
{
from
:
"b2"
,
to
:
"b2-2"
},
{
from
:
"b2-2"
,
to
:
"c32"
},
{
from
:
"c32"
,
to
:
"c33"
},
{
from
:
"c33"
,
to
:
"c34"
},
{
from
:
"a"
,
to
:
"c"
},
{
from
:
"c"
,
to
:
"c1"
},
{
from
:
"c"
,
to
:
"c2"
},
{
from
:
"c"
,
to
:
"c3"
},
{
from
:
"b-1"
,
to
:
"b-1-1"
},
{
from
:
"b-2"
,
to
:
"b-2-1"
},
{
from
:
"b-2"
,
to
:
"b-2-2"
},
{
from
:
"c"
,
to
:
"c-1"
},
{
from
:
"c"
,
to
:
"c-2"
},
{
from
:
"c"
,
to
:
"c-3"
},
{
from
:
"c-3"
,
to
:
"c-3-1"
},
{
from
:
"c-3"
,
to
:
"c-3-2"
},
{
from
:
"c-3-2"
,
to
:
"c-3-2-1"
},
],
};
},
2000
);
...
...
src/views/shceksh/shargxfx.vue
View file @
477d3668
<!--
* @Author: your name
* @Date: 2021-07-20 14:38:05
* @LastEditTime: 2021-08-04 1
1:39:30
* @LastEditTime: 2021-08-04 1
9:10:57
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\yppt\argxfx.vue
...
...
@@ -9,8 +9,8 @@
<
template
>
<div>
<SearchGraph
childrenXhrStr=
"/
api/ksh
/getAjRwGxXx"
photoXhrStr=
"/
api/ksh/getAsjXxByAasjbh
"
childrenXhrStr=
"/
shceapi/ajQuery
/getAjRwGxXx"
photoXhrStr=
"/
shceapi/ajQuery/getRootById
"
:nodeClickBoo=
"true"
placeholder=
"请输入案件编号"
:params=
"params"
...
...
@@ -36,11 +36,13 @@ export default {
objectValue
:
"formValue"
,
objectType
:
"lawcase"
,
parentId
:
0
,
isXsAj
:
true
},
unfoldParams
:
{
objectValue
:
"name"
,
objectType
:
"type"
,
parentId
:
"parentId"
,
isXsAj
:
'isXsAj'
},
highLightArr
:
[
"03080700"
,
...
...
src/views/shceksh/shragxfx.vue
View file @
477d3668
<!--
* @Author: your name
* @Date: 2021-07-20 14:38:05
* @LastEditTime: 2021-08-04 1
0:38:33
* @LastEditTime: 2021-08-04 1
9:28:59
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\yppt\argxfx.vue
...
...
@@ -9,10 +9,10 @@
<
template
>
<div>
<SearchGraph
childrenXhrStr=
"/
api/ksh
/getAjRwGxXx"
photoXhrStr=
"/
api/ksh/getRyJbXx
"
childrenXhrStr=
"/
shceapi/ajQuery
/getAjRwGxXx"
photoXhrStr=
"/
shceapi/ajQuery/getRootById
"
:nodeClickBoo=
"true"
placeholder=
"请输入
证件
号"
placeholder=
"请输入
案件编
号"
:params=
"params"
:nodedata=
"nodedata"
:unfoldParams=
"unfoldParams"
...
...
@@ -41,6 +41,7 @@ export default {
objectValue
:
"name"
,
objectType
:
"type"
,
parentId
:
"parentId"
,
isXsAj
:
"isXsAj"
,
},
highLightArr
:
[
"03080700"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment