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
......
......@@ -10,44 +10,74 @@
:column="3"
:labelStyle="{ background: '#F2F9FC' }"
>
<a-descriptions-item label="法定代表人"
>{{ baseinfo.legal }}</a-descriptions-item
<a-descriptions-item label="法定代表人">{{
baseinfo.legal
}}</a-descriptions-item>
<a-descriptions-item label="经营状态">{{
baseinfo.status
}}</a-descriptions-item>
<a-descriptions-item label="成立日期">{{
baseinfo.build_date
}}</a-descriptions-item>
<a-descriptions-item label="工商注册号">{{
baseinfo.register_code
}}</a-descriptions-item>
<a-descriptions-item label="注册资本">{{
baseinfo.capital
}}</a-descriptions-item>
<a-descriptions-item label="实缴资本">{{
baseinfo.actual_capital
}}</a-descriptions-item>
<a-descriptions-item label="统一社会信用代码">{{
baseinfo.social_code
}}</a-descriptions-item>
<a-descriptions-item label="纳税人识别号">{{
baseinfo.tax_code
}}</a-descriptions-item>
<a-descriptions-item label="组织机构代码">{{
baseinfo.company_code
}}</a-descriptions-item>
<a-descriptions-item label="营业期限"
>{{ baseinfo.from_time }}-{{
baseinfo.to_time
}}</a-descriptions-item
>
<a-descriptions-item label="经营状态">{{ baseinfo.status }}</a-descriptions-item>
<a-descriptions-item label="成立日期">{{ baseinfo.build_date }}</a-descriptions-item>
<a-descriptions-item label="工商注册号"
>{{ baseinfo.register_code }}</a-descriptions-item
>
<a-descriptions-item label="注册资本">{{ baseinfo.capital }}</a-descriptions-item>
<a-descriptions-item label="实缴资本">{{ baseinfo.actual_capital }}</a-descriptions-item>
<a-descriptions-item label="统一社会信用代码"
>{{ baseinfo.social_code }}</a-descriptions-item
>
<a-descriptions-item label="纳税人识别号"
>{{ baseinfo.tax_code }}</a-descriptions-item
>
<a-descriptions-item label="组织机构代码"
>{{ baseinfo.company_code }}</a-descriptions-item
>
<a-descriptions-item label="营业期限">{{ baseinfo.from_time }}-{{ baseinfo.to_time }}</a-descriptions-item>
<a-descriptions-item label="纳税人资质">{{ baseinfo.tax_qualification }}</a-descriptions-item>
<a-descriptions-item label="核准日期">{{ baseinfo.approval_date }}</a-descriptions-item>
<a-descriptions-item label="企业类型">{{ baseinfo.entype }}</a-descriptions-item>
<a-descriptions-item label="行业">{{ baseinfo.company_industry }}</a-descriptions-item>
<a-descriptions-item label="纳税人资质">{{
baseinfo.tax_qualification
}}</a-descriptions-item>
<a-descriptions-item label="核准日期">{{
baseinfo.approval_date
}}</a-descriptions-item>
<a-descriptions-item label="企业类型">{{
baseinfo.entype
}}</a-descriptions-item>
<a-descriptions-item label="行业">{{
baseinfo.company_industry
}}</a-descriptions-item>
<a-descriptions-item label="人员规模">{{ baseinfo.staff_range }}</a-descriptions-item>
<a-descriptions-item label="参保人数">{{ baseinfo.bao_num }}</a-descriptions-item>
<a-descriptions-item label="登记机关">{{ baseinfo.register_org }}</a-descriptions-item>
<a-descriptions-item label="曾用名">{{ baseinfo.history_name?baseinfo.history_name:'无' }}</a-descriptions-item>
<a-descriptions-item label="英文名">{{ baseinfo.en_name }}</a-descriptions-item>
<a-descriptions-item label="人员规模">{{
baseinfo.staff_range
}}</a-descriptions-item>
<a-descriptions-item label="参保人数">{{
baseinfo.bao_num
}}</a-descriptions-item>
<a-descriptions-item label="登记机关">{{
baseinfo.register_org
}}</a-descriptions-item>
<a-descriptions-item label="曾用名">{{
baseinfo.history_name ? baseinfo.history_name : "无"
}}</a-descriptions-item>
<a-descriptions-item label="英文名">{{
baseinfo.en_name
}}</a-descriptions-item>
<a-descriptions-item label=""></a-descriptions-item>
<a-descriptions-item label=""></a-descriptions-item>
<a-descriptions-item label="注册地址" :span="3"
>{{ baseinfo.address }}
</a-descriptions-item>
<a-descriptions-item label="经营范围" :span="3"
>{{ baseinfo.business_scope }}</a-descriptions-item
>
<a-descriptions-item label="经营范围" :span="3">{{
baseinfo.business_scope
}}</a-descriptions-item>
</a-descriptions>
</div>
<!-- 股东信息 -->
......@@ -61,8 +91,17 @@
<a-tab-pane key="工商登记" tab="工商登记">
<a-table
:columns="columns_shareholder"
:data-source="data_shareholder"
:data-source="baseinfo.share_holders"
:pagination="pagination"
>
<template #bodyCell="{ column, text, record }">
<template v-if="column.dataIndex == 'amount'">
{{ Number(text)+'万元' }}
</template>
<template v-if="column.dataIndex == 'percent'">
{{ (text* 100).toFixed(2) +'%' }}
</template>
</template>
</a-table>
</a-tab-pane>
......@@ -71,6 +110,7 @@
style="text-align: center"
:columns="columns_history"
:data-source="history_shareholder"
:pagination="pagination"
>
</a-table>
</a-tab-pane>
......@@ -79,7 +119,7 @@
<!-- 主要人员 -->
<div class="company_con1" id="keyPerson">
<h2 class="title">主要人员</h2>
<a-table :columns="columns_keyperson" :data-source="data_shareholder">
<a-table :columns="columns_keyperson" :data-source="baseinfo.company_marjor" :pagination="pagination">
</a-table>
</div>
<!-- 对外投资 -->
......@@ -87,7 +127,8 @@
<h2 class="title">对外投资</h2>
<a-table
:columns="columns_investment"
:data-source="data_shareholder"
:data-source="baseinfo.company_invest"
:pagination="pagination"
>
</a-table>
</div>
......@@ -102,7 +143,7 @@
<div class="company_con_anchor">
<a-anchor>
<a-anchor-link
style="font-size: 20px; color: #1C1C28; font-weight: bold"
style="font-size: 20px; color: #1c1c28; font-weight: bold"
title="企业概况"
/>
<a-anchor-link href="#businessInfo" title="工商信息" />
......@@ -116,7 +157,7 @@
<div id="components-back-top-demo-custom">
<a-back-top>
<div class="ant-back-top-inner">
<img src="@/static/common/icon-top.png" alt="">
<img src="@/static/common/icon-top.png" alt="" />
回到顶部
</div>
</a-back-top>
......@@ -130,8 +171,8 @@
<script>
export default {
name: "companyProfile",
props:{
baseinfo:Object,
props: {
baseinfo: Object,
},
data() {
return {
......@@ -139,37 +180,37 @@ export default {
columns_shareholder: [
{
title: "序号",
dataIndex: "name",
key: "name",
dataIndex: "id",
key: "id",
},
{
title: "股东(发起人)",
dataIndex: "age",
key: "age",
dataIndex: "name",
key: "name",
},
{
title: "持股比例",
dataIndex: "address",
key: "address 1",
dataIndex: "percent",
key: "percent",
},
{
title: "最终受益股份",
dataIndex: "address",
key: "address 2",
dataIndex: "final_benefit_shares",
key: "final_benefit_shares",
},
{
title: "认缴出资额",
dataIndex: "address",
key: "address 3",
dataIndex: "amount",
key: "amount",
sorter: {
compare: (a, b) => a.chinese - b.chinese,
multiple: 3,
compare: (a, b) => a.amount - b.amount,
// multiple: 3,
},
},
{
title: "认缴出资日期",
dataIndex: "address",
key: "address 4",
dataIndex: "create_time",
key: "create_time",
},
],
columns_history: [
......@@ -187,7 +228,7 @@ export default {
{
title: "股东类型",
dataIndex: "address",
key: "address 1",
key: "percent",
},
{
title: "退出时持股比例",
......@@ -289,19 +330,19 @@ export default {
columns_keyperson: [
{
title: "序号",
dataIndex: "name",
key: "name",
dataIndex: "id",
key: "id",
},
{
title: "姓名",
dataIndex: "age",
key: "age",
width: 300,
dataIndex: "name",
key: "name",
},
{
title: "职位",
dataIndex: "address",
key: "address 1",
dataIndex: "post",
key: "post",
},
{
title: "持股比例",
......@@ -317,39 +358,38 @@ export default {
columns_investment: [
{
title: "序号",
dataIndex: "name",
key: "name",
dataIndex: "id",
key: "id",
},
{
title: "被投资企业名称",
dataIndex: "age",
key: "age",
width: 300,
dataIndex: "name",
key: "name",
},
{
title: "法定代表人/执行事务合伙人",
dataIndex: "address",
key: "address 1",
dataIndex: "legal",
key: "legal",
},
{
title: "成立日期",
dataIndex: "address",
key: "address 2",
dataIndex: "create_time",
key: "create_time",
},
{
title: "投资数额",
dataIndex: "address",
key: "address 3",
dataIndex: "investment_amount",
key: "investment_amount",
},
{
title: "投资比例",
dataIndex: "address",
key: "address 3",
dataIndex: "investment_ratio",
key: "investment_ratio",
},
{
title: "经营状态",
dataIndex: "address",
key: "address 3",
dataIndex: "status",
key: "status",
},
],
columns_financing: [
......@@ -375,6 +415,9 @@ export default {
key: "address 2",
},
],
pagination: {
pageSize: 5,
},
};
},
};
......@@ -419,23 +462,23 @@ export default {
.company_con_anchor {
margin-top: 15px;
font-weight: bold;
color: #1C1C28;
color: #1c1c28;
:deep(.ant-anchor-link-title) {
color: #1C1C28;
color: #1c1c28;
margin-bottom: 15px;
}
:deep(.ant-anchor-link-active > .ant-anchor-link-title) {
color: #1890ff;
}
:deep(.ant-anchor-ink::before){
:deep(.ant-anchor-ink::before) {
width: 8px;
background-color: #F5F5F5;
background-color: #f5f5f5;
}
:deep(.ant-anchor-wrapper) {
background-color: #fff;
padding-left: 10px;
color: #1C1C28;
color: #1c1c28;
height: 350px;
margin-left: 10px;
padding: 30px 15px 0;
......
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