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
1625dc60
Commit
1625dc60
authored
Aug 25, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目概览
parent
d81fd7ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
20 deletions
+49
-20
index.vue
dsk-operate-ui/src/views/detail/party-a/cooperate/index.vue
+1
-1
index.vue
dsk-operate-ui/src/views/project/overview/index.vue
+48
-19
No files found.
dsk-operate-ui/src/views/detail/party-a/cooperate/index.vue
View file @
1625dc60
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
>
>
<template
slot=
"slot"
>
<template
slot=
"slot"
>
<div
class=
"flex-box query-add"
>
<div
class=
"flex-box query-add"
>
<el-button
type=
"primary"
icon=
"el-icon-plus"
@
click=
"drawer = true"
>
添加
商务信息
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus"
@
click=
"drawer = true"
>
添加
合作情况
</el-button>
</div>
</div>
</
template
>
</
template
>
</head-form>
</head-form>
...
...
dsk-operate-ui/src/views/project/overview/index.vue
View file @
1625dc60
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"chart-top clearfix"
>
<div
class=
"chart-top clearfix"
>
<div
class=
"left"
>
<div
class=
"left"
>
<el-card
class=
"box-card noborder"
>
<el-card
class=
"box-card noborder"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
class=
"top-icons"
@
click=
"linkTo()"
>
<div
class=
"top-icons"
@
click=
"linkTo()"
>
<img
class=
"top-img"
src=
"@/assets/images/project/icon_6.png"
>
<img
class=
"top-img"
src=
"@/assets/images/project/icon_6.png"
>
<div
class=
"number"
>
{{
statistics
.
totalCount
}}
<span>
个
</span></div>
<div
class=
"number"
>
{{
statistics
.
totalCount
}}
<span>
个
</span></div>
...
@@ -119,7 +119,8 @@
...
@@ -119,7 +119,8 @@
</el-card>
-->
</el-card>
-->
<el-card
class=
"box-card noborder pd16"
>
<el-card
class=
"box-card noborder pd16"
>
<h3>
储备项目统计
</h3>
<h3>
储备项目统计
</h3>
<div
class=
"flex-box clue-box"
v-if=
"viewData1.length>0"
>
<skeleton
v-if=
"isSkeleton1"
style=
"padding: 16px"
></skeleton>
<div
class=
"flex-box clue-box"
v-if=
"viewData1.length>0&&!isSkeleton1"
>
<div
class=
"clue-echarts"
><div
id=
"echarts1"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"clue-echarts"
><div
id=
"echarts1"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<el-table
<el-table
...
@@ -142,11 +143,12 @@
...
@@ -142,11 +143,12 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<no-data
v-
else
/>
<no-data
v-
if=
"viewData1.length==0"
/>
</el-card>
</el-card>
<el-card
class=
"box-card noborder pd16"
>
<el-card
class=
"box-card noborder pd16"
>
<h3>
储备项目资金来源
</h3>
<h3>
储备项目资金来源
</h3>
<div
class=
"flex-box clue-box"
v-if=
"viewData2.length>0"
>
<skeleton
v-if=
"isSkeleton2"
style=
"padding: 16px"
></skeleton>
<div
class=
"flex-box clue-box"
v-if=
"viewData2.length>0&&!isSkeleton2"
>
<div
class=
"clue-echarts"
><div
id=
"echarts2"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"clue-echarts"
><div
id=
"echarts2"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<el-table
<el-table
...
@@ -169,11 +171,12 @@
...
@@ -169,11 +171,12 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<no-data
v-
else
/>
<no-data
v-
if=
"viewData2.length==0"
/>
</el-card>
</el-card>
<el-card
class=
"box-card noborder pd16"
>
<el-card
class=
"box-card noborder pd16"
>
<h3>
已合作项目统计
</h3>
<h3>
已合作项目统计
</h3>
<div
class=
"flex-box clue-box"
v-if=
"viewData3.length>0"
>
<skeleton
v-if=
"isSkeleton3"
style=
"padding: 16px"
></skeleton>
<div
class=
"flex-box clue-box"
v-if=
"viewData3.length>0&&!isSkeleton3"
>
<div
class=
"clue-echarts"
><div
id=
"echarts3"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"clue-echarts"
><div
id=
"echarts3"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<el-table
<el-table
...
@@ -196,7 +199,7 @@
...
@@ -196,7 +199,7 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<no-data
v-
else
/>
<no-data
v-
if=
"viewData3.length==0"
/>
</el-card>
</el-card>
<el-card
class=
"box-card noborder pd16"
>
<el-card
class=
"box-card noborder pd16"
>
<h3>
公招项目地区统计
</h3>
<h3>
公招项目地区统计
</h3>
...
@@ -217,7 +220,8 @@
...
@@ -217,7 +220,8 @@
<el-radio-button
label=
"近七天"
></el-radio-button>
<el-radio-button
label=
"近七天"
></el-radio-button>
<el-radio-button
label=
"自定义"
></el-radio-button>
<el-radio-button
label=
"自定义"
></el-radio-button>
</el-radio-group>
</el-radio-group>
<div
class=
"flex-box clue-box"
v-if=
"viewData4.length>0"
>
<skeleton
v-if=
"isSkeleton4"
style=
"padding: 16px"
></skeleton>
<div
class=
"flex-box clue-box"
v-if=
"viewData4.length>0&&!isSkeleton4"
>
<div
class=
"drawChinese"
>
<div
class=
"drawChinese"
>
<div
id=
"drawChinese"
style=
"width: 411px; height: 360px;"
></div>
<div
id=
"drawChinese"
style=
"width: 411px; height: 360px;"
></div>
<!--
<img
src=
"@/static/img/index/map-nhzd.png"
class=
"nhzd"
alt=
"南海诸岛"
title=
"南海诸岛"
>
-->
<!--
<img
src=
"@/static/img/index/map-nhzd.png"
class=
"nhzd"
alt=
"南海诸岛"
title=
"南海诸岛"
>
-->
...
@@ -245,7 +249,7 @@
...
@@ -245,7 +249,7 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<no-data
v-
else
/>
<no-data
v-
if=
"viewData4.length==0"
/>
</el-card>
</el-card>
<el-card
class=
"box-card noborder pd16"
>
<el-card
class=
"box-card noborder pd16"
>
<h3>
公招项目投资金额统计
</h3>
<h3>
公招项目投资金额统计
</h3>
...
@@ -266,7 +270,8 @@
...
@@ -266,7 +270,8 @@
<el-radio-button
label=
"近七天"
></el-radio-button>
<el-radio-button
label=
"近七天"
></el-radio-button>
<el-radio-button
label=
"自定义"
></el-radio-button>
<el-radio-button
label=
"自定义"
></el-radio-button>
</el-radio-group>
</el-radio-group>
<div
class=
"flex-box clue-box"
v-if=
"viewData5.length>0"
>
<skeleton
v-if=
"isSkeleton5"
style=
"padding: 16px"
></skeleton>
<div
class=
"flex-box clue-box"
v-if=
"viewData5.length>0&&!isSkeleton5"
>
<div
class=
"clue-echarts"
><div
id=
"echarts5"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"clue-echarts"
><div
id=
"echarts5"
style=
"width: 100%;height:300px; margin: 0 auto;"
></div></div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<el-table
<el-table
...
@@ -286,7 +291,7 @@
...
@@ -286,7 +291,7 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<no-data
v-else
/>
<no-data
v-if=
"viewData5.length==0"
/>
</el-card>
</el-card>
<el-card
class=
"box-card noborder"
>
<el-card
class=
"box-card noborder"
>
<div
>
<div
>
...
@@ -311,7 +316,8 @@
...
@@ -311,7 +316,8 @@
<el-radio-button
label=
"自定义"
></el-radio-button>
<el-radio-button
label=
"自定义"
></el-radio-button>
</el-radio-group>
</el-radio-group>
</div>
</div>
<template
v-if=
"viewData6.length>0"
>
<skeleton
v-if=
"isSkeleton6"
style=
"padding: 16px"
></skeleton>
<template
v-if=
"viewData6.length>0&&!isSkeleton6"
>
<div
class=
"scroll_box"
ref=
"scrollRef"
@
scroll=
"scrollbottom()"
>
<div
class=
"scroll_box"
ref=
"scrollRef"
@
scroll=
"scrollbottom()"
>
<div
class=
"item_wrap"
v-for=
"(item,index) in viewData6"
:key=
"index"
>
<div
class=
"item_wrap"
v-for=
"(item,index) in viewData6"
:key=
"index"
>
<h2>
{{
item
.
recordInfo
}}
</h2>
<h2>
{{
item
.
recordInfo
}}
</h2>
...
@@ -339,7 +345,7 @@
...
@@ -339,7 +345,7 @@
</div>
</div>
</div>
</div>
</template>
</template>
<no-data
style=
"margin:20px 0"
v-else
/>
<no-data
style=
"margin:20px 0"
v-if=
"viewData6.length==0"
/>
</div>
</div>
</el-card>
</el-card>
</div>
</div>
...
@@ -354,12 +360,19 @@
...
@@ -354,12 +360,19 @@
import
addproject
from
'../projectList/component/addProject'
import
addproject
from
'../projectList/component/addProject'
import
NoData
from
'../../component/noData'
import
NoData
from
'../../component/noData'
import
'@/assets/lib/china.js'
import
'@/assets/lib/china.js'
import
skeleton
from
'@/views/project/projectList/component/skeleton'
export
default
{
export
default
{
name
:
'Overview'
,
name
:
'Overview'
,
components
:{
addproject
,
NoData
},
components
:{
addproject
,
NoData
,
skeleton
},
data
()
{
data
()
{
return
{
return
{
isSkeleton1
:
true
,
isSkeleton2
:
true
,
isSkeleton3
:
true
,
isSkeleton4
:
true
,
isSkeleton5
:
true
,
isSkeleton6
:
true
,
projectName
:
''
,
projectName
:
''
,
datatype
:
'1'
,
//切换类型
datatype
:
'1'
,
//切换类型
viewData1
:[],
viewData1
:[],
...
@@ -406,7 +419,7 @@ export default {
...
@@ -406,7 +419,7 @@ export default {
this
.
getAllRecord
();
this
.
getAllRecord
();
getStatistics
().
then
(
res
=>
{
getStatistics
().
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
statistics
=
res
.
data
this
.
statistics
=
res
.
data
;
}
}
})
})
window
.
addEventListener
(
"resize"
,
this
.
resizeEcharts
);
window
.
addEventListener
(
"resize"
,
this
.
resizeEcharts
);
...
@@ -426,6 +439,7 @@ export default {
...
@@ -426,6 +439,7 @@ export default {
}
}
getAllRecord
(
this
.
recordParams
).
then
(
res
=>
{
getAllRecord
(
this
.
recordParams
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton6
=
false
;
this
.
recordTotal
=
res
.
total
this
.
recordTotal
=
res
.
total
this
.
viewData6
=
this
.
viewData6
.
concat
(
res
.
rows
)
this
.
viewData6
=
this
.
viewData6
.
concat
(
res
.
rows
)
}
}
...
@@ -434,6 +448,7 @@ export default {
...
@@ -434,6 +448,7 @@ export default {
getCount1
(){
getCount1
(){
getCount
(
0
).
then
(
res
=>
{
getCount
(
0
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton1
=
false
;
this
.
viewData1
=
res
.
data
;
this
.
viewData1
=
res
.
data
;
if
(
this
.
viewData1
.
length
>
0
){
if
(
this
.
viewData1
.
length
>
0
){
for
(
var
i
=
0
;
i
<
this
.
viewData1
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
this
.
viewData1
.
length
;
i
++
){
...
@@ -454,6 +469,7 @@ export default {
...
@@ -454,6 +469,7 @@ export default {
getCount2
(){
getCount2
(){
getCount
(
2
).
then
(
res
=>
{
getCount
(
2
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton3
=
false
;
this
.
viewData3
=
res
.
data
;
this
.
viewData3
=
res
.
data
;
if
(
res
.
data
.
length
>
0
){
if
(
res
.
data
.
length
>
0
){
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -468,6 +484,7 @@ export default {
...
@@ -468,6 +484,7 @@ export default {
getAmount
(){
getAmount
(){
getAmount
().
then
(
res
=>
{
getAmount
().
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton2
=
false
;
this
.
viewData2
=
res
.
data
;
this
.
viewData2
=
res
.
data
;
if
(
res
.
data
.
length
>
0
){
if
(
res
.
data
.
length
>
0
){
for
(
var
i
=
0
;
i
<
this
.
viewData2
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
this
.
viewData2
.
length
;
i
++
){
...
@@ -495,8 +512,8 @@ export default {
...
@@ -495,8 +512,8 @@ export default {
}
}
countGroupByProvince
(
data
).
then
(
res
=>
{
countGroupByProvince
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton4
=
false
;
this
.
viewData4
=
res
.
data
;
this
.
viewData4
=
res
.
data
;
if
(
this
.
viewData4
.
length
>
0
){
if
(
this
.
viewData4
.
length
>
0
){
this
.
viewData4
.
map
(
item
=>
{
this
.
viewData4
.
map
(
item
=>
{
if
(
item
.
money
>
0
){
if
(
item
.
money
>
0
){
...
@@ -533,6 +550,7 @@ export default {
...
@@ -533,6 +550,7 @@ export default {
}
}
rangByMoney
(
data
).
then
(
res
=>
{
rangByMoney
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
isSkeleton5
=
false
;
this
.
viewData5
=
res
.
data
.
reverse
();
this
.
viewData5
=
res
.
data
.
reverse
();
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
let
chartDom5
=
document
.
getElementById
(
"echarts5"
)
let
chartDom5
=
document
.
getElementById
(
"echarts5"
)
...
@@ -561,7 +579,7 @@ export default {
...
@@ -561,7 +579,7 @@ export default {
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
right
:
'4%'
,
right
:
'4%'
,
bottom
:
'
3
%'
,
bottom
:
'
10
%'
,
containLabel
:
true
containLabel
:
true
},
},
xAxis
:
[
xAxis
:
[
...
@@ -576,6 +594,7 @@ export default {
...
@@ -576,6 +594,7 @@ export default {
],
],
yAxis
:
[
yAxis
:
[
{
{
name
:
'单位:个'
,
type
:
'value'
,
type
:
'value'
,
splitLine
:
{
//网格线
splitLine
:
{
//网格线
lineStyle
:
{
lineStyle
:
{
...
@@ -584,6 +603,11 @@ export default {
...
@@ -584,6 +603,11 @@ export default {
}
}
},
},
{
{
nameTextStyle
:
{
padding
:
[
0
,
10
,
0
,
50
],
// 四个数字分别为上右下左与原位置距离
color
:
'#666666'
,
},
name
:
'单位:万元'
,
type
:
'value'
,
type
:
'value'
,
splitLine
:
{
//网格线
splitLine
:
{
//网格线
show
:
false
show
:
false
...
@@ -668,7 +692,7 @@ export default {
...
@@ -668,7 +692,7 @@ export default {
},
},
initChart3
(){
initChart3
(){
//
储备
项目统计
//
合作
项目统计
let
barData1
=
[],
xAxisData1
=
[],
lineData1
=
[];
let
barData1
=
[],
xAxisData1
=
[],
lineData1
=
[];
this
.
viewData3
.
length
>
0
&&
this
.
viewData3
.
map
(
item
=>
{
this
.
viewData3
.
length
>
0
&&
this
.
viewData3
.
map
(
item
=>
{
barData1
.
push
(
item
.
businessCount
)
barData1
.
push
(
item
.
businessCount
)
...
@@ -701,6 +725,7 @@ export default {
...
@@ -701,6 +725,7 @@ export default {
],
],
yAxis
:
[
yAxis
:
[
{
{
name
:
'单位:个'
,
type
:
'value'
,
type
:
'value'
,
splitLine
:
{
//网格线
splitLine
:
{
//网格线
lineStyle
:
{
lineStyle
:
{
...
@@ -709,7 +734,12 @@ export default {
...
@@ -709,7 +734,12 @@ export default {
}
}
},
},
{
{
name
:
'单位:万元'
,
type
:
'value'
,
type
:
'value'
,
nameTextStyle
:
{
padding
:
[
0
,
10
,
0
,
50
],
// 四个数字分别为上右下左与原位置距离
color
:
'#666666'
,
},
splitLine
:
{
//网格线
splitLine
:
{
//网格线
show
:
false
show
:
false
},
},
...
@@ -1000,7 +1030,6 @@ export default {
...
@@ -1000,7 +1030,6 @@ 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
;
...
...
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