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
43d95c3b
Commit
43d95c3b
authored
Jul 20, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
a9279abe
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
142 additions
and
70 deletions
+142
-70
region.vue
dsk-operate-ui/src/views/macro/component/region.vue
+1
-0
industrialStructure.vue
...c/views/macro/economies/component/industrialStructure.vue
+43
-5
regionalEconomy.vue
...i/src/views/macro/economies/component/regionalEconomy.vue
+1
-6
index.vue
dsk-operate-ui/src/views/macro/economies/index.vue
+37
-22
index.vue
dsk-operate-ui/src/views/macro/financing/index.vue
+29
-18
index.vue
dsk-operate-ui/src/views/macro/urban/index.vue
+31
-19
No files found.
dsk-operate-ui/src/views/macro/component/region.vue
View file @
43d95c3b
...
...
@@ -50,6 +50,7 @@
data
.
provinceId
=
this
.
provinceId
data
.
provinces
=
nodesObj
.
pathLabels
this
.
$parent
.
addressListbtn
(
data
)
localStorage
.
setItem
(
'location'
,
true
)
},
//地区
async
dataRegion
()
{
...
...
dsk-operate-ui/src/views/macro/economies/component/industrialStructure.vue
View file @
43d95c3b
...
...
@@ -45,6 +45,12 @@
</el-table>
</div>
</div>
<!--<div class="content content-box" v-else>-->
<!--<div class="empty">-->
<!--<img class="img" src="@/assets/images/project/empty.png">-->
<!--<div class="p1">抱歉,暂无专项债项目数据</div>-->
<!--</div>-->
<!--</div>-->
</div>
</template>
...
...
@@ -66,11 +72,13 @@ export default {
data
:[],
oneYear
:
''
,
twoYear
:
''
,
state
:
false
}
},
watch
:
{
provinceId
(
newValue
,
oldValue
){
this
.
getData
()
this
.
getGroupCount
()
}
},
created
()
{
...
...
@@ -116,10 +124,10 @@ export default {
}
}
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
){
list
[
i
].
money
=
Number
(
list
[
i
].
money
).
toFixed
(
2
)
list
[
i
].
rate
=
Number
(
list
[
i
].
rate
).
toFixed
(
2
)
list
[
i
].
lastMoney
=
Number
(
list
[
i
].
lastMoney
).
toFixed
(
2
)
list
[
i
].
lastRate
=
Number
(
list
[
i
].
lastRate
).
toFixed
(
2
)
list
[
i
].
money
=
list
[
i
].
money
?
Number
(
list
[
i
].
money
).
toFixed
(
2
)
:
'-'
;
list
[
i
].
rate
=
list
[
i
].
rate
?
Number
(
list
[
i
].
rate
).
toFixed
(
2
)
:
'-'
;
list
[
i
].
lastMoney
=
list
[
i
].
lastMoney
?
Number
(
list
[
i
].
lastMoney
).
toFixed
(
2
)
:
'-'
;
list
[
i
].
lastRate
=
list
[
i
].
lastRate
?
Number
(
list
[
i
].
lastRate
).
toFixed
(
2
)
:
'-'
;
}
this
.
tableData
=
list
.
reverse
()
}
...
...
@@ -136,7 +144,17 @@ export default {
startTime
=
this
.
queryParams
.
year
+
'-01-01'
;
endTime
=
this
.
queryParams
.
year
+
'-12-31'
;
}
bidGroupCountByProjectType
({
startDate
:
startTime
,
endDate
:
endTime
}).
then
(
res
=>
{
let
params
=
{
startDate
:
startTime
,
endDate
:
endTime
}
if
(
this
.
provinceId
.
length
>=
0
){
params
.
province
=
this
.
provinceId
[
0
]
}
if
(
this
.
provinceId
.
length
>=
1
){
params
.
city
=
this
.
provinceId
[
1
]
}
if
(
this
.
provinceId
.
length
>=
2
){
params
.
county
=
this
.
provinceId
[
2
]
}
bidGroupCountByProjectType
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
200
){
let
list
=
[]
for
(
let
i
=
0
;
i
<
res
.
data
.
length
;
i
++
){
...
...
@@ -318,6 +336,26 @@ export default {
}
}
}
.empty
{
margin
:
0
auto
;
height
:
550px
;
text-align
:
center
;
.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/economies/component/regionalEconomy.vue
View file @
43d95c3b
...
...
@@ -279,10 +279,10 @@ export default {
}
},
created
()
{
this
.
getData
()
let
mydate
=
new
Date
();
this
.
labelData
=
[
mydate
.
getFullYear
()
-
2
,
mydate
.
getFullYear
()
-
1
]
this
.
$nextTick
(()
=>
{
this
.
getData
()
// console.log(this.dataQuery)
})
},
...
...
@@ -300,11 +300,6 @@ export default {
// }
},
watch
:
{
dataQuery
:
{
handler
(
newValue
,
oldValue
)
{
},
deep
:
true
},
provinceId
(
newValue
,
oldValue
){
this
.
getData
()
}
...
...
dsk-operate-ui/src/views/macro/economies/index.vue
View file @
43d95c3b
...
...
@@ -63,7 +63,9 @@ export default {
}
},
created
()
{
this
.
dataQuery
=
this
.
$route
.
query
;
//使用JSON方法深拷贝
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
$route
.
query
))
this
.
dataQuery
=
data
;
if
(
this
.
dataQuery
.
provinceId
){
if
(
Array
.
isArray
(
this
.
dataQuery
.
province
)){
this
.
province
=
this
.
dataQuery
.
province
[
0
];
...
...
@@ -71,41 +73,54 @@ export default {
this
.
province
=
this
.
dataQuery
.
province
this
.
dataQuery
.
province
=
[
this
.
dataQuery
.
province
];
}
this
.
provinceId
.
push
(
this
.
dataQuery
.
provinceId
)
if
(
Array
.
isArray
(
this
.
dataQuery
.
provinceId
)){
this
.
provinceId
=
this
.
dataQuery
.
provinceId
}
else
{
this
.
provinceId
.
push
(
this
.
dataQuery
.
provinceId
)
}
}
else
{
location
({}).
then
(
res
=>
{
if
(
res
.
data
.
area
){
this
.
province
=
res
.
data
.
area
}
else
{
if
(
res
.
data
.
city
){
this
.
province
=
res
.
data
.
city
if
(
localStorage
.
getItem
(
'location'
)){
if
(
res
.
data
.
area
){
this
.
province
=
res
.
data
.
area
}
else
{
this
.
province
=
res
.
data
.
province
if
(
res
.
data
.
city
){
this
.
province
=
res
.
data
.
city
}
else
{
this
.
province
=
res
.
data
.
province
}
}
}
if
(
!
this
.
dataQuery
.
provinceId
){
if
(
res
.
data
.
areaId
){
this
.
dataQuery
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
}
else
{
if
(
res
.
data
.
cityId
){
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
]
if
(
!
this
.
dataQuery
.
provinceId
){
if
(
res
.
data
.
areaId
){
this
.
dataQuery
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
}
else
{
this
.
provinceId
=
[
res
.
data
.
provinceId
]
if
(
res
.
data
.
cityId
){
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
]
}
else
{
this
.
provinceId
=
[
res
.
data
.
provinceId
]
}
}
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
}
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
this
.
province
=
res
.
data
.
province
if
(
!
this
.
dataQuery
.
provinceId
){
this
.
provinceId
=
[
res
.
data
.
provinceId
]
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
}
}
})
}
if
(
this
.
dataQuery
.
activeName
){
this
.
activeName
=
this
.
dataQuery
.
activeName
;
}
// let name = sessionStorage.getItem('currentTab')
// if (name != "undefined" && name){
// this.activeName = name;
...
...
dsk-operate-ui/src/views/macro/financing/index.vue
View file @
43d95c3b
...
...
@@ -110,30 +110,41 @@ export default {
},
created
()
{
location
({}).
then
(
res
=>
{
if
(
res
.
data
.
area
){
this
.
province
=
res
.
data
.
area
}
else
{
if
(
res
.
data
.
city
){
this
.
province
=
res
.
data
.
city
if
(
localStorage
.
getItem
(
'location'
)){
if
(
res
.
data
.
area
){
this
.
province
=
res
.
data
.
area
}
else
{
this
.
province
=
res
.
data
.
province
if
(
res
.
data
.
city
){
this
.
province
=
res
.
data
.
city
}
else
{
this
.
province
=
res
.
data
.
province
}
}
}
if
(
!
this
.
dataQuery
.
provinceId
){
if
(
res
.
data
.
areaId
){
this
.
dataQuery
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
}
else
{
if
(
res
.
data
.
cityId
){
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
]
if
(
!
this
.
dataQuery
.
provinceId
){
if
(
res
.
data
.
areaId
){
this
.
dataQuery
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
}
else
{
this
.
provinceId
=
[
res
.
data
.
provinceId
]
if
(
res
.
data
.
cityId
){
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
]
}
else
{
this
.
provinceId
=
[
res
.
data
.
provinceId
]
}
}
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
}
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
this
.
province
=
res
.
data
.
province
;
if
(
!
this
.
dataQuery
.
provinceId
){
this
.
provinceId
=
[
res
.
data
.
provinceId
]
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
}
}
this
.
$nextTick
(()
=>
{
this
.
getData
()
...
...
dsk-operate-ui/src/views/macro/urban/index.vue
View file @
43d95c3b
...
...
@@ -384,33 +384,45 @@ export default {
this
.
querySubmit
()
}
else
{
location
({}).
then
(
res
=>
{
if
(
res
.
data
.
area
){
this
.
province
=
res
.
data
.
area
}
else
{
if
(
res
.
data
.
city
){
this
.
province
=
res
.
data
.
city
}
else
{
this
.
province
=
res
.
data
.
province
}
}
if
(
!
this
.
dataQuery
.
provinceId
){
if
(
res
.
data
.
areaId
){
this
.
dataQuery
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
if
(
localStorage
.
getItem
(
'location'
)){
if
(
res
.
data
.
area
){
this
.
province
=
res
.
data
.
area
}
else
{
if
(
res
.
data
.
city
Id
){
this
.
province
Id
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
]
if
(
res
.
data
.
city
){
this
.
province
=
res
.
data
.
city
}
else
{
this
.
province
Id
=
[
res
.
data
.
provinceId
]
this
.
province
=
res
.
data
.
province
}
}
if
(
!
this
.
dataQuery
.
provinceId
){
if
(
res
.
data
.
areaId
){
this
.
dataQuery
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
,
res
.
data
.
areaId
]
}
else
{
if
(
res
.
data
.
cityId
){
this
.
provinceId
=
[
res
.
data
.
provinceId
,
res
.
data
.
cityId
]
}
else
{
this
.
provinceId
=
[
res
.
data
.
provinceId
]
}
}
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
}
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
this
.
province
=
res
.
data
.
province
if
(
!
this
.
dataQuery
.
provinceId
){
this
.
provinceId
=
[
res
.
data
.
provinceId
]
let
arr
=
[
res
.
data
.
province
]
this
.
dataQuery
.
province
=
arr
;
}
else
{
this
.
provinceId
=
this
.
dataQuery
.
provinceId
}
}
this
.
querySubmit
()
})
}
...
...
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