|
|
|
@ -133,6 +133,15 @@ |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 企业信息展示部分 (师傅视角) --> |
|
|
|
<company-info |
|
|
|
:company-data="obj" |
|
|
|
v-if="!!type" |
|
|
|
:show-contact-button="!!type"> |
|
|
|
</company-info> |
|
|
|
|
|
|
|
|
|
|
|
<view class="se-px-40 se-py-20" @click="toPayment"> |
|
|
|
<view class="se-flex se-flex-ai-c se-pb-10"> |
|
|
|
<view class="line-orange"></view> |
|
|
|
@ -251,48 +260,11 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 企业信息展示部分 (师傅视角) --> |
|
|
|
<view class="se-mt-10"> |
|
|
|
<view class="se-m-20 se-br-20 se-bs-b se-bgc-white se-py-20 se-px-30"> |
|
|
|
<view class="se-flex se-flex-ai-c se-pb-10"> |
|
|
|
<view class="line-orange"></view> |
|
|
|
<view class="se-ml-10 se-fs-32 se-c-black se-fw-6"> |
|
|
|
企业信息 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="se-py-10 se-pb-30"> |
|
|
|
<view class="se-mt-30"> |
|
|
|
<text class="se-fs-28 se-c-black se-fw5">公司名称:{{obj.employAuthenticationCompany && obj.employAuthenticationCompany.name || obj.workName || '暂未'}}</text> |
|
|
|
<br> |
|
|
|
<text class="se-fs-28 se-c-black se-fw5">公司地址:{{obj.employAuthenticationCompany && obj.employAuthenticationCompany.address || obj.workAddress || '暂未'}}</text> |
|
|
|
<br> |
|
|
|
<text class="se-fs-28 se-c-black se-fw5">所属行业:{{obj.employAuthenticationCompany && obj.employAuthenticationCompany.industryName || '暂未'}}</text> |
|
|
|
<br> |
|
|
|
<text class="se-fs-28 se-c-black se-fw5">招聘联系人:{{obj.employAuthenticationPerson && obj.employAuthenticationPerson.name || '暂未'}}</text> |
|
|
|
<br> |
|
|
|
<text class="se-fs-24 se-c-text-third">联系方式:{{obj.employAuthenticationPerson && obj.employAuthenticationPerson.phone || '暂未'}}</text> |
|
|
|
<view class="se-bgc-orange se-c-white se-fs-20 se-display-ib se-px-10 se-py-5 se-br-10 se-ml-10" |
|
|
|
@click="copyText(obj.employAuthenticationPerson && obj.employAuthenticationPerson.phone)"> |
|
|
|
复制 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="se-mt-10"> |
|
|
|
<text class="se-fs-24 se-c-33">工作地址:{{obj.workAddress || '暂未'}}</text> |
|
|
|
<view class="se-bgc-orange se-c-white se-fs-20 se-display-ib se-px-10 se-py-5 se-br-10 se-ml-10" |
|
|
|
@click="copyText(obj.workAddress)"> |
|
|
|
复制 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 联系企业按钮 --> |
|
|
|
<view class="se-px-220 se-pb-30 se-fs-20 se-flex se-flex-h-c" v-if="type"> |
|
|
|
<view |
|
|
|
@click="callCompany()" |
|
|
|
class="se-mx-10 se-w-200 se-br-40 se-flex-h-c se-h-50 se-lh-50 se-ta-c se-fs-24 se-c-white se-bgc-orange"> |
|
|
|
<text>联系企业</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<company-info |
|
|
|
:company-data="obj" |
|
|
|
v-if="!type" |
|
|
|
:show-contact-button="!!type"> |
|
|
|
</company-info> |
|
|
|
|
|
|
|
</view> |
|
|
|
</template> |
|
|
|
@ -307,9 +279,11 @@ |
|
|
|
confirmOrderTryCompanyOk, |
|
|
|
} from "@/common/api.js" |
|
|
|
import OrderStatus from "@/components/order-status/index.vue" |
|
|
|
import CompanyInfo from "@/components/company-info/index.vue" |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
OrderStatus |
|
|
|
OrderStatus, |
|
|
|
CompanyInfo |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
@ -489,28 +463,6 @@ |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 拨打企业联系人电话 |
|
|
|
callCompany() { |
|
|
|
const phone = this.obj.employAuthenticationPerson && this.obj.employAuthenticationPerson.phone; |
|
|
|
if (phone) { |
|
|
|
uni.makePhoneCall({ |
|
|
|
phoneNumber: phone, |
|
|
|
fail: (err) => { |
|
|
|
console.error('拨打电话失败', err); |
|
|
|
uni.showToast({ |
|
|
|
title: '拨打电话失败', |
|
|
|
icon: 'none' |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
title: '企业联系人电话号码不存在', |
|
|
|
icon: 'none' |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|