Commit 7acfe801 by cocomilk2012

update

parent 63953a61
<template> <template>
<div class="main main-company" id="main_company"> <div class="main main-company" id="main_company">
<div class="list_wrap" v-if="dispatch_list.length > 0">
<div class="company-item-box" v-for="(item,index) in dispatch_list" :key="index" > <div class="company-item-box" v-for="(item,index) in dispatch_list" :key="index" >
<p class="company-name" @click="toCompany_click(item.id)">{{item.fullName}}</p> <p class="company-name" @click="toCompany_click(item.id)">{{item.fullName}}</p>
<img src="../assets/images/right_arrow.png" alt="进入派遣公司" title="进入派遣公司" /> <img src="../assets/images/right_arrow.png" alt="进入派遣公司" title="进入派遣公司" />
</div> </div>
</div>
<div v-else class="no_data">
您还没有劳务派遣公司,暂无相关信息
</div>
</div> </div>
</template> </template>
...@@ -58,4 +60,10 @@ export default class workInfo extends Vue { ...@@ -58,4 +60,10 @@ export default class workInfo extends Vue {
</script> </script>
<style lang="less"> <style lang="less">
.no_data{
color: #999;
padding:20px;
margin: auto;
font-size: 14px;
}
</style> </style>
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</div> </div>
</a>--> </a>-->
<a <a
v-if="!no_data && company_num > 0" v-if="!no_data"
class="si-child" class="si-child"
id="dispatch-employee" id="dispatch-employee"
@click="toIndex_click" @click="toIndex_click"
...@@ -91,7 +91,7 @@ export default class SelectIdentity extends Vue { ...@@ -91,7 +91,7 @@ export default class SelectIdentity extends Vue {
} }
private toIndex_click(): void { private toIndex_click(): void {
if (this.company_num > 1) { if (this.company_num > 1||this.company_num ==0) {
this.ChooseCompany(); this.ChooseCompany();
} }
......
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