Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
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
godwithdh
WX_h5
Commits
51348b84
Commit
51348b84
authored
Feb 08, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readly
parent
346587ea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
punchClockDetail.vue
src/view/healthCard/punchClockDetail.vue
+19
-8
No files found.
src/view/healthCard/punchClockDetail.vue
View file @
51348b84
...
@@ -183,7 +183,7 @@ export default {
...
@@ -183,7 +183,7 @@ export default {
this
.
readOnly
=
this
.
$route
.
meta
.
readOnly
this
.
readOnly
=
this
.
$route
.
meta
.
readOnly
this
.
value
.
sCreateAppid
=
this
.
$route
.
params
.
openId
this
.
value
.
sCreateAppid
=
this
.
$route
.
params
.
openId
if
(
this
.
readOnly
){
if
(
this
.
readOnly
){
this
.
millisecond
=
this
.
$route
.
params
.
millisecond
this
.
millisecond
=
parseInt
(
this
.
$route
.
params
.
millisecond
)
this
.
getHealthDate
()
this
.
getHealthDate
()
}
else
{
}
else
{
this
.
value
.
iEmploeeId
=
this
.
$route
.
params
.
id
this
.
value
.
iEmploeeId
=
this
.
$route
.
params
.
id
...
@@ -194,13 +194,24 @@ export default {
...
@@ -194,13 +194,24 @@ export default {
},
},
methods
:{
methods
:{
async
getHealthDate
(){
async
getHealthDate
(){
var
data
=
[
var
value
=
await
this
.
request
(
"getStatisticalDetails"
,{
data
:[
{
key
:
"url"
,
value
:
"HealthLog"
},
{
key
:
"url"
,
value
:
"HealthLog"
},
{
key
:
"dDate"
,
value
:
util
.
dateFormat
(
new
Date
(
this
.
millisecond
),
"yyyy-MM-dd"
)},
{
key
:
"dDate"
,
value
:
util
.
dateFormat
(
new
Date
(
this
.
millisecond
),
"yyyy-MM-dd"
)},
{
key
:
"openid"
,
value
:
this
.
value
.
sCreateAppid
}
{
key
:
"openid"
,
value
:
this
.
value
.
sCreateAppid
}
]
]
var
value
=
await
this
.
request
(
"getStatisticalDetails"
,
data
)
},
"加载中"
,{})
// if()
if
(
value
&&
value
[
0
]){
Object
.
assign
(
this
.
value
,
value
[
0
],{
bHaveBeen
:
value
[
0
].
bHaveBeen
?
1
:
0
,
bHospital
:
value
[
0
].
bHospital
?
1
:
0
,
bQuarantine
:
value
[
0
].
bQuarantine
?
1
:
0
,
bTouch
:
value
[
0
].
bTouch
?
1
:
0
,
})
this
.
address
=
value
[
0
].
sAddress
.
split
(
","
)
}
else
{
this
.
$vux
.
toast
.
text
(
'获取数据失败!'
,
'middle'
);
}
},
},
logHide
(
e
){
logHide
(
e
){
...
...
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