Commit 513e23a3 by liudx

修改bug

parent f8efdcc7
No preview for this file type
<template> <template>
<div class="details"> <div class="details">
<a-breadcrumb class="nav_bread"> <a-breadcrumb class="nav_bread">
<a-breadcrumb-item>首页</a-breadcrumb-item> <a-breadcrumb-item><router-link :to="'/home'">首页</router-link></a-breadcrumb-item>
<a-breadcrumb-item>公司</a-breadcrumb-item> <a-breadcrumb-item><router-link :to="'/company'">企业</router-link></a-breadcrumb-item>
<a-breadcrumb-item>公司详情</a-breadcrumb-item> <a-breadcrumb-item>公司详情</a-breadcrumb-item>
</a-breadcrumb> </a-breadcrumb>
<div class="back_btn" @click="backbtn">返回</div> <div class="back_btn" @click="backbtn">返回</div>
...@@ -221,13 +221,16 @@ export default { ...@@ -221,13 +221,16 @@ export default {
if (res.code == 0) { if (res.code == 0) {
this.baseinfo = res.data; this.baseinfo = res.data;
this.baseinfo.share_holders.forEach((item, index) => { this.baseinfo.share_holders.forEach((item, index) => {
item.id = index + 1; item.index = index + 1;
}); });
this.baseinfo.company_marjor.forEach((item, index) => { this.baseinfo.company_marjor.forEach((item, index) => {
item.id = index + 1; item.index = index + 1;
}); });
this.baseinfo.company_invest.forEach((item, index) => { this.baseinfo.company_invest.forEach((item, index) => {
item.id = index + 1; item.index = index + 1;
});
this.baseinfo.company_finance.forEach((item, index) => {
item.index = index + 1;
}); });
} else { } else {
message.error(res.msg); message.error(res.msg);
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
}}</a-descriptions-item> }}</a-descriptions-item>
<a-descriptions-item label="营业期限" <a-descriptions-item label="营业期限"
>{{ baseinfo.from_time }}-{{ >{{ baseinfo.from_time }}-{{
baseinfo.to_time baseinfo.to_time?baseinfo.to_time:'无固定期限'
}}</a-descriptions-item }}</a-descriptions-item
> >
<a-descriptions-item label="纳税人资质">{{ <a-descriptions-item label="纳税人资质">{{
...@@ -58,20 +58,18 @@ ...@@ -58,20 +58,18 @@
<a-descriptions-item label="人员规模">{{ <a-descriptions-item label="人员规模">{{
baseinfo.staff_range baseinfo.staff_range
}}</a-descriptions-item> }}</a-descriptions-item>
<a-descriptions-item label="参保人数">{{ <a-descriptions-item label="参保人数" :span="1">{{
baseinfo.bao_num baseinfo.bao_num
}}</a-descriptions-item> }}</a-descriptions-item>
<a-descriptions-item label="登记机关">{{ <a-descriptions-item label="登记机关" :span="2">{{
baseinfo.register_org baseinfo.register_org
}}</a-descriptions-item> }}</a-descriptions-item>
<a-descriptions-item label="曾用名">{{ <a-descriptions-item label="曾用名" :span="1">{{
baseinfo.history_name ? baseinfo.history_name : "无" baseinfo.history_name ? baseinfo.history_name : "无"
}}</a-descriptions-item> }}</a-descriptions-item>
<a-descriptions-item label="英文名">{{ <a-descriptions-item label="英文名" :span="2">{{
baseinfo.en_name baseinfo.en_name
}}</a-descriptions-item> }}</a-descriptions-item>
<a-descriptions-item label=""></a-descriptions-item>
<a-descriptions-item label=""></a-descriptions-item>
<a-descriptions-item label="注册地址" :span="3" <a-descriptions-item label="注册地址" :span="3"
>{{ baseinfo.address }} >{{ baseinfo.address }}
</a-descriptions-item> </a-descriptions-item>
...@@ -172,8 +170,8 @@ export default { ...@@ -172,8 +170,8 @@ export default {
columns_shareholder: [ columns_shareholder: [
{ {
title: "序号", title: "序号",
dataIndex: "id", dataIndex: "index",
key: "id", key: "index",
}, },
{ {
title: "股东(发起人)", title: "股东(发起人)",
...@@ -194,136 +192,88 @@ export default { ...@@ -194,136 +192,88 @@ export default {
title: "认缴出资额", title: "认缴出资额",
dataIndex: "amount", dataIndex: "amount",
key: "amount", key: "amount",
sorter: {
compare: (a, b) => a.amount - b.amount,
// multiple: 3,
},
},
{
title: "认缴出资日期",
dataIndex: "create_time",
key: "create_time",
},
],
columns_history: [
{
title: "序号",
dataIndex: "name",
key: "name",
},
{
title: "股东",
dataIndex: "age",
key: "age",
width: 300,
},
{
title: "股东类型",
dataIndex: "address",
key: "percent",
},
{
title: "退出时持股比例",
dataIndex: "address",
key: "address 2",
},
{
title: "退出日期",
dataIndex: "address",
key: "address 3",
sorter: {
compare: (a, b) => a.chinese - b.chinese,
multiple: 3,
},
},
{
title: "认缴出资额",
dataIndex: "address",
key: "address 4",
sorter: {
compare: (a, b) => a.chinese - b.chinese,
multiple: 3,
},
}, },
{ {
title: "认缴出资日期", title: "认缴出资日期",
dataIndex: "address", dataIndex: "",
key: "address 4", key: "",
sorter: {
compare: (a, b) => a.chinese - b.chinese,
multiple: 3,
},
},
{
title: "实缴出资额",
dataIndex: "address",
key: "address 4",
sorter: {
compare: (a, b) => a.chinese - b.chinese,
multiple: 3,
},
},
{
title: "实缴出资日期",
dataIndex: "address",
key: "address 4",
sorter: {
compare: (a, b) => a.chinese - b.chinese,
multiple: 3,
},
}, },
], ],
// columns_history: [
// {
// title: "序号",
// dataIndex: "name",
// key: "name",
// },
// {
// title: "股东",
// dataIndex: "age",
// key: "age",
// width: 300,
// },
// {
// title: "股东类型",
// dataIndex: "address",
// key: "percent",
// },
// {
// title: "退出时持股比例",
// dataIndex: "address",
// key: "address 2",
// },
// {
// title: "退出日期",
// dataIndex: "address",
// key: "address 3",
// },
// {
// title: "认缴出资额",
// dataIndex: "address",
// key: "address 4",
// },
// {
// title: "认缴出资日期",
// dataIndex: "address",
// key: "address 4",
// // sorter: {
// // compare: (a, b) => a.chinese - b.chinese,
// // multiple: 3,
// // },
// },
// {
// title: "实缴出资额",
// dataIndex: "address",
// key: "address 4",
// // sorter: {
// // compare: (a, b) => a.chinese - b.chinese,
// // multiple: 3,
// // },
// },
// {
// title: "实缴出资日期",
// dataIndex: "address",
// key: "address 4",
// // sorter: {
// // compare: (a, b) => a.chinese - b.chinese,
// // multiple: 3,
// // },
// },
// ],
data_shareholder: [ data_shareholder: [
{
key: "1",
name: "John Brown",
age: 32,
address: "New York No. 1 Lake Park, New York No. 1 Lake Park",
tags: ["nice", "developer"],
},
{
key: "2",
name: "Jim Green",
age: 42,
address: "London No. 2 Lake Park, London No. 2 Lake Park",
tags: ["loser"],
},
{
key: "3",
name: "Joe Black",
age: 32,
address: "Sidney No. 1 Lake Park, Sidney No. 1 Lake Park",
tags: ["cool", "teacher"],
},
], ],
history_shareholder: [ history_shareholder: [
{
key: "1",
name: "John Brown",
age: 32,
address: "New York No. 1 Lake Park, New York No. 1 Lake Park",
tags: ["nice", "developer"],
},
{
key: "2",
name: "Jim Green",
age: 42,
address: "London No. 2 Lake Park, London No. 2 Lake Park",
tags: ["loser"],
},
{
key: "3",
name: "Joe Black",
age: 32,
address: "Sidney No. 1 Lake Park, Sidney No. 1 Lake Park",
tags: ["cool", "teacher"],
},
], ],
columns_keyperson: [ columns_keyperson: [
{ {
title: "序号", title: "序号",
dataIndex: "id", dataIndex: "index",
key: "id", key: "index",
}, },
{ {
title: "姓名", title: "姓名",
...@@ -349,8 +299,8 @@ export default { ...@@ -349,8 +299,8 @@ export default {
columns_investment: [ columns_investment: [
{ {
title: "序号", title: "序号",
dataIndex: "id", dataIndex: "index",
key: "id", key: "index",
}, },
{ {
title: "被投资企业名称", title: "被投资企业名称",
...@@ -364,8 +314,8 @@ export default { ...@@ -364,8 +314,8 @@ export default {
}, },
{ {
title: "成立日期", title: "成立日期",
dataIndex: "create_time", dataIndex: "establish_date",
key: "create_time", key: "establish_date",
}, },
{ {
title: "投资数额", title: "投资数额",
...@@ -385,9 +335,20 @@ export default { ...@@ -385,9 +335,20 @@ export default {
], ],
columns_financing: [ columns_financing: [
{ {
title: "序号",
dataIndex: "index",
key: "index",
},
{
title: "披露日期", title: "披露日期",
dataIndex: "pub_date", dataIndex: "pub_date",
key: "pub_date", key: "pub_date",
// defaultSortOrder: "descend", // 默认上到下为由大到小的顺序
// sorter: (a, b) => {
// return a.pub_date > b.pub_date ? 1 : -1;
// },
// sortOrder:'ascend'
}, },
{ {
title: "交易金额", title: "交易金额",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</div> </div>
<div class="company"> <div class="company">
<a-breadcrumb class="nav_bread"> <a-breadcrumb class="nav_bread">
<a-breadcrumb-item>首页</a-breadcrumb-item> <a-breadcrumb-item><router-link :to="'/home'">首页</router-link></a-breadcrumb-item>
<a-breadcrumb-item>企业</a-breadcrumb-item> <a-breadcrumb-item>企业</a-breadcrumb-item>
</a-breadcrumb> </a-breadcrumb>
<div class="company_con"> <div class="company_con">
......
<template> <template>
<div class="history"> <div class="history">
<a-breadcrumb class="nav_bread"> <a-breadcrumb class="nav_bread">
<a-breadcrumb-item>首页</a-breadcrumb-item> <a-breadcrumb-item><router-link :to="'/home'">首页</router-link></a-breadcrumb-item>
<a-breadcrumb-item>我的关注</a-breadcrumb-item> <a-breadcrumb-item>我的关注</a-breadcrumb-item>
</a-breadcrumb> </a-breadcrumb>
<!-- 主体 --> <!-- 主体 -->
......
<template> <template>
<div class="history"> <div class="history">
<a-breadcrumb class="nav_bread"> <a-breadcrumb class="nav_bread">
<a-breadcrumb-item>首页</a-breadcrumb-item> <a-breadcrumb-item><router-link :to="'/home'">首页</router-link></a-breadcrumb-item>
<a-breadcrumb-item>历史记录</a-breadcrumb-item> <!-- <a-breadcrumb-item>历史记录</a-breadcrumb-item> -->
<a-breadcrumb-item v-if="activeKey == 1">浏览记录</a-breadcrumb-item> <a-breadcrumb-item v-if="activeKey == 1">浏览记录</a-breadcrumb-item>
<a-breadcrumb-item v-else>导出记录</a-breadcrumb-item> <a-breadcrumb-item v-else>导出记录</a-breadcrumb-item>
</a-breadcrumb> </a-breadcrumb>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</div> </div>
<div class="patent"> <div class="patent">
<a-breadcrumb class="nav_bread"> <a-breadcrumb class="nav_bread">
<a-breadcrumb-item>首页</a-breadcrumb-item> <a-breadcrumb-item><router-link :to="'/home'">首页</router-link></a-breadcrumb-item>
<a-breadcrumb-item>专利</a-breadcrumb-item> <a-breadcrumb-item>专利</a-breadcrumb-item>
</a-breadcrumb> </a-breadcrumb>
<div class="patent_con"> <div class="patent_con">
......
<template> <template>
<div class="details"> <div class="details">
<a-breadcrumb class="nav_bread"> <a-breadcrumb class="nav_bread">
<a-breadcrumb-item>首页</a-breadcrumb-item> <a-breadcrumb-item><router-link :to="'/home'">首页</router-link></a-breadcrumb-item>
<a-breadcrumb-item>专利</a-breadcrumb-item> <a-breadcrumb-item><router-link :to="'/patent'">专利</router-link></a-breadcrumb-item>
<a-breadcrumb-item>专利详情</a-breadcrumb-item> <a-breadcrumb-item>专利详情</a-breadcrumb-item>
</a-breadcrumb> </a-breadcrumb>
<div class="back_btn" @click="backbtn">返回</div> <div class="back_btn" @click="backbtn">返回</div>
......
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