Commit 7f6a2c13 authored by anxixi's avatar anxixi

翻译修改

parent 90860681
......@@ -731,6 +731,9 @@
}else{
this.isbtn = false;
}
if(!this.diven_zh){
this.translate();
}
} else {
this.$message.error(response.msgCode);
}
......@@ -1245,9 +1248,6 @@
console.log("提交出错");
return false;
});
if(!this.diven_zh){
this.translate();
}
},
}
</script>
......
......@@ -2,21 +2,23 @@
<div class="overfolowWrapper">
<breadTop :title="title" :isSearch="false" :isColor="true" :isReturn="true" :isTranslate="true"></breadTop>
<div style="margin-top: 1rem;background: #5d78ff;text-align: center;color: #FFFFFF;padding-bottom: 0.2rem">
<p style="padding: 0.7rem 0 0.4rem;">
<img :src="companyInfo.companyLogoUrl?companyInfo.companyLogoUrl:require('../../../assets/img/bigBusiness@2x.png')"
alt="" style="width: 1.8rem;height: 1.8rem;border-radius: 3px">
</p>
<p style="margin-bottom: 0.3rem">{{companyInfo.companyName}}</p>
<p style="margin-bottom: 0.3rem"><span v-if="companyInfo.isTechcodeProject==1" style="padding: 2px 10px;font-size: 12px; border-radius: 10px;background:#FF9E29;"><i style="font-size: 12px" class="iconfont icon-v"></i> {{$t("listproject.techcertification")}}</span></p>
<p style="margin-bottom: 0.3rem">
<div style="margin: 0 auto;width: 90%">
<p style="padding: 0.7rem 0 0.4rem;">
<img :src="companyInfo.companyLogoUrl?companyInfo.companyLogoUrl:require('../../../assets/img/bigBusiness@2x.png')"
alt="" style="width: 1.8rem;height: 1.8rem;border-radius: 3px">
</p>
<p style="margin-bottom: 0.3rem">{{companyInfo.companyName}}</p>
<p style="margin-bottom: 0.3rem"><span v-if="companyInfo.isTechcodeProject==1" style="padding: 2px 10px;font-size: 12px; border-radius: 10px;background:#FF9E29;"><i style="font-size: 12px" class="iconfont icon-v"></i> {{$t("listproject.techcertification")}}</span></p>
<p style="margin-bottom: 0.3rem">
<span style="display: inline-block;">
<i v-if="companyInfo.companyNation">{{companyInfo.companyNation}}</i>
<i v-if="companyInfo.companyProvince">-{{companyInfo.companyProvince}}</i>
<i v-if="companyInfo.companyCity">-{{companyInfo.companyCity}}</i>
</span>
</p>
<p style="margin-bottom: 0.3rem">{{companyInfo.companyIntroduction}}</p>
<p><span v-for="(itemed,index) in companyInfo.companyLabelList" :key="index" style="display: inline-block;"><i style="background:#4C65E3;padding: 4px 8px;margin-right: 5px;border-radius: 3px;font-size: 12px;line-height: 0.6rem">{{itemed}}</i></span></p>
</p>
<p style="margin-bottom: 0.3rem">{{companyInfo.companyIntroduction}}</p>
<p><span v-for="(itemed,index) in companyInfo.companyLabelList" :key="index" style="display: inline-block;"><i style="background:#4C65E3;padding: 4px 8px;margin-right: 5px;border-radius: 3px;font-size: 12px;line-height: 0.6rem">{{itemed}}</i></span></p>
</div>
</div>
<div class="contentclassed">
<div v-if="companyInfo.projectSource!=1">
......@@ -127,7 +129,8 @@
title: this.$t("Otherjson.projectdetails"),
companyInfo: {},
tableData:[],
isbtntype:true
isbtntype:true,
isshow:false
}
},
......@@ -138,6 +141,9 @@
api.selectProjectById(id).then((res) => {
if (res.code == 0) {
this.companyInfo = res.result;
if(this.isshow){
this.gettransAxios();
}
} else {
this.$toast(res.msg);
}
......@@ -196,11 +202,7 @@
globalMsg.$on("translateFunc",(data)=>{
this.handleTransSBusinessList(data);
})
let isshow = this.$i18n.locale=="zh-CN"?false:true;
console.log(isshow)
if(isshow){
this.gettransAxios();
}
this.isshow = this.$i18n.locale=="zh-CN"?false:true;
}
}
</script>
......
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