Commit 633af64b by cocomilk2012

update

parent b9a8d9f0
Showing with 3 additions and 1 deletions
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
/> />
</router-link> </router-link>
<router-link class="entrance" :to="`/PaySlips?sp_id=${sp_id}&id_no=371327198511175134`" > <router-link class="entrance" :to="`/PaySlips?sp_id=${sp_id}&id_no=${id_no}`" >
<img <img
src="../assets/images/slips_icon.png" src="../assets/images/slips_icon.png"
alt="我的工资条" alt="我的工资条"
...@@ -115,6 +115,7 @@ export default class Index extends Vue { ...@@ -115,6 +115,7 @@ export default class Index extends Vue {
private ed_id: string = ""; private ed_id: string = "";
private showPopup: boolean = true; private showPopup: boolean = true;
private expand: boolean = true; private expand: boolean = true;
private id_no_decode:string="";
get popupStyle() { get popupStyle() {
if (this.expand) { if (this.expand) {
...@@ -130,6 +131,7 @@ export default class Index extends Vue { ...@@ -130,6 +131,7 @@ export default class Index extends Vue {
created() { created() {
const id_no = this.$route.query.id_no as string; const id_no = this.$route.query.id_no as string;
this.id_no_decode=id_no;
this.id_no = window.atob(encodeURI(id_no)); this.id_no = window.atob(encodeURI(id_no));
this.sp_id = this.$route.query.sp_id as string; this.sp_id = this.$route.query.sp_id as string;
......
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