Commit ae404396 authored by zhangyanni's avatar zhangyanni

空数据页面

parent b0c3e4e0
......@@ -42,7 +42,7 @@
<i style="background: #5D78FF;border-radius: 3px;" v-if="userInfo&&userInfo.roleList[0].roleType==1"><img
src="../../assets/img/adminIcon@2x.png" alt=""></i>
</span>
<span style="margin: 0;margin-top: -2px;">|</span>
<span @click="changeLangEvent()" class="langHoverSpan"><i :class="lang==='zh-CN'?'selectedLang':''">中文</i><i> / </i><i
:class="lang==='en'?'selectedLang':''">En</i></span>
</div>
......@@ -175,6 +175,7 @@
}else if(index==2){
this.$router.push("/bigBusiness/list")
}
globalMsg.$emit("sendItemNav",index);
},
......@@ -368,6 +369,8 @@
}
& .user-info{
color: #6C7293 !important;
margin-right: 0;
text-align: right;
}
.user-info:hover{
color: #5D78FF !important;
......@@ -413,6 +416,8 @@
.user-info{
color: #6C7293;
font-weight: 500;
margin-right: 0;
text-align: right;
}
.header-right > span{
color: #6C7293;
......
......@@ -514,10 +514,12 @@
var params = this.$route.query.id ? this.$route.query.id : 0;
api.getCompanyInfoById(params).then((res) => {
if (res.code == 0) {
this.basicInfo = res.result;
this.basicInfo.industryList = res.result.companyIndustryStr.split(",").join(" | ");
this.basicInfo.companyLabelList = res.result.companyLabel ? res.result.companyLabel.split(",") : "";
this.getUserInfoFunc();
if(res.result){
this.basicInfo = res.result;
this.basicInfo.industryList = res.result.companyIndustryStr.split(",").join(" | ");
this.basicInfo.companyLabelList = res.result.companyLabel ? res.result.companyLabel.split(",") : "";
this.getUserInfoFunc();
}
} else {
this.$message.error(res.msg);
}
......@@ -540,7 +542,7 @@
};
api.getRequireListAxios(params).then((res) => {
if (res.code == 0) {
this.tableData = res.result.records;
this.tableData = res.result?res.result.records:[];
if (this.tableData.length > 0) {
this.tableData.forEach((item) => {
item.targetIndustryList = item.targetIndustryStr ? item.targetIndustryStr.split(",") : "";
......
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 to comment