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
8218a158
authored
Jun 19, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
0ab6353f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/views/FlexEmployee.vue
src/views/FlexEmployee.vue
View file @
8218a158
<
template
>
<
template
>
<!-- 1、已接单 进行中 #077AEC 2、已拒回 #FF9100 3、已完成 #95989E-->
<!-- 1、已接单 进行中 #077AEC 2、已拒回 #FF9100 3、已完成 #95989E-->
<div
class=
"fe-bigbox"
>
<div
class=
"fe-bigbox"
>
<div
v-if=
"
taskRecordList != null
"
>
<div
v-if=
"
showList == 1
"
>
<div
class=
"person-information"
>
<div
class=
"person-information"
>
<div
class=
"person-information-top"
>
<div
class=
"person-information-top"
>
<div
class=
"person-information-left"
>
<div
class=
"person-information-left"
>
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"empty_data"
v-
else
>
<div
class=
"empty_data"
v-
if=
"showList == 0"
>
<p>
<p>
您在亲亲小保未从事灵活用工的相关任务
您在亲亲小保未从事灵活用工的相关任务
<br
/>
暂无相关记录
<br
/>
暂无相关记录
...
@@ -108,6 +108,7 @@ export default class FlexEmployee extends Vue {
...
@@ -108,6 +108,7 @@ export default class FlexEmployee extends Vue {
private
receive_receivable
:
string
=
"0.00"
;
private
receive_receivable
:
string
=
"0.00"
;
private
fullName
:
string
=
""
;
private
fullName
:
string
=
""
;
private
taskRecordList
:
any
=
null
;
private
taskRecordList
:
any
=
null
;
private
showList
:
number
=
-
1
;
private
toDetail
(
id
:
any
):
void
{
private
toDetail
(
id
:
any
):
void
{
this
.
$router
.
push
({
name
:
"FlexEmployeeDetial"
,
query
:
{
id
}
});
this
.
$router
.
push
({
name
:
"FlexEmployeeDetial"
,
query
:
{
id
}
});
...
@@ -142,6 +143,9 @@ export default class FlexEmployee extends Vue {
...
@@ -142,6 +143,9 @@ export default class FlexEmployee extends Vue {
this
.
Payment_receivable
=
res
.
receivableSalary
.
toFixed
(
2
);
// 应收报酬
this
.
Payment_receivable
=
res
.
receivableSalary
.
toFixed
(
2
);
// 应收报酬
this
.
receive_receivable
=
res
.
receivedSalary
.
toFixed
(
2
);
// 已收报酬
this
.
receive_receivable
=
res
.
receivedSalary
.
toFixed
(
2
);
// 已收报酬
this
.
taskRecordList
=
res
.
taskList
;
// 任务记录
this
.
taskRecordList
=
res
.
taskList
;
// 任务记录
this
.
taskRecordList
.
length
>
0
?
(
this
.
showList
=
1
)
:
(
this
.
showList
=
0
);
console
.
log
(
"taskRecordList="
,
this
.
taskRecordList
);
console
.
log
(
"taskRecordList="
,
this
.
taskRecordList
);
localStorage
.
setItem
(
"taskList"
,
JSON
.
stringify
(
res
.
taskList
));
localStorage
.
setItem
(
"taskList"
,
JSON
.
stringify
(
res
.
taskList
));
...
...
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