Commit 37b73dc1 by liudx

联调企业详情

parent 1a4a6395
No preview for this file type
......@@ -9,23 +9,37 @@
<div class="details_title">
<div class="company_num">
<span>{{ baseinfo.company_name }}</span>
<a-tag color="#56CA95" v-if="baseinfo.high_new=='1'">{{ '高新技术企业'}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.tbe=='1'">{{ '科技型中小企业'}}</a-tag>
<a-tag color="#6096E6" v-if="baseinfo.tbe_sjmy=='1'">{{ '省级民营科技企业'}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.zjtx=='1'">{{ '专精特新'}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.zjtg_gjjxjr=='1'">{{ '国家级专精特新小巨人企业'}}</a-tag>
<a-tag color="#6096E6" v-if="baseinfo.zjtg_sjxjr=='1'">{{ '省级专精特新小巨人企业'}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.dengl=='1'">{{ '瞪羚企业'}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.quoted_company=='1'">{{ '上市企业'}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.isfive=='1'">{{ '中国500强'}}</a-tag>
<a-tag color="#6096E6" v-if="baseinfo.sxonhun=='1'">{{ '山西100强'}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.high_new == '1'">{{
"高新技术企业"
}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.tbe == '1'">{{
"科技型中小企业"
}}</a-tag>
<a-tag color="#6096E6" v-if="baseinfo.tbe_sjmy == '1'">{{
"省级民营科技企业"
}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.zjtx == '1'">{{
"专精特新"
}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.zjtg_gjjxjr == '1'">{{
"国家级专精特新小巨人企业"
}}</a-tag>
<a-tag color="#6096E6" v-if="baseinfo.zjtg_sjxjr == '1'">{{
"省级专精特新小巨人企业"
}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.dengl == '1'">{{
"瞪羚企业"
}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.quoted_company == '1'">{{
"上市企业"
}}</a-tag>
<a-tag color="#56CA95" v-if="baseinfo.isfive == '1'">{{
"中国500强"
}}</a-tag>
<a-tag color="#6096E6" v-if="baseinfo.sxonhun == '1'">{{
"山西100强"
}}</a-tag>
</div>
<div class="company_basic">
<div>注册地址:{{ baseinfo.address }}</div>
......@@ -88,7 +102,7 @@
<script>
import * as echarts from "echarts";
import companyProfile from "./companyProfile.vue";
import { enterpriseDetail,exportword } from "../../utils/indexApi.js";
import { enterpriseDetail, exportword } from "../../utils/indexApi.js";
import overview from "./overview.vue";
import { message } from "ant-design-vue";
import cooperation from "./cooperation.vue";
......@@ -162,6 +176,16 @@ export default {
},
daochu() {
var that = this;
let share_holders = that.baseinfo.share_holders;
//对模板中股东信息进行修改
share_holders.forEach(item=>{
item.percent = (item.percent * 100).toFixed(2)+'%';
item.amount = Number(item.amount)+'万元'
})
//主要人员
let company_marjor = that.baseinfo.company_marjor;
//对外投资
let company_invest = that.baseinfo.company_invest;
let date = new Date();
var year = date.getFullYear();
var month = date.getMonth() + 1;
......@@ -249,6 +273,9 @@ export default {
// 设置模板变量的值
doc.setData({
...that.baseinfo,
share_holders,
company_marjor,
company_invest,
today,
// image1: myChart1.getDataURL({
// pixelRatio: 5, //导出的图片分辨率比率,默认是1
......
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