Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
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
Administrator
dsk-cr20g
Commits
386a09a9
Commit
386a09a9
authored
Jun 09, 2023
by
caixingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
26282b9d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
23 deletions
+42
-23
index.js
dsk-operate-ui/src/router/index.js
+25
-8
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+13
-11
infoheader.vue
...rc/views/detail/party-a/overview/component/infoheader.vue
+2
-2
index.vue
dsk-operate-ui/src/views/detail/party-b/index.vue
+2
-2
No files found.
dsk-operate-ui/src/router/index.js
View file @
386a09a9
...
...
@@ -89,28 +89,45 @@ export const constantRoutes = [
]
},
{
path
:
'/
party
'
,
path
:
'/
enterprise
'
,
component
:
Layout
,
hidden
:
true
,
name
:
'
Party
'
,
name
:
'
Enterprise
'
,
redirect
:
'noredirect'
,
children
:
[
{
path
:
'
party-a
'
,
path
:
'
/enterprise/:id
'
,
component
:
()
=>
import
(
'@/views/detail/party-a/index'
),
name
:
'PartyA'
,
meta
:
{
title
:
'甲方详情'
},
}
]
},
{
path
:
'party-b'
,
path
:
'/company'
,
component
:
Layout
,
hidden
:
true
,
name
:
'Company'
,
redirect
:
'noredirect'
,
children
:
[
{
path
:
'/company/:id'
,
component
:
()
=>
import
(
'@/views/detail/party-b/index'
),
name
:
'PartyB'
,
meta
:
{
title
:
'已方详情'
}
}
]
},
{
path
:
'structure'
,
path
:
'/structure'
,
component
:
Layout
,
hidden
:
true
,
redirect
:
'noredirect'
,
children
:
[
{
path
:
'graph'
,
component
:
()
=>
import
(
'@/views/detail/structure/index'
),
name
:
'
Structure
'
,
name
:
'
Graph
'
,
meta
:
{
title
:
'企业链图'
}
}
]
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
386a09a9
...
...
@@ -142,7 +142,7 @@ export default {
data
()
{
return
{
companyInfo
:
{},
companyId
:
'
565476563130566e69
'
,
//企业Id(测试默认3068)
companyId
:
''
,
//企业Id(测试默认3068)
customerId
:
''
,
//企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
currentPath
:
{
pathName
:
'overview'
//默认展示页
...
...
@@ -151,11 +151,9 @@ export default {
}
},
created
()
{
if
(
this
.
$route
.
query
.
companyI
d
)
{
// 获取companyId
let
companyId
=
this
.
$route
.
query
.
companyI
d
if
(
this
.
$route
.
params
.
i
d
)
{
// 获取companyId
let
companyId
=
this
.
$route
.
params
.
i
d
this
.
getCompanyId
(
companyId
)
}
else
{
//测试
this
.
getCompanyId
(
this
.
companyId
)
}
if
(
this
.
$route
.
query
.
path
)
{
// 获取跳转对应板块
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
...
...
@@ -165,12 +163,6 @@ export default {
}
},
mounted
()
{
const
_this
=
this
,
erd
=
elementResizeDetectorMaker
(),
partBox
=
document
.
getElementById
(
"partBox"
)
erd
.
listenTo
(
partBox
,
element
=>
{
_this
.
$nextTick
(()
=>
{
_this
.
partBoxHeight
=
partBox
.
offsetHeight
})
})
},
methods
:
{
showPartPage
(
e
){
...
...
@@ -181,6 +173,9 @@ export default {
let
{
data
}
=
await
idRemark
({
mark
:
companyId
})
if
(
data
){
this
.
companyId
=
data
this
.
$nextTick
(()
=>
{
this
.
listenSider
()
})
this
.
handleQuery
()
}
},
...
...
@@ -189,6 +184,12 @@ export default {
if
(
res
.
code
==
200
){
this
.
companyInfo
=
res
.
data
}
},
listenSider
(){
const
_this
=
this
,
erd
=
elementResizeDetectorMaker
(),
partBox
=
document
.
getElementById
(
"partBox"
)
erd
.
listenTo
(
partBox
,
element
=>
{
_this
.
partBoxHeight
=
partBox
.
offsetHeight
})
}
}
}
...
...
@@ -208,5 +209,6 @@ export default {
.part-right
{
min-width
:
1088px
;
width
:
100%
;
background
:
#FFFFFF
;
}
</
style
>
dsk-operate-ui/src/views/detail/party-a/overview/component/infoheader.vue
View file @
386a09a9
...
...
@@ -143,7 +143,7 @@ export default {
graphList
:
[
{
id
:
1
,
name
:
'业务往来'
,
intro
:[{
id
:
101
,
name
:
'客户'
,
val
:
0
,
category
:
'global'
,
field
:
'customer'
},{
id
:
102
,
name
:
'供应商'
,
val
:
0
,
category
:
'global'
,
field
:
'supplier'
}],
ico
:
require
(
'@/assets/images/detail/overview/company_ywwl.png'
)},
{
id
:
2
,
name
:
'商机线索'
,
intro
:[{
id
:
201
,
name
:
'专项债项目'
,
val
:
0
,
category
:
'xxx'
,
field
:
'yy'
},{
id
:
202
,
name
:
'招标计划'
,
val
:
0
,
category
:
'xxx'
,
field
:
'zz'
}],
ico
:
require
(
'@/assets/images/detail/overview/company_sjxs.png'
)},
{
id
:
3
,
name
:
'城投拿地'
,
intro
:[{
id
:
301
,
name
:
'土地交易'
,
val
:
10
,
category
:
'global'
,
field
:
'landInfo'
},{
id
:
302
,
name
:
'行政许可'
,
val
:
2
0
,
category
:
'business'
,
field
:
'adminLicensing'
}],
ico
:
require
(
'@/assets/images/detail/overview/company_ctnd.png'
)},
{
id
:
3
,
name
:
'城投拿地'
,
intro
:[{
id
:
301
,
name
:
'土地交易'
,
val
:
0
,
category
:
'global'
,
field
:
'landInfo'
},{
id
:
302
,
name
:
'行政许可'
,
val
:
0
,
category
:
'business'
,
field
:
'adminLicensing'
}],
ico
:
require
(
'@/assets/images/detail/overview/company_ctnd.png'
)},
{
id
:
4
,
name
:
'对外投资'
,
intro
:[{
id
:
401
,
name
:
'企业经营实力展现'
}],
ico
:
require
(
'@/assets/images/detail/overview/company_dwtz.png'
)},
{
id
:
5
,
name
:
'股权穿透'
,
intro
:[{
id
:
501
,
name
:
'瞬息掌握企业关系'
}],
ico
:
require
(
'@/assets/images/detail/overview/company_gqct.png'
)},
{
id
:
6
,
name
:
'企业架构'
,
intro
:[{
id
:
601
,
name
:
'企业架构关联图'
}],
ico
:
require
(
'@/assets/images/detail/overview/company_qyjg.png'
)},
...
...
@@ -225,7 +225,7 @@ export default {
this
.
showState
=
!
this
.
showState
},
jumpToLt
(
item
){
this
.
$router
.
push
({
path
:
'/
party/structure
'
,
query
:
{
eid
:
this
.
companyInfo
.
eid
,
typeId
:
item
.
id
}
})
this
.
$router
.
push
({
path
:
'/
structure/graph
'
,
query
:
{
eid
:
this
.
companyInfo
.
eid
,
typeId
:
item
.
id
}
})
},
//swiper项点击
handleGraph
(
item
,
it
){
...
...
dsk-operate-ui/src/views/detail/party-b/index.vue
View file @
386a09a9
...
...
@@ -19,9 +19,9 @@ export default {
}
},
created
()
{
if
(
this
.
$route
.
query
.
companyI
d
)
{
// 获取companyId
if
(
this
.
$route
.
params
.
i
d
)
{
// 获取companyId
this
.
loading
=
true
this
.
src
=
`https://pre-plug.jiansheku.com/enterprise/
${
this
.
$route
.
query
.
companyI
d
}
?secretId=
${
this
.
secretId
}
`
this
.
src
=
`https://pre-plug.jiansheku.com/enterprise/
${
this
.
$route
.
params
.
i
d
}
?secretId=
${
this
.
secretId
}
`
}
},
mounted
()
{
...
...
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