Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
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
1
Merge Requests
1
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
wbx-PCAndMobi
mobi
Commits
d9959f68
Commit
d9959f68
authored
Apr 06, 2021
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口日期传递
parent
2bf845d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
18 deletions
+80
-18
home.vue
src/views/home.vue
+80
-18
No files found.
src/views/home.vue
View file @
d9959f68
...
...
@@ -16,18 +16,18 @@
</a-col>
<a-col
:span=
'10'
>
<a-row
style=
"border-left: 1px solid lightgrey; padding-left: 10px; "
>
<a-col
:span=
'16'
>
<span
class=
"top-font"
>
本月新增 :
</span>
<a-col
:span=
'16'
v-show=
"1==2"
>
<span
class=
"top-font"
>
本月新增 :
</span>
</a-col>
<a-col
:span=
'8'
>
<a-col
:span=
'8'
v-show=
"1==2"
>
<span
class=
"top-count-extra"
style=
"cursor: pointer;"
>
{{
2
}}
</span>
</a-col>
</a-row>
<a-row
style=
"border-left: 1px solid lightgrey; padding-left: 10px;"
>
<a-col
:span=
'16'
>
<a-col
:span=
'16'
v-show=
"1==2"
>
<span
class=
"top-font"
>
本月注销 :
</span>
</a-col>
<a-col
:span=
'8'
>
<a-col
:span=
'8'
v-show=
"1==2"
>
<span
class=
"top-count-extra"
style=
"cursor: pointer;"
>
{{
3
}}
</span>
</a-col>
</a-row>
...
...
@@ -65,18 +65,18 @@
</a-col>
<a-col
:span=
'10'
>
<a-row
style=
"border-left: 1px solid lightgrey; padding-left: 10px; "
>
<a-col
:span=
'16'
>
<a-col
:span=
'16'
v-show=
"1==2"
>
<span
class=
"top-font"
>
本月增加 :
</span>
</a-col>
<a-col
:span=
'8'
>
<a-col
:span=
'8'
v-show=
"1==2"
>
<span
class=
"top-count-extra"
style=
"cursor: pointer;"
>
{{
0
}}
</span>
</a-col>
</a-row>
<a-row
style=
"border-left: 1px solid lightgrey; padding-left: 10px;"
>
<a-col
:span=
'16'
>
<a-col
:span=
'16'
v-show=
"1==2"
>
<span
class=
"top-font"
>
本月注销 :
</span>
</a-col>
<a-col
:span=
'8'
>
<a-col
:span=
'8'
v-show=
"1==2"
>
<span
class=
"top-count-extra"
style=
"cursor: pointer;"
>
{{
4
}}
</span>
</a-col>
</a-row>
...
...
@@ -161,7 +161,7 @@
<div
class=
"month"
>
<div
class=
"home-card monthTitle"
>
<span>
房办月查
</span>
<span>
{{
parseInt
(((
secRowInfos
.
HOUSING_OFFICE
.
count
.
rectifiedCount
/
secRowInfos
.
HOUSING_OFFICE
.
count
.
rectifyCount
)
*
100
))
}}
%
</span>
<span>
{{
!
parseInt
(((
secRowInfos
.
HOUSING_OFFICE
.
count
.
rectifiedCount
/
secRowInfos
.
HOUSING_OFFICE
.
count
.
rectifyCount
)
*
100
))?
0
:
parseInt
(((
secRowInfos
.
HOUSING_OFFICE
.
count
.
rectifiedCount
/
secRowInfos
.
HOUSING_OFFICE
.
count
.
rectifyCount
)
*
100
))
}}
%
</span>
</div>
<div
class=
"home-card monthBox"
>
<p
class=
"monthBoxTitle"
>
今年完成情况
</p>
...
...
@@ -188,7 +188,7 @@
<div
class=
"month"
>
<div
class=
"home-card monthTitle"
>
<span>
物企双周查
</span>
<span>
{{
parseInt
(((
secRowInfos
.
PROPERTY_BIWEEKLY
.
count
.
rectifiedCount
/
secRowInfos
.
PROPERTY_BIWEEKLY
.
count
.
rectifyCount
)
*
100
))
}}
%
</span>
<span>
{{
!
parseInt
(((
secRowInfos
.
PROPERTY_BIWEEKLY
.
count
.
rectifiedCount
/
secRowInfos
.
PROPERTY_BIWEEKLY
.
count
.
rectifyCount
)
*
100
))?
0
:
parseInt
(((
secRowInfos
.
PROPERTY_BIWEEKLY
.
count
.
rectifiedCount
/
secRowInfos
.
PROPERTY_BIWEEKLY
.
count
.
rectifyCount
)
*
100
))
}}
%
</span>
</div>
<div
class=
"home-card monthBox"
>
<p
class=
"monthBoxTitle"
>
今年完成情况
</p>
...
...
@@ -739,13 +739,75 @@ export default {
},
hoverMonthToManager
(
item
){
let
time
=
new
Date
().
getFullYear
()
// console.log(time+'-'+parseInt(item.name))
this
.
$router
.
push
({
'path'
:
'/documents/fiveSearch/managerSelfCheckList'
,
query
:
{
month
:
time
+
'-'
+
parseInt
(
item
.
name
)
}
})
const
bigdays
=
31
const
middledays
=
30
const
smalldays
=
28
let
days
=
parseInt
(
item
.
name
)
let
dayType
=
null
// if(days == 1)
switch
(
days
)
{
case
1
:
dayType
=
bigdays
break
case
2
:
dayType
=
smalldays
break
case
3
:
dayType
=
bigdays
break
case
4
:
dayType
=
middledays
break
case
5
:
dayType
=
bigdays
break
case
6
:
dayType
=
middledays
break
case
7
:
dayType
=
bigdays
break
case
8
:
dayType
=
bigdays
break
case
9
:
dayType
=
smalldays
break
case
10
:
dayType
=
bigdays
break
case
11
:
dayType
=
smalldays
break
case
12
:
dayType
=
bigdays
break
default
:
dayType
=
null
break
}
let
parseDateInfo
=
(
parseInt
(
item
.
name
)
>
10
?
time
+
'-'
+
parseInt
(
item
.
name
)
+
'-01,'
+
time
+
'-'
+
parseInt
(
item
.
name
)
+
'-31'
:
time
+
'-'
+
'0'
+
parseInt
(
item
.
name
)
+
'-01,'
+
time
+
'-'
+
'0'
+
parseInt
(
item
.
name
)
+
'-31'
)
// this.$router.push({
// 'path': '/documents/fiveSearch/managerSelfCheckList',
// query: {
// month: parseDateInfo
// // month: time+'-'+parseInt(item.name) > 10 ? parseInt(item.name): '0' + parseInt(item.name)
// }
// })
},
/**
* 获取房办月查统计
...
...
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