Commit e898ffca by cocomilk2012

update

parent 10162ac1
Showing with 8 additions and 6 deletions
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<p>可查看编辑自己的劳务派遣员工档案信息</p> <p>可查看编辑自己的劳务派遣员工档案信息</p>
</div> </div>
</a> </a>
<a class="si-child" id="flex-employee" @click="toFlex"> <a class="si-child" id="flex-employee" @click="toFlex_click">
<img src="../assets/images/agent/flex-employee.png" alt /> <img src="../assets/images/agent/flex-employee.png" alt />
<div class="si-child-desc"> <div class="si-child-desc">
<h4>我是灵活用工员工</h4> <h4>我是灵活用工员工</h4>
...@@ -47,11 +47,13 @@ export default class SelectIdentity extends Vue { ...@@ -47,11 +47,13 @@ export default class SelectIdentity extends Vue {
return this.dispatch_list.length; return this.dispatch_list.length;
} }
private toFlex(): void { private toFlex_click(): void {
this.$router.push({ if (this.id_no_encrytion) {
name: "FlexEmployee", this.$router.push({
query: { id_no: this.id_no_encrytion } name: "FlexEmployee",
}); query: { id_no: this.id_no_encrytion }
});
}
} }
private toIndex(sp_id: string): void { private toIndex(sp_id: string): void {
......
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