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
c14e15da
authored
Jun 19, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
1dfcbd8a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
src/views/FlexEmployee.vue
src/views/FlexEmployeeDetial.vue
src/views/FlexEmployee.vue
View file @
c14e15da
...
...
@@ -14,28 +14,28 @@
class=
"person-information-bottom-child"
id=
"person-information-yjrw"
>
<h3>
{{
accept_work
|
isEmpty
}}
</h3>
<h3>
{{
accept_work
}}
</h3>
<p>
已接任务
</p>
</div>
<div
class=
"person-information-bottom-child"
id=
"person-information-wcrw"
>
<h3>
{{
perform_work
|
isEmpty
}}
</h3>
<h3>
{{
perform_work
}}
</h3>
<p>
完成任务
</p>
</div>
<div
class=
"person-information-bottom-child"
id=
"person-information-ysbc"
>
<h3>
{{
Payment_receivable
|
money
(
true
,
false
)
|
isEmpty
}}
</h3>
<h3>
{{
Payment_receivable
}}
</h3>
<p>
应收报酬
</p>
</div>
<div
class=
"person-information-bottom-child"
id=
"person-information-yysbc"
>
<h3>
{{
receive_receivable
|
isEmpty
}}
</h3>
<h3>
{{
receive_receivable
}}
</h3>
<p>
已收报酬
</p>
</div>
</div>
...
...
@@ -58,7 +58,7 @@
</div>
<div
class=
"fe-list-child-right"
>
<div
class=
"fe-list-child-right-desc"
>
<h3>
{{
item
.
paidSalary
|
money
(
true
,
true
)
}}
</h3>
<h3>
{{
item
.
paidSalary
}}
</h3>
<p
:style=
"matchColor(item.billStatus)"
>
{{
item
.
billStatus
}}
</p>
...
...
@@ -96,10 +96,10 @@ export default class FlexEmployee extends Vue {
private
name
:
string
=
""
;
//入参
private
birthday
:
string
=
""
;
//
private
accept_work
:
string
=
""
;
private
perform_work
:
string
=
""
;
private
Payment_receivable
:
string
=
""
;
private
receive_receivable
:
string
=
""
;
private
accept_work
:
string
=
"
0
"
;
private
perform_work
:
string
=
"
0
"
;
private
Payment_receivable
:
string
=
"
0.00
"
;
private
receive_receivable
:
string
=
"
0.00
"
;
private
fullName
:
string
=
""
;
private
taskRecordList
:
any
=
null
;
...
...
@@ -130,12 +130,14 @@ export default class FlexEmployee extends Vue {
idNo
:
idNo
//371327198511175134
};
this
.
$server
.
EmployeeService
.
getAgileWorker
(
params
).
then
((
res
:
any
)
=>
{
console
.
log
(
res
);
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
.
taskRecordList
=
res
.
taskList
;
// 任务记录
console
.
log
(
"taskRecordList="
,
this
.
taskRecordList
);
localStorage
.
setItem
(
"taskList"
,
JSON
.
stringify
(
res
.
taskList
));
});
}
...
...
src/views/FlexEmployeeDetial.vue
View file @
c14e15da
...
...
@@ -2,20 +2,20 @@
<div
class=
"fe-detial-box"
>
<div
class=
"fe-detial-top"
>
<h4>
任务报酬
</h4>
<h3>
+
{{
item
.
paidSalary
|
money
}}
</h3>
<h3>
+
{{
item
.
paidSalary
}}
</h3>
<p
:style=
"matchColor(item.status)"
>
{{
item
.
status
}}
</p>
</div>
<div
class=
"fe-detial-bottom"
>
<div
class=
"fe-detial-bottom-title"
>
<p>
发包企业
</p>
<p>
订单标题
</p>
<p>
任务名称
</p>
<p>
服务类别
</p>
<p>
发放时间
</p>
<p>
收款账户
</p>
</div>
<div
class=
"fe-detial-bottom-detial"
>
<p>
{{
item
.
fullName
}}
</p>
<p>
{{
item
.
description
}}
</p>
<p>
{{
item
.
title
}}
</p>
<p>
{{
item
.
description
}}
</p>
<p>
{{
item
.
payTime
}}
</p>
<p>
{{
item
.
banko
}}
</p>
...
...
@@ -57,6 +57,8 @@ export default class FlexEmployee extends Vue {
let
task_info
=
localStorage
.
getItem
(
"taskList"
);
if
(
task_info
!=
null
)
{
let
tasks
=
JSON
.
parse
(
task_info
);
console
.
log
(
tasks
.
find
((
x
:
any
)
=>
x
.
id
==
id
));
this
.
item
=
tasks
.
find
((
x
:
any
)
=>
x
.
id
==
id
);
}
}
...
...
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