Commit a6a631f7 by 任建

rj

parent 11bd2cab
......@@ -3,16 +3,19 @@
<div id="app" ref="app">
<!-- <Globalheader title="" url="/jdtrademark" name="首页" /> -->
<router-view />
<Globalfooter />
<!-- <Globalfooter /> -->
<QilianFooter />
</div>
</template>
<script>
// import Globalheader from "@/components/globalheader";
import Globalfooter from "@/components/globalfooter";
// import Globalfooter from "@/components/globalfooter";
import QilianFooter from "@/components/qilianFooter"
export default {
components: {
// Globalheader,
Globalfooter
// Globalfooter,
QilianFooter
}
};
</script>
......
import http from "@/http/http.js";
import axios from "axios";
let baseUrl = "/api/web/action/enterpriseQuery/springBoard";
//获取企业域名信息数量
export function ipCountByAuthor(name) {
return http.post(baseUrl, {
actionType: "ipCountByAuthor",
actionBody: { author: name }
});
}
//获取企业域名信息列表
export function ipListByAuthor(name, pageSize, currentPage) {
return http.post(baseUrl, {
actionType: "ipListByAuthor",
actionBody: {
author: name, //公司名称
page_size: pageSize,
current_page: currentPage
}
});
}
//获取企业证照信息数量
export function licenseCountByAuthor(name) {
return http.post(baseUrl, {
actionType: "licenseCountByAuthor",
actionBody: {
author: name //公司名称
}
});
}
//获取企业高薪信息数量
export function gxCountByAuthor(name) {
return http.post(baseUrl, {
actionType: "gxCountByAuthor",
actionBody: {
author: name //公司名称
}
});
}
//获取企业的分支机构(从企查查获取)
export function getQccBranches(name) {
return http.post(baseUrl, {
actionType: "getQccBranches",
actionBody: { author: name }
});
}
//获取企业高薪信息列表
export function gxListByAuthor(name, pageSize, currentPage) {
return http.post(baseUrl, {
actionType: "gxListByAuthor",
actionBody: {
author: name, //公司名称
page_size: pageSize,
current_page: currentPage
}
});
}
//获取企业所有证照数量
export function getcountAll(name) {
return http.post(baseUrl, {
actionType: "getcountAll",
actionBody: {
author: name //公司名称
}
});
}
//获取企业画像信息
export function companyportraitCtl(name) {
return axios.post(
"https://zhichan.gongsibao.com/web/companyportraitCtl/phonequery", { name: name }
);
}
export function companynamequery(params) {
return axios.post(
"https://zhichan.gongsibao.com/web/companyportraitCtl/companynamequery",
params
);
}
\ No newline at end of file
import http from "@/http/http.js";
let baseUrl = "/api/web/action/licenseQuery/springBoard";
//根据公司得到推荐要办的证书
export function getLicenses(name) {
return http.post(baseUrl, {
actionType: "getLicenses",
actionBody: {
name: name //公司名称
}
});
}
\ No newline at end of file
......@@ -11,13 +11,13 @@ export function paCountByApplicantName(name) {
}
//根据申请人获取专利详情列表
export function paShortListByApplicantName(name) {
export function paShortListByApplicantName(name, pageSize, currentPage) {
return http.post(baseUrl, {
actionType: "paShortListByApplicantName",
actionBody: {
applicant_name: name, //公司名称
page_size: 1000,
current_page: 1
page_size: pageSize,
current_page: currentPage
}
});
}
......@@ -49,7 +49,7 @@ export function worksCountByAuthor(name) {
return http.post(baseUrl, {
actionType: "worksCountByAuthor",
actionBody: {
author: name, //公司名称
author: name //公司名称
}
});
}
......
......@@ -21,7 +21,7 @@ export function getCompanyInfoNoUser(name) {
}
//申请人查询接口
export function findTrademarkzcr(name) {
export function findTrademarkzcr(name, pageSize, currentPage) {
return http.post(baseUrl, {
actionType: "findTrademarkzcr",
actionBody: {
......@@ -31,8 +31,8 @@ export function findTrademarkzcr(name) {
sqnftabkey: "",
zcrname: "",
xcl: [],
pageSize: 1000,
currentPage: 1
pageSize: pageSize,
currentPage: currentPage
}
});
}
\ No newline at end of file
import http from "@/http/http.js";
import axios from "axios";
let baseUrl = "/api/web/action/tmTools/springBoard";
// 获取selftmreg的尼斯查询 一级查询得到二级树 二级查询得到三级树
......@@ -8,7 +8,7 @@ export function getNiceQueryCategory(nclcodeSCode) {
actionBody: {
nclcode: nclcodeSCode
},
actionType: "getNcl",
actionType: "getNcl"
});
}
......@@ -80,4 +80,23 @@ export function getEntregistryByCompanyName(name) {
companyName: name
}
});
}
//企业注册信息查询2
export function getEntregistryByCompanyName2(name) {
return axios.post(
"http://boss.gongsibao.com/api/gsbicsearch/companynameonesearch", {
appKey: "c90f935cd5ec49ff848edad31f53c14d",
companyName: name
}
);
}
//股东
export function getGuDong(name) {
return axios.post(
"http://boss.gongsibao.com/api/gsbicsearch/shareholdersearch", {
appKey: "c90f935cd5ec49ff848edad31f53c14d",
companyName: name
}
);
}
\ No newline at end of file
<template>
<div class="qilianFooter">
© 2015-2018 dscmall.cn 版权所有 ICP备案证书号:京ICP证150505号
京ICP备14043829号-2 POWERED by 企链
</div>
</template>
<script>
export default {};
</script>
<style lang="scss">
.qilianFooter{
width: 100%;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
background: #000007;
}
</style>
<template>
<div class="copyright">
<h3>
<p class="el-icon-back" @click="showTable">返回</p>
<p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b>
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item
><span @click="showTable">企业证照信息</span></el-breadcrumb-item
>
<el-breadcrumb-item>著作权</el-breadcrumb-item>
</el-breadcrumb>
</h3>
......@@ -66,9 +63,11 @@ export default {
},
mounted() {
worksListByAuthor(this.name).then(res => {
console.log(res, "worksListByAuthor");
console.log(res, "获取著作权列表");
if (res.status == 0 && res.data.data != null) {
this.copyrightList = res.data.data;
let newArr = res.data.data;
// newArr.pop();
this.copyrightList = newArr;
this.handleCurrentChange(1);
}
});
......
<template>
<div class="softwareCopyright">
<h3>
<p class="el-icon-back" @click="showTable">返回</p>
<p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b>
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item><span>企业证照信息</span></el-breadcrumb-item>
<el-breadcrumb-item>域名信息</el-breadcrumb-item>
</el-breadcrumb>
</h3>
......@@ -18,13 +17,18 @@
<td>审核时间</td>
</tr>
</thead>
<tbody class="softwareCopyright-table-body">
<tbody class="softwareCopyright-table-body" v-if="itemList.length != 0">
<tr v-for="(item, index) in itemList" :key="index">
<td>{{ "0" + (index + 1) }}</td>
<td>{{ item.name }}</td>
<td>{{ item.dengjihao }}</td>
<td>{{ item.version }}</td>
<td>{{ item.fenleihao }}</td>
<td>{{ getIndex(index) }}</td>
<td>{{ item.company_name }}</td>
<td>{{ item.web_adress }}</td>
<td>{{ item.card_num }}</td>
<td>---</td>
</tr>
</tbody>
<tbody v-else class="softwareCopyright-table-body">
<tr>
<td colspan="5">暂无数据</td>
</tr>
</tbody>
</table>
......@@ -32,7 +36,7 @@
background
layout="prev, pager, next"
:page-size="pageSize"
:total="softwareCopyrightList.length"
:total="total"
@current-change="handleCurrentChange"
>
</el-pagination>
......@@ -40,85 +44,16 @@
</template>
<script>
import { ipListByAuthor } from "@/api/enterpriseQuery.js";
export default {
props: ["name"],
data() {
return {
pageSize: 5,
softwareCopyrightList: [
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
},
{
name: "萌颜APP",
dengjihao: "mengyan.com",
version: "浙ICP备09002987号-48",
fenleihao: "2019-12-03"
}
],
itemList: []
currentPage: 1,
softwareCopyrightList: [],
itemList: [],
total: 0
};
},
mounted() {
......@@ -126,10 +61,24 @@ export default {
},
methods: {
handleCurrentChange(val) {
this.itemList = this.softwareCopyrightList.slice(
(val - 1) * this.pageSize,
val * this.pageSize
);
// this.itemList = this.softwareCopyrightList.slice(
// (val - 1) * this.pageSize,
// val * this.pageSize
// );
this.currentPage = val;
ipListByAuthor(this.name, this.pageSize, val).then(res => {
console.log(res, "获取域名信息列表");
if (res.status == 0) {
let newArr = res.data.data;
// newArr.pop();
this.itemList = newArr;
this.total = res.data.total;
}
});
},
//获取序号
getIndex(index) {
return index + 1 + this.currentPage * this.pageSize - this.pageSize;
},
indexMethod(index) {
return index * 2;
......
......@@ -4,47 +4,85 @@
<h1>
<img src="@/assets/imgs/company/companyicon.png" alt="" />
<p>{{ enterpriseName }}</p>
<span>小微企业</span><span>小微企业</span><span>小微企业</span>
<div>
<span v-for="(item, index) in companynamequery" :key="index">{{
item.name
}}</span>
</div>
</h1>
</div>
<div class="enterpriseInfo-main">
<table>
<tr>
<td>法人代表</td>
<td>{{ companyInfo.legalRepresentative ? companyInfo.legalRepresentative: "--" }}</td>
<td>
{{
companyInfo.legalRepresentative
? companyInfo.legalRepresentative
: "--"
}}
</td>
<td>注册资本</td>
<td>{{ companyInfo.registeredCapital? companyInfo.registeredCapital: "--" }}</td>
<td>
{{
companyInfo.registeredCapital
? companyInfo.registeredCapital
: "--"
}}
</td>
<td>营业期限</td>
<td>{{ companyInfo.businessTerm? companyInfo.businessTerm: "--" }}</td>
<td>
{{ companyInfo.businessTerm ? companyInfo.businessTerm : "--" }}
</td>
</tr>
<tr>
<td>统一社会信用代码</td>
<td>{{ companyInfo.creditCode? companyInfo.creditCode: "--" }}</td>
<td>{{ companyInfo.creditCode ? companyInfo.creditCode : "--" }}</td>
<td>企业地址</td>
<td>{{ companyInfo.businessAddress? companyInfo.businessAddress: "--" }}</td>
<td>
{{
companyInfo.businessAddress ? companyInfo.businessAddress : "--"
}}
</td>
<td>公司类型</td>
<td>{{ companyInfo.companyType? companyInfo.companyType: "--" }}</td>
<td>
{{
companyInfo.company_org_type ? companyInfo.company_org_type : "--"
}}
</td>
</tr>
<tr>
<td>注册号</td>
<td>{{ companyInfo.registrID? companyInfo.registrID: "--" }}</td>
<td>{{ companyInfo.registrID ? companyInfo.registrID : "--" }}</td>
<td>组织机构代码</td>
<td>{{ companyInfo.organizationCode? companyInfo.organizationCode: "--" }}</td>
<td>
{{
companyInfo.organizationCode ? companyInfo.organizationCode : "--"
}}
</td>
<td>所属行业</td>
<td>2015-12-08~2035-12-07</td>
<td>
{{
companyInfo.gsb_company_cate_1
? companyInfo.gsb_company_cate_1
: "--"
}}
</td>
</tr>
<tr>
<td>成立日期</td>
<td>{{companyInfo.dateIssue? companyInfo.dateIssue: "--"}}</td>
<td>{{ companyInfo.dateIssue ? companyInfo.dateIssue : "--" }}</td>
<td>发照日期</td>
<td>{{companyInfo.dateIssue? companyInfo.dateIssue: "--"}}</td>
<td>{{ companyInfo.dateIssue ? companyInfo.dateIssue : "--" }}</td>
<td>登记机关</td>
<td>{{companyInfo.registerOffice? companyInfo.registerOffice: "--"}}</td>
<td>
{{ companyInfo.registerOffice ? companyInfo.registerOffice : "--" }}
</td>
</tr>
<tr>
<td>经营范围</td>
<td colspan="5">
{{ companyInfo.scope? companyInfo.scope: "--" }}
{{ companyInfo.scope ? companyInfo.scope : "--" }}
</td>
</tr>
</table>
......@@ -59,28 +97,27 @@
<td>股东类型</td>
<td>股东</td>
<td>认缴出资(金额/时间)</td>
<td>缴出资(金额/时间)</td>
<td>缴出资(金额/时间)</td>
</tr>
</thead>
<tbody>
<tr>
<tbody v-if="list.length!=0">
<tr v-for="(item,index) in list" :key="index">
<td>自然人股东</td>
<td>孙长松</td>
<td>1万人民币</td>
<td>{{item.shareholdersName}}</td>
<td>{{item.subcribe}}</td>
<td>-</td>
</tr>
</tbody>
<tbody v-else>
<tr>
<td>自然人股东</td>
<td>孙长松</td>
<td>1万人民币</td>
<td>-</td>
<td colspan="4">暂无数据</td>
</tr>
</tbody>
</table>
</div>
<!-- -->
<div class="enterpriseInfo-container-title"><i></i>其他信息</div>
<!-- -->
<!-- <div class="enterpriseInfo-container-title"><i></i>其他信息</div>
<div class="enterpriseInfo-container-tableB">
<table>
<tr>
......@@ -102,19 +139,29 @@
</td>
</tr>
</table>
</div>
</div> -->
</div>
</div>
</template>
<script>
// import { getEntregistryByCompanyName } from "@/api/tmTools.js";
import {getGuDong} from "@/api/tmTools.js"
export default {
props: ["enterpriseName", "companyInfo"],
props: ["enterpriseName", "companyInfo", "companynamequery"],
data() {
return {};
return {
list:[]
};
},
mounted() {
getGuDong(this.enterpriseName).then(res=>{
console.log(res,"股东信息");
if(res.data.status == 0){
this.list = res.data.data.list
}
})
},
mounted() {},
methods: {}
};
</script>
......@@ -128,7 +175,7 @@ export default {
margin-bottom: 17px;
h1 {
display: flex;
align-items: center;
// align-items: center;
img {
width: 26px;
height: 26px;
......@@ -142,16 +189,22 @@ export default {
line-height: 30px;
margin-right: 20px;
}
span {
padding: 3px 10px;
background: #fdf2ec;
color: #f0a67c;
margin-right: 10px;
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(240, 166, 124, 1);
line-height: 17px;
div {
max-width: 800px;
display: flex;
flex-wrap: wrap;
span {
padding: 3px 10px;
background: #fdf2ec;
color: #f0a67c;
margin-right: 10px;
margin-bottom: 10px;
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(240, 166, 124, 1);
line-height: 17px;
}
}
}
}
......
<template>
<div class="patentCertificate">
<h3>
<p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b>
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item>专利证书</el-breadcrumb-item>
</el-breadcrumb>
</h3>
<table>
<thead class="patentCertificate-table-header">
<tr>
<td>序号</td>
<td>企业地址</td>
<td>年份</td>
<td>类型</td>
<td>证书编号</td>
<td>经营范围</td>
</tr>
</thead>
<tbody
class="patentCertificate-table-body"
v-if="itemList.length != 0"
>
<tr v-for="(item, index) in itemList" :key="index">
<td>{{ getIndex(index) }}</td>
<td>{{ item.address }}</td>
<td>{{ item.year }}</td>
<td>{{ item.techType }}</td>
<td>{{ item.certificateNo }}</td>
<td>{{ item.businessScope }}</td>
</tr>
</tbody>
<tbody v-else class="patentCertificate-table-body">
<tr class="notList">
<td colspan="5">暂无数据</td>
</tr>
</tbody>
</table>
<el-pagination
background
layout="prev, pager, next"
:page-size="pageSize"
:total="total"
@current-change="handleCurrentChange"
>
</el-pagination>
</div>
</template>
<script>
import { gxListByAuthor } from "@/api/enterpriseQuery.js";
export default {
props: ["name"],
data() {
return {
pageSize: 5,
currentPage: 1,
patentCertificateList: [],
total: 0,
itemList: []
};
},
mounted() {
this.handleCurrentChange(1);
},
methods: {
handleCurrentChange(val) {
this.currentPage = val;
gxListByAuthor(this.name, this.pageSize, val).then(res => {
console.log(res, "获取企业高新、、、、、、、、、、、、、、、、、、、、、、、列表");
if (res.status == 0) {
let newArr = res.data.data;
// newArr.pop();
this.itemList = newArr;
this.total = res.data.total;
}
});
},
//获取序号
getIndex(index) {
return index + 1 + this.currentPage * this.pageSize - this.pageSize;
},
indexMethod(index) {
return index * 2;
},
//翻转
showTable() {
this.$emit("unshowOne");
}
}
};
</script>
<style lang="scss">
.patentCertificate {
width: 100%;
h3 {
display: flex;
align-items: center;
margin-bottom: 17px;
p {
margin-right: 8px;
font-size: 15px;
cursor: pointer;
}
b {
width: 2.5px;
height: 14px;
background: #1478f0;
display: block;
margin-right: 5px;
}
.el-breadcrumb {
.el-breadcrumb__item:nth-child(1) {
.el-breadcrumb__inner {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 22px;
}
}
.el-breadcrumb__item:nth-child(2) {
.el-breadcrumb__inner {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(20, 120, 240, 1);
line-height: 22px;
}
}
}
}
table {
width: 100%;
text-align: center;
.patentCertificate-table-header {
width: 100%;
tr {
width: 100%;
td {
padding: 15px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border: 1px solid #e4eef6;
background: #f2f9fc;
}
td:last-child {
width: 400px;
}
}
}
.patentCertificate-table-body {
width: 100%;
.notList {
td {
text-align: center !important;
}
}
tr {
width: 100%;
td {
padding: 15px;
border: 1px solid #e4eef6;
img {
width: 60px;
height: 34px;
border: 2px solid #ccc;
display: inline-block;
}
}
td:last-child {
text-align: left;
}
}
}
}
.el-pagination {
display: flex;
justify-content: center;
margin: 19px 0;
}
}
</style>
......@@ -52,38 +52,58 @@
<div class="companyinfo-right-top">
<h1>{{ stateName }}</h1>
<div class="companyinfo-right-top-type">
<span>小微企业</span>
<span>小微企业</span>
<span>小微企业</span>
<span v-for="(item, index) in companynamequery" :key="index">{{
item.name
}}</span>
</div>
</div>
<div class="companyinfo-right-info">
<div class="companyinfo-right-info-item">
法人代表:{{ companyInfo.legalRepresentative }}
法人代表:{{
companyInfo.legalRepresentative
? companyInfo.legalRepresentative
: "---"
}}
</div>
<div class="companyinfo-right-info-item">
注册资本:{{ companyInfo.registeredCapital }}
注册资本:{{
companyInfo.registeredCapital
? companyInfo.registeredCapital
: "---"
}}
</div>
<div class="companyinfo-right-info-item">
营业期限:{{ companyInfo.businessTerm }}
营业期限:{{
companyInfo.businessTerm ? companyInfo.businessTerm : "---"
}}
</div>
<div class="companyinfo-right-info-item">
统一社会信用代码:{{ companyInfo.creditCode }}
统一社会信用代码:{{
companyInfo.creditCode ? companyInfo.creditCode : "---"
}}
</div>
<div class="companyinfo-right-info-item">
企业地址:{{ companyInfo.businessAddress }}
企业地址:{{
companyInfo.businessAddress
? companyInfo.businessAddress
: "---"
}}
</div>
<div class="companyinfo-right-info-item">
公司类型:{{ companyInfo.companyType }}
公司类型:{{
companyInfo.company_org_type
? companyInfo.company_org_type
: "---"
}}
</div>
<div class="moreinfo" @click="showDialog">
更多信息<i class="el-icon-arrow-right"></i>
更多信息
</div>
</div>
</div>
<div class="download">
<!-- <div class="download">
<img src="@/assets/imgs/company/download.png" alt="" />下载报告
</div>
</div> -->
</div>
<div class="companyinformation-container-main-certificateinfo">
<div class="main-certificateinfo-left">
......@@ -94,34 +114,89 @@
<table>
<thead>
<tr>
<td>工商证照</td>
<td>特种资质</td>
<td>知产证照</td>
<td>财税证照</td>
<td>资质证照</td>
<td>特许资质</td>
<td>网络文化</td>
<td>食品</td>
<td>互联网经营</td>
</tr>
</thead>
<tbody class="companycertificateinfo-tbody">
<tr>
<td><span>营业执照 1</span></td>
<!-- 特种资质 -->
<td>
<el-button :disabled="!gxCount" @click="showTable(6)"
>高新企业认证{{
gxCount ? gxCount : "(0)"
}}</el-button
>
<el-button disabled>人力资源许可证(0)</el-button>
<el-button disabled>400电话认证(0)</el-button>
<el-button disabled>ISO质量体系认证(0)</el-button>
</td>
<!-- 知产证照 -->
<td>
<el-button :disabled="!paCount" @click="showTable(2)">
专利证书 {{ paCount ? paCount : "(0)" }}
</el-button>
<el-button
:disabled="!worksCount"
@click="showTable(3)"
>
著作权 {{ worksCount ? worksCount : "(0)" }}
</el-button>
<el-button
:disabled="!softwareCount"
@click="showTable(4)"
>
软件著作权
{{ softwareCount ? softwareCount : "(0)" }}
</el-button>
<el-button :disabled="!ipCount" @click="showTable(5)">
域名信息
{{ ipCount ? ipCount : "(0)" }}</el-button
>
<el-button
:disabled="!shangbiaoCount"
@click="showTable(1)"
>商标注册证
{{
shangbiaoCount ? shangbiaoCount : "(0)"
}}</el-button
>
</td>
<!-- 网络文化 -->
<td>
<span @click="showTable(1)"
>商标注册证 {{ trademarkList.length }}</span
<el-button disabled
>网络文化经营许可证(0)</el-button
>
<span @click="showTable(2)">
专利证书 {{ paCount }}
</span>
<span @click="showTable(3)">
著作权 {{ worksCount }}
</span>
<span @click="showTable(4)">
软件著作权 {{ softwareCount }}
</span>
<span @click="showTable(5)"> 域名信息 1</span>
<el-button disabled>网络游戏出版备案(0)</el-button>
<el-button disabled>网络游戏运营备案(0)</el-button>
<el-button disabled
>广播电视节目制作经营许可证(0)</el-button
>
</td>
<!-- 食品 -->
<td>
<el-button disabled
>食品生产许可证(QS)(0)</el-button
>
<el-button disabled
>食品生产许可证(SC)(0)</el-button
>
<el-button disabled
>食品添加剂生产许可证(0)</el-button
>
<el-button disabled>食品经营许可证(0)</el-button>
<el-button disabled>食品流通许可证(0)</el-button>
<el-button disabled>条码证(0)</el-button>
</td>
<!-- 互联网经营 -->
<td>
<el-button disabled>EDI(0)</el-button>
<el-button disabled>ICP(0)</el-button>
<el-button disabled>IDC(0)</el-button>
</td>
<td><span>一般纳税人证 1</span></td>
<td><span>食品流通许可证 1</span></td>
<td><span>互联网准入许可证 1</span></td>
</tr>
</tbody>
</table>
......@@ -132,7 +207,8 @@
<Trademark
v-show="show == 1"
@unshowOne="unshow"
:list="trademarkList"
@getCount="countGong"
:name="$route.query.name"
/>
</transition>
<transition name="el-zoom-in-center">
......@@ -163,92 +239,47 @@
:name="$route.query.name"
/>
</transition>
<transition name="el-zoom-in-center">
<Gxbyauthor
v-show="show == 6"
@unshowOne="unshow"
:name="$route.query.name"
/>
</transition>
<!-- -->
</div>
<div class="companycertificateinfo">
<h3><b></b> 竞争企业证照信息</h3>
<table>
<thead>
<tr>
<td colspan="5">工商证照</td>
</tr>
</thead>
<tbody>
<tr>
<td>营业执照 1</td>
<td>商标注册证 78</td>
<td>一般纳税人证 1</td>
<td>食品流通许可证 1</td>
<td>互联网准入许可证 1</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<td colspan="5">工商证照</td>
</tr>
</thead>
<tbody>
<tr>
<td>营业执照 1</td>
<td>商标注册证 78</td>
<td>一般纳税人证 1</td>
<td>食品流通许可证 1</td>
<td>互联网准入许可证 1</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<td colspan="5">工商证照</td>
</tr>
</thead>
<tbody>
<tr>
<td>营业执照 1</td>
<td>商标注册证 78</td>
<td>一般纳税人证 1</td>
<td>食品流通许可证 1</td>
<td>互联网准入许可证 1</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<td colspan="5">工商证照</td>
</tr>
</thead>
<tbody>
<tr>
<td>营业执照 1</td>
<td>商标注册证 78</td>
<td>一般纳税人证 1</td>
<td>食品流通许可证 1</td>
<td>互联网准入许可证 1</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<td colspan="5">工商证照</td>
</tr>
</thead>
<tbody>
<tr>
<td>营业执照 1</td>
<td>商标注册证 78</td>
<td>一般纳税人证 1</td>
<td>食品经营许可证 1</td>
<td>互联网准入许可证 1</td>
</tr>
</tbody>
</table>
<div class="lookgengduo">
<span>查看更多</span>
<div class="companycertificateinfo" ref="qiye">
<h3><b></b> 企业子公司或分支机构</h3>
<div v-if="QccBranches.length != 0">
<table v-for="(item, index) in QccBranches" :key="index">
<thead>
<tr>
<td colspan="5" style="textAlign:left;paddingLeft:20px;">
<span
style="cursor: pointer;"
@click="gotoMine(item.Name)"
>{{ item.Name }}</span
>
</td>
</tr>
</thead>
<tbody>
<tr>
<td>特种资质</td>
<td>知产证照</td>
<td>网络文化</td>
<td>食品</td>
<td>互联网经营</td>
</tr>
</tbody>
</table>
</div>
<div class="notZi" v-if="QccBranches.length == 0">
<img src="@/assets/imgs/wushuju.png" alt />
暂无信息
</div>
<div class="lookgengduo" v-if="QccBranches.length != 0">
<span @click="lookGenList">{{ lookGen }}</span>
</div>
</div>
</div>
......@@ -256,16 +287,116 @@
<h1>
<img src="@/assets/imgs/company/tuijian.png" alt="" /> 推荐证照
</h1>
<div class="zhengzhaoimg">
<img src="@/assets/imgs/company/zhengzhao1.png" alt="" />
<p>立即办理</p>
</div>
<div class="zhengzhaoimg">
<img src="@/assets/imgs/company/zhengzhao2.png" alt="" />
<p>立即办理</p>
</div>
<div class="zhengzhaoimg">
<img src="@/assets/imgs/company/zhengzhao3.png" alt="" />
<div
class="zhengzhaoimg"
v-for="(item, index) in licenses"
:key="index"
>
<img
src="@/assets/imgs/zhengshu/1.png"
alt=""
v-if="item == '食品经营许可证'"
/>
<img
src="@/assets/imgs/zhengshu/2.png"
alt=""
v-if="item == '食品流通许可证'"
/>
<img
src="@/assets/imgs/zhengshu/3.png"
alt=""
v-if="item == '条码证'"
/>
<img
src="@/assets/imgs/zhengshu/食品添加.png"
alt=""
v-if="item == '食品添加剂生产许可证'"
/>
<img
src="@/assets/imgs/zhengshu/QS.png"
alt=""
v-if="item == '食品生产许可证(QS)'"
/>
<img
src="@/assets/imgs/zhengshu/sc.png"
alt=""
v-if="item == '食品生产许可证(SC)'"
/>
<img
src="@/assets/imgs/zhengshu/4.png"
alt=""
v-if="item == '软件著作权'"
/>
<img
src="@/assets/imgs/zhengshu/4.png"
alt=""
v-if="item == '作品著作权'"
/>
<img
src="@/assets/imgs/zhengshu/6.png"
alt=""
v-if="item == '商标注册'"
/>
<img
src="@/assets/imgs/zhengshu/5.png"
alt=""
v-if="item == '专利'"
/>
<img
src="@/assets/imgs/zhengshu/7.png"
alt=""
v-if="item == '网络文化经营许可证'"
/>
<img
src="@/assets/imgs/zhengshu/10.png"
alt=""
v-if="item == '网络游戏出版备案'"
/>
<img
src="@/assets/imgs/zhengshu/8.png"
alt=""
v-if="item == '网络游戏运营备案'"
/>
<img
src="@/assets/imgs/zhengshu/9.png"
alt=""
v-if="item == '广播电视节目制作经营许可证'"
/>
<img
src="@/assets/imgs/zhengshu/11.png"
alt=""
v-if="item == '高新企业认证'"
/>
<img
src="@/assets/imgs/zhengshu/12.png"
alt=""
v-if="item == '人力资源许可证'"
/>
<img
src="@/assets/imgs/zhengshu/13.png"
alt=""
v-if="item == '400电话认证'"
/>
<img
src="@/assets/imgs/zhengshu/14.png"
alt=""
v-if="item == 'ISO质量体系认证'"
/>
<img
src="@/assets/imgs/zhengshu/EDI.png"
alt=""
v-if="item == 'EDI许可证'"
/>
<img
src="@/assets/imgs/zhengshu/ICP.png"
alt=""
v-if="item == 'ICP许可证'"
/>
<img
src="@/assets/imgs/zhengshu/IDC.png"
alt=""
v-if="item == 'IDC许可证'"
/>
<p>立即办理</p>
</div>
</div>
......@@ -277,6 +408,7 @@
<EnterpriseInfo
:enterpriseName="$route.query.name"
:companyInfo="companyInfo"
:companynamequery="companynamequery"
/>
</el-dialog>
</div>
......@@ -290,10 +422,13 @@ import PatentCertificate from "./patentCertificate";
import Copyright from "./copyright";
import SoftwareCopyright from "./softwareCopyright";
import DomainNameInfo from "./domainNameInfo";
import Gxbyauthor from "./gxbyAuthor";
//接口
import {
getCompanyInfoByLikeName,
getEntregistryByCompanyName
// getEntregistryByCompanyName,
getEntregistryByCompanyName2
} from "@/api/tmTools.js";
import {
......@@ -302,7 +437,21 @@ import {
worksCountByAuthor
} from "@/api/patentQuery.js";
import { findTrademarkzcr } from "@/api/tmQuery.js";
// import { findTrademarkzcr } from "@/api/tmQuery.js";
import { getLicenses } from "@/api/licenseQuery.js";
import {
ipCountByAuthor,
licenseCountByAuthor,
companyportraitCtl,
companynamequery,
gxCountByAuthor,
getQccBranches,
// getcountAll,
// ipListByAuthor
} from "@/api/enterpriseQuery.js";
//
export default {
components: {
EnterpriseInfo,
......@@ -310,10 +459,12 @@ export default {
PatentCertificate,
Copyright,
SoftwareCopyright,
DomainNameInfo
DomainNameInfo,
Gxbyauthor
},
data() {
return {
lookGen: "查看更多",
//loading
loading: false,
//输入框内容
......@@ -340,6 +491,8 @@ export default {
businessTerm: null,
requestId: null
},
//企业画像数据
companynamequery: [],
show: 0,
//专利证书数量
paCount: 0,
......@@ -347,57 +500,175 @@ export default {
softwareCount: 0,
//著作权数量
worksCount: 0,
//域名列表数量
ipCount: 0,
//专利证书数据
trademarkList: []
trademarkList: [],
//企业高新数量
gxCount: 0,
//企业的分支机构
QccBranches: [],
//企业分支数量
getcountAllList: [],
licenses: [],
//商标注册证数量
shangbiaoCount: 0
};
},
mounted() {
//获取企业画像
companyportraitCtl(this.$route.query.name).then(res => {
if (res.data.status == 0) {
companynamequery(res.data.data.rows[0]).then(res => {
if (res.data.status == 0) {
this.companynamequery = res.data.data.wordcloud.splice(0, 5);
console.log(this.companynamequery);
}
});
}
});
this.state = this.$route.query.name;
this.stateName = this.$route.query.name;
// getEntregistryByCompanyName(this.state).then(res => {
// this.companyInfo = res;
// console.log(res, "获取企业详情信息");
// this.getInfo(res.name);
// });
this.loading = true;
getEntregistryByCompanyName(this.state).then(res => {
this.companyInfo = res;
console.log(res, "getEntregistryByCompanyName");
this.getInfo(res.name);
getEntregistryByCompanyName2(this.state).then(res => {
// if(res)
this.companyInfo = res.data.data.list[0];
console.log(res, "获取企业详情信息");
this.getInfo(this.companyInfo.name);
});
console.log(this.randomBrowseVolume());
},
methods: {
gotoMine(name) {
console.log(name,"nananananananananana")
this.$router.push({
path: "/companyinformation",
query: { name: name }
});
this.saveLocalStorage();
window.location.reload();
},
countGong(num) {
this.shangbiaoCount = num;
},
randomBrowseVolume() {
return Math.random().toFixed(0) * 400 + 100;
},
lookGenList() {
if (this.lookGen == "查看更多") {
// console.log(this.$refs.qiye);
this.$refs.qiye.style.maxHeight = "10000000px";
this.$refs.qiye.style.height = "auto";
this.lookGen = "收起";
} else {
// console.log(this.$refs.qiye);
this.$refs.qiye.style.maxHeight = "1056px";
this.lookGen = "查看更多";
}
},
//
getInfo(name) {
let p1 = new Promise(resolve => {
paCountByApplicantName(name).then(res => {
console.log(res, "获取专利证书数量");
this.paCount = res.data;
resolve();
});
});
let p2 = new Promise(resolve => {
softwareCountByAuthor(name).then(res => {
console.log(res, "获取软件著作权数量");
this.softwareCount = res.data;
resolve();
});
});
let p3 = new Promise(resolve => {
worksCountByAuthor(name).then(res => {
console.log(res, "获取著作权数量");
this.worksCount = res.data;
resolve();
});
});
let p4 = new Promise(resolve => {
findTrademarkzcr(name).then(res => {
// let p4 = new Promise(resolve => {
// findTrademarkzcr(name).then(res => {
// console.log(res, "获取商标注册证");
// resolve();
// if (res.status == 0) {
// let newArr = res.data.rows;
// this.trademarkList = newArr;
// this.shangbiaoCount = res.data.count;
// }
// });
// });
//推荐证照
let p5 = new Promise(resolve => {
getLicenses(name).then(res => {
////
resolve();
if (res.status == 0) {
this.licenses = res.data.expert_recommend;
}
console.log(this.licenses, "获取推荐证照");
});
});
//域名信息
let p6 = new Promise(resolve => {
ipCountByAuthor(name).then(res => {
console.log(res, "获取域名信息数量");
resolve();
if (res.status == 0) {
this.trademarkList = res.data.rows;
this.ipCount = res.data;
}
});
});
//
let p7 = new Promise(resolve => {
licenseCountByAuthor(name).then(res => {
console.log(res, "获取企业证照信息数量");
resolve();
});
});
let p8 = new Promise(resolve => {
gxCountByAuthor(name).then(res => {
console.log(res, "获取企业高新信息数量");
resolve();
this.gxCount = res.data;
});
});
let p9 = new Promise(resolve => {
getQccBranches(name).then(res => {
console.log(res, "获取企业的分支机构(从企查查获取)");
resolve();
if (res.status == 0 && res.data != null) {
this.QccBranches = res.data;
}
});
});
Promise.all([p1, p3, p2, p4])
Promise.all([p1, p3, p2, p5, p6, p7, p8, p9])
.then(() => {
console.log(12312312312);
this.loading = false;
})
.catch(() => {
this.loading = false;
});
///////////////////
// if (this.QccBranches.length != 0) {
// for(var i=0;i<this.QccBranches.length-1;i++){
// awaitgetcountAll(this.QccBranches[i].Name).then(res => {
// console.log(res, "resresres");
// this.getcountAllList.push(res.data);
// });
// }
// }
///////////////////
},
//翻转表格
showTable(index) {
......@@ -420,11 +691,8 @@ export default {
path: "/companyinformation",
query: { name: this.state }
});
window.location.reload();
this.saveLocalStorage();
getEntregistryByCompanyName(this.state).then(res => {
this.companyInfo = res;
});
window.location.reload();
}
},
//将搜索过的内容存入localStorage
......@@ -644,6 +912,7 @@ export default {
}
.companyinfo-right-top-type {
padding: 5px 0 0;
max-width: 690px;
span {
padding: 2px 10px;
font-size: 12px;
......@@ -653,6 +922,8 @@ export default {
background: #fdf2ec;
line-height: 17px;
margin-right: 10px;
display: inline-block;
margin-bottom: 10px;
}
}
}
......@@ -697,12 +968,17 @@ export default {
color: #fff;
}
}
.companycertificateinfo:nth-child(2) {
max-height: 1056px;
overflow: hidden;
}
.companycertificateinfo {
width: 100%;
padding: 16px 16px 1px;
padding: 16px 16px 16px;
background: #fff;
margin-bottom: 15px;
border: 1px solid rgba(238, 238, 238, 1);
position: relative;
h3 {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
......@@ -720,6 +996,16 @@ export default {
margin-right: 5px;
}
}
.notZi {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 35px;
margin-bottom: 40px;
flex-direction: column;
padding: 200px 0 0;
}
table {
width: 100%;
margin-bottom: 18px;
......@@ -766,6 +1052,19 @@ export default {
span:hover {
color: #1478f0;
}
.el-button {
margin: 0 0 10px 0;
width: 100%;
padding: 0;
border: none;
text-align: left;
display: block;
cursor: pointer;
margin-bottom: 15px;
}
.el-button:hover {
background: #fff;
}
}
}
}
......@@ -775,6 +1074,10 @@ export default {
display: flex;
justify-content: center;
margin-bottom: 16px;
position: absolute;
bottom: -13px;
left: 0;
background: #fff;
span {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
......
<template>
<div class="patentCertificate">
<h3>
<p class="el-icon-back" @click="showTable">返回</p>
<p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b>
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item
><span @click="showTable">企业证照信息</span></el-breadcrumb-item
>
<el-breadcrumb-item>专利证书</el-breadcrumb-item>
</el-breadcrumb>
</h3>
......@@ -22,7 +19,7 @@
</thead>
<tbody
class="patentCertificate-table-body"
v-if="patentCertificateList.length != 0"
v-if="itemList.length != 0"
>
<tr v-for="(item, index) in itemList" :key="index">
<td>{{ getIndex(index) }}</td>
......@@ -42,7 +39,7 @@
background
layout="prev, pager, next"
:page-size="pageSize"
:total="patentCertificateList.length"
:total="total"
@current-change="handleCurrentChange"
>
</el-pagination>
......@@ -58,25 +55,25 @@ export default {
pageSize: 5,
currentPage: 1,
patentCertificateList: [],
total: 0,
itemList: []
};
},
mounted() {
paShortListByApplicantName(this.name).then(res => {
// console.log(res, "paShortListByApplicantName");
if (res.status == 0) {
this.patentCertificateList = res.data.data;
this.handleCurrentChange(1);
}
});
this.handleCurrentChange(1);
},
methods: {
handleCurrentChange(val) {
this.itemList = this.patentCertificateList.slice(
(val - 1) * this.pageSize,
val * this.pageSize
);
this.currentPage = val;
paShortListByApplicantName(this.name, this.pageSize, val).then(res => {
console.log(res, "获取专利证书列表");
if (res.status == 0) {
let newArr = res.data.data;
// newArr.pop();
this.itemList = newArr;
this.total = res.data.total;
}
});
},
//获取序号
getIndex(index) {
......
<template>
<div class="softwareCopyright">
<h3>
<p class="el-icon-back" @click="showTable">返回</p>
<p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b>
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item><span>企业证照信息</span></el-breadcrumb-item>
<el-breadcrumb-item>软件著作权</el-breadcrumb-item>
</el-breadcrumb>
</h3>
......@@ -67,7 +66,9 @@ export default {
softwareListByAuthor(this.name).then(res => {
// console.log(res, "softwareListByAuthor");
if (res.status == 0) {
this.softwareCopyrightList = res.data.data;
let newArr = res.data.data;
// newArr.pop();
this.softwareCopyrightList = newArr;
this.handleCurrentChange(1);
}
});
......
<template>
<div class="trademark">
<h3>
<p class="el-icon-back" @click="showTable">返回</p>
<p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b>
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item><span>企业证照信息</span></el-breadcrumb-item>
<el-breadcrumb-item>商标注册证</el-breadcrumb-item>
</el-breadcrumb>
</h3>
......@@ -21,7 +20,7 @@
<td>详情</td>
</tr>
</thead>
<tbody class="trademark-table-body" v-if="trademarkList.length != 0">
<tbody class="trademark-table-body" v-if="itemList.length != 0">
<tr v-for="(item, index) in itemList" :key="index">
<td>{{ getIndex(index) }}</td>
<td><img :src="item.logo" alt="" /></td>
......@@ -45,7 +44,7 @@
background
layout="prev, pager, next"
:page-size="pageSize"
:total="trademarkList.length"
:total="listcount"
@current-change="handleCurrentChange"
>
</el-pagination>
......@@ -53,22 +52,28 @@
</template>
<script>
import { findTrademarkzcr } from "@/api/tmQuery.js";
export default {
props: ["list"],
props:["name"],
data() {
return {
pageSize: 5,
currentPage: 1,
trademarkList: [],
itemList: []
itemList: [],
listcount: 0
};
},
mounted() {},
watch: {
list() {
this.trademarkList = this.list;
this.handleCurrentChange(1);
}
mounted() {
findTrademarkzcr(this.name,this.pageSize,this.currentPage).then(res => {
console.log(res, "获取商标注册证");
if (res.status == 0) {
let newArr = res.data.rows;
this.itemList = newArr;
this.listcount = res.data.count;
this.$emit("getCount",res.data.count)
}
});
},
methods: {
//跳转详情页
......@@ -76,11 +81,19 @@ export default {
this.$router.push({ path: "/jdbycdetailtm", query: { sbzch, gjfl } });
},
handleCurrentChange(val) {
this.itemList = this.trademarkList.slice(
(val - 1) * this.pageSize,
val * this.pageSize
);
// this.itemList = this.trademarkList.slice(
// (val - 1) * this.pageSize,
// val * this.pageSize
// );
this.currentPage = val;
findTrademarkzcr(this.name,this.pageSize,this.currentPage).then(res => {
console.log(res, "获取商标注册证");
if (res.status == 0) {
let newArr = res.data.rows;
this.itemList = newArr;
this.listcount = res.data.count;
}
});
},
//获取序号
getIndex(index) {
......
......@@ -26,10 +26,16 @@
</div>
<div class="hotsearch">
<p>
热搜:<span>阿里</span><span>阿里</span><span>阿里</span
><span>阿里</span><span>阿里</span><span>阿里</span>
热搜:<span
v-for="(item, index) in list"
:key="index"
@click="gotoDetail(item.name)"
>{{ item.jname }}</span
>
</p>
<div class="batch"><i class="el-icon-refresh">换一批</i></div>
<div class="batch">
<i class="el-icon-refresh" @click="huanyihuan">换一批</i>
</div>
</div>
</div>
</div>
......@@ -75,10 +81,55 @@ export default {
"资质审批",
"交易服务",
"特许资质"
]
],
companyList: [
{ name: "阿里云计算有限公司", jname: "阿里" },
{ name: "行吟信息科技(上海)有限公司", jname: "小红书" },
{ name: "小米科技有限责任公司", jname: "小米" },
{ name: "百度在线网络技术(北京)有限公司", jname: "百度" },
{ name: "上海熊猫互娱文化有限公司", jname: "熊猫互娱" },
{ name: "网易(杭州)网络有限公司", jname: "网易" },
{ name: "北京快手科技有限公司", jname: "快手" },
{ name: "北京字节跳动科技有限公司", jname: "字节跳动" },
{ name: "乐视网信息技术(北京)股份有限公司", jname: "乐视" },
{ name: "万达电影股份有限公司", jname: "万达电影" },
{ name: "中国大唐集团公司", jname: "大唐" },
{ name: "上海盛霄云计算技术有限公司", jname: "上海盛霄" },
{ name: "OPPO广东移动通信有限公司", jname: "oppo" },
{ name: "北京小桔科技有限公司", jname: "小桔科技" },
{ name: "武汉斗鱼网络科技有限公司", jname: "斗鱼" },
{ name: "深圳云帆信息技术有限公司", jname: "深圳云帆" },
{ name: "希望科技有限公司", jname: "希望科技" },
{ name: "北京秀域科技文化股份有限公司", jname: "秀域" },
{ name: "北京汽车集团有限公司", jname: "北汽" },
{ name: "天津指趣互动科技有限公司", jname: "指趣互动" },
{ name: "先友数据网络有限公司", jname: "先友数据" },
{ name: "北京贝尔生物工程股份有限公司", jname: "贝尔生物" },
{ name: "河南仟狐信息技术有限公司", jname: "仟狐" },
{ name: "北京观唐文化艺术股份有限公司", jname: "观唐文化" },
{ name: "北京龙腾宏图国际文化传媒股份有限公司", jname: "龙腾宏图" },
{ name: "北京亿道国际文化股份有限公司", jname: "亿道" },
{ name: "北京青藤文化股份有限公司", jname: "青藤文化" },
{ name: "北京壹时间国际文化传媒股份有限公司", jname: "壹时间" },
{ name: "格林美股份有限公司", jname: "格林美" },
{ name: "广州望晓网络科技有限公司", jname: "望晓网络" }
],
list: [],
index: 1
};
},
mounted() {
this.huanyihuan();
},
methods: {
//
huanyihuan() {
this.list = this.companyList.slice((this.index - 1) * 6, this.index * 6);
this.index++;
if (this.index >= 6) {
this.index = 1;
}
},
//查询公司详情
search() {
if (this.state) {
......@@ -89,6 +140,13 @@ export default {
this.saveLocalStorage();
}
},
gotoDetail(name) {
this.$router.push({
path: "/companyinformation",
query: { name: name }
});
this.saveLocalStorage();
},
//将搜索过的内容存入localStorage
saveLocalStorage() {
let companyInfo = JSON.parse(window.localStorage.getItem("companyInfo"));
......@@ -118,7 +176,7 @@ export default {
//模糊查询
querySearchAsync(queryString, cb) {
if (this.state == "") {
//如果没有输入值则从本地获取数据
//如果没有输入值,则从本地获取数据
let companyInfo = JSON.parse(
window.localStorage.getItem("companyInfo")
);
......
......@@ -87,7 +87,9 @@ export default {
this.loading = true;
getCompanyInfoNoUser(this.title).then(res => {
this.loading = false;
this.data = res.data;
if (res.status == 0) {
this.data = res.data;
}
});
}
},
......
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