Commit 92743715 by 展昭

update

parent e8a38dae
......@@ -55,7 +55,7 @@ export default [
name: 'Archives',
meta: {
title: '档案查看',
requiresAuth: true
requiresAuth: false
},
component: () => import("@/views/Archives.vue")
},
......
......@@ -34,7 +34,8 @@
<div class="close-box">
<img src="../assets/images/ic_unfold@2x.png" />
</div>
<a class="entrance" @click="toArchives_click" href="javascript:void(0)">
<router-link class="entrance" :to="`/archives?ed_id=${ed_id}`">
<img src="../assets/images/archives_icon.png" alt="我的档案" title="我的档案" />
<div>
<h4>我的档案</h4>
......@@ -42,23 +43,25 @@
<p>你的信息不完整,请先补充信息</p>
</div>
<img class="arrow" src="../assets/images/right_arrow.png" alt="arrow" title="arrow" />
</a>
<a class="entrance entrance-border" @click="toInformation_click" href="javascript:void(0)">
</router-link>
<router-link class="entrance entrance-border" :to="`/Information?ed_id=${ed_id}`">
<img src="../assets/images/information_icon.png" alt="我的资料" title="我的资料" />
<div>
<h4>我提交的资料</h4>
<p>你可查询上传的附件信息</p>
</div>
<img class="arrow" src="../assets/images/right_arrow.png" alt="arrow" title="arrow" />
</a>
<a class="entrance" @click="toPaySlips_click" href="javascript:void(0)">
</router-link>
<router-link class="entrance" :to="`/PaySlips?ed_id=${ed_id}`">
<img src="../assets/images/slips_icon.png" alt="我的工资条" title="我的工资条" />
<div>
<h4>我的工资条</h4>
<p>你可查询发放成功的工资记录</p>
</div>
<img class="arrow" src="../assets/images/right_arrow.png" alt="arrow" title="arrow" />
</a>
</router-link>
</div>
</div>
</template>
......@@ -76,22 +79,13 @@ export default class Index extends Vue {
private work_address: string = "";
private position: string = "";
private entry_date: string = "";
private id_no: string | (string | null)[] = "";
private toArchives_click(id_no: string): void {
this.$router.push({ name: "Archives", query: { id_no: id_no } });
}
private toInformation_click(id_no: string): void {
this.$router.push({ name: "Information", query: { id_no: id_no } });
}
private id_no: string = "";
private ed_id: string = "";
private toPaySlips_click(id_no: string): void {
this.$router.push({ name: "PaySlips", query: { id_no: id_no } });
}
created() {
this.id_no = this.$route.query.id_no;
const id_no = this.$route.query.id_no as string;
this.id_no = window.atob(encodeURI(id_no));
}
}
</script>
......
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