Commit 318824ab by liudx

联调企业详情融资经历

parent 37b73dc1
No preview for this file type
No preview for this file type
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<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>首页</a-breadcrumb-item>
<a-breadcrumb-item>专利</a-breadcrumb-item> <a-breadcrumb-item>公司</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>
...@@ -186,6 +186,8 @@ export default { ...@@ -186,6 +186,8 @@ export default {
let company_marjor = that.baseinfo.company_marjor; let company_marjor = that.baseinfo.company_marjor;
//对外投资 //对外投资
let company_invest = that.baseinfo.company_invest; let company_invest = that.baseinfo.company_invest;
//融资信息
let company_finance = that.baseinfo.company_finance;
let date = new Date(); let date = new Date();
var year = date.getFullYear(); var year = date.getFullYear();
var month = date.getMonth() + 1; var month = date.getMonth() + 1;
...@@ -276,6 +278,7 @@ export default { ...@@ -276,6 +278,7 @@ export default {
share_holders, share_holders,
company_marjor, company_marjor,
company_invest, company_invest,
company_finance,
today, today,
// image1: myChart1.getDataURL({ // image1: myChart1.getDataURL({
// pixelRatio: 5, //导出的图片分辨率比率,默认是1 // pixelRatio: 5, //导出的图片分辨率比率,默认是1
......
...@@ -96,10 +96,10 @@ ...@@ -96,10 +96,10 @@
> >
<template #bodyCell="{ column, text, record }"> <template #bodyCell="{ column, text, record }">
<template v-if="column.dataIndex == 'amount'"> <template v-if="column.dataIndex == 'amount'">
{{ Number(text)+'万元' }} {{ Number(text) + "万元" }}
</template> </template>
<template v-if="column.dataIndex == 'percent'"> <template v-if="column.dataIndex == 'percent'">
{{ (text* 100).toFixed(2) +'%' }} {{ (text * 100).toFixed(2) + "%" }}
</template> </template>
</template> </template>
</a-table> </a-table>
...@@ -119,7 +119,11 @@ ...@@ -119,7 +119,11 @@
<!-- 主要人员 --> <!-- 主要人员 -->
<div class="company_con1" id="keyPerson"> <div class="company_con1" id="keyPerson">
<h2 class="title">主要人员</h2> <h2 class="title">主要人员</h2>
<a-table :columns="columns_keyperson" :data-source="baseinfo.company_marjor" :pagination="pagination"> <a-table
:columns="columns_keyperson"
:data-source="baseinfo.company_marjor"
:pagination="pagination"
>
</a-table> </a-table>
</div> </div>
<!-- 对外投资 --> <!-- 对外投资 -->
...@@ -136,7 +140,10 @@ ...@@ -136,7 +140,10 @@
<div class="company_con1" id=""> <div class="company_con1" id="">
<h2 class="title">融资经历</h2> <h2 class="title">融资经历</h2>
<a-table :columns="columns_financing" :data-source="data_shareholder"> <a-table
:columns="columns_financing"
:data-source="baseinfo.company_finance"
>
</a-table> </a-table>
</div> </div>
</div> </div>
...@@ -337,7 +344,6 @@ export default { ...@@ -337,7 +344,6 @@ export default {
title: "姓名", title: "姓名",
dataIndex: "name", dataIndex: "name",
key: "name", key: "name",
}, },
{ {
title: "职位", title: "职位",
...@@ -395,24 +401,23 @@ export default { ...@@ -395,24 +401,23 @@ export default {
columns_financing: [ columns_financing: [
{ {
title: "披露日期", title: "披露日期",
dataIndex: "name", dataIndex: "pub_date",
key: "name", key: "pub_date",
}, },
{ {
title: "交易金额", title: "交易金额",
dataIndex: "age", dataIndex: "amount",
key: "age", key: "amount",
width: 300,
}, },
{ {
title: "融资轮次", title: "融资轮次",
dataIndex: "address", dataIndex: "round",
key: "address 1", key: "round",
}, },
{ {
title: "投资方", title: "投资方",
dataIndex: "address", dataIndex: "investor",
key: "address 2", key: "investor",
}, },
], ],
pagination: { pagination: {
......
...@@ -27,7 +27,12 @@ ...@@ -27,7 +27,12 @@
<div class="company_con"> <div class="company_con">
<div class="company_con_left"> <div class="company_con_left">
<h3>筛选器</h3> <h3>筛选器</h3>
<a-form :layout="'vertical'" :model="formState"> <a-form
:layout="'vertical'"
:model="formState"
validateTrigger="change"
:ref="form"
>
<a-form-item label="区域"> <a-form-item label="区域">
<a-cascader <a-cascader
v-model:value="valueArea" v-model:value="valueArea"
...@@ -60,28 +65,22 @@ ...@@ -60,28 +65,22 @@
/> />
</a-config-provider> </a-config-provider>
</a-form-item> </a-form-item>
<!-- <a-form-item label="企业创新">
<a-select
v-model:value="valueInnovation"
mode="multiple"
placeholder="请选择"
:options="optionsInnovation"
></a-select>
</a-form-item> -->
<a-form-item label="注册资本"> <a-form-item label="注册资本">
<a-input-number <a-input-number
v-model="formState.capital_nums_min" v-model="formState.capital_nums_min"
:min="0"
style="width: 47%" style="width: 47%"
placeholder="请输入数值" placeholder="请输入数值"
@chane="cccc"
></a-input-number> ></a-input-number>
- -
<a-form-item-rest>
<a-input-number <a-input-number
v-model="formState.capital_nums_max" v-model="formState.capital_nums_max"
:min="0"
style="width: 47%" style="width: 47%"
placeholder="请输入数值" placeholder="请输入数值"
></a-input-number> ></a-input-number>
</a-form-item-rest>
</a-form-item> </a-form-item>
<a-form-item label="企业创新排名"> <a-form-item label="企业创新排名">
<a-select <a-select
...@@ -229,8 +228,8 @@ export default { ...@@ -229,8 +228,8 @@ export default {
industryvalue: [], industryvalue: [],
valueType: [], valueType: [],
formState: { formState: {
capital_nums_min: "", capital_nums_min: null,
capital_nums_max: "", capital_nums_max: null,
rangetime1: [], rangetime1: [],
}, },
filter: [], filter: [],
...@@ -388,6 +387,7 @@ export default { ...@@ -388,6 +387,7 @@ export default {
...params.area, ...params.area,
...params.company_industry, ...params.company_industry,
...params.qualification, ...params.qualification,
params.innovate
]; ];
if (key == "keyword") { if (key == "keyword") {
params.keyword ? filter.push(params.keyword) : ""; params.keyword ? filter.push(params.keyword) : "";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<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>首页</a-breadcrumb-item>
<a-breadcrumb-item>历史记录</a-breadcrumb-item> <a-breadcrumb-item>我的关注</a-breadcrumb-item>
</a-breadcrumb> </a-breadcrumb>
<!-- 主体 --> <!-- 主体 -->
<div class="history_con"> <div class="history_con">
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</div> </div>
<!-- 判断是否有数据 --> <!-- 判断是否有数据 -->
<ul v-if="innovateList.length !== 0"> <ul v-if="innovateList.length !== 0">
<li class="rank_item" v-for="item in innovateList"> <li class="rank_item" v-for="item in innovateList" @click="openDetails">
{{ item }} {{ item }}
</li> </li>
</ul> </ul>
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<span class="more" @click="openmore('2')">更多</span> <span class="more" @click="openmore('2')">更多</span>
</div> </div>
<ul v-if="innovateList.length !== 0"> <ul v-if="innovateList.length !== 0">
<li class="rank_item" v-for="item in innovateList"> <li class="rank_item" v-for="item in innovateList" @click="openDetails">
{{ item }} {{ item }}
</li> </li>
</ul> </ul>
...@@ -203,6 +203,12 @@ export default { ...@@ -203,6 +203,12 @@ export default {
} }
}, },
//点击榜单里的企业跳转到企业详情
openDetails(){
this.$router.push({
path:'/companyDetails'
})
}
}, },
mounted() {}, mounted() {},
created() {}, created() {},
...@@ -350,11 +356,13 @@ export default { ...@@ -350,11 +356,13 @@ export default {
.more { .more {
float: right; float: right;
color: #bbbbbb; color: #bbbbbb;
cursor: pointer;
} }
.rank_item { .rank_item {
height: 45px; height: 45px;
line-height: 45px; line-height: 45px;
color: #555770; color: #555770;
cursor: pointer;
} }
li::marker { li::marker {
color: #ccc; color: #ccc;
......
...@@ -143,8 +143,7 @@ export default { ...@@ -143,8 +143,7 @@ export default {
}).then((res) => { }).then((res) => {
if (res.code == 0) { if (res.code == 0) {
message.success("登录成功"); message.success("登录成功");
this.$store.commit("setname", this.formState.username); // this.$store.commit("setname", this.formState.username);
localStorage.setItem("login_name", this.formState.username); localStorage.setItem("login_name", this.formState.username);
//记住密码功能 //记住密码功能
...@@ -157,6 +156,7 @@ export default { ...@@ -157,6 +156,7 @@ export default {
this.$router.push({ this.$router.push({
path: "/index", path: "/index",
}); });
localStorage.setItem("current",'首页');
} else { } else {
message.error(res.msg); message.error(res.msg);
} }
......
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