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
5b7e1a75
Commit
5b7e1a75
authored
Jun 09, 2023
by
dengguangman
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
6140f2e2
e32430d6
Changes
12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
161 additions
and
366 deletions
+161
-366
EnterpriseController.java
...java/com/dsk/web/controller/dsk/EnterpriseController.java
+6
-0
EnterpriseBondCreditRatingBody.java
...mon/core/domain/model/EnterpriseBondCreditRatingBody.java
+22
-0
company_logo.png
dsk-operate-ui/src/assets/images/detail/company_logo.png
+0
-0
common.js
dsk-operate-ui/src/assets/js/common.js
+11
-1
index.js
dsk-operate-ui/src/router/index.js
+25
-8
Header.vue
dsk-operate-ui/src/views/detail/party-a/component/Header.vue
+4
-13
Sidebar.vue
...operate-ui/src/views/detail/party-a/component/Sidebar.vue
+2
-1
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+19
-15
infoheader.vue
...rc/views/detail/party-a/overview/component/infoheader.vue
+63
-324
overview.vue
...operate-ui/src/views/detail/party-a/overview/overview.vue
+2
-2
index.vue
dsk-operate-ui/src/views/detail/party-b/index.vue
+2
-2
EnterpriseService.java
...ain/java/com/dsk/system/dskService/EnterpriseService.java
+5
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/dsk/EnterpriseController.java
View file @
5b7e1a75
...
@@ -123,4 +123,10 @@ public class EnterpriseController {
...
@@ -123,4 +123,10 @@ public class EnterpriseController {
return
enterpriseService
.
remark
(
vo
);
return
enterpriseService
.
remark
(
vo
);
}
}
@ApiOperation
(
value
=
"企业主体信用评级"
)
@PostMapping
(
value
=
"bondCreditRating"
)
public
R
remark
(
@RequestBody
@Valid
EnterpriseBondCreditRatingBody
vo
)
throws
Exception
{
return
enterpriseService
.
bondCreditRating
(
vo
);
}
}
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseBondCreditRatingBody.java
0 → 100644
View file @
5b7e1a75
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseBondCreditRatingBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-operate-ui/src/assets/images/detail/company_logo.png
0 → 100644
View file @
5b7e1a75
13.6 KB
dsk-operate-ui/src/assets/js/common.js
View file @
5b7e1a75
...
@@ -40,6 +40,16 @@ function changeStr(str, index, changeStr) {
...
@@ -40,6 +40,16 @@ function changeStr(str, index, changeStr) {
return
str
.
substr
(
0
,
index
)
+
changeStr
+
str
.
substr
(
index
+
changeStr
.
length
)
return
str
.
substr
(
0
,
index
)
+
changeStr
+
str
.
substr
(
index
+
changeStr
.
length
)
}
}
//甲方详情子页面互跳
function
changePath
(
that
,
pathName
){
try
{
that
.
$parent
.
showPartPage
({
pathName
})
}
catch
{
that
.
$parent
.
$parent
.
showPartPage
({
pathName
})
}
}
export
{
export
{
encodeStr
encodeStr
,
changePath
}
}
dsk-operate-ui/src/router/index.js
View file @
5b7e1a75
...
@@ -89,28 +89,45 @@ export const constantRoutes = [
...
@@ -89,28 +89,45 @@ export const constantRoutes = [
]
]
},
},
{
{
path
:
'/
party
'
,
path
:
'/
enterprise
'
,
component
:
Layout
,
component
:
Layout
,
hidden
:
true
,
hidden
:
true
,
name
:
'
Party
'
,
name
:
'
Enterprise
'
,
redirect
:
'noredirect'
,
redirect
:
'noredirect'
,
children
:
[
children
:
[
{
{
path
:
'
party-a
'
,
path
:
'
/enterprise/:id
'
,
component
:
()
=>
import
(
'@/views/detail/party-a/index'
),
component
:
()
=>
import
(
'@/views/detail/party-a/index'
),
name
:
'PartyA'
,
name
:
'PartyA'
,
meta
:
{
title
:
'甲方详情'
},
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'
),
component
:
()
=>
import
(
'@/views/detail/party-b/index'
),
name
:
'PartyB'
,
name
:
'PartyB'
,
meta
:
{
title
:
'已方详情'
}
meta
:
{
title
:
'已方详情'
}
}
]
},
},
{
{
path
:
'structure'
,
path
:
'/structure'
,
component
:
Layout
,
hidden
:
true
,
redirect
:
'noredirect'
,
children
:
[
{
path
:
'graph'
,
component
:
()
=>
import
(
'@/views/detail/structure/index'
),
component
:
()
=>
import
(
'@/views/detail/structure/index'
),
name
:
'
Structure
'
,
name
:
'
Graph
'
,
meta
:
{
title
:
'企业链图'
}
meta
:
{
title
:
'企业链图'
}
}
}
]
]
...
...
dsk-operate-ui/src/views/detail/party-a/component/Header.vue
View file @
5b7e1a75
...
@@ -4,36 +4,27 @@
...
@@ -4,36 +4,27 @@
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb-item
:to=
"
{ path: '/enterpriseData' }">企业数据
</el-breadcrumb-item>
<el-breadcrumb-item
:to=
"
{ path: '/enterpriseData' }">企业数据
</el-breadcrumb-item>
<el-breadcrumb-item
:to=
"
{ path: '/enterpriseData?tag=1' }">查企业
</el-breadcrumb-item>
<el-breadcrumb-item
:to=
"
{ path: '/enterpriseData?tag=1' }">查企业
</el-breadcrumb-item>
<el-breadcrumb-item>
中铁一建
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
companyInfo
.
simpleName
||
companyInfo
.
companyName
||
'--'
}}
</el-breadcrumb-item>
</el-breadcrumb>
</el-breadcrumb>
</div>
</div>
<div
class=
"flex-box part-header"
>
<div
class=
"flex-box part-header"
>
<img
class=
"header-logo"
src=
"@/assets/images/avatar.png
"
>
<img
class=
"header-logo"
:src=
"companyInfo.logoUrl || require('@/assets/images/detail/company_logo.png')
"
>
中交第二航务工程局有限公司
{{
companyInfo
.
companyName
||
'--'
}}
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
infoHeader
}
from
'@/api/detail/party-a/index'
export
default
{
export
default
{
name
:
'Header'
,
name
:
'Header'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
,
'companyInfo'
],
data
()
{
data
()
{
return
{
return
{
enterprise
:
{}
}
}
},
},
created
()
{
created
()
{
this
.
getInfoHeader
()
},
},
methods
:
{
methods
:
{
async
getInfoHeader
(){
let
{
data
}
=
await
infoHeader
({
companyId
:
this
.
companyId
})
if
(
data
.
code
==
200
){
this
.
enterprise
=
data
.
data
}
}
}
}
}
}
</
script
>
</
script
>
...
...
dsk-operate-ui/src/views/detail/party-a/component/Sidebar.vue
View file @
5b7e1a75
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
</el-input>
</el-input>
<el-menu
<el-menu
:default-active=
"routeIndex"
:default-active=
"routeIndex"
:unique-opened=
"true"
class=
"detail-menu"
class=
"detail-menu"
@
open=
"handleOpen"
>
@
open=
"handleOpen"
>
<template
v-for=
"(item, index) in sideRoute"
>
<template
v-for=
"(item, index) in sideRoute"
>
...
@@ -119,7 +120,7 @@ export default {
...
@@ -119,7 +120,7 @@ export default {
break
break
}
else
if
(
sideArr
[
i
].
children
){
}
else
if
(
sideArr
[
i
].
children
){
for
(
let
j
=
0
;
j
<
sideArr
[
i
].
children
.
length
;
j
++
){
for
(
let
j
=
0
;
j
<
sideArr
[
i
].
children
.
length
;
j
++
){
if
(
sideArr
[
i
].
children
.
pathName
==
this
.
pathName
){
if
(
sideArr
[
i
].
children
[
j
]
.
pathName
==
this
.
pathName
){
idx
=
i
+
'-'
+
j
idx
=
i
+
'-'
+
j
break
break
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
5b7e1a75
<
template
>
<
template
>
<div
class=
"app-container part-container"
>
<div
class=
"app-container part-container"
>
<Header
:company-id=
"companyId"
v-if=
"companyId"
/>
<Header
:company-id=
"companyId"
:companyInfo=
"companyInfo"
v-if=
"companyId"
/>
<div
class=
"flex-box part-main"
>
<div
class=
"flex-box part-main"
>
<div
class=
"part-left"
>
<div
class=
"part-left"
>
<side-bar
@
currentPath=
"showPartPage"
:pathName=
"currentPath.pathName"
:partBoxHeight=
"partBoxHeight"
:customerId=
"customerId"
/>
<side-bar
@
currentPath=
"showPartPage"
:pathName=
"currentPath.pathName"
:partBoxHeight=
"partBoxHeight"
:customerId=
"customerId"
/>
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"part-right"
>
<div
class=
"part-right"
>
<div
id=
"partBox"
v-if=
"companyId"
>
<div
id=
"partBox"
v-if=
"companyId"
>
<!-- 企业概览 -->
<!-- 企业概览 -->
<Overview
v-if=
"currentPath.pathName=='overview'"
:company-id=
"companyId"
/>
<Overview
v-if=
"currentPath.pathName=='overview'"
:company-id=
"companyId"
:companyInfo=
"companyInfo"
/>
<Businfo
v-if=
"currentPath.pathName=='businfo'"
:company-id=
"companyId"
/>
<Businfo
v-if=
"currentPath.pathName=='businfo'"
:company-id=
"companyId"
/>
<Holderinfo
v-if=
"currentPath.pathName=='holderinfo'"
:company-id=
"companyId"
/>
<Holderinfo
v-if=
"currentPath.pathName=='holderinfo'"
:company-id=
"companyId"
/>
<Execuinfo
v-if=
"currentPath.pathName=='execuinfo'"
:company-id=
"companyId"
/>
<Execuinfo
v-if=
"currentPath.pathName=='execuinfo'"
:company-id=
"companyId"
/>
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
companyInfo
:
{},
companyInfo
:
{},
companyId
:
10361319
,
//企业Id(测试默认3068)
companyId
:
''
,
//企业Id(测试默认3068)
customerId
:
''
,
//企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
customerId
:
''
,
//企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
currentPath
:
{
currentPath
:
{
pathName
:
'overview'
//默认展示页
pathName
:
'overview'
//默认展示页
...
@@ -151,9 +151,9 @@ export default {
...
@@ -151,9 +151,9 @@ export default {
}
}
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
companyI
d
)
{
// 获取companyId
if
(
this
.
$route
.
params
.
i
d
)
{
// 获取companyId
let
id
=
this
.
$route
.
query
.
companyI
d
let
companyId
=
this
.
$route
.
params
.
i
d
this
.
getCompanyId
(
i
d
)
this
.
getCompanyId
(
companyI
d
)
}
}
if
(
this
.
$route
.
query
.
path
)
{
// 获取跳转对应板块
if
(
this
.
$route
.
query
.
path
)
{
// 获取跳转对应板块
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
...
@@ -163,12 +163,6 @@ export default {
...
@@ -163,12 +163,6 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
const
_this
=
this
,
erd
=
elementResizeDetectorMaker
(),
partBox
=
document
.
getElementById
(
"partBox"
)
erd
.
listenTo
(
partBox
,
element
=>
{
_this
.
$nextTick
(()
=>
{
_this
.
partBoxHeight
=
partBox
.
offsetHeight
})
})
},
},
methods
:
{
methods
:
{
showPartPage
(
e
){
showPartPage
(
e
){
...
@@ -176,9 +170,12 @@ export default {
...
@@ -176,9 +170,12 @@ export default {
},
},
// 解密
// 解密
async
getCompanyId
(
companyId
){
async
getCompanyId
(
companyId
){
let
{
data
}
=
await
idRemark
({
companyId
})
let
{
data
}
=
await
idRemark
({
mark
:
companyId
})
if
(
data
.
code
==
200
){
if
(
data
){
this
.
companyId
=
data
.
data
this
.
companyId
=
data
this
.
$nextTick
(()
=>
{
this
.
listenSider
()
})
this
.
handleQuery
()
this
.
handleQuery
()
}
}
},
},
...
@@ -187,6 +184,12 @@ export default {
...
@@ -187,6 +184,12 @@ export default {
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
companyInfo
=
res
.
data
this
.
companyInfo
=
res
.
data
}
}
},
listenSider
(){
const
_this
=
this
,
erd
=
elementResizeDetectorMaker
(),
partBox
=
document
.
getElementById
(
"partBox"
)
erd
.
listenTo
(
partBox
,
element
=>
{
_this
.
partBoxHeight
=
partBox
.
offsetHeight
})
}
}
}
}
}
}
...
@@ -206,5 +209,6 @@ export default {
...
@@ -206,5 +209,6 @@ export default {
.part-right
{
.part-right
{
min-width
:
1088px
;
min-width
:
1088px
;
width
:
100%
;
width
:
100%
;
background
:
#FFFFFF
;
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/detail/party-a/overview/component/infoheader.vue
View file @
5b7e1a75
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/detail/party-a/overview/overview.vue
View file @
5b7e1a75
<
template
>
<
template
>
<div
class=
"app-container part-container"
>
<div
class=
"app-container part-container"
>
<div
class=
"view-content"
><Infoheader
/></div>
<!-- 企业信息 -->
<div
class=
"view-content"
><Infoheader
:companyId=
"companyId"
:companyInfo=
"companyInfo"
/></div>
<!-- 企业信息 -->
<div
class=
"view-content"
><Operations
/></div>
<!-- 公司经营 -->
<div
class=
"view-content"
><Operations
/></div>
<!-- 公司经营 -->
<div
class=
"view-content"
><Bidding
/></div>
<!--招标偏好、业务往来-->
<div
class=
"view-content"
><Bidding
/></div>
<!--招标偏好、业务往来-->
<div
class=
"view-content"
><Busclue
/></div>
<!--商机线索-->
<div
class=
"view-content"
><Busclue
/></div>
<!--商机线索-->
...
@@ -22,7 +22,7 @@ import Risk from './component/risk'
...
@@ -22,7 +22,7 @@ import Risk from './component/risk'
import
Tender
from
"./component/tender"
import
Tender
from
"./component/tender"
export
default
{
export
default
{
name
:
'Overview'
,
name
:
'Overview'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
,
'companyInfo'
],
components
:
{
components
:
{
Infoheader
,
Infoheader
,
Operations
,
Operations
,
...
...
dsk-operate-ui/src/views/detail/party-b/index.vue
View file @
5b7e1a75
...
@@ -19,9 +19,9 @@ export default {
...
@@ -19,9 +19,9 @@ export default {
}
}
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
companyI
d
)
{
// 获取companyId
if
(
this
.
$route
.
params
.
i
d
)
{
// 获取companyId
this
.
loading
=
true
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
()
{
mounted
()
{
...
...
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseService.java
View file @
5b7e1a75
...
@@ -193,4 +193,9 @@ public class EnterpriseService {
...
@@ -193,4 +193,9 @@ public class EnterpriseService {
public
R
remark
(
EnterpriseRemarkBody
vo
)
throws
Exception
{
public
R
remark
(
EnterpriseRemarkBody
vo
)
throws
Exception
{
return
R
.
ok
(
EncodeIdUtil
.
avDecode
(
EncodeIdUtil
.
binaryToUnicode
(
vo
.
mark
)));
return
R
.
ok
(
EncodeIdUtil
.
avDecode
(
EncodeIdUtil
.
binaryToUnicode
(
vo
.
mark
)));
}
}
public
R
bondCreditRating
(
EnterpriseBondCreditRatingBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/bondCreditRating"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
}
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