|
|
|
@ -1,14 +1,14 @@ |
|
|
|
<template> |
|
|
|
<div class="home app_content"> |
|
|
|
<!-- 导航栏 --> |
|
|
|
<div class="header_body"> |
|
|
|
<!-- <div class="header_body"> |
|
|
|
<header-nav |
|
|
|
:slefBack="true" |
|
|
|
@goBack="goBack" |
|
|
|
:titelText="`企业详情`" |
|
|
|
> |
|
|
|
</header-nav> |
|
|
|
</div> |
|
|
|
</div>--> |
|
|
|
|
|
|
|
<span class="tohome" @click="toEnforceHomeView"><i class="van-badge__wrapper van-icon van-icon-wap-home-o"></i></span> |
|
|
|
<!-- 中间 --> |
|
|
|
@ -138,22 +138,20 @@ const onLoad = () => { |
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
getEnterpriseInformation(data.enterpriseNumber,success =>{ |
|
|
|
if (null != success.data) { |
|
|
|
console.log(success.data); |
|
|
|
data.searchParam.enterpriseNumber = success.data.enterpriseNumber; |
|
|
|
console.log(data.searchParam.enterpriseNumber); |
|
|
|
//查询企业历史检查案件 |
|
|
|
queryEarlyWarning(data.searchParam,success =>{ |
|
|
|
if(success.data.length > 0){ |
|
|
|
data.warningInfo = success.data[0]; |
|
|
|
if (null != success.data) { |
|
|
|
console.log(success.data); |
|
|
|
data.searchParam.enterpriseNumber = success.data.enterpriseNumber; |
|
|
|
console.log(data.searchParam.enterpriseNumber); |
|
|
|
//查询企业历史检查案件 |
|
|
|
queryEarlyWarning(data.searchParam,success =>{ |
|
|
|
if(success.data.length > 0){ |
|
|
|
data.warningInfo = success.data[0]; |
|
|
|
} |
|
|
|
},error =>{}) |
|
|
|
} |
|
|
|
},error =>{ |
|
|
|
|
|
|
|
}) |
|
|
|
} |
|
|
|
},error=>{ |
|
|
|
},error=>{ |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
getEnterpriseMerchantAuthorization({merchantTel: useCommon.phonenumber},success =>{ |
|
|
|
if(!(success.data == null && success.data.length == 0)){ |
|
|
|
useCommon.SET_USER_ENTERPRISE_NUMBER(success.data[0].enterpriseNumber); |
|
|
|
|