Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
frontend
/
qqxb-self-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a2319300
authored
Jun 23, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
96fb3144
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
src/views/FlexEmployee.vue
src/views/FlexEmployee.vue
View file @
a2319300
...
@@ -63,7 +63,13 @@
...
@@ -63,7 +63,13 @@
</div>
</div>
<div
class=
"fe-list-child-right"
>
<div
class=
"fe-list-child-right"
>
<div
class=
"fe-list-child-right-desc"
>
<div
class=
"fe-list-child-right-desc"
>
<h3>
¥
{{
Number
(
item
.
paidSalary
).
toFixed
(
2
)
}}
</h3>
<h3>
¥
{{
Number
(
item
.
paidSalary
)
?
Number
(
item
.
paidSalary
).
toFixed
(
2
)
:
0.0
}}
</h3>
<p
:style=
"matchColor(item.billStatus)"
>
<p
:style=
"matchColor(item.billStatus)"
>
{{
item
.
billStatus
}}
{{
item
.
billStatus
}}
</p>
</p>
...
@@ -149,8 +155,12 @@ export default class FlexEmployee extends Vue {
...
@@ -149,8 +155,12 @@ export default class FlexEmployee extends Vue {
console
.
log
(
"res="
,
res
);
console
.
log
(
"res="
,
res
);
this
.
accept_work
=
res
.
alCount
;
// 已接任务
this
.
accept_work
=
res
.
alCount
;
// 已接任务
this
.
perform_work
=
res
.
comCount
;
// 完成任务
this
.
perform_work
=
res
.
comCount
;
// 完成任务
this
.
Payment_receivable
=
res
.
receivableSalary
.
toFixed
(
2
);
// 应收报酬
this
.
Payment_receivable
=
res
.
receivableSalary
this
.
receive_receivable
=
res
.
receivedSalary
.
toFixed
(
2
);
// 已收报酬
?
res
.
receivableSalary
.
toFixed
(
2
)
:
0.0
;
// 应收报酬
this
.
receive_receivable
=
res
.
receivedSalary
?
res
.
receivedSalary
.
toFixed
(
2
)
:
0.0
;
// 已收报酬
this
.
taskRecordList
=
res
.
taskList
;
// 任务记录
this
.
taskRecordList
=
res
.
taskList
;
// 任务记录
this
.
taskRecordList
.
length
>
0
this
.
taskRecordList
.
length
>
0
?
(
this
.
showList
=
1
)
?
(
this
.
showList
=
1
)
...
...
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