Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
7f022bbc
Commit
7f022bbc
authored
Aug 17, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev20230707' of
http://192.168.60.201/root/dsk-operate-sys
into dev20230707
parents
e937668c
cd058062
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
25926 additions
and
421 deletions
+25926
-421
icon.png
dsk-operate-ui/src/assets/images/icon.png
+0
-0
dataRegion1.json
dsk-operate-ui/src/assets/json/dataRegion1.json
+25316
-0
CustomMoneySelect.vue
dsk-operate-ui/src/views/component/CustomMoneySelect.vue
+7
-1
skeleton.vue
dsk-operate-ui/src/views/component/skeleton.vue
+29
-0
members.vue
...te-ui/src/views/detail/groupAccount/component/members.vue
+57
-29
performance.vue
...i/src/views/detail/groupAccount/component/performance.vue
+20
-14
qualifications.vue
...rc/views/detail/groupAccount/component/qualifications.vue
+3
-4
qualificationsDetail.vue
...ws/detail/groupAccount/component/qualificationsDetail.vue
+13
-6
index.vue
dsk-operate-ui/src/views/detail/groupAccount/index.vue
+4
-5
CustomMoneySelect.vue
.../src/views/detail/party-a/component/CustomMoneySelect.vue
+1
-1
HeadForm.vue
...perate-ui/src/views/detail/party-a/component/HeadForm.vue
+8
-3
index.vue
dsk-operate-ui/src/views/index.vue
+85
-23
regionalEconomy.vue
...i/src/views/macro/economies/component/regionalEconomy.vue
+362
-318
index.vue
dsk-operate-ui/src/views/macro/enterprises/index.vue
+4
-2
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+0
-4
zhongbiao.vue
...src/views/macro/nationalEconomies/component/zhongbiao.vue
+2
-2
index.vue
dsk-operate-ui/src/views/macro/urban/index.vue
+5
-7
EnterpriseService.java
...ain/java/com/dsk/system/dskService/EnterpriseService.java
+6
-0
BusinessInfoServiceImpl.java
.../com/dsk/system/service/impl/BusinessInfoServiceImpl.java
+4
-2
No files found.
dsk-operate-ui/src/assets/images/icon.png
0 → 100644
View file @
7f022bbc
2.21 KB
dsk-operate-ui/src/assets/json/dataRegion1.json
0 → 100644
View file @
7f022bbc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dsk-operate-ui/src/views/component/CustomMoneySelect.vue
View file @
7f022bbc
...
...
@@ -148,6 +148,12 @@ export default {
case
'10亿以上'
:
moneyStr
=
[
100000
]
break
;
case
'5亿以上'
:
moneyStr
=
[
50000
]
break
;
case
'2亿以上'
:
moneyStr
=
[
20000
]
break
;
case
'一亿以上'
:
moneyStr
=
[
10000
]
break
;
...
...
@@ -249,7 +255,7 @@ export default {
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
border-radius
:
2
px
;
border-radius
:
4
px
;
}
}
}
...
...
dsk-operate-ui/src/views/component/skeleton.vue
0 → 100644
View file @
7f022bbc
<
template
>
<el-skeleton
animated
>
<template
slot=
"template"
>
<el-skeleton-item
variant=
"text"
style=
"width: 60%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 60%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
</
template
>
</el-skeleton>
</template>
<
script
>
export
default
{
name
:
'skeleton'
}
</
script
>
<
style
lang=
"scss"
scoped
>
.el-skeleton__item
{
height
:
20px
;
border-radius
:
0
;
margin
:
9px
0
;
background
:
#f0f0f0
;
}
</
style
>
dsk-operate-ui/src/views/detail/groupAccount/component/members.vue
View file @
7f022bbc
...
...
@@ -48,7 +48,6 @@
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
v-if=
"!isSkeleton"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
...
...
@@ -62,6 +61,9 @@
<router-link
:to=
"scope.row.uipId?`/enterprise/$
{encodeStr(scope.row.companyId)}`:`/company/${encodeStr(scope.row.companyId)}`" tag="a" class="a-link" v-if="scope.row.companyId
&&
scope.row.companyName" v-html="scope.row.companyName">
</router-link>
<div
v-else
v-html=
"scope.row.companyName || '--'"
></div>
</
template
>
<
template
slot=
"stockPercent"
slot-scope=
"scope"
>
<div>
{{
scope
.
row
.
stockPercent
||
'--'
}}{{
scope
.
row
.
stockPercent
?
'%'
:
''
}}
</div>
</
template
>
</tables>
</div>
</template>
...
...
@@ -73,7 +75,7 @@
import
mixin
from
'../../party-a/mixins/mixin'
export
default
{
name
:
'members'
,
props
:
[
'c
ompany
Id'
],
props
:
[
'c
ustomer
Id'
],
mixins
:
[
mixin
],
data
(){
return
{
...
...
@@ -82,7 +84,7 @@
isDetails
:
false
,
defaultSort
:
{
prop
:
'time'
,
order
:
'descending'
},
queryParams
:
{
combineId
:
'81de7ca2a967d91c2afad9cb5fc30e6d'
,
combineId
:
this
.
customerId
,
pageNum
:
1
,
pageSize
:
20
,
companyTypes
:[],
...
...
@@ -93,7 +95,7 @@
{
label
:
'成员层级'
,
prop
:
'combineMemberLevel'
,
minWidth
:
'100'
},
{
label
:
'法定代表人'
,
prop
:
'corporatePerson'
,
minWidth
:
'100'
},
{
label
:
'注册资本'
,
prop
:
'regCapital'
,
minWidth
:
'150'
,
sortable
:
'custom'
,
descending
:
'3'
,
ascending
:
'4'
},
{
label
:
'持股比例
(%)'
,
prop
:
'stockPercent'
,
minWidth
:
'150'
,
sortable
:
'custom'
,
descending
:
'3'
,
ascending
:
'4'
},
{
label
:
'持股比例
'
,
prop
:
'stockPercent'
,
minWidth
:
'150'
,
slot
:
true
,
sortable
:
'custom'
,
descending
:
'3'
,
ascending
:
'4'
},
{
label
:
'成立日期'
,
prop
:
'registeredDate'
,
minWidth
:
'150'
},
{
label
:
'企业地区'
,
prop
:
'address'
,
minWidth
:
'150'
},
],
...
...
@@ -106,29 +108,29 @@
{
type
:
3
,
fieldName
:
'searchValue'
,
value
:
''
,
placeholder
:
'输入关键词查询'
},
],
cycj
:[
{
name
:
'子集团'
,
value
:
'子集团'
},
{
name
:
'集团本身'
,
value
:
'集团本身'
},
{
name
:
'一级公司'
,
value
:
'一级公司'
name
:
'一级企业'
,
value
:
'一级企业'
},
{
name
:
'二级企业'
,
value
:
'二级企业'
},
{
name
:
'
二级公司
'
,
value
:
'
二级公司
'
name
:
'
三级企业
'
,
value
:
'
三级企业
'
},
{
name
:
'
三级公司
'
,
value
:
'
三级公司
'
name
:
'
四级企业
'
,
value
:
'
四级企业
'
},
{
name
:
'其他
公司
'
,
value
:
'其他
公司
'
name
:
'其他
企业
'
,
value
:
'其他
企业
'
},
],
kjxqy
:[
...
...
@@ -202,17 +204,30 @@
memberCount
({
combineId
:
this
.
queryParams
.
combineId
}).
then
(
res
=>
{
let
data
=
res
.
data
let
list
=
[]
let
qtArr
=
[]
for
(
let
key
in
data
){
list
.
push
({
name
:
key
+
'('
+
data
[
key
]
+
')'
,
value
:
key
,
key
:
data
[
key
],
disabled
:
data
[
key
]
!=
0
?
false
:
true
})
if
(
key
===
'其他'
){
qtArr
.
push
({
name
:
key
+
'('
+
data
[
key
]
+
')'
,
value
:
key
,
key
:
data
[
key
],
disabled
:
data
[
key
]
!=
0
?
false
:
true
})
}
else
{
if
(
data
[
key
]
!=
0
){
list
.
push
({
name
:
key
+
'('
+
data
[
key
]
+
')'
,
value
:
key
,
key
:
data
[
key
],
disabled
:
data
[
key
]
!=
0
?
false
:
true
})
}
}
}
list
.
sort
(
function
(
a
,
b
)
{
return
b
.
key
-
a
.
key
;
});
list
=
list
.
concat
(
qtArr
)
// list.sort(function(a, b) {
// return b.key - a.key;
// });
this
.
formData
[
1
].
options
=
list
})
},
...
...
@@ -296,9 +311,12 @@
}
else
{
this
.
queryParams
[
name
]
=
[]
}
this
.
paramsData
.
companyType
=
this
.
queryParams
.
companyType
this
.
paramsData
.
companyTypes
=
this
.
queryParams
.
companyTypes
this
.
handleQuery
(
this
.
paramsData
);
if
(
this
.
paramsData
){
this
.
paramsData
.
companyType
=
this
.
queryParams
.
companyType
this
.
paramsData
.
companyTypes
=
this
.
queryParams
.
companyTypes
this
.
paramsData
.
pageNum
=
1
}
this
.
handleQuery
(
this
.
paramsData
?
this
.
paramsData
:
this
.
queryParams
);
},
handleChange
(
key
,
name
)
{
if
(
key
===
'1'
){
...
...
@@ -307,6 +325,10 @@
}
else
{
this
.
queryParams
.
companyType
=
name
}
if
(
this
.
paramsData
){
this
.
paramsData
.
companyType
=
this
.
queryParams
.
companyType
this
.
paramsData
.
pageNum
=
1
}
}
if
(
key
===
'2'
){
if
(
name
===
this
.
cgblName
){
...
...
@@ -335,12 +357,18 @@
this
.
queryParams
.
minStockPercent
=
''
this
.
queryParams
.
maxStockPercent
=
''
}
if
(
this
.
paramsData
){
this
.
paramsData
.
minStockPercent
=
this
.
queryParams
.
minStockPercent
this
.
paramsData
.
maxStockPercent
=
this
.
queryParams
.
maxStockPercent
this
.
paramsData
.
pageNum
=
1
}
}
this
.
handleQuery
();
this
.
handleQuery
(
this
.
paramsData
?
this
.
paramsData
:
this
.
queryParams
);
},
getAreaList
(
params
){
if
(
params
.
province
&&
params
.
province
.
length
>
0
){
let
arr
=
this
.
$children
[
0
].
$refs
.
cascader
[
0
].
getCheckedNodes
()
console
.
log
(
this
.
$children
[
0
].
$refs
.
cascader
)
let
provinceIds
=
[],
cityIds
=
[],
districtIds
=
[]
for
(
var
i
in
arr
)
{
if
(
arr
[
i
].
parent
)
{
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/performance.vue
View file @
7f022bbc
...
...
@@ -15,7 +15,6 @@
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
v-if=
"!isSkeleton"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
...
...
@@ -47,11 +46,11 @@
<
script
>
import
mixin
from
'../../party-a/mixins/mixin'
import
{
businessList
}
from
'@/api/detail/groupAccount/groupAccount'
import
dataRegion
from
'@/assets/json/dataRegion'
import
dataRegion
from
'@/assets/json/dataRegion
1
'
import
{
getDictType
}
from
'@/api/main'
export
default
{
name
:
'qualifications'
,
props
:
[
'c
ompany
Id'
],
props
:
[
'c
ustomer
Id'
],
mixins
:
[
mixin
],
components
:{},
data
(){
...
...
@@ -61,28 +60,28 @@
isDetails
:
false
,
defaultSort
:
{
prop
:
'time'
,
order
:
'descending'
},
queryParams
:
{
combineId
:
'81de7ca2a967d91c2afad9cb5fc30e6d'
,
combineId
:
this
.
customerId
,
pageNum
:
1
,
pageSize
:
20
},
forData
:
[
{
label
:
'中标时间'
,
prop
:
'bidTime'
,
slot
:
true
,
minWidth
:
'
10
0'
},
{
label
:
'中标成员'
,
prop
:
'companyName'
,
slot
:
true
,
minWidth
:
'1
5
0'
},
{
label
:
'持股比例(%)'
,
prop
:
'stockPercent'
,
minWidth
:
'
150
'
},
{
label
:
'项目名称'
,
prop
:
'projectName'
,
slot
:
true
,
minWidth
:
'2
0
0'
},
{
label
:
'中标金额(万元)'
,
prop
:
'bidAmount'
,
minWidth
:
'1
5
0'
},
{
label
:
'中标地区'
,
prop
:
'address'
,
minWidth
:
'
10
0'
},
{
label
:
'中标时间'
,
prop
:
'bidTime'
,
slot
:
true
,
minWidth
:
'
8
0'
},
{
label
:
'中标成员'
,
prop
:
'companyName'
,
slot
:
true
,
minWidth
:
'1
9
0'
},
{
label
:
'持股比例(%)'
,
prop
:
'stockPercent'
,
minWidth
:
'
95
'
},
{
label
:
'项目名称'
,
prop
:
'projectName'
,
slot
:
true
,
minWidth
:
'2
6
0'
},
{
label
:
'中标金额(万元)'
,
prop
:
'bidAmount'
,
minWidth
:
'1
1
0'
},
{
label
:
'中标地区'
,
prop
:
'address'
,
minWidth
:
'
8
0'
},
{
label
:
'业绩类型'
,
prop
:
'boundType'
,
minWidth
:
'100'
},
{
label
:
'项目类型'
,
prop
:
'projectType'
,
minWidth
:
'100'
},
{
label
:
'业主单位'
,
prop
:
'projectUnit'
,
slot
:
true
,
minWidth
:
'
20
0'
},
{
label
:
'业主单位'
,
prop
:
'projectUnit'
,
slot
:
true
,
minWidth
:
'
19
0'
},
],
formData
:
[
{
type
:
7
,
fieldName
:
'province'
,
value
:
''
,
props
:
{
multiple
:
true
,
value
:
'id'
,
expandTrigger
:
'hover'
},
placeholder
:
'项目地区'
,
options
:[]},
{
type
:
5
,
fieldName
:
'time'
,
value
:
''
,
placeholder
:
'中标时间'
,
startTime
:
'startBidTime'
,
endTime
:
'endBidTime'
,
timeList
:[]
},
{
type
:
6
,
fieldName
:
'money'
,
value
:
''
,
placeholder
:
'中标金额'
,
startMoney
:
'minAmount'
,
endMoney
:
'maxAmount'
,
moneyList
:[]
},
{
type
:
4
,
fieldName
:
'boundTypes'
,
value
:
''
,
placeholder
:
'业绩类型'
,
options
:
[]},
{
type
:
4
,
fieldName
:
'projectTypes'
,
value
:
''
,
placeholder
:
'项目类型'
,
options
:
[]},
{
type
:
1
,
fieldName
:
'cgbl'
,
value
:
''
,
placeholder
:
'持股比例'
,
options
:
[]},
{
type
:
4
,
fieldName
:
'boundTypes'
,
value
:
''
,
placeholder
:
'业绩类型'
,
options
:
[]
,
width
:
150
},
{
type
:
4
,
fieldName
:
'projectTypes'
,
value
:
''
,
placeholder
:
'项目类型'
,
options
:
[]
,
width
:
150
},
{
type
:
1
,
fieldName
:
'cgbl'
,
value
:
''
,
placeholder
:
'持股比例'
,
options
:
[]
,
width
:
100
},
{
type
:
3
,
fieldName
:
'searchValue'
,
value
:
''
,
placeholder
:
'搜索中标成员名称/项目名称'
},
],
tableData
:[],
...
...
@@ -211,6 +210,13 @@
}
}
}
for
(
var
i
=
0
;
i
<
str
.
length
;
i
++
)
{
if
(
str
[
i
].
children
.
length
)
{
}
else
{
delete
str
[
i
].
children
}
}
this
.
addressList
=
str
;
this
.
formData
[
0
].
options
=
str
;
},
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/qualifications.vue
View file @
7f022bbc
...
...
@@ -11,7 +11,6 @@
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
v-if=
"!isSkeleton"
:indexFixed=
"true"
:defaultSort=
"defaultSort"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
...
...
@@ -39,7 +38,7 @@
import
QualificationsDetail
from
'./qualificationsDetail'
export
default
{
name
:
'qualifications'
,
props
:
[
'c
ompanyId'
,
'companyInfo
'
],
props
:
[
'c
ustomerId'
,
'name
'
],
mixins
:
[
mixin
],
components
:{
QualificationsDetail
...
...
@@ -51,7 +50,7 @@
isDetails
:
false
,
defaultSort
:
{
prop
:
'time'
,
order
:
'descending'
},
queryParams
:
{
combineId
:
'54355f88a5b16d3e52f74931f5567853'
,
combineId
:
this
.
customerId
,
pageNum
:
1
,
pageSize
:
20
},
...
...
@@ -98,7 +97,7 @@
})
},
handleClick
(
e
,
data
)
{
this
.
title
=
this
.
companyInfo
.
companyName
+
data
.
qualificationName
+
'('
+
data
.
companyCount
+
'
)'
this
.
title
=
this
.
name
+
'-'
+
data
.
qualificationName
+
'(共'
+
data
.
companyCount
+
'条
)'
this
.
rowData
=
data
this
.
isDetails
=
true
},
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/qualificationsDetail.vue
View file @
7f022bbc
...
...
@@ -7,9 +7,12 @@
:with-header=
"false"
@
closed=
"cancel"
>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"head"
v-if=
"!isSkeleton"
>
<img
class=
"tip-img"
src=
"@/assets/images/icon.png"
/>
<span>
{{
title
}}
</span>
</div>
<tables
v-if=
"!isSkeleton"
:indexFixed=
"true"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:forData=
"forData"
...
...
@@ -64,7 +67,7 @@ export default {
}
},
created
()
{
this
.
drawer
=
true
this
.
drawer
=
true
;
this
.
handleQuery
()
},
methods
:
{
...
...
@@ -101,11 +104,15 @@ export default {
::v-deep
.client-drawer
{
background
:
#FFFFFF
;
}
.head
{
height
:
48px
;
line-height
:
48px
;
border-bottom
:
1px
solid
#E1E1E1
;
}
.tip-img
{
width
:
14px
;
height
:
14px
;
margin-right
:
4px
;
cursor
:
pointer
;
width
:
17px
;
height
:
17px
;
margin
:
0
8px
-2px
12px
;
}
}
</
style
>
dsk-operate-ui/src/views/detail/groupAccount/index.vue
View file @
7f022bbc
...
...
@@ -12,9 +12,9 @@
</div>
<div
class=
"group-right"
>
<div
id=
"groupBox"
v-if=
"customerId"
>
<Members
v-if=
"currentPath.pathName=='members'"
:c
ompany-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo
"
/>
<Qualifications
v-if=
"currentPath.pathName=='qualifications'"
:c
ompany-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
<Performance
v-if=
"currentPath.pathName=='performance'"
:c
ompany-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
<Members
v-if=
"currentPath.pathName=='members'"
:c
ustomer-id=
"customerId"
:isSkeleton=
"isSkeleton
"
/>
<Qualifications
v-if=
"currentPath.pathName=='qualifications'"
:c
ustomer-id=
"customerId"
:isSkeleton=
"isSkeleton"
:name=
"name"
/>
<Performance
v-if=
"currentPath.pathName=='performance'"
:c
ustomer-id=
"customerId"
:isSkeleton=
"isSkeleton"
/>
</div>
</div>
</div>
...
...
@@ -36,8 +36,7 @@
},
data
(){
return
{
companyId
:
'3068'
,
//企业Id(测试默认3068)
customerId
:
''
,
//企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
customerId
:
''
,
//集团Id(测试默认'81de7ca2a967d91c2afad9cb5fc30e6d')
companyInfo
:
{},
cooDetail
:
{},
currentPath
:
{
...
...
dsk-operate-ui/src/views/detail/party-a/component/CustomMoneySelect.vue
View file @
7f022bbc
...
...
@@ -249,7 +249,7 @@ export default {
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
border-radius
:
2
px
;
border-radius
:
4
px
;
}
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/component/HeadForm.vue
View file @
7f022bbc
...
...
@@ -48,7 +48,7 @@
multiple
collapse-tags
clearable
style=
"max-width: 170px
"
:style=
"form.width?'width:'+form.width+'px':'max-width: 170px'
"
:placeholder=
"form.placeholder"
@
change=
"changeSelect"
>
<el-option
v-for=
"(item, index) in form.options"
:key=
"index"
:label=
"item.name"
:value=
"item.value"
/>
...
...
@@ -182,6 +182,7 @@ export default {
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
border-radius
:
4px
;
}
::v-deep
.el-form-item
{
margin-right
:
8px
!
important
;
...
...
@@ -192,6 +193,7 @@ export default {
::v-deep
.el-cascader
{
height
:
34px
;
line-height
:
34px
;
width
:
190px
;
.el-input
{
input
{
height
:
34px
!
important
;
...
...
@@ -201,9 +203,12 @@ export default {
flex-wrap
:
inherit
;
margin-top
:
1px
;
.el-tag
{
max-width
:
1
2
0px
;
max-width
:
1
0
0px
;
}
}
.el-input__suffix
{
top
:
1px
;
}
}
.headForm-from
{
display
:
flex
;
...
...
@@ -277,7 +282,7 @@ export default {
.el-select__tags
{
.el-tag
{
&
:first-child
{
width
:
9
0px
;
width
:
7
0px
;
}
}
}
...
...
dsk-operate-ui/src/views/index.vue
View file @
7f022bbc
...
...
@@ -144,7 +144,8 @@
<div
class=
"content_wap3"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClickTab"
>
<el-tab-pane
label=
"大项目最新中标"
name=
"first"
>
<div
class=
"list"
>
<skeleton
v-if=
"zxzbIsSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"list"
v-if=
"!zxzbIsSkeleton"
>
<div
class=
"item"
v-for=
"(item,index) in projectList"
:key=
"index"
>
<p
class=
"list-title"
><router-link
:to=
"`/biddetail/$
{item.id}`" tag="a" class="a-link" v-if="item.id" v-html="item.projectName">
</router-link></p>
<div
class=
"list-content"
>
...
...
@@ -167,12 +168,13 @@
</div>
</div>
</div>
<div
class=
"pagination-box"
v-if=
"totalCount>queryParams2.pageSize"
>
<div
class=
"pagination-box"
v-if=
"totalCount>queryParams2.pageSize
&& !zxzbIsSkeleton
"
>
<el-pagination
background
:current-page=
"queryParams2.pageNum"
:page-size=
"queryParams2.pageSize"
:total=
"totalCount"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
</div>
</el-tab-pane>
<el-tab-pane
label=
"大项目最新招标"
name=
"second"
>
<div
class=
"list"
>
<skeleton
v-if=
"zhaobiaoIsSkeleton"
style=
"padding: 16px"
></skeleton>
<div
v-if=
"!zhaobiaoIsSkeleton"
class=
"list"
>
<div
class=
"item"
v-for=
"(item,index) in zbList"
:key=
"index"
>
<p
class=
"list-title"
><router-link
:to=
"`/biddetail/$
{item.bid}`" tag="a" class="a-link" v-if="item.bid" v-html="item.projectName">
</router-link></p>
<div
class=
"list-content"
>
...
...
@@ -191,11 +193,39 @@
</div>
</div>
</div>
<div
class=
"pagination-box"
v-if=
"zbTableTotal>queryParams
3.pageSize
"
>
<el-pagination
background
:current-page=
"queryParams
3.pageNum"
:page-size=
"queryParams3
.pageSize"
:total=
"zbTableTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
<div
class=
"pagination-box"
v-if=
"zbTableTotal>queryParams
2.pageSize && !zhaobiaoIsSkeleton
"
>
<el-pagination
background
:current-page=
"queryParams
2.pageNum"
:page-size=
"queryParams2
.pageSize"
:total=
"zbTableTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
</div>
</el-tab-pane>
</el-tabs>
<div
class=
"search"
>
<el-form
ref=
"queryForm"
:model=
"queryParams2"
:inline=
"true"
size=
"small"
>
<el-form-item
prop=
"amount"
>
<custom-money-select
:moneyList=
"moneyList"
v-model=
"amount"
placeholder=
"中标金额"
@
handle-search=
"changeSelect3"
/>
</el-form-item>
<el-form-item
prop=
"provinceId"
>
<el-select
v-model=
"queryParams2.provinceId"
placeholder=
"项目地区"
style=
"width: 150px;"
>
<el-option
v-for=
"(item,index) in addressList"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
prop=
"projects"
>
<el-select
v-model=
"queryParams2.projects"
multiple
collapse-tags
clearable
placeholder=
"项目类型"
:class=
"queryParams2.projects.length > 1 ? 'selectTag' : ''"
style=
"width: 170px;"
>
<el-option
v-for=
"(item,index) in typeList"
:key=
"index"
:label=
"item"
:value=
"item"
></el-option>
</el-select>
</el-form-item>
<el-form-item
prop=
"time"
>
<custom-time-select
:timeList=
"timeList"
v-model=
"queryParams2.time"
placeholder=
"中标日期"
@
handle-search=
"changeSelect"
/>
</el-form-item>
</el-form>
</div>
</div>
</div>
<!--员工视角-->
...
...
@@ -400,11 +430,12 @@
import
"@/assets/styles/public.css"
;
import
CustomTimeSelect
from
'./component/CustomTimeSelect'
import
CustomMoneySelect
from
'./component/CustomMoneySelect'
import
skeleton
from
'./component/skeleton'
import
{
bigWinningBidsPage
,
bigBidPage
}
from
'@/api/index'
export
default
{
name
:
"Index"
,
components
:
{
CustomTimeSelect
,
CustomMoneySelect
,
CustomTimeSelect
,
CustomMoneySelect
,
skeleton
},
data
()
{
return
{
...
...
@@ -649,23 +680,16 @@ export default {
pageNum
:
1
,
pageSize
:
10
},
queryParams3
:{
provinceId
:
''
,
projects
:[],
amount
:
''
,
time
:
''
,
pageNum
:
1
,
pageSize
:
10
},
amount
:
''
,
timeList
:
[
'近三天'
,
'近七天'
,
'近半月'
,
'自定义'
],
moneyList
:
[
'2亿以上'
,
'5亿以上'
,
'10亿以上'
,
'自定义'
],
projectList
:[],
zbList
:[],
totalCount
:
0
,
zbTableTotal
:
0
,
};
zxzbIsSkeleton
:
true
,
zhaobiaoIsSkeleton
:
true
,
};
},
created
()
{
this
.
dataRegion
()
...
...
@@ -679,9 +703,14 @@ export default {
},
methods
:
{
getBigWinningBidsPage
(){
let
params
=
{}
let
params
=
this
.
queryParams2
;
if
(
params
.
amount
){
}
this
.
zxzbIsSkeleton
=
true
bigWinningBidsPage
(
this
.
queryParams2
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
zxzbIsSkeleton
=
false
;
if
(
res
.
code
==
200
){
this
.
projectList
=
res
.
rows
;
this
.
totalCount
=
res
.
total
;
...
...
@@ -689,9 +718,10 @@ export default {
})
},
getBigBidPage
(){
let
params
=
{}
bigBidPage
(
this
.
queryParams3
).
then
(
res
=>
{
console
.
log
(
res
)
let
params
=
{};
this
.
zhaobiaoIsSkeleton
=
true
bigBidPage
(
this
.
queryParams2
).
then
(
res
=>
{
this
.
zhaobiaoIsSkeleton
=
false
if
(
res
.
code
==
200
){
this
.
zbList
=
res
.
rows
;
this
.
zbTableTotal
=
res
.
total
;
...
...
@@ -717,6 +747,7 @@ export default {
this
.
addressList
=
str
;
},
initChart
(
data
)
{
console
.
log
(
data
)
this
.
$nextTick
(()
=>
{
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"zbtj-echarts"
))
let
option
=
{
...
...
@@ -1010,6 +1041,7 @@ export default {
});
},
handleClickTab
(){
this
.
queryParams2
.
pageNum
=
1
;
if
(
this
.
activeName
===
'first'
){
this
.
getBigWinningBidsPage
()
}
...
...
@@ -1031,11 +1063,29 @@ export default {
console
.
log
(
"11111"
)
// this.$emit('handle-search')
},
changeSelect3
(){
console
.
log
(
this
.
amount
)
return
this
.
queryParams2
.
pageNum
=
1
if
(
this
.
activeName
===
'first'
){
this
.
getBigWinningBidsPage
()
}
if
(
this
.
activeName
===
'second'
){
this
.
getBigBidPage
()
}
},
handleCurrentChange
(){
},
handleSizeChange
(){
this
.
queryParams2
.
pageNum
=
1
this
.
queryParams2
.
pageSize
=
val
if
(
this
.
activeName
===
'first'
){
this
.
getBigWinningBidsPage
()
}
if
(
this
.
activeName
===
'second'
){
this
.
getBigBidPage
()
}
},
}
};
...
...
@@ -1152,6 +1202,7 @@ export default {
.el-input__inner
{
height
:
32px
;
line-height
:
32px
;
border-radius
:
4px
}
}
...
...
@@ -1266,6 +1317,7 @@ export default {
.content_wap3
{
margin-top
:
12px
;
background
:
#ffffff
;
position
:relative
;
::v-deep
.el-tabs
{
.el-tabs__header
{
margin-bottom
:
0
;
...
...
@@ -1290,6 +1342,16 @@ export default {
}
}
.search
{
position
:
absolute
;
right
:
8px
;
top
:
10px
;
::v-deep
.el-form
{
.el-form-item--small.el-form-item
{
margin-bottom
:
0
;
}
}
}
.list
{
margin
:
0
16px
;
.item
{
...
...
dsk-operate-ui/src/views/macro/economies/component/regionalEconomy.vue
View file @
7f022bbc
<
template
>
<div
class=
"regionalEconomy"
>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
v-if=
"!isSkeleton"
>
<div
v-if=
"
state &&
!isSkeleton"
>
<div
class=
"content content1"
>
<div
class=
"common-title"
>
经济数据
</div>
<div
class=
"content-box"
>
...
...
@@ -101,7 +101,11 @@
</div>
</div>
</div>
<div
class=
"empty"
v-if=
"!state && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div>
</div>
</div>
</
template
>
...
...
@@ -288,7 +292,8 @@ export default {
valData4
:[],
recentlyYear
:{},
nextYearMap
:{},
isSkeleton
:
true
isSkeleton
:
true
,
state
:
true
,
}
},
created
()
{
...
...
@@ -342,336 +347,353 @@ export default {
}
regional
(
params
).
then
(
res
=>
{
this
.
isSkeleton
=
false
this
.
recentlyYear
=
res
.
data
[
0
].
recentlyYear
;
this
.
nextYearMap
=
res
.
data
[
0
].
nextYearMap
;
this
.
valData
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
gdp
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
gdp
)]
this
.
valData1
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
gdpGrowth
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
gdpGrowth
)]
this
.
valData2
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
population
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
population
)]
this
.
valData3
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
gbr
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
gbr
)]
this
.
valData4
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
govDebtBalance
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
govDebtBalance
)]
this
.
$nextTick
(()
=>
{
this
.
initChart
()
this
.
initChart1
()
this
.
initChart2
()
this
.
initChart3
()
this
.
initChart4
()
})
if
(
res
.
data
[
0
].
recentlyYear
){
this
.
state
=
true
;
this
.
recentlyYear
=
res
.
data
[
0
].
recentlyYear
;
this
.
nextYearMap
=
res
.
data
[
0
].
nextYearMap
;
this
.
valData
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
gdp
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
gdp
)]
this
.
valData1
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
gdpGrowth
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
gdpGrowth
)]
this
.
valData2
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
population
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
population
)]
this
.
valData3
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
gbr
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
gbr
)]
this
.
valData4
=
[
this
.
getMoneyNum
(
this
.
nextYearMap
.
govDebtBalance
),
this
.
getMoneyNum
(
this
.
recentlyYear
.
govDebtBalance
)]
this
.
$nextTick
(()
=>
{
this
.
initChart
()
this
.
initChart1
()
this
.
initChart2
()
this
.
initChart3
()
this
.
initChart4
()
})
}
else
{
this
.
recentlyYear
=
{};
this
.
nextYearMap
=
{};
this
.
state
=
false
;
}
})
regionalList
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
;
})
},
initChart
()
{
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"echartsGDP"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
// right:15,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData
[
1
]
?
true
:
false
,
position
:
'top'
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#4E8EFF"
,
},
itemStyle
:{
color
:
"#4E8EFF"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
this
.
$nextTick
(()
=>
{
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"echartsGDP"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
// right:15,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData
[
1
]
?
true
:
false
,
position
:
'top'
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#4E8EFF"
,
},
itemStyle
:{
color
:
"#4E8EFF"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#DFEAFF"
,
},
{
offset
:
1
,
color
:
"#5895FF"
,
},
]),
},
}
]
}
myChart
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChart
.
resize
();
//图表跟随页面大小变化宽度
});
},
{
offset
:
1
,
color
:
"#5895FF"
,
},
]),
},
}
]
}
myChart
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChart
.
resize
();
//图表跟随页面大小变化宽度
});
})
},
initChart1
(){
let
myChartZS
=
echarts
.
init
(
document
.
getElementById
(
"echartsZS"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData1
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData1
[
1
]
?
true
:
false
,
position
:
'top'
},
itemStyle
:{
color
:
"#718AFF"
,
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#718AFF"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#E3E8FF"
,
},
{
offset
:
1
,
color
:
"#5B76FD"
,
},
]),
},
}
]
}
myChartZS
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChartZS
.
resize
();
//图表跟随页面大小变化宽度
});
this
.
$nextTick
(()
=>
{
let
myChartZS
=
echarts
.
init
(
document
.
getElementById
(
"echartsZS"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData1
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData1
[
1
]
?
true
:
false
,
position
:
'top'
},
itemStyle
:{
color
:
"#718AFF"
,
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#718AFF"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#E3E8FF"
,
},
{
offset
:
1
,
color
:
"#5B76FD"
,
},
]),
},
}
]
}
myChartZS
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChartZS
.
resize
();
//图表跟随页面大小变化宽度
});
})
},
initChart2
(){
let
myChartRK
=
echarts
.
init
(
document
.
getElementById
(
"echartsRK"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData2
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData2
[
1
]
?
true
:
false
,
position
:
'top'
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#3AD0D1"
,
},
itemStyle
:{
color
:
"#3AD0D1"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#D3F3F3"
,
},
{
offset
:
1
,
color
:
"#60D1D1"
,
},
]),
},
}
]
}
myChartRK
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChartRK
.
resize
();
//图表跟随页面大小变化宽度
});
this
.
$nextTick
(()
=>
{
let
myChartRK
=
echarts
.
init
(
document
.
getElementById
(
"echartsRK"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData2
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData2
[
1
]
?
true
:
false
,
position
:
'top'
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#3AD0D1"
,
},
itemStyle
:{
color
:
"#3AD0D1"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#D3F3F3"
,
},
{
offset
:
1
,
color
:
"#60D1D1"
,
},
]),
},
}
]
}
myChartRK
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChartRK
.
resize
();
//图表跟随页面大小变化宽度
});
})
},
initChart3
(){
let
myChartSR
=
echarts
.
init
(
document
.
getElementById
(
"echartsSR"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData3
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData3
[
1
]
?
true
:
false
,
position
:
'top'
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#FFAE35"
,
},
itemStyle
:{
color
:
"#FFBE5D"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#FFE9C6"
,
},
{
offset
:
1
,
color
:
"#FFB535"
,
},
]),
},
}
]
}
myChartSR
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChartSR
.
resize
();
//图表跟随页面大小变化宽度
});
this
.
$nextTick
(()
=>
{
let
myChartSR
=
echarts
.
init
(
document
.
getElementById
(
"echartsSR"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData3
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData3
[
1
]
?
true
:
false
,
position
:
'top'
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#FFAE35"
,
},
itemStyle
:{
color
:
"#FFBE5D"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#FFE9C6"
,
},
{
offset
:
1
,
color
:
"#FFB535"
,
},
]),
},
}
]
}
myChartSR
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChartSR
.
resize
();
//图表跟随页面大小变化宽度
});
})
},
initChart4
(){
let
myChartYE
=
echarts
.
init
(
document
.
getElementById
(
"echartsYE"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
// left:5,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData4
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData4
[
1
]
?
true
:
false
,
position
:
'top'
,
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#FF8935"
,
},
itemStyle
:{
color
:
"#FF8935"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#FEE5D2"
,
},
{
offset
:
1
,
color
:
"#FF8935"
,
},
]),
},
}
]
}
myChartYE
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChartYE
.
resize
();
//图表跟随页面大小变化宽度
});
this
.
$nextTick
(()
=>
{
let
myChartYE
=
echarts
.
init
(
document
.
getElementById
(
"echartsYE"
))
let
option
=
{
tooltip
:
{
show
:
false
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
data
:
this
.
labelData
,
show
:
false
,
},
yAxis
:
{
type
:
'value'
,
show
:
false
,
},
grid
:
{
top
:
20
,
// left:5,
bottom
:
5
,
},
series
:
[
{
data
:
this
.
valData4
,
type
:
'line'
,
smooth
:
true
,
emphasis
:
{
disabled
:
true
,
focus
:
'none'
},
label
:
{
show
:
this
.
valData4
[
1
]
?
true
:
false
,
position
:
'top'
,
},
//设置折线颜色和粗细
lineStyle
:
{
width
:
1
,
color
:
"#FF8935"
,
},
itemStyle
:{
color
:
"#FF8935"
,
},
//设置面积区域为渐变效果
areaStyle
:
{
color
:
echarts
.
graphic
.
LinearGradient
(
0
,
1
,
0
,
0
,
[
{
offset
:
0.2
,
color
:
"#FEE5D2"
,
},
{
offset
:
1
,
color
:
"#FF8935"
,
},
]),
},
}
]
}
myChartYE
.
setOption
(
option
);
window
.
addEventListener
(
"resize"
,
function
()
{
myChartYE
.
resize
();
//图表跟随页面大小变化宽度
});
})
},
formatStatus
:
function
(
row
,
column
,
cellValue
)
{
if
(
row
.
title
===
'经济'
||
row
.
title
===
'财政'
||
row
.
title
===
'债务'
){
...
...
@@ -885,5 +907,27 @@ export default {
}
}
}
.empty
{
margin
:
0
auto
;
height
:
600px
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
.img
{
width
:
108px
;
height
:
108px
;
margin-bottom
:
24px
;
margin-top
:
150px
;
}
.p1
{
color
:
#333333
;
font-size
:
16px
;
}
.p2
{
color
:
#999999
;
font-size
:
14px
;
margin-top
:
8px
;
}
}
}
</
style
>
dsk-operate-ui/src/views/macro/enterprises/index.vue
View file @
7f022bbc
...
...
@@ -28,7 +28,7 @@
<div
class=
"table-item"
>
<el-table
:data=
"tableData"
element-loading-text=
"
Loading"
v-loading=
"table
Loading"
border
fit
max-height=
"640"
...
...
@@ -168,7 +168,8 @@ export default {
this
.
aptitudeCodeList
=
aptitudeCode
},
async
querySubmit
(){
this
.
isSkeleton
=
true
;
// this.isSkeleton = true;
this
.
tableLoading
=
true
;
const
params
=
{
pageNum
:
this
.
pageIndex
,
pageSize
:
this
.
pageSize
}
if
(
this
.
queryParams
.
field
){
params
.
field
=
this
.
queryParams
.
field
...
...
@@ -196,6 +197,7 @@ export default {
}
enterprise
(
params
).
then
(
res
=>
{
this
.
isSkeleton
=
false
this
.
tableLoading
=
false
if
(
res
.
code
===
200
){
this
.
tableData
=
res
.
data
.
list
;
this
.
tableDataTotal
=
res
.
data
.
total
;
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
7f022bbc
...
...
@@ -368,10 +368,6 @@
.table-item
{
/*position: relative;*/
.empty
{
/*position: absolute;*/
/*top: 50%;*/
/*left: 50%;*/
/*transform: translate(-50%,-50%);*/
margin
:
0
auto
;
height
:
600px
;
text-align
:
center
;
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/zhongbiao.vue
View file @
7f022bbc
...
...
@@ -74,8 +74,8 @@
<el-table-column
prop=
"province"
label=
"地区"
:formatter=
"formatStatus"
width=
"100"
/>
<el-table-column
prop=
"count"
label=
"中标数量 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"130"
/>
<el-table-column
prop=
"countRate"
label=
"数量占比(%)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"150"
/>
<el-table-column
prop=
"sumMoney"
label=
"中标总金额 (万元)"
align=
"right"
:formatter=
"formatStatus"
width=
"14
0"
/>
<el-table-column
prop=
"moneyRate"
label=
"金额占比(%)"
align=
"right"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"sumMoney"
label=
"中标总金额 (万元)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"17
0"
/>
<el-table-column
prop=
"moneyRate"
label=
"金额占比(%)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"145"
/>
</el-table>
</div>
</div>
...
...
dsk-operate-ui/src/views/macro/urban/index.vue
View file @
7f022bbc
...
...
@@ -144,7 +144,6 @@
<span
class=
"flex-box"
@
click=
"handleMessage"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
</div>
</div>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"table-item"
>
<div
v-if=
"tableDataTotal > 0 && !isSkeleton"
>
<el-table
...
...
@@ -237,6 +236,7 @@
<!--<el-table-column prop="bl" label="开发区类别" width="160" />-->
</el-table>
</div>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
...
...
@@ -366,9 +366,6 @@ export default {
this
.
dataRegion
()
this
.
getType
()
this
.
dataQuery
=
this
.
$route
.
params
;
// console.log(this.dataQuery)
// console.log(this.$route.query)
// console.log(this.$route.params)
if
(
this
.
dataQuery
.
provinceId
){
if
(
Array
.
isArray
(
this
.
dataQuery
.
province
)){
this
.
province
=
this
.
dataQuery
.
province
[
0
];
...
...
@@ -459,8 +456,8 @@ export default {
},
// 查询提交
async
querySubmit
()
{
//
this.tableLoading = true;
this
.
isSkeleton
=
true
this
.
tableLoading
=
true
;
//
this.isSkeleton = true
const
params
=
{
pageNum
:
this
.
pageIndex
,
pageSize
:
this
.
pageSize
,
type
:
Number
(
this
.
queryParams
.
radio
)}
const
param
=
{}
// if(this.queryParams.address.length > 0){
...
...
@@ -537,7 +534,8 @@ export default {
}
urbanInvestmentPage
(
params
).
then
(
res
=>
{
this
.
isSkeleton
=
false
this
.
isSkeleton
=
false
;
this
.
tableLoading
=
false
;
this
.
tableData
=
res
.
data
.
list
;
this
.
tableDataTotal
=
res
.
data
.
totalCount
})
...
...
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseService.java
View file @
7f022bbc
...
...
@@ -140,6 +140,12 @@ public class EnterpriseService {
statisticMapData
.
put
(
"performance"
,
performance
);
statisticMapData
.
put
(
"business"
,
business
);
Map
<
String
,
Object
>
combineMemberMap
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/combineMember"
,
paramMap
);
Integer
code
=
MapUtils
.
getInteger
(
combineMemberMap
,
"code"
,
300
);
statisticMapData
.
put
(
"combineMember"
,
null
);
if
(
code
.
equals
(
HttpStatus
.
OK
.
value
()))
{
statisticMapData
.
put
(
"combineMember"
,
MapUtils
.
getMap
(
combineMemberMap
,
"data"
,
null
));
}
return
R
.
ok
(
statisticMapData
);
}
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/BusinessInfoServiceImpl.java
View file @
7f022bbc
...
...
@@ -151,9 +151,11 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
if
(
null
!=
map
.
get
(
"projectContractAmount"
)&&
ObjectUtil
.
isNotEmpty
(
map
.
get
(
"projectContractAmount"
))){
vo
.
setInvestmentAmount
(
MapUtil
.
getDouble
(
map
,
"projectContractAmount"
));
}
vo
.
setProjectType
(
MapUtil
.
getStr
(
map
,
"projectType"
));
// vo.setProjectType(MapUtil.getStr(map, "projectCategory"));
//项目阶段
vo
.
setProjectStage
(
MapUtil
.
getStr
(
map
,
"tenderStage"
));
vo
.
setProjectCategory
(
MapUtil
.
getStr
(
map
,
"projectPurposes"
));
//项目类别
vo
.
setProjectCategory
(
MapUtil
.
getStr
(
map
,
"projectCategory"
));
vos
.
add
(
vo
);
}
}
...
...
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