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
Show 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;
import
com.dsk.biz.domain.bo.CustomerBusinessSearchDto
;
import
com.dsk.biz.domain.vo.*
;
import
com.dsk.biz.utils.ExcelUtils
;
import
com.dsk.biz.utils.OldFileUtils
;
import
com.dsk.common.annotation.DataColumn
;
import
com.dsk.common.annotation.DataPermission
;
import
com.dsk.common.utils.file.FileUploadUtils
;
import
com.dsk.jsk.service.EnterpriseService
;
import
com.dsk.biz.mapper.BusinessInfoMapper
;
import
com.dsk.biz.mapper.BusinessLabelMapper
;
...
...
@@ -131,7 +133,7 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
businessBrowseVo
.
setFollowRecordCount
(
total
.
getFollowRecordCount
());
businessBrowseVo
.
setRelateCompanyCount
(
total
.
getRelateCompanyCount
());
//资料文档统计
// businessBrowseVo.setFileCount(FileUtils.getAllFileNames(ShuZhiHuaConfig.getProfile
() + businessId).size());
businessBrowseVo
.
setFileCount
(
OldFileUtils
.
getAllFileNames
(
FileUploadUtils
.
getDefaultBaseDir
()
+
businessId
).
size
());
return
businessBrowseVo
;
}
...
...
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
View file @
51367db1
import
request
from
"@/utils/request"
;
//
企业
数据统计
export
function
statistic
(
data
)
{
//
集团
数据统计
export
function
infoMemberCount
(
data
)
{
return
request
({
url
:
'/
enterprise/statistic
'
,
url
:
'/
combine/info/memberCount
'
,
method
:
'post'
,
data
:
data
})
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/Sidebar.vue
View file @
51367db1
...
...
@@ -94,31 +94,29 @@ export default {
this
.
sideRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
defaultRoute
))
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
for
(
var
i
in
arr
){
for
(
var
j
in
arr
[
i
]){
// switch (j) {
// case 'ownershipStructure':
// if(arr[i][j]
<
1
){
// this.sideRoute[0].disabled = true;
// }
// break;
// case 'qualification':
// if(arr[i][j]
<
1
){
// this.sideRoute[1].disabled = true;
// }
// break;
// case 'performance':
// if(arr[i][j]
<
1
){
// this.sideRoute[2].disabled = true;
// }
// break;
// case 'biddingAnnouncement':
// if(arr[i][j]
<
1
){
// this.sideRoute[3].disabled = true;
// }
// break;
// default:
// break;
// }
switch
(
i
)
{
case
'member'
:
if
(
arr
[
i
]
<
1
){
this
.
sideRoute
[
0
].
disabled
=
true
;
}
break
;
case
'qualification'
:
if
(
arr
[
i
]
<
1
){
this
.
sideRoute
[
1
].
disabled
=
true
;
}
break
;
case
'performance'
:
if
(
arr
[
i
]
<
1
){
this
.
sideRoute
[
2
].
disabled
=
true
;
}
break
;
case
'biddingAnnouncement'
:
if
(
arr
[
i
]
<
1
){
this
.
sideRoute
[
3
].
disabled
=
true
;
}
break
;
default
:
break
;
}
}
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
...
...
dsk-operate-ui/src/views/detail/groupAccount/index.vue
View file @
51367db1
<
template
>
<div
class=
"app-container group-container"
>
<div
class=
"header-container"
ref=
"header"
>
<div
class=
"header-container"
>
<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
||
'--'
}}
</div>
</div>
...
...
@@ -30,7 +30,7 @@
import
Performance
from
"./component/performance"
import
Zhaobiao
from
"./component/zhaobiao"
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"
export
default
{
name
:
'GroupAccount'
,
...
...
@@ -49,6 +49,7 @@
isCompany
:
false
,
isSkeleton
:
false
,
name
:
''
,
details
:{},
}
},
created
()
{
...
...
@@ -56,9 +57,9 @@
this
.
customerId
=
this
.
$route
.
params
.
id
}
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
)
if
(
res
.
code
==
200
){
this
.
statisticObj
=
res
.
data
...
...
@@ -67,13 +68,9 @@
// if (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
:
'中建集团'
},
mounted
(){
// this.mainWidth=this.$refs.header.offsetWidth;
// this.width=this.$refs.contentData.offsetWidth -160;
this
.
name
=
this
.
$route
.
query
.
name
?
this
.
$route
.
query
.
name
:
this
.
details
.
companyName
},
mounted
(){},
methods
:
{
showPartPage
(
e
){
this
.
currentPath
=
e
...
...
dsk-operate-ui/src/views/index.vue
View file @
51367db1
...
...
@@ -5,41 +5,9 @@
<el-row>
<el-col
:span=
"16"
>
<div
class=
"task-wrap"
>
<div
class=
"item"
>
<router-link
to=
"/project/overview"
tag=
"a"
>
<img
class=
"icon-img"
src=
"@/assets/images/index/icon1.png"
/>
<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
class=
"item"
v-for=
"item in routerLink"
@
click=
"handleUrl(item)"
>
<img
class=
"icon-img"
:src=
"`$
{item.imgUrl}`"/>
<p
class=
"text"
>
{{
item
.
name
}}
</p>
</div>
</div>
</el-col>
...
...
@@ -694,7 +662,16 @@ export default {
timePlaceholder
:
'中标日期'
,
show_page
:
true
,
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
()
{
...
...
@@ -718,6 +695,7 @@ export default {
getInfo
(){
getInfo
().
then
(
res
=>
{
console
.
log
(
res
)
this
.
permissions
=
res
.
data
.
permissions
;
this
.
nickName
=
res
.
data
.
user
.
nickName
}).
catch
(
error
=>
{});
},
...
...
@@ -1405,6 +1383,72 @@ export default {
let
day
=
String
(
date
.
getDate
()).
padStart
(
2
,
0
)
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
>
...
...
dsk-operate-ui/src/views/project/overview/index.vue
View file @
51367db1
...
...
@@ -1030,6 +1030,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.chart-top
{
margin-bottom
:
12px
;
.left
{
float
:
left
;
height
:
122px
;
...
...
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