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
4d6afb8e
authored
Jun 19, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
f6f7630e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/views/FlexEmployee.vue
src/views/FlexEmployeeDetial.vue
src/views/FlexEmployee.vue
View file @
4d6afb8e
...
...
@@ -58,7 +58,7 @@
</div>
<div
class=
"fe-list-child-right"
>
<div
class=
"fe-list-child-right-desc"
>
<h3>
{{
item
.
paidSalary
}}
</h3>
<h3>
¥
{{
item
.
paidSalary
}}
.00
</h3>
<p
:style=
"matchColor(item.billStatus)"
>
{{
item
.
billStatus
}}
</p>
...
...
@@ -133,8 +133,8 @@ export default class FlexEmployee extends Vue {
console
.
log
(
"res="
,
res
);
this
.
accept_work
=
res
.
alCount
;
// 已接任务
this
.
perform_work
=
res
.
comCount
;
// 完成任务
this
.
Payment_receivable
=
res
.
receivableSalary
;
// 应收报酬
this
.
receive_receivable
=
res
.
receivedSalary
;
// 已收报酬
this
.
Payment_receivable
=
res
.
receivableSalary
.
toFixed
(
2
)
;
// 应收报酬
this
.
receive_receivable
=
res
.
receivedSalary
.
toFixed
(
2
)
;
// 已收报酬
this
.
taskRecordList
=
res
.
taskList
;
// 任务记录
console
.
log
(
"taskRecordList="
,
this
.
taskRecordList
);
...
...
src/views/FlexEmployeeDetial.vue
View file @
4d6afb8e
...
...
@@ -2,7 +2,7 @@
<div
class=
"fe-detial-box"
>
<div
class=
"fe-detial-top"
>
<h4>
任务报酬
</h4>
<h3>
+
{{
item
.
paidSalary
}}
</h3>
<h3>
+
{{
item
.
paidSalary
.
toFixed
(
2
)
}}
</h3>
<p
:style=
"matchColor(item.status)"
>
{{
item
.
status
}}
</p>
</div>
<div
class=
"fe-detial-bottom"
>
...
...
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