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
125fe87a
Commit
125fe87a
authored
Feb 08, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input
parent
5d18079a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
punchClockDetail.vue
src/view/healthCard/punchClockDetail.vue
+9
-8
No files found.
src/view/healthCard/punchClockDetail.vue
View file @
125fe87a
...
...
@@ -140,7 +140,7 @@
<div
class=
"tip"
>
10. 其他情况
</div>
<textarea
:placeholder=
"readOnly ? '' : '请输入'"
:disabled=
"status==2"
autoHeight=
"true"
v-model=
"value.sRemark"
/>
</div>
<button
@
click=
"upData"
v-if=
"status!=2"
>
{{
status
?
'提交'
:
'修改'
}}
</button>
<button
@
click=
"upData"
v-if=
"status!=2"
>
{{
!
status
?
'提交'
:
'修改'
}}
</button>
</div>
</
template
>
...
...
@@ -197,7 +197,7 @@ export default {
}
this
.
status
==
1
&&
(
this
.
value
.
iStatus
=
2
)
this
.
value
.
sCreateAppid
=
this
.
$route
.
params
.
openId
if
(
this
.
readOnly
){
if
(
this
.
status
>
0
){
await
this
.
getHealthDate
();
}
else
{
this
.
value
.
iEmploeeId
=
this
.
$route
.
params
.
id
...
...
@@ -219,14 +219,15 @@ export default {
this
.
value
=
res
[
0
];
for
(
let
x
in
this
.
value
){
if
(
util
.
getType
(
this
.
value
[
x
])
==
'boolean'
){
if
(
this
.
value
[
x
]){
this
.
value
[
x
]
=
1
;
}
else
{
this
.
value
[
x
]
=
0
;
}
// if(this.value[x]){
// this.value[x] = 1;
// }else{
// this.value[x] = 0;
// }
this
.
value
[
x
]
=
this
.
value
[
x
]?
1
:
0
}
}
this
.
address
=
this
.
value
.
sAddress
Full
;
this
.
address
=
this
.
value
.
sAddress
.
split
(
","
)
;
}
},
...
...
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