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
51367db1
Commit
51367db1
authored
Sep 14, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zuhuduan' of
http://192.168.60.201/root/dsk-operate-sys
into zuhuduan
parents
c8f0a627
61e34698
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
128 additions
and
86 deletions
+128
-86
BusinessInfoServiceImpl.java
...ava/com/dsk/biz/service/impl/BusinessInfoServiceImpl.java
+3
-1
groupAccount.js
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
+3
-3
Sidebar.vue
...te-ui/src/views/detail/groupAccount/component/Sidebar.vue
+23
-25
index.vue
dsk-operate-ui/src/views/detail/groupAccount/index.vue
+8
-11
index.vue
dsk-operate-ui/src/views/index.vue
+80
-36
index.vue
dsk-operate-ui/src/views/project/overview/index.vue
+11
-10
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/biz/service/impl/BusinessInfoServiceImpl.java
View file @
51367db1
...
@@ -12,8 +12,10 @@ import com.dsk.biz.domain.bo.BusinessListDto;
...
@@ -12,8 +12,10 @@ import com.dsk.biz.domain.bo.BusinessListDto;
import
com.dsk.biz.domain.bo.CustomerBusinessSearchDto
;
import
com.dsk.biz.domain.bo.CustomerBusinessSearchDto
;
import
com.dsk.biz.domain.vo.*
;
import
com.dsk.biz.domain.vo.*
;
import
com.dsk.biz.utils.ExcelUtils
;
import
com.dsk.biz.utils.ExcelUtils
;
import
com.dsk.biz.utils.OldFileUtils
;
import
com.dsk.common.annotation.DataColumn
;
import
com.dsk.common.annotation.DataColumn
;
import
com.dsk.common.annotation.DataPermission
;
import
com.dsk.common.annotation.DataPermission
;
import
com.dsk.common.utils.file.FileUploadUtils
;
import
com.dsk.jsk.service.EnterpriseService
;
import
com.dsk.jsk.service.EnterpriseService
;
import
com.dsk.biz.mapper.BusinessInfoMapper
;
import
com.dsk.biz.mapper.BusinessInfoMapper
;
import
com.dsk.biz.mapper.BusinessLabelMapper
;
import
com.dsk.biz.mapper.BusinessLabelMapper
;
...
@@ -131,7 +133,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
...
@@ -131,7 +133,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
businessBrowseVo
.
setFollowRecordCount
(
total
.
getFollowRecordCount
());
businessBrowseVo
.
setFollowRecordCount
(
total
.
getFollowRecordCount
());
businessBrowseVo
.
setRelateCompanyCount
(
total
.
getRelateCompanyCount
());
businessBrowseVo
.
setRelateCompanyCount
(
total
.
getRelateCompanyCount
());
//资料文档统计
//资料文档统计
// businessBrowseVo.setFileCount(FileUtils.getAllFileNames(ShuZhiHuaConfig.getProfile
() + businessId).size());
businessBrowseVo
.
setFileCount
(
OldFileUtils
.
getAllFileNames
(
FileUploadUtils
.
getDefaultBaseDir
()
+
businessId
).
size
());
return
businessBrowseVo
;
return
businessBrowseVo
;
}
}
...
...
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
View file @
51367db1
import
request
from
"@/utils/request"
;
import
request
from
"@/utils/request"
;
//
企业
数据统计
//
集团
数据统计
export
function
statistic
(
data
)
{
export
function
infoMemberCount
(
data
)
{
return
request
({
return
request
({
url
:
'/
enterprise/statistic
'
,
url
:
'/
combine/info/memberCount
'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/Sidebar.vue
View file @
51367db1
...
@@ -94,31 +94,29 @@ export default {
...
@@ -94,31 +94,29 @@ export default {
this
.
sideRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
defaultRoute
))
this
.
sideRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
defaultRoute
))
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
for
(
var
i
in
arr
){
for
(
var
i
in
arr
){
for
(
var
j
in
arr
[
i
]){
switch
(
i
)
{
// switch (j) {
case
'member'
:
// case 'ownershipStructure':
if
(
arr
[
i
]
<
1
){
// if(arr[i][j]
<
1
){
this
.
sideRoute
[
0
].
disabled
=
true
;
// this.sideRoute[0].disabled = true;
}
// }
break
;
// break;
case
'qualification'
:
// case 'qualification':
if
(
arr
[
i
]
<
1
){
// if(arr[i][j]
<
1
){
this
.
sideRoute
[
1
].
disabled
=
true
;
// this.sideRoute[1].disabled = true;
}
// }
break
;
// break;
case
'performance'
:
// case 'performance':
if
(
arr
[
i
]
<
1
){
// if(arr[i][j]
<
1
){
this
.
sideRoute
[
2
].
disabled
=
true
;
// this.sideRoute[2].disabled = true;
}
// }
break
;
// break;
case
'biddingAnnouncement'
:
// case 'biddingAnnouncement':
if
(
arr
[
i
]
<
1
){
// if(arr[i][j]
<
1
){
this
.
sideRoute
[
3
].
disabled
=
true
;
// this.sideRoute[3].disabled = true;
}
// }
break
;
// break;
default
:
// default:
break
;
// break;
// }
}
}
}
}
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
...
...
dsk-operate-ui/src/views/detail/groupAccount/index.vue
View file @
51367db1
<
template
>
<
template
>
<div
class=
"app-container group-container"
>
<div
class=
"app-container group-container"
>
<div
class=
"header-container"
ref=
"header"
>
<div
class=
"header-container"
>
<div
class=
"flex-box part-header"
>
<div
class=
"flex-box part-header"
>
<img
class=
"header-logo"
:src=
"require('@/assets/images/detail/company_logo.png')"
>
<img
class=
"header-logo"
:src=
"
details && details.logoUrl ||
require('@/assets/images/detail/company_logo.png')"
>
{{
name
||
'--'
}}
{{
name
||
'--'
}}
</div>
</div>
</div>
</div>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
import
Performance
from
"./component/performance"
import
Performance
from
"./component/performance"
import
Zhaobiao
from
"./component/zhaobiao"
import
Zhaobiao
from
"./component/zhaobiao"
import
{
infoHeader
}
from
'@/api/detail/party-a/index'
import
{
infoHeader
}
from
'@/api/detail/party-a/index'
import
{
combineMemberLogo
,
statistic
}
from
'@/api/detail/groupAccount/groupAccount'
import
{
combineMemberLogo
,
infoMemberCount
}
from
'@/api/detail/groupAccount/groupAccount'
import
elementResizeDetectorMaker
from
"element-resize-detector"
import
elementResizeDetectorMaker
from
"element-resize-detector"
export
default
{
export
default
{
name
:
'GroupAccount'
,
name
:
'GroupAccount'
,
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
isCompany
:
false
,
isCompany
:
false
,
isSkeleton
:
false
,
isSkeleton
:
false
,
name
:
''
,
name
:
''
,
details
:{},
}
}
},
},
created
()
{
created
()
{
...
@@ -56,9 +57,9 @@
...
@@ -56,9 +57,9 @@
this
.
customerId
=
this
.
$route
.
params
.
id
this
.
customerId
=
this
.
$route
.
params
.
id
}
}
combineMemberLogo
({
combineId
:
this
.
customerId
}).
then
(
res
=>
{
combineMemberLogo
({
combineId
:
this
.
customerId
}).
then
(
res
=>
{
console
.
log
(
res
.
data
)
this
.
details
=
res
.
data
;
})
})
statistic
({
companyId
:
this
.
$route
.
query
.
ci
d
}).
then
(
res
=>
{
infoMemberCount
({
combineId
:
this
.
customerI
d
}).
then
(
res
=>
{
console
.
log
(
res
.
data
)
console
.
log
(
res
.
data
)
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
statisticObj
=
res
.
data
this
.
statisticObj
=
res
.
data
...
@@ -67,13 +68,9 @@
...
@@ -67,13 +68,9 @@
// if (this.$route.query.path) { // 获取跳转对应板块
// if (this.$route.query.path) { // 获取跳转对应板块
// this.currentPath.pathName = this.$route.query.path
// this.currentPath.pathName = this.$route.query.path
// }
// }
// this.$route.query.name=''
this
.
name
=
this
.
$route
.
query
.
name
?
this
.
$route
.
query
.
name
:
this
.
details
.
companyName
this
.
name
=
this
.
$route
.
query
.
name
?
this
.
$route
.
query
.
name
:
'中建集团'
},
mounted
(){
// this.mainWidth=this.$refs.header.offsetWidth;
// this.width=this.$refs.contentData.offsetWidth -160;
},
},
mounted
(){},
methods
:
{
methods
:
{
showPartPage
(
e
){
showPartPage
(
e
){
this
.
currentPath
=
e
this
.
currentPath
=
e
...
...
dsk-operate-ui/src/views/index.vue
View file @
51367db1
...
@@ -5,41 +5,9 @@
...
@@ -5,41 +5,9 @@
<el-row>
<el-row>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<div
class=
"task-wrap"
>
<div
class=
"task-wrap"
>
<div
class=
"item"
>
<div
class=
"item"
v-for=
"item in routerLink"
@
click=
"handleUrl(item)"
>
<router-link
to=
"/project/overview"
tag=
"a"
>
<img
class=
"icon-img"
:src=
"`$
{item.imgUrl}`"/>
<img
class=
"icon-img"
src=
"@/assets/images/index/icon1.png"
/>
<p
class=
"text"
>
{{
item
.
name
}}
</p>
<p
class=
"text"
>
项目管理
</p>
</router-link>
</div>
<div
class=
"item"
>
<router-link
to=
"/custom/overview"
tag=
"a"
>
<img
class=
"icon-img"
src=
"@/assets/images/index/icon2.png"
/>
<p
class=
"text"
>
客户管理
</p>
</router-link>
</div>
<div
class=
"item"
>
<router-link
to=
"/macro/nationalEconomies"
tag=
"a"
>
<img
class=
"icon-img"
src=
"@/assets/images/index/icon3.png"
/>
<p
class=
"text"
>
全国经济大全
</p>
</router-link>
</div>
<div
class=
"item"
>
<router-link
to=
"/enterpriseData/Group"
tag=
"a"
>
<img
class=
"icon-img"
src=
"@/assets/images/index/icon4.png"
/>
<p
class=
"text"
>
集团户
</p>
</router-link>
</div>
<div
class=
"item"
>
<router-link
to=
"/enterpriseData/Owner"
tag=
"a"
>
<img
class=
"icon-img"
src=
"@/assets/images/index/icon5.png"
/>
<p
class=
"text"
>
查城投平台
</p>
</router-link>
</div>
<div
class=
"item"
>
<router-link
to=
"/radar"
tag=
"a"
>
<img
class=
"icon-img"
src=
"@/assets/images/index/icon6.png"
/>
<p
class=
"text"
>
商机雷达
</p>
</router-link>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
...
@@ -694,7 +662,16 @@ export default {
...
@@ -694,7 +662,16 @@ export default {
timePlaceholder
:
'中标日期'
,
timePlaceholder
:
'中标日期'
,
show_page
:
true
,
show_page
:
true
,
MaxPage
:
500
,
MaxPage
:
500
,
nickName
:
''
nickName
:
''
,
permissions
:[],
routerLink
:[
{
url
:
'/project/overview'
,
name
:
'项目管理'
,
imgUrl
:
require
(
'@/assets/images/index/icon1.png'
)},
{
url
:
'/custom/overview'
,
name
:
'客户管理'
,
imgUrl
:
require
(
'@/assets/images/index/icon2.png'
)},
{
url
:
'/macro/nationalEconomies'
,
name
:
'全国经济大全'
,
imgUrl
:
require
(
'@/assets/images/index/icon3.png'
)},
{
url
:
'/enterpriseData/Group'
,
name
:
'集团户'
,
imgUrl
:
require
(
'@/assets/images/index/icon4.png'
)},
{
url
:
'/enterpriseData/Owner'
,
name
:
'查城投平台'
,
imgUrl
:
require
(
'@/assets/images/index/icon5.png'
)},
{
url
:
'/radar'
,
name
:
'商机雷达'
,
imgUrl
:
require
(
'@/assets/images/index/icon6.png'
)},
]
};
};
},
},
created
()
{
created
()
{
...
@@ -718,6 +695,7 @@ export default {
...
@@ -718,6 +695,7 @@ export default {
getInfo
(){
getInfo
(){
getInfo
().
then
(
res
=>
{
getInfo
().
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
this
.
permissions
=
res
.
data
.
permissions
;
this
.
nickName
=
res
.
data
.
user
.
nickName
this
.
nickName
=
res
.
data
.
user
.
nickName
}).
catch
(
error
=>
{});
}).
catch
(
error
=>
{});
},
},
...
@@ -1405,6 +1383,72 @@ export default {
...
@@ -1405,6 +1383,72 @@ export default {
let
day
=
String
(
date
.
getDate
()).
padStart
(
2
,
0
)
let
day
=
String
(
date
.
getDate
()).
padStart
(
2
,
0
)
return
`
${
year
}
-
${
month
}
-
${
day
}
`
return
`
${
year
}
-
${
month
}
-
${
day
}
`
},
},
handleUrl
(
item
){
switch
(
item
.
name
)
{
case
'项目管理'
:
if
(
this
.
permissions
.
includes
(
'project:info'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
break
;
case
'客户管理'
:
if
(
this
.
permissions
.
includes
(
'customer:info'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
break
;
case
'全国经济大全'
:
if
(
this
.
permissions
.
includes
(
'nationalEconomies:query'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
break
;
case
'集团户'
:
if
(
this
.
permissions
.
includes
(
'group:query'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
break
;
case
'查城投平台'
:
if
(
this
.
permissions
.
includes
(
'owner:query'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
break
;
case
'商机雷达'
:
if
(
this
.
permissions
.
includes
(
'radar:query'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
break
;
default
:
break
;
}
}
}
}
};
};
</
script
>
</
script
>
...
...
dsk-operate-ui/src/views/project/overview/index.vue
View file @
51367db1
...
@@ -575,7 +575,7 @@ export default {
...
@@ -575,7 +575,7 @@ export default {
type
:
'shadow'
type
:
'shadow'
}
}
},
},
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
right
:
'4%'
,
right
:
'4%'
,
...
@@ -666,7 +666,7 @@ export default {
...
@@ -666,7 +666,7 @@ export default {
itemWidth
:
12
,
itemWidth
:
12
,
itemHeight
:
8
,
itemHeight
:
8
,
},
},
color
:[
'#0081FF'
,
'#FFB51B'
,
'#8DCF96'
,
'#FFDC6B'
,
'#FE9C77'
],
//修改配色
color
:[
'#0081FF'
,
'#FFB51B'
,
'#8DCF96'
,
'#FFDC6B'
,
'#FE9C77'
],
//修改配色
series
:
[
series
:
[
{
{
...
@@ -706,7 +706,7 @@ export default {
...
@@ -706,7 +706,7 @@ export default {
type
:
'shadow'
type
:
'shadow'
}
}
},
},
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
right
:
'4%'
,
right
:
'4%'
,
...
@@ -819,7 +819,7 @@ export default {
...
@@ -819,7 +819,7 @@ export default {
normal
:
{
normal
:
{
show
:
false
,
// 省份名称
show
:
false
,
// 省份名称
},
},
},
},
itemStyle
:
{
itemStyle
:
{
normal
:
{
// 未选中状态
normal
:
{
// 未选中状态
...
@@ -855,7 +855,7 @@ export default {
...
@@ -855,7 +855,7 @@ export default {
itemWidth
:
12
,
itemWidth
:
12
,
itemHeight
:
8
,
itemHeight
:
8
,
},
},
color
:[
'#0081FF'
,
'#FFB51B'
,
'#8DCF96'
,
'#FFDC6B'
,
'#FE9C77'
],
//修改配色
color
:[
'#0081FF'
,
'#FFB51B'
,
'#8DCF96'
,
'#FFDC6B'
,
'#FE9C77'
],
//修改配色
series
:
[
series
:
[
{
{
...
@@ -1030,6 +1030,7 @@ export default {
...
@@ -1030,6 +1030,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.chart-top
{
.chart-top
{
margin-bottom
:
12px
;
.left
{
.left
{
float
:
left
;
float
:
left
;
height
:
122px
;
height
:
122px
;
...
@@ -1039,7 +1040,7 @@ export default {
...
@@ -1039,7 +1040,7 @@ export default {
height
:
124px
;
height
:
124px
;
padding
:
16px
;
padding
:
16px
;
}
}
}
}
.right
{
.right
{
float
:
right
;
float
:
right
;
...
@@ -1068,7 +1069,7 @@ export default {
...
@@ -1068,7 +1069,7 @@ export default {
.el-icon-search
{
.el-icon-search
{
color
:
#0081FF
;
color
:
#0081FF
;
}
}
}
}
}
}
.top-icons
{
.top-icons
{
width
:
33%
;
width
:
33%
;
...
@@ -1249,7 +1250,7 @@ export default {
...
@@ -1249,7 +1250,7 @@ export default {
}
}
}
}
}
}
}
}
.item_title
{
.item_title
{
height
:
56px
;
height
:
56px
;
...
@@ -1261,7 +1262,7 @@ export default {
...
@@ -1261,7 +1262,7 @@ export default {
.scroll_box
{
.scroll_box
{
overflow-y
:scroll
;
overflow-y
:scroll
;
max-height
:
509px
;
max-height
:
509px
;
.item_wrap
{
.item_wrap
{
height
:
102px
;
height
:
102px
;
border-bottom
:
1px
solid
#EFEFEF
;
border-bottom
:
1px
solid
#EFEFEF
;
...
@@ -1370,7 +1371,7 @@ export default {
...
@@ -1370,7 +1371,7 @@ export default {
background
:
url("../../../assets/images/project/add.png")
no-repeat
center
center
;
background
:
url("../../../assets/images/project/add.png")
no-repeat
center
center
;
display
:
inline-block
;
display
:
inline-block
;
margin
:
10px
8px
0
114px
;
margin
:
10px
8px
0
114px
;
}
}
// &:hover{
// &:hover{
// background: #0081FF;
// background: #0081FF;
...
...
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