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
9cf64078
Commit
9cf64078
authored
Aug 25, 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
9308c5f2
db6ae9dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
31 deletions
+27
-31
tdjy.vue
...e-ui/src/views/macro/nationalEconomies/component/tdjy.vue
+27
-31
No files found.
dsk-operate-ui/src/views/macro/nationalEconomies/component/tdjy.vue
View file @
9cf64078
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</el-select>
</el-select>
</div>
</div>
</div>
</div>
<div
class=
"content_box"
v-if=
"gyf
lState
"
>
<div
class=
"content_box"
v-if=
"gyf
sList.length > 0 && !isSkeleton
"
>
<div
class=
"box-left"
>
<div
class=
"box-left"
>
<div
id=
"echarts1"
style=
"height: 280px"
></div>
<div
id=
"echarts1"
style=
"height: 280px"
></div>
</div>
</div>
...
@@ -36,12 +36,12 @@
...
@@ -36,12 +36,12 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<div
class=
"empty"
v-if=
"
!gyflState
"
>
<div
class=
"empty"
v-if=
"
gyfsList.length === 0 && !isSkeleton
"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,暂无数据展示
</div>
<div
class=
"p1"
>
抱歉,暂无数据展示
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"!
isSkeleton
"
class=
"td_content"
>
<div
v-if=
"!
tdytState
"
class=
"td_content"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-params"
>
<div
class=
"flex-box query-params"
>
<span
class=
"common-title"
>
全国土地交易项目土地用途
</span>
<span
class=
"common-title"
>
全国土地交易项目土地用途
</span>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</el-select>
</el-select>
</div>
</div>
</div>
</div>
<div
class=
"content_box"
v-if=
"tdytState"
>
<div
class=
"content_box"
v-if=
"tdyt
List.length > 0 && !tdyt
State"
>
<div
class=
"box-left"
>
<div
class=
"box-left"
>
<div
id=
"echarts2"
style=
"height: 280px"
></div>
<div
id=
"echarts2"
style=
"height: 280px"
></div>
</div>
</div>
...
@@ -75,12 +75,12 @@
...
@@ -75,12 +75,12 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<div
class=
"empty"
v-if=
"!tdytState"
>
<div
class=
"empty"
v-if=
"
tdytList.length === 0 &&
!tdytState"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,暂无数据展示
</div>
<div
class=
"p1"
>
抱歉,暂无数据展示
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"!
isSkeleton
"
class=
"td_content"
>
<div
v-if=
"!
topState
"
class=
"td_content"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-params"
>
<div
class=
"flex-box query-params"
>
<span
class=
"common-title"
>
全国土地交易项目地区Top10
</span>
<span
class=
"common-title"
>
全国土地交易项目地区Top10
</span>
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
</el-select>
</el-select>
</div>
</div>
</div>
</div>
<div
class=
"content_box"
v-if=
"topList.length > 0 && !
isSkeleton
"
>
<div
class=
"content_box"
v-if=
"topList.length > 0 && !
topState
"
>
<div
class=
"box-left"
style=
"width: 60%;"
>
<div
class=
"box-left"
style=
"width: 60%;"
>
<div
id=
"echarts3"
style=
"height: 300px"
></div>
<div
id=
"echarts3"
style=
"height: 300px"
></div>
</div>
</div>
...
@@ -117,18 +117,18 @@
...
@@ -117,18 +117,18 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<div
class=
"empty"
v-if=
"topList.length === 0 && !
isSkeleton
"
>
<div
class=
"empty"
v-if=
"topList.length === 0 && !
topState
"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,暂无数据展示
</div>
<div
class=
"p1"
>
抱歉,暂无数据展示
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"!
isSkeleton
"
class=
"td_content"
>
<div
v-if=
"!
nftjState
"
class=
"td_content"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-params"
>
<div
class=
"flex-box query-params"
>
<span
class=
"common-title"
>
全国土地交易项目年份统计
</span>
<span
class=
"common-title"
>
全国土地交易项目年份统计
</span>
</div>
</div>
</div>
</div>
<div
class=
"content_box"
>
<div
class=
"content_box"
v-if=
"nftjList.length > 0 && !nftjState"
>
<div
class=
"box-left"
style=
"width: 60%;"
>
<div
class=
"box-left"
style=
"width: 60%;"
>
<div
id=
"echarts4"
style=
"height: 300px"
></div>
<div
id=
"echarts4"
style=
"height: 300px"
></div>
</div>
</div>
...
@@ -187,6 +187,7 @@ export default {
...
@@ -187,6 +187,7 @@ export default {
gyflState
:
true
,
gyflState
:
true
,
tdytState
:
true
,
tdytState
:
true
,
topState
:
true
,
topState
:
true
,
nftjState
:
true
,
// typeName:['住宅用地','工业用地','城镇住宅用地','其他商服用地','公共设施用地','公路用地','城镇村道路用地','公园与绿地',
// typeName:['住宅用地','工业用地','城镇住宅用地','其他商服用地','公共设施用地','公路用地','城镇村道路用地','公园与绿地',
// '工矿仓储用地','零售商业用地','科研用地','街巷用地','机关团体用地','商服用地','商务金融用地']
// '工矿仓储用地','零售商业用地','科研用地','街巷用地','机关团体用地','商服用地','商务金融用地']
}
}
...
@@ -194,15 +195,16 @@ export default {
...
@@ -194,15 +195,16 @@ export default {
created
()
{
created
()
{
this
.
dataRegion
()
this
.
dataRegion
()
this
.
yearsData
()
this
.
yearsData
()
setTimeout
(()
=>
{
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
getCountLandMarketByType
()
this
.
getCountLandMarketByType
()
this
.
getCountLandMarketByTypeTd
()
this
.
getCountLandMarketByTypeTd
()
this
.
getCountLandMarketByProvince
()
this
.
getCountLandMarketByProvince
()
this
.
getCountLandMarketByYear
()
this
.
getCountLandMarketByYear
()
this
.
isSkeleton
=
false
;
})
},
1500
);
},
mounted
()
{
},
},
beforeDestroy
(){
beforeDestroy
(){
...
@@ -211,7 +213,8 @@ export default {
...
@@ -211,7 +213,8 @@ export default {
getCountLandMarketByType
(){
getCountLandMarketByType
(){
// this.isSkeleton = true
// this.isSkeleton = true
countLandMarketByType
({
type
:
'供应方式'
,
yearStr
:
this
.
years
.
join
(
","
)}).
then
(
res
=>
{
countLandMarketByType
({
type
:
'供应方式'
,
yearStr
:
this
.
years
.
join
(
","
)}).
then
(
res
=>
{
// this.isSkeleton = false
this
.
isSkeleton
=
false
this
.
gyflState
=
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
++
){
...
@@ -222,12 +225,9 @@ export default {
...
@@ -222,12 +225,9 @@ export default {
list
.
push
(
obj
)
list
.
push
(
obj
)
}
}
if
(
list
.
length
>
0
){
if
(
list
.
length
>
0
){
this
.
gyflState
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
initChart1
(
list
)
this
.
initChart1
(
list
)
})
})
}
else
{
this
.
gyflState
=
false
;
}
}
})
})
},
},
...
@@ -235,9 +235,9 @@ export default {
...
@@ -235,9 +235,9 @@ export default {
// this.isSkeleton = true
// this.isSkeleton = true
countLandMarketByType
({
type
:
'土地用途'
,
yearStr
:
this
.
years1
.
join
(
","
)}).
then
(
res
=>
{
countLandMarketByType
({
type
:
'土地用途'
,
yearStr
:
this
.
years1
.
join
(
","
)}).
then
(
res
=>
{
// this.isSkeleton = false
// this.isSkeleton = false
this
.
tdytState
=
false
;
this
.
tdytList
=
res
.
data
.
provinceDate
;
this
.
tdytList
=
res
.
data
.
provinceDate
;
if
(
res
.
data
.
provinceDate
.
length
>
0
){
if
(
res
.
data
.
provinceDate
.
length
>
0
){
this
.
tdytState
=
true
var
list
=
[];
var
list
=
[];
for
(
var
i
=
0
;
i
<
10
;
i
++
){
for
(
var
i
=
0
;
i
<
10
;
i
++
){
var
obj
=
{};
var
obj
=
{};
...
@@ -251,10 +251,7 @@ export default {
...
@@ -251,10 +251,7 @@ export default {
this
.
initChart2
(
list
)
this
.
initChart2
(
list
)
})
})
}
}
}
else
{
this
.
tdytState
=
false
;
}
}
})
})
},
},
getCountLandMarketByProvince
(){
getCountLandMarketByProvince
(){
...
@@ -264,9 +261,8 @@ export default {
...
@@ -264,9 +261,8 @@ 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
.
topState
=
false
this
.
topList
=
res
.
data
.
provinceDate
;
this
.
topList
=
res
.
data
.
provinceDate
;
var
list
=
[];
var
list
=
[];
if
(
res
.
data
.
provinceDate
){
if
(
res
.
data
.
provinceDate
){
...
@@ -288,10 +284,10 @@ export default {
...
@@ -288,10 +284,10 @@ export default {
},
},
getCountLandMarketByYear
(){
getCountLandMarketByYear
(){
countLandMarketByYear
().
then
(
res
=>
{
countLandMarketByYear
().
then
(
res
=>
{
this
.
nftjState
=
false
;
this
.
nftjList
=
res
.
data
.
yearDate
;
this
.
nftjList
=
res
.
data
.
yearDate
;
var
list
=
[];
var
list
=
[];
if
(
res
.
data
.
yearDate
){
if
(
res
.
data
.
yearDate
){
this
.
topState
=
true
for
(
var
i
=
0
;
i
<
res
.
data
.
yearDate
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
res
.
data
.
yearDate
.
length
;
i
++
){
var
obj
=
{};
var
obj
=
{};
obj
.
type
=
res
.
data
.
yearDate
[
i
].
type
;
obj
.
type
=
res
.
data
.
yearDate
[
i
].
type
;
...
@@ -300,11 +296,11 @@ export default {
...
@@ -300,11 +296,11 @@ export default {
obj
.
typeList
=
res
.
data
.
yearDate
[
i
].
typeList
obj
.
typeList
=
res
.
data
.
yearDate
[
i
].
typeList
list
.
push
(
obj
)
list
.
push
(
obj
)
}
}
if
(
list
.
length
>
0
){
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
initChart4
(
list
)
this
.
initChart4
(
list
)
})
})
}
else
{
}
this
.
topState
=
false
;
}
}
})
})
},
},
...
...
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