Commit 1dfcbd8a by cocomilk2012

update

parent 081427b3
Showing with 3 additions and 1 deletions
...@@ -124,8 +124,10 @@ export default class FlexEmployee extends Vue { ...@@ -124,8 +124,10 @@ export default class FlexEmployee extends Vue {
mounted() { mounted() {
this.name = localStorage.getItem("name") as string; this.name = localStorage.getItem("name") as string;
this.birthday = localStorage.getItem("birthday") as string; this.birthday = localStorage.getItem("birthday") as string;
const idNo = window.atob(decodeURI(String(this.$route.query.id_no)));
console.log("idNo=", idNo);
let params = { let params = {
idNo: this.$route.query.id_no //371327198511175134 idNo: idNo //371327198511175134
}; };
this.$server.EmployeeService.getAgileWorker(params).then((res: any) => { this.$server.EmployeeService.getAgileWorker(params).then((res: any) => {
console.log(res); console.log(res);
......
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