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
04e53923
Commit
04e53923
authored
Aug 03, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
97abc1f1
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1552 additions
and
702 deletions
+1552
-702
macro.js
dsk-operate-ui/src/api/macro/macro.js
+22
-3
sjxmfx.vue
...ui/src/views/macro/nationalEconomies/component/sjxmfx.vue
+1
-1
tdjy.vue
...e-ui/src/views/macro/nationalEconomies/component/tdjy.vue
+164
-142
zhaobiao.vue
.../src/views/macro/nationalEconomies/component/zhaobiao.vue
+726
-555
zhaobiao1.vue
...src/views/macro/nationalEconomies/component/zhaobiao1.vue
+638
-0
index.vue
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
+1
-1
No files found.
dsk-operate-ui/src/api/macro/macro.js
View file @
04e53923
...
@@ -68,6 +68,14 @@ export function countLandMarketByProvince(param) {
...
@@ -68,6 +68,14 @@ export function countLandMarketByProvince(param) {
})
})
}
}
//全国商机项目分析-全国土地交易项目年份统计
export
function
countLandMarketByYear
()
{
return
request
({
url
:
'/marketAnalysis/countLandMarketByYear'
,
method
:
'POST'
,
})
}
//全国商机项目分析-全国各地区招标统计TOP10
//全国商机项目分析-全国各地区招标统计TOP10
export
function
countNewsBidByProvince
(
param
)
{
export
function
countNewsBidByProvince
(
param
)
{
return
request
({
return
request
({
...
@@ -76,10 +84,13 @@ export function countNewsBidByProvince(param) {
...
@@ -76,10 +84,13 @@ export function countNewsBidByProvince(param) {
data
:
param
data
:
param
})
})
}
}
//全国商机项目分析-全国土地交易项目年份统计
export
function
countLandMarketByYear
()
{
//全国商机项目分析-全国公招项目统计
export
function
countNewsBidByYear
()
{
return
request
({
return
request
({
url
:
'/marketAnalysis/count
LandMarket
ByYear'
,
url
:
'/marketAnalysis/count
NewsBid
ByYear'
,
method
:
'POST'
,
method
:
'POST'
,
})
})
}
}
...
@@ -91,6 +102,14 @@ export function countBidGroupByProvince(param) {
...
@@ -91,6 +102,14 @@ export function countBidGroupByProvince(param) {
data
:
param
data
:
param
})
})
}
}
//全国商机项目分析-全国各年度招标月份统计
export
function
countNewsBidByMonth
(
param
)
{
return
request
({
url
:
'/marketAnalysis/countNewsBidByMonth'
,
method
:
'POST'
,
data
:
param
})
}
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/sjxmfx.vue
View file @
04e53923
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
import
*
as
echarts
from
'echarts'
;
import
*
as
echarts
from
'echarts'
;
import
{
countGroupByMonth
,
countGroupByProvince
,
getYear
}
from
'@/api/macro/macro'
import
{
countGroupByMonth
,
countGroupByProvince
,
getYear
}
from
'@/api/macro/macro'
import
Tdjy
from
'./tdjy'
import
Tdjy
from
'./tdjy'
import
Zhaobiao
from
'./zhaobiao'
import
Zhaobiao
from
'./zhaobiao
1
'
export
default
{
export
default
{
name
:
'NationalEconomies'
,
name
:
'NationalEconomies'
,
components
:
{
components
:
{
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/tdjy.vue
View file @
04e53923
<
template
>
<
template
>
<div
class=
"tdjy"
>
<div>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
v-if=
"!isSkeleton"
class=
"tdjy"
>
<p
class=
"text_p"
>
注:数据来源大司空建筑大数据平台,统计范围为全国公开的土地交易项目,未公开的不含在内
</p>
<p
class=
"text_p"
>
注:数据来源大司空建筑大数据平台,统计范围为全国公开的土地交易项目,未公开的不含在内
</p>
<div
class=
"td_content"
>
<div
class=
"td_content"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-box"
>
...
@@ -31,7 +33,7 @@
...
@@ -31,7 +33,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"type"
label=
"供应方式"
width=
"200"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"type"
label=
"供应方式"
width=
"200"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"count"
label=
"土地交易项目 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"160"
/>
<el-table-column
prop=
"count"
label=
"土地交易项目 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"160"
/>
<el-table-column
prop=
"rate"
label=
"占比
"
align=
"right"
:formatter=
"formatStatus"
width=
"160"
/>
<el-table-column
prop=
"rate"
label=
"占比(%)
"
align=
"right"
:formatter=
"formatStatus"
width=
"160"
/>
</el-table>
</el-table>
</div>
</div>
</div>
</div>
...
@@ -66,7 +68,7 @@
...
@@ -66,7 +68,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"type"
label=
"供应方式"
width=
"200"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"type"
label=
"供应方式"
width=
"200"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"count"
label=
"土地交易项目 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"160"
/>
<el-table-column
prop=
"count"
label=
"土地交易项目 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"160"
/>
<el-table-column
prop=
"rate"
label=
"占比
"
align=
"right"
:formatter=
"formatStatus"
width=
"160"
/>
<el-table-column
prop=
"rate"
label=
"占比(%)
"
align=
"right"
:formatter=
"formatStatus"
width=
"160"
/>
</el-table>
</el-table>
</div>
</div>
</div>
</div>
...
@@ -104,7 +106,7 @@
...
@@ -104,7 +106,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"province"
label=
"地区"
width=
"200"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"province"
label=
"地区"
width=
"200"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"count"
label=
"土地交易项目 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"160"
/>
<el-table-column
prop=
"count"
label=
"土地交易项目 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"160"
/>
<el-table-column
prop=
"rate"
label=
"占比
"
align=
"right"
:formatter=
"formatStatus"
width=
"160"
/>
<el-table-column
prop=
"rate"
label=
"占比(%)
"
align=
"right"
:formatter=
"formatStatus"
width=
"160"
/>
</el-table>
</el-table>
</div>
</div>
</div>
</div>
...
@@ -136,20 +138,25 @@
...
@@ -136,20 +138,25 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"type"
label=
"年份"
width=
"200"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"type"
label=
"年份"
width=
"200"
:formatter=
"formatStatus"
/>
<el-table-column
prop=
"count"
label=
"土地交易项目 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"160"
/>
<el-table-column
prop=
"count"
label=
"土地交易项目 (个)"
align=
"right"
:formatter=
"formatStatus"
sortable
width=
"160"
/>
<el-table-column
prop=
"rate"
label=
"占比
"
align=
"right"
:formatter=
"formatStatus"
width=
"160"
/>
<el-table-column
prop=
"rate"
label=
"占比(%)
"
align=
"right"
:formatter=
"formatStatus"
width=
"160"
/>
</el-table>
</el-table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
*
as
echarts
from
'echarts'
;
import
*
as
echarts
from
'echarts'
;
import
dataRegion
from
'@/assets/json/dataRegion'
import
dataRegion
from
'@/assets/json/dataRegion'
import
{
countLandMarketByType
,
countLandMarketByProvince
,
countLandMarketByYear
}
from
'@/api/macro/macro'
import
{
countLandMarketByType
,
countLandMarketByProvince
,
countLandMarketByYear
}
from
'@/api/macro/macro'
import
skeleton
from
'../../component/skeleton'
export
default
{
export
default
{
name
:
'NationalEconomies'
,
name
:
'NationalEconomies'
,
components
:
{
skeleton
},
data
()
{
data
()
{
return
{
return
{
myChart1
:
''
,
myChart1
:
''
,
...
@@ -166,24 +173,32 @@ export default {
...
@@ -166,24 +173,32 @@ export default {
tdytList
:[],
tdytList
:[],
topList
:[],
topList
:[],
nftjList
:[],
nftjList
:[],
typeName
:[
'住宅用地'
,
'工业用地'
,
'城镇住宅用地'
,
'其他商服用地'
,
'公共设施用地'
,
'公路用地'
,
'城镇村道路用地'
,
'公园与绿地'
,
isSkeleton
:
true
,
'工矿仓储用地'
,
'零售商业用地'
,
'科研用地'
,
'街巷用地'
,
'机关团体用地'
,
'商服用地'
,
'商务金融用地'
]
// typeName:['住宅用地','工业用地','城镇住宅用地','其他商服用地','公共设施用地','公路用地','城镇村道路用地','公园与绿地',
// '工矿仓储用地','零售商业用地','科研用地','街巷用地','机关团体用地','商服用地','商务金融用地']
}
}
},
},
created
()
{
created
()
{
this
.
dataRegion
()
this
.
dataRegion
()
this
.
yearsData
()
this
.
yearsData
()
setTimeout
(()
=>
{
this
.
isSkeleton
=
false
;
this
.
getCountLandMarketByType
()
this
.
getCountLandMarketByType
()
this
.
getCountLandMarketByTypeTd
()
this
.
getCountLandMarketByTypeTd
()
this
.
getCountLandMarketByProvince
()
this
.
getCountLandMarketByProvince
()
this
.
getCountLandMarketByYear
()
this
.
getCountLandMarketByYear
()
},
1500
);
},
mounted
()
{
},
},
beforeDestroy
(){
beforeDestroy
(){
},
},
methods
:
{
methods
:
{
getCountLandMarketByType
(){
getCountLandMarketByType
(){
// this.isSkeleton = true
countLandMarketByType
({
type
:
'供应方式'
,
yearStr
:
this
.
years
.
join
(
","
)}).
then
(
res
=>
{
countLandMarketByType
({
type
:
'供应方式'
,
yearStr
:
this
.
years
.
join
(
","
)}).
then
(
res
=>
{
// this.isSkeleton = false
this
.
gyfsList
=
res
.
data
.
provinceDate
;
this
.
gyfsList
=
res
.
data
.
provinceDate
;
var
list
=
[];
var
list
=
[];
for
(
var
i
=
0
;
i
<
res
.
data
.
provinceDate
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
res
.
data
.
provinceDate
.
length
;
i
++
){
...
@@ -193,11 +208,15 @@ export default {
...
@@ -193,11 +208,15 @@ export default {
obj
.
rate
=
res
.
data
.
provinceDate
[
i
].
rate
;
obj
.
rate
=
res
.
data
.
provinceDate
[
i
].
rate
;
list
.
push
(
obj
)
list
.
push
(
obj
)
}
}
this
.
$nextTick
(()
=>
{
this
.
initChart1
(
list
)
this
.
initChart1
(
list
)
})
})
})
},
},
getCountLandMarketByTypeTd
(){
getCountLandMarketByTypeTd
(){
// this.isSkeleton = true
countLandMarketByType
({
type
:
'土地用途'
,
yearStr
:
this
.
years1
.
join
(
","
)}).
then
(
res
=>
{
countLandMarketByType
({
type
:
'土地用途'
,
yearStr
:
this
.
years1
.
join
(
","
)}).
then
(
res
=>
{
// this.isSkeleton = false
this
.
tdytList
=
res
.
data
.
provinceDate
;
this
.
tdytList
=
res
.
data
.
provinceDate
;
var
list
=
[];
var
list
=
[];
for
(
var
i
=
0
;
i
<
10
;
i
++
){
for
(
var
i
=
0
;
i
<
10
;
i
++
){
...
@@ -207,8 +226,10 @@ export default {
...
@@ -207,8 +226,10 @@ export default {
obj
.
rate
=
res
.
data
.
provinceDate
[
i
].
rate
;
obj
.
rate
=
res
.
data
.
provinceDate
[
i
].
rate
;
list
.
push
(
obj
)
list
.
push
(
obj
)
}
}
this
.
$nextTick
(()
=>
{
this
.
initChart2
(
list
)
this
.
initChart2
(
list
)
})
})
})
},
},
getCountLandMarketByProvince
(){
getCountLandMarketByProvince
(){
let
params
=
{
let
params
=
{
...
@@ -217,7 +238,9 @@ export default {
...
@@ -217,7 +238,9 @@ export default {
if
(
this
.
address
.
length
>
0
){
if
(
this
.
address
.
length
>
0
){
params
.
provinceId
=
this
.
address
.
join
(
","
)
params
.
provinceId
=
this
.
address
.
join
(
","
)
}
}
// this.isSkeleton = true
countLandMarketByProvince
(
params
).
then
(
res
=>
{
countLandMarketByProvince
(
params
).
then
(
res
=>
{
// this.isSkeleton = false
this
.
topList
=
res
.
data
.
provinceDate
;
this
.
topList
=
res
.
data
.
provinceDate
;
var
list
=
[];
var
list
=
[];
if
(
res
.
data
.
provinceDate
){
if
(
res
.
data
.
provinceDate
){
...
@@ -238,7 +261,6 @@ export default {
...
@@ -238,7 +261,6 @@ export default {
getCountLandMarketByYear
(){
getCountLandMarketByYear
(){
countLandMarketByYear
().
then
(
res
=>
{
countLandMarketByYear
().
then
(
res
=>
{
this
.
nftjList
=
res
.
data
.
yearDate
;
this
.
nftjList
=
res
.
data
.
yearDate
;
console
.
log
(
this
.
nftjList
)
var
list
=
[];
var
list
=
[];
if
(
res
.
data
.
yearDate
){
if
(
res
.
data
.
yearDate
){
for
(
var
i
=
0
;
i
<
res
.
data
.
yearDate
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
res
.
data
.
yearDate
.
length
;
i
++
){
...
@@ -356,7 +378,7 @@ export default {
...
@@ -356,7 +378,7 @@ export default {
// console.log(typeList)
// console.log(typeList)
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"echarts3"
))
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"echarts3"
))
let
seriesData
=
[]
let
seriesData
=
[]
let
color
=
[
'#F
FE48A'
,
'#FFB8AD'
,
'#FFD7AD'
,
'#A9F1E5'
,
'#D0FAB7'
,
'#ADC0FF'
,
'#81D5BC'
,
'#67B3FD'
,
'#BEECFF'
,
'#E9C8FF
'
];
let
color
=
[
'#F
CD68A'
,
'#FFE48A'
,
'#FFB8AD'
,
'#FFD7AD'
,
'#A9F1E5'
,
'#D0FAB7'
,
'#ADC0FF'
,
'#BEECFF'
,
'#81D5BC'
,
'#67B3FD'
,
'#E9C8FF'
,
'#56BFA1'
,
'#6799FD
'
];
let
typeNameList
=
data
[
0
].
typeList
.
map
(
item
=>
item
.
type
);
let
typeNameList
=
data
[
0
].
typeList
.
map
(
item
=>
item
.
type
);
let
item
=
{}
let
item
=
{}
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
...
@@ -458,7 +480,7 @@ export default {
...
@@ -458,7 +480,7 @@ export default {
right
:
20
,
right
:
20
,
bottom
:
60
,
bottom
:
60
,
},
},
color
:[
'#F
FE48A'
,
'#FFB8AD'
,
'#FFD7AD'
,
'#A9F1E5'
,
'#D0FAB7'
,
'#ADC0FF'
,
'#81D5BC'
,
'#67B3FD'
,
'#BEECFF'
,
'#E9C8FF
'
],
color
:[
'#F
CD68A'
,
'#FFE48A'
,
'#FFB8AD'
,
'#FFD7AD'
,
'#A9F1E5'
,
'#D0FAB7'
,
'#ADC0FF'
,
'#BEECFF'
,
'#81D5BC'
,
'#67B3FD'
,
'#E9C8FF'
,
'#56BFA1'
,
'#6799FD
'
],
series
:
seriesData
series
:
seriesData
}
}
myChart
.
setOption
(
option
);
myChart
.
setOption
(
option
);
...
@@ -471,7 +493,7 @@ export default {
...
@@ -471,7 +493,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"echarts4"
))
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"echarts4"
))
let
seriesData
=
[]
let
seriesData
=
[]
let
color
=
[
'#F
FE48A'
,
'#FFB8AD'
,
'#FFD7AD'
,
'#A9F1E5'
,
'#D0FAB7'
,
'#ADC0FF'
,
'#81D5BC'
,
'#67B3FD'
,
'#BEECFF'
,
'#E9C8FF
'
];
let
color
=
[
'#F
CD68A'
,
'#FFE48A'
,
'#FFB8AD'
,
'#FFD7AD'
,
'#A9F1E5'
,
'#D0FAB7'
,
'#ADC0FF'
,
'#BEECFF'
,
'#81D5BC'
,
'#67B3FD'
,
'#E9C8FF'
,
'#56BFA1'
,
'#6799FD
'
];
let
typeNameList
=
data
[
0
].
typeList
.
map
(
item
=>
item
.
type
);
let
typeNameList
=
data
[
0
].
typeList
.
map
(
item
=>
item
.
type
);
let
item
=
{}
let
item
=
{}
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
...
@@ -573,7 +595,7 @@ export default {
...
@@ -573,7 +595,7 @@ export default {
right
:
20
,
right
:
20
,
bottom
:
60
,
bottom
:
60
,
},
},
color
:[
'#F
FE48A'
,
'#FFB8AD'
,
'#FFD7AD'
,
'#A9F1E5'
,
'#D0FAB7'
,
'#ADC0FF'
,
'#81D5BC'
,
'#67B3FD'
,
'#BEECFF'
,
'#E9C8FF
'
],
color
:[
'#F
CD68A'
,
'#FFE48A'
,
'#FFB8AD'
,
'#FFD7AD'
,
'#A9F1E5'
,
'#D0FAB7'
,
'#ADC0FF'
,
'#BEECFF'
,
'#81D5BC'
,
'#67B3FD'
,
'#E9C8FF'
,
'#56BFA1'
,
'#6799FD
'
],
series
:
seriesData
series
:
seriesData
}
}
myChart
.
setOption
(
option
);
myChart
.
setOption
(
option
);
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/zhaobiao.vue
View file @
04e53923
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/macro/nationalEconomies/component/zhaobiao1.vue
0 → 100644
View file @
04e53923
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
View file @
04e53923
...
@@ -28,7 +28,7 @@ export default {
...
@@ -28,7 +28,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
activeName
:
'
second
'
activeName
:
'
first
'
}
}
},
},
created
()
{
created
()
{
...
...
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