Commit 8d15338e by 展昭

add click

parent 44101e2d
Showing with 15 additions and 4 deletions
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
<p>可查看专项订单服务,使用职场小工具</p> <p>可查看专项订单服务,使用职场小工具</p>
</div> </div>
</a>--> </a>-->
<a class="si-child" id="dispatch-employee" href> <a class="si-child" id="dispatch-employee" @click="toIndex">
<img src="../assets/images/agent/company-employee.png" alt /> <img src="../assets/images/agent/company-employee.png" alt />
<div class="si-child-desc"> <div class="si-child-desc">
<h4>我是派遣员工</h4> <h4>我是派遣员工</h4>
<p>可查看编辑自己的劳务派遣员工档案信息</p> <p>可查看编辑自己的劳务派遣员工档案信息</p>
</div> </div>
</a> </a>
<a class="si-child" id="flex-employee" href> <a class="si-child" id="flex-employee" @click="toFlex">
<img src="../assets/images/agent/company-employee.png" alt /> <img src="../assets/images/agent/company-employee.png" alt />
<div class="si-child-desc"> <div class="si-child-desc">
<h4>我是灵活用工员工</h4> <h4>我是灵活用工员工</h4>
...@@ -24,8 +24,19 @@ ...@@ -24,8 +24,19 @@
</div> </div>
</template> </template>
<script> <script lang='ts'>
export default {}; import { Component, Vue } from "vue-property-decorator";
@Component
export default class SelectIdentity extends Vue {
private toFlex(): void {
this.$router.push({ name: "FlexEmployee" });
}
private toIndex(): void {
this.$router.push({ name: "Index" });
}
}
</script> </script>
<style lang="less"> <style lang="less">
......
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