Commit 7acfe801 by cocomilk2012

update

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