Commit 5a93ad5a by cocomilk2012

update

parent 5ce34243
Showing with 12 additions and 1 deletions
...@@ -48,7 +48,17 @@ import { toMoney } from "@/utils/public"; ...@@ -48,7 +48,17 @@ import { toMoney } from "@/utils/public";
} }
}) })
export default class FlexEmployee extends Vue { export default class FlexEmployee extends Vue {
private item: any; private item: any={
paidSalary:0.00,
status:0,
fullName:"",
description:"",
payTime:"",
banko:"",
title:"",
workDuty:"",
workDescription:""
};
get matchColor() { get matchColor() {
return (ibillStatus: string) => { return (ibillStatus: string) => {
...@@ -69,6 +79,7 @@ export default class FlexEmployee extends Vue { ...@@ -69,6 +79,7 @@ export default class FlexEmployee extends Vue {
created() { created() {
let id = this.$route.query.id; let id = this.$route.query.id;
let task_info = localStorage.getItem("taskList"); let task_info = localStorage.getItem("taskList");
if (task_info != null) { if (task_info != null) {
let tasks = JSON.parse(task_info); let tasks = JSON.parse(task_info);
this.item = tasks.find((x: any) => x.id == id); this.item = tasks.find((x: any) => x.id == id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment