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
db67cb52
authored
Jun 30, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
e66ecc7a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
src/views/FlexEmployee.vue
src/views/FlexEmployeeDetial.vue
src/views/FlexEmployee.vue
View file @
db67cb52
...
...
@@ -172,7 +172,7 @@ export default class FlexEmployee extends Vue {
this
.
taskRecordList
.
length
>
0
?
(
this
.
showList
=
1
)
:
(
this
.
showList
=
0
);
this
.
taskRecordList
.
length
>=
3
?
this
.
expand
=
false
:
this
.
expand
=
true
;
localStorage
.
setItem
(
"taskList"
,
JSON
.
stringify
(
this
.
taskRecordList
));
});
}
}
...
...
src/views/FlexEmployeeDetial.vue
View file @
db67cb52
...
...
@@ -69,8 +69,10 @@ export default class FlexEmployee extends Vue {
created
()
{
let
id
=
this
.
$route
.
query
.
id
;
let
task_info
=
localStorage
.
getItem
(
"taskList"
);
if
(
task_info
!=
null
)
{
let
tasks
=
JSON
.
parse
(
task_info
);
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