Commit a6a631f7 by 任建

rj

parent 11bd2cab
...@@ -3,16 +3,19 @@ ...@@ -3,16 +3,19 @@
<div id="app" ref="app"> <div id="app" ref="app">
<!-- <Globalheader title="" url="/jdtrademark" name="首页" /> --> <!-- <Globalheader title="" url="/jdtrademark" name="首页" /> -->
<router-view /> <router-view />
<Globalfooter /> <!-- <Globalfooter /> -->
<QilianFooter />
</div> </div>
</template> </template>
<script> <script>
// import Globalheader from "@/components/globalheader"; // import Globalheader from "@/components/globalheader";
import Globalfooter from "@/components/globalfooter"; // import Globalfooter from "@/components/globalfooter";
import QilianFooter from "@/components/qilianFooter"
export default { export default {
components: { components: {
// Globalheader, // Globalheader,
Globalfooter // Globalfooter,
QilianFooter
} }
}; };
</script> </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) { ...@@ -11,13 +11,13 @@ export function paCountByApplicantName(name) {
} }
//根据申请人获取专利详情列表 //根据申请人获取专利详情列表
export function paShortListByApplicantName(name) { export function paShortListByApplicantName(name, pageSize, currentPage) {
return http.post(baseUrl, { return http.post(baseUrl, {
actionType: "paShortListByApplicantName", actionType: "paShortListByApplicantName",
actionBody: { actionBody: {
applicant_name: name, //公司名称 applicant_name: name, //公司名称
page_size: 1000, page_size: pageSize,
current_page: 1 current_page: currentPage
} }
}); });
} }
...@@ -49,7 +49,7 @@ export function worksCountByAuthor(name) { ...@@ -49,7 +49,7 @@ export function worksCountByAuthor(name) {
return http.post(baseUrl, { return http.post(baseUrl, {
actionType: "worksCountByAuthor", actionType: "worksCountByAuthor",
actionBody: { actionBody: {
author: name, //公司名称 author: name //公司名称
} }
}); });
} }
......
...@@ -21,7 +21,7 @@ export function getCompanyInfoNoUser(name) { ...@@ -21,7 +21,7 @@ export function getCompanyInfoNoUser(name) {
} }
//申请人查询接口 //申请人查询接口
export function findTrademarkzcr(name) { export function findTrademarkzcr(name, pageSize, currentPage) {
return http.post(baseUrl, { return http.post(baseUrl, {
actionType: "findTrademarkzcr", actionType: "findTrademarkzcr",
actionBody: { actionBody: {
...@@ -31,8 +31,8 @@ export function findTrademarkzcr(name) { ...@@ -31,8 +31,8 @@ export function findTrademarkzcr(name) {
sqnftabkey: "", sqnftabkey: "",
zcrname: "", zcrname: "",
xcl: [], xcl: [],
pageSize: 1000, pageSize: pageSize,
currentPage: 1 currentPage: currentPage
} }
}); });
} }
\ No newline at end of file
import http from "@/http/http.js"; import http from "@/http/http.js";
import axios from "axios";
let baseUrl = "/api/web/action/tmTools/springBoard"; let baseUrl = "/api/web/action/tmTools/springBoard";
// 获取selftmreg的尼斯查询 一级查询得到二级树 二级查询得到三级树 // 获取selftmreg的尼斯查询 一级查询得到二级树 二级查询得到三级树
...@@ -8,7 +8,7 @@ export function getNiceQueryCategory(nclcodeSCode) { ...@@ -8,7 +8,7 @@ export function getNiceQueryCategory(nclcodeSCode) {
actionBody: { actionBody: {
nclcode: nclcodeSCode nclcode: nclcodeSCode
}, },
actionType: "getNcl", actionType: "getNcl"
}); });
} }
...@@ -80,4 +80,23 @@ export function getEntregistryByCompanyName(name) { ...@@ -80,4 +80,23 @@ export function getEntregistryByCompanyName(name) {
companyName: 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> <template>
<div class="copyright"> <div class="copyright">
<h3> <h3>
<p class="el-icon-back" @click="showTable">返回</p> <p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b> <b></b>
<el-breadcrumb separator-class="el-icon-arrow-right"> <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-item>著作权</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</h3> </h3>
...@@ -66,9 +63,11 @@ export default { ...@@ -66,9 +63,11 @@ export default {
}, },
mounted() { mounted() {
worksListByAuthor(this.name).then(res => { worksListByAuthor(this.name).then(res => {
console.log(res, "worksListByAuthor"); console.log(res, "获取著作权列表");
if (res.status == 0 && res.data.data != null) { 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); this.handleCurrentChange(1);
} }
}); });
......
<template> <template>
<div class="softwareCopyright"> <div class="softwareCopyright">
<h3> <h3>
<p class="el-icon-back" @click="showTable">返回</p> <p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b> <b></b>
<el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item><span>企业证照信息</span></el-breadcrumb-item>
<el-breadcrumb-item>域名信息</el-breadcrumb-item> <el-breadcrumb-item>域名信息</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</h3> </h3>
...@@ -18,13 +17,18 @@ ...@@ -18,13 +17,18 @@
<td>审核时间</td> <td>审核时间</td>
</tr> </tr>
</thead> </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"> <tr v-for="(item, index) in itemList" :key="index">
<td>{{ "0" + (index + 1) }}</td> <td>{{ getIndex(index) }}</td>
<td>{{ item.name }}</td> <td>{{ item.company_name }}</td>
<td>{{ item.dengjihao }}</td> <td>{{ item.web_adress }}</td>
<td>{{ item.version }}</td> <td>{{ item.card_num }}</td>
<td>{{ item.fenleihao }}</td> <td>---</td>
</tr>
</tbody>
<tbody v-else class="softwareCopyright-table-body">
<tr>
<td colspan="5">暂无数据</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -32,7 +36,7 @@ ...@@ -32,7 +36,7 @@
background background
layout="prev, pager, next" layout="prev, pager, next"
:page-size="pageSize" :page-size="pageSize"
:total="softwareCopyrightList.length" :total="total"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
> >
</el-pagination> </el-pagination>
...@@ -40,85 +44,16 @@ ...@@ -40,85 +44,16 @@
</template> </template>
<script> <script>
import { ipListByAuthor } from "@/api/enterpriseQuery.js";
export default { export default {
props: ["name"],
data() { data() {
return { return {
pageSize: 5, pageSize: 5,
softwareCopyrightList: [ currentPage: 1,
{ softwareCopyrightList: [],
name: "萌颜APP", itemList: [],
dengjihao: "mengyan.com", total: 0
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: []
}; };
}, },
mounted() { mounted() {
...@@ -126,10 +61,24 @@ export default { ...@@ -126,10 +61,24 @@ export default {
}, },
methods: { methods: {
handleCurrentChange(val) { handleCurrentChange(val) {
this.itemList = this.softwareCopyrightList.slice( // this.itemList = this.softwareCopyrightList.slice(
(val - 1) * this.pageSize, // (val - 1) * this.pageSize,
val * 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) { indexMethod(index) {
return index * 2; return index * 2;
......
...@@ -4,47 +4,85 @@ ...@@ -4,47 +4,85 @@
<h1> <h1>
<img src="@/assets/imgs/company/companyicon.png" alt="" /> <img src="@/assets/imgs/company/companyicon.png" alt="" />
<p>{{ enterpriseName }}</p> <p>{{ enterpriseName }}</p>
<span>小微企业</span><span>小微企业</span><span>小微企业</span> <div>
<span v-for="(item, index) in companynamequery" :key="index">{{
item.name
}}</span>
</div>
</h1> </h1>
</div> </div>
<div class="enterpriseInfo-main"> <div class="enterpriseInfo-main">
<table> <table>
<tr> <tr>
<td>法人代表</td> <td>法人代表</td>
<td>{{ companyInfo.legalRepresentative ? companyInfo.legalRepresentative: "--" }}</td> <td>
{{
companyInfo.legalRepresentative
? companyInfo.legalRepresentative
: "--"
}}
</td>
<td>注册资本</td> <td>注册资本</td>
<td>{{ companyInfo.registeredCapital? companyInfo.registeredCapital: "--" }}</td> <td>
{{
companyInfo.registeredCapital
? companyInfo.registeredCapital
: "--"
}}
</td>
<td>营业期限</td> <td>营业期限</td>
<td>{{ companyInfo.businessTerm? companyInfo.businessTerm: "--" }}</td> <td>
{{ companyInfo.businessTerm ? companyInfo.businessTerm : "--" }}
</td>
</tr> </tr>
<tr> <tr>
<td>统一社会信用代码</td> <td>统一社会信用代码</td>
<td>{{ companyInfo.creditCode? companyInfo.creditCode: "--" }}</td> <td>{{ companyInfo.creditCode ? companyInfo.creditCode : "--" }}</td>
<td>企业地址</td> <td>企业地址</td>
<td>{{ companyInfo.businessAddress? companyInfo.businessAddress: "--" }}</td> <td>
{{
companyInfo.businessAddress ? companyInfo.businessAddress : "--"
}}
</td>
<td>公司类型</td> <td>公司类型</td>
<td>{{ companyInfo.companyType? companyInfo.companyType: "--" }}</td> <td>
{{
companyInfo.company_org_type ? companyInfo.company_org_type : "--"
}}
</td>
</tr> </tr>
<tr> <tr>
<td>注册号</td> <td>注册号</td>
<td>{{ companyInfo.registrID? companyInfo.registrID: "--" }}</td> <td>{{ companyInfo.registrID ? companyInfo.registrID : "--" }}</td>
<td>组织机构代码</td> <td>组织机构代码</td>
<td>{{ companyInfo.organizationCode? companyInfo.organizationCode: "--" }}</td> <td>
{{
companyInfo.organizationCode ? companyInfo.organizationCode : "--"
}}
</td>
<td>所属行业</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>
<tr> <tr>
<td>成立日期</td> <td>成立日期</td>
<td>{{companyInfo.dateIssue? companyInfo.dateIssue: "--"}}</td> <td>{{ companyInfo.dateIssue ? companyInfo.dateIssue : "--" }}</td>
<td>发照日期</td> <td>发照日期</td>
<td>{{companyInfo.dateIssue? companyInfo.dateIssue: "--"}}</td> <td>{{ companyInfo.dateIssue ? companyInfo.dateIssue : "--" }}</td>
<td>登记机关</td> <td>登记机关</td>
<td>{{companyInfo.registerOffice? companyInfo.registerOffice: "--"}}</td> <td>
{{ companyInfo.registerOffice ? companyInfo.registerOffice : "--" }}
</td>
</tr> </tr>
<tr> <tr>
<td>经营范围</td> <td>经营范围</td>
<td colspan="5"> <td colspan="5">
{{ companyInfo.scope? companyInfo.scope: "--" }} {{ companyInfo.scope ? companyInfo.scope : "--" }}
</td> </td>
</tr> </tr>
</table> </table>
...@@ -59,28 +97,27 @@ ...@@ -59,28 +97,27 @@
<td>股东类型</td> <td>股东类型</td>
<td>股东</td> <td>股东</td>
<td>认缴出资(金额/时间)</td> <td>认缴出资(金额/时间)</td>
<td>缴出资(金额/时间)</td> <td>缴出资(金额/时间)</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody v-if="list.length!=0">
<tr> <tr v-for="(item,index) in list" :key="index">
<td>自然人股东</td> <td>自然人股东</td>
<td>孙长松</td> <td>{{item.shareholdersName}}</td>
<td>1万人民币</td> <td>{{item.subcribe}}</td>
<td>-</td> <td>-</td>
</tr> </tr>
</tbody>
<tbody v-else>
<tr> <tr>
<td>自然人股东</td> <td colspan="4">暂无数据</td>
<td>孙长松</td>
<td>1万人民币</td>
<td>-</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<!-- --> <!-- -->
<div class="enterpriseInfo-container-title"><i></i>其他信息</div> <!-- <div class="enterpriseInfo-container-title"><i></i>其他信息</div>
<!-- -->
<div class="enterpriseInfo-container-tableB"> <div class="enterpriseInfo-container-tableB">
<table> <table>
<tr> <tr>
...@@ -102,19 +139,29 @@ ...@@ -102,19 +139,29 @@
</td> </td>
</tr> </tr>
</table> </table>
</div> </div> -->
</div> </div>
</div> </div>
</template> </template>
<script> <script>
// import { getEntregistryByCompanyName } from "@/api/tmTools.js"; // import { getEntregistryByCompanyName } from "@/api/tmTools.js";
import {getGuDong} from "@/api/tmTools.js"
export default { export default {
props: ["enterpriseName", "companyInfo"], props: ["enterpriseName", "companyInfo", "companynamequery"],
data() { 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: {} methods: {}
}; };
</script> </script>
...@@ -128,7 +175,7 @@ export default { ...@@ -128,7 +175,7 @@ export default {
margin-bottom: 17px; margin-bottom: 17px;
h1 { h1 {
display: flex; display: flex;
align-items: center; // align-items: center;
img { img {
width: 26px; width: 26px;
height: 26px; height: 26px;
...@@ -142,16 +189,22 @@ export default { ...@@ -142,16 +189,22 @@ export default {
line-height: 30px; line-height: 30px;
margin-right: 20px; margin-right: 20px;
} }
span { div {
padding: 3px 10px; max-width: 800px;
background: #fdf2ec; display: flex;
color: #f0a67c; flex-wrap: wrap;
margin-right: 10px; span {
font-size: 12px; padding: 3px 10px;
font-family: PingFangSC-Regular, PingFang SC; background: #fdf2ec;
font-weight: 400; color: #f0a67c;
color: rgba(240, 166, 124, 1); margin-right: 10px;
line-height: 17px; 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 @@ ...@@ -52,38 +52,58 @@
<div class="companyinfo-right-top"> <div class="companyinfo-right-top">
<h1>{{ stateName }}</h1> <h1>{{ stateName }}</h1>
<div class="companyinfo-right-top-type"> <div class="companyinfo-right-top-type">
<span>小微企业</span> <span v-for="(item, index) in companynamequery" :key="index">{{
<span>小微企业</span> item.name
<span>小微企业</span> }}</span>
</div> </div>
</div> </div>
<div class="companyinfo-right-info"> <div class="companyinfo-right-info">
<div class="companyinfo-right-info-item"> <div class="companyinfo-right-info-item">
法人代表:{{ companyInfo.legalRepresentative }} 法人代表:{{
companyInfo.legalRepresentative
? companyInfo.legalRepresentative
: "---"
}}
</div> </div>
<div class="companyinfo-right-info-item"> <div class="companyinfo-right-info-item">
注册资本:{{ companyInfo.registeredCapital }} 注册资本:{{
companyInfo.registeredCapital
? companyInfo.registeredCapital
: "---"
}}
</div> </div>
<div class="companyinfo-right-info-item"> <div class="companyinfo-right-info-item">
营业期限:{{ companyInfo.businessTerm }} 营业期限:{{
companyInfo.businessTerm ? companyInfo.businessTerm : "---"
}}
</div> </div>
<div class="companyinfo-right-info-item"> <div class="companyinfo-right-info-item">
统一社会信用代码:{{ companyInfo.creditCode }} 统一社会信用代码:{{
companyInfo.creditCode ? companyInfo.creditCode : "---"
}}
</div> </div>
<div class="companyinfo-right-info-item"> <div class="companyinfo-right-info-item">
企业地址:{{ companyInfo.businessAddress }} 企业地址:{{
companyInfo.businessAddress
? companyInfo.businessAddress
: "---"
}}
</div> </div>
<div class="companyinfo-right-info-item"> <div class="companyinfo-right-info-item">
公司类型:{{ companyInfo.companyType }} 公司类型:{{
companyInfo.company_org_type
? companyInfo.company_org_type
: "---"
}}
</div> </div>
<div class="moreinfo" @click="showDialog"> <div class="moreinfo" @click="showDialog">
更多信息<i class="el-icon-arrow-right"></i> 更多信息
</div> </div>
</div> </div>
</div> </div>
<div class="download"> <!-- <div class="download">
<img src="@/assets/imgs/company/download.png" alt="" />下载报告 <img src="@/assets/imgs/company/download.png" alt="" />下载报告
</div> </div> -->
</div> </div>
<div class="companyinformation-container-main-certificateinfo"> <div class="companyinformation-container-main-certificateinfo">
<div class="main-certificateinfo-left"> <div class="main-certificateinfo-left">
...@@ -94,34 +114,89 @@ ...@@ -94,34 +114,89 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<td>工商证照</td> <td>特种资质</td>
<td>知产证照</td> <td>知产证照</td>
<td>财税证照</td> <td>网络文化</td>
<td>资质证照</td> <td>食品</td>
<td>特许资质</td> <td>互联网经营</td>
</tr> </tr>
</thead> </thead>
<tbody class="companycertificateinfo-tbody"> <tbody class="companycertificateinfo-tbody">
<tr> <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> <td>
<span @click="showTable(1)" <el-button disabled
>商标注册证 {{ trademarkList.length }}</span >网络文化经营许可证(0)</el-button
> >
<span @click="showTable(2)"> <el-button disabled>网络游戏出版备案(0)</el-button>
专利证书 {{ paCount }} <el-button disabled>网络游戏运营备案(0)</el-button>
</span> <el-button disabled
<span @click="showTable(3)"> >广播电视节目制作经营许可证(0)</el-button
著作权 {{ worksCount }} >
</span> </td>
<span @click="showTable(4)"> <!-- 食品 -->
软件著作权 {{ softwareCount }} <td>
</span> <el-button disabled
<span @click="showTable(5)"> 域名信息 1</span> >食品生产许可证(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>
<td><span>一般纳税人证 1</span></td>
<td><span>食品流通许可证 1</span></td>
<td><span>互联网准入许可证 1</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -132,7 +207,8 @@ ...@@ -132,7 +207,8 @@
<Trademark <Trademark
v-show="show == 1" v-show="show == 1"
@unshowOne="unshow" @unshowOne="unshow"
:list="trademarkList" @getCount="countGong"
:name="$route.query.name"
/> />
</transition> </transition>
<transition name="el-zoom-in-center"> <transition name="el-zoom-in-center">
...@@ -163,92 +239,47 @@ ...@@ -163,92 +239,47 @@
:name="$route.query.name" :name="$route.query.name"
/> />
</transition> </transition>
<transition name="el-zoom-in-center">
<Gxbyauthor
v-show="show == 6"
@unshowOne="unshow"
:name="$route.query.name"
/>
</transition>
<!-- --> <!-- -->
</div> </div>
<div class="companycertificateinfo"> <div class="companycertificateinfo" ref="qiye">
<h3><b></b> 竞争企业证照信息</h3> <h3><b></b> 企业子公司或分支机构</h3>
<table> <div v-if="QccBranches.length != 0">
<thead> <table v-for="(item, index) in QccBranches" :key="index">
<tr> <thead>
<td colspan="5">工商证照</td> <tr>
</tr> <td colspan="5" style="textAlign:left;paddingLeft:20px;">
</thead> <span
<tbody> style="cursor: pointer;"
<tr> @click="gotoMine(item.Name)"
<td>营业执照 1</td> >{{ item.Name }}</span
<td>商标注册证 78</td> >
<td>一般纳税人证 1</td> </td>
<td>食品流通许可证 1</td> </tr>
<td>互联网准入许可证 1</td> </thead>
</tr> <tbody>
</tbody> <tr>
</table> <td>特种资质</td>
<table> <td>知产证照</td>
<thead> <td>网络文化</td>
<tr> <td>食品</td>
<td colspan="5">工商证照</td> <td>互联网经营</td>
</tr> </tr>
</thead> </tbody>
<tbody> </table>
<tr> </div>
<td>营业执照 1</td> <div class="notZi" v-if="QccBranches.length == 0">
<td>商标注册证 78</td> <img src="@/assets/imgs/wushuju.png" alt />
<td>一般纳税人证 1</td> 暂无信息
<td>食品流通许可证 1</td> </div>
<td>互联网准入许可证 1</td> <div class="lookgengduo" v-if="QccBranches.length != 0">
</tr> <span @click="lookGenList">{{ lookGen }}</span>
</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> </div>
</div> </div>
</div> </div>
...@@ -256,16 +287,116 @@ ...@@ -256,16 +287,116 @@
<h1> <h1>
<img src="@/assets/imgs/company/tuijian.png" alt="" /> 推荐证照 <img src="@/assets/imgs/company/tuijian.png" alt="" /> 推荐证照
</h1> </h1>
<div class="zhengzhaoimg"> <div
<img src="@/assets/imgs/company/zhengzhao1.png" alt="" /> class="zhengzhaoimg"
<p>立即办理</p> v-for="(item, index) in licenses"
</div> :key="index"
<div class="zhengzhaoimg"> >
<img src="@/assets/imgs/company/zhengzhao2.png" alt="" /> <img
<p>立即办理</p> src="@/assets/imgs/zhengshu/1.png"
</div> alt=""
<div class="zhengzhaoimg"> v-if="item == '食品经营许可证'"
<img src="@/assets/imgs/company/zhengzhao3.png" alt="" /> />
<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> <p>立即办理</p>
</div> </div>
</div> </div>
...@@ -277,6 +408,7 @@ ...@@ -277,6 +408,7 @@
<EnterpriseInfo <EnterpriseInfo
:enterpriseName="$route.query.name" :enterpriseName="$route.query.name"
:companyInfo="companyInfo" :companyInfo="companyInfo"
:companynamequery="companynamequery"
/> />
</el-dialog> </el-dialog>
</div> </div>
...@@ -290,10 +422,13 @@ import PatentCertificate from "./patentCertificate"; ...@@ -290,10 +422,13 @@ import PatentCertificate from "./patentCertificate";
import Copyright from "./copyright"; import Copyright from "./copyright";
import SoftwareCopyright from "./softwareCopyright"; import SoftwareCopyright from "./softwareCopyright";
import DomainNameInfo from "./domainNameInfo"; import DomainNameInfo from "./domainNameInfo";
import Gxbyauthor from "./gxbyAuthor";
//接口
import { import {
getCompanyInfoByLikeName, getCompanyInfoByLikeName,
getEntregistryByCompanyName // getEntregistryByCompanyName,
getEntregistryByCompanyName2
} from "@/api/tmTools.js"; } from "@/api/tmTools.js";
import { import {
...@@ -302,7 +437,21 @@ import { ...@@ -302,7 +437,21 @@ import {
worksCountByAuthor worksCountByAuthor
} from "@/api/patentQuery.js"; } 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 { export default {
components: { components: {
EnterpriseInfo, EnterpriseInfo,
...@@ -310,10 +459,12 @@ export default { ...@@ -310,10 +459,12 @@ export default {
PatentCertificate, PatentCertificate,
Copyright, Copyright,
SoftwareCopyright, SoftwareCopyright,
DomainNameInfo DomainNameInfo,
Gxbyauthor
}, },
data() { data() {
return { return {
lookGen: "查看更多",
//loading //loading
loading: false, loading: false,
//输入框内容 //输入框内容
...@@ -340,6 +491,8 @@ export default { ...@@ -340,6 +491,8 @@ export default {
businessTerm: null, businessTerm: null,
requestId: null requestId: null
}, },
//企业画像数据
companynamequery: [],
show: 0, show: 0,
//专利证书数量 //专利证书数量
paCount: 0, paCount: 0,
...@@ -347,57 +500,175 @@ export default { ...@@ -347,57 +500,175 @@ export default {
softwareCount: 0, softwareCount: 0,
//著作权数量 //著作权数量
worksCount: 0, worksCount: 0,
//域名列表数量
ipCount: 0,
//专利证书数据 //专利证书数据
trademarkList: [] trademarkList: [],
//企业高新数量
gxCount: 0,
//企业的分支机构
QccBranches: [],
//企业分支数量
getcountAllList: [],
licenses: [],
//商标注册证数量
shangbiaoCount: 0
}; };
}, },
mounted() { 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.state = this.$route.query.name;
this.stateName = 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; this.loading = true;
getEntregistryByCompanyName(this.state).then(res => { getEntregistryByCompanyName2(this.state).then(res => {
this.companyInfo = res; // if(res)
console.log(res, "getEntregistryByCompanyName"); this.companyInfo = res.data.data.list[0];
this.getInfo(res.name); console.log(res, "获取企业详情信息");
this.getInfo(this.companyInfo.name);
}); });
console.log(this.randomBrowseVolume());
}, },
methods: { 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) { getInfo(name) {
let p1 = new Promise(resolve => { let p1 = new Promise(resolve => {
paCountByApplicantName(name).then(res => { paCountByApplicantName(name).then(res => {
console.log(res, "获取专利证书数量");
this.paCount = res.data; this.paCount = res.data;
resolve(); resolve();
}); });
}); });
let p2 = new Promise(resolve => { let p2 = new Promise(resolve => {
softwareCountByAuthor(name).then(res => { softwareCountByAuthor(name).then(res => {
console.log(res, "获取软件著作权数量");
this.softwareCount = res.data; this.softwareCount = res.data;
resolve(); resolve();
}); });
}); });
let p3 = new Promise(resolve => { let p3 = new Promise(resolve => {
worksCountByAuthor(name).then(res => { worksCountByAuthor(name).then(res => {
console.log(res, "获取著作权数量");
this.worksCount = res.data; this.worksCount = res.data;
resolve(); resolve();
}); });
}); });
let p4 = new Promise(resolve => { // let p4 = new Promise(resolve => {
findTrademarkzcr(name).then(res => { // 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(); resolve();
if (res.status == 0) { 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(() => { .then(() => {
console.log(12312312312);
this.loading = false; this.loading = false;
}) })
.catch(() => { .catch(() => {
this.loading = false; 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) { showTable(index) {
...@@ -420,11 +691,8 @@ export default { ...@@ -420,11 +691,8 @@ export default {
path: "/companyinformation", path: "/companyinformation",
query: { name: this.state } query: { name: this.state }
}); });
window.location.reload();
this.saveLocalStorage(); this.saveLocalStorage();
getEntregistryByCompanyName(this.state).then(res => { window.location.reload();
this.companyInfo = res;
});
} }
}, },
//将搜索过的内容存入localStorage //将搜索过的内容存入localStorage
...@@ -644,6 +912,7 @@ export default { ...@@ -644,6 +912,7 @@ export default {
} }
.companyinfo-right-top-type { .companyinfo-right-top-type {
padding: 5px 0 0; padding: 5px 0 0;
max-width: 690px;
span { span {
padding: 2px 10px; padding: 2px 10px;
font-size: 12px; font-size: 12px;
...@@ -653,6 +922,8 @@ export default { ...@@ -653,6 +922,8 @@ export default {
background: #fdf2ec; background: #fdf2ec;
line-height: 17px; line-height: 17px;
margin-right: 10px; margin-right: 10px;
display: inline-block;
margin-bottom: 10px;
} }
} }
} }
...@@ -697,12 +968,17 @@ export default { ...@@ -697,12 +968,17 @@ export default {
color: #fff; color: #fff;
} }
} }
.companycertificateinfo:nth-child(2) {
max-height: 1056px;
overflow: hidden;
}
.companycertificateinfo { .companycertificateinfo {
width: 100%; width: 100%;
padding: 16px 16px 1px; padding: 16px 16px 16px;
background: #fff; background: #fff;
margin-bottom: 15px; margin-bottom: 15px;
border: 1px solid rgba(238, 238, 238, 1); border: 1px solid rgba(238, 238, 238, 1);
position: relative;
h3 { h3 {
font-size: 16px; font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
...@@ -720,6 +996,16 @@ export default { ...@@ -720,6 +996,16 @@ export default {
margin-right: 5px; 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 { table {
width: 100%; width: 100%;
margin-bottom: 18px; margin-bottom: 18px;
...@@ -766,6 +1052,19 @@ export default { ...@@ -766,6 +1052,19 @@ export default {
span:hover { span:hover {
color: #1478f0; 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 { ...@@ -775,6 +1074,10 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 16px; margin-bottom: 16px;
position: absolute;
bottom: -13px;
left: 0;
background: #fff;
span { span {
font-size: 14px; font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
......
<template> <template>
<div class="patentCertificate"> <div class="patentCertificate">
<h3> <h3>
<p class="el-icon-back" @click="showTable">返回</p> <p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b> <b></b>
<el-breadcrumb separator-class="el-icon-arrow-right"> <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-item>专利证书</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</h3> </h3>
...@@ -22,7 +19,7 @@ ...@@ -22,7 +19,7 @@
</thead> </thead>
<tbody <tbody
class="patentCertificate-table-body" class="patentCertificate-table-body"
v-if="patentCertificateList.length != 0" v-if="itemList.length != 0"
> >
<tr v-for="(item, index) in itemList" :key="index"> <tr v-for="(item, index) in itemList" :key="index">
<td>{{ getIndex(index) }}</td> <td>{{ getIndex(index) }}</td>
...@@ -42,7 +39,7 @@ ...@@ -42,7 +39,7 @@
background background
layout="prev, pager, next" layout="prev, pager, next"
:page-size="pageSize" :page-size="pageSize"
:total="patentCertificateList.length" :total="total"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
> >
</el-pagination> </el-pagination>
...@@ -58,25 +55,25 @@ export default { ...@@ -58,25 +55,25 @@ export default {
pageSize: 5, pageSize: 5,
currentPage: 1, currentPage: 1,
patentCertificateList: [], patentCertificateList: [],
total: 0,
itemList: [] itemList: []
}; };
}, },
mounted() { mounted() {
paShortListByApplicantName(this.name).then(res => { this.handleCurrentChange(1);
// console.log(res, "paShortListByApplicantName");
if (res.status == 0) {
this.patentCertificateList = res.data.data;
this.handleCurrentChange(1);
}
});
}, },
methods: { methods: {
handleCurrentChange(val) { handleCurrentChange(val) {
this.itemList = this.patentCertificateList.slice(
(val - 1) * this.pageSize,
val * this.pageSize
);
this.currentPage = val; 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) { getIndex(index) {
......
<template> <template>
<div class="softwareCopyright"> <div class="softwareCopyright">
<h3> <h3>
<p class="el-icon-back" @click="showTable">返回</p> <p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b> <b></b>
<el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item><span>企业证照信息</span></el-breadcrumb-item>
<el-breadcrumb-item>软件著作权</el-breadcrumb-item> <el-breadcrumb-item>软件著作权</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</h3> </h3>
...@@ -67,7 +66,9 @@ export default { ...@@ -67,7 +66,9 @@ export default {
softwareListByAuthor(this.name).then(res => { softwareListByAuthor(this.name).then(res => {
// console.log(res, "softwareListByAuthor"); // console.log(res, "softwareListByAuthor");
if (res.status == 0) { if (res.status == 0) {
this.softwareCopyrightList = res.data.data; let newArr = res.data.data;
// newArr.pop();
this.softwareCopyrightList = newArr;
this.handleCurrentChange(1); this.handleCurrentChange(1);
} }
}); });
......
<template> <template>
<div class="trademark"> <div class="trademark">
<h3> <h3>
<p class="el-icon-back" @click="showTable">返回</p> <p class="el-icon-arrow-left" @click="showTable">返回</p>
<b></b> <b></b>
<el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item><span>企业证照信息</span></el-breadcrumb-item>
<el-breadcrumb-item>商标注册证</el-breadcrumb-item> <el-breadcrumb-item>商标注册证</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</h3> </h3>
...@@ -21,7 +20,7 @@ ...@@ -21,7 +20,7 @@
<td>详情</td> <td>详情</td>
</tr> </tr>
</thead> </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"> <tr v-for="(item, index) in itemList" :key="index">
<td>{{ getIndex(index) }}</td> <td>{{ getIndex(index) }}</td>
<td><img :src="item.logo" alt="" /></td> <td><img :src="item.logo" alt="" /></td>
...@@ -45,7 +44,7 @@ ...@@ -45,7 +44,7 @@
background background
layout="prev, pager, next" layout="prev, pager, next"
:page-size="pageSize" :page-size="pageSize"
:total="trademarkList.length" :total="listcount"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
> >
</el-pagination> </el-pagination>
...@@ -53,22 +52,28 @@ ...@@ -53,22 +52,28 @@
</template> </template>
<script> <script>
import { findTrademarkzcr } from "@/api/tmQuery.js";
export default { export default {
props: ["list"], props:["name"],
data() { data() {
return { return {
pageSize: 5, pageSize: 5,
currentPage: 1, currentPage: 1,
trademarkList: [], trademarkList: [],
itemList: [] itemList: [],
listcount: 0
}; };
}, },
mounted() {}, mounted() {
watch: { findTrademarkzcr(this.name,this.pageSize,this.currentPage).then(res => {
list() { console.log(res, "获取商标注册证");
this.trademarkList = this.list; if (res.status == 0) {
this.handleCurrentChange(1); let newArr = res.data.rows;
} this.itemList = newArr;
this.listcount = res.data.count;
this.$emit("getCount",res.data.count)
}
});
}, },
methods: { methods: {
//跳转详情页 //跳转详情页
...@@ -76,11 +81,19 @@ export default { ...@@ -76,11 +81,19 @@ export default {
this.$router.push({ path: "/jdbycdetailtm", query: { sbzch, gjfl } }); this.$router.push({ path: "/jdbycdetailtm", query: { sbzch, gjfl } });
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.itemList = this.trademarkList.slice( // this.itemList = this.trademarkList.slice(
(val - 1) * this.pageSize, // (val - 1) * this.pageSize,
val * this.pageSize // val * this.pageSize
); // );
this.currentPage = val; 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) { getIndex(index) {
......
...@@ -26,10 +26,16 @@ ...@@ -26,10 +26,16 @@
</div> </div>
<div class="hotsearch"> <div class="hotsearch">
<p> <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> </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> </div>
</div> </div>
...@@ -75,10 +81,55 @@ export default { ...@@ -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: { methods: {
//
huanyihuan() {
this.list = this.companyList.slice((this.index - 1) * 6, this.index * 6);
this.index++;
if (this.index >= 6) {
this.index = 1;
}
},
//查询公司详情 //查询公司详情
search() { search() {
if (this.state) { if (this.state) {
...@@ -89,6 +140,13 @@ export default { ...@@ -89,6 +140,13 @@ export default {
this.saveLocalStorage(); this.saveLocalStorage();
} }
}, },
gotoDetail(name) {
this.$router.push({
path: "/companyinformation",
query: { name: name }
});
this.saveLocalStorage();
},
//将搜索过的内容存入localStorage //将搜索过的内容存入localStorage
saveLocalStorage() { saveLocalStorage() {
let companyInfo = JSON.parse(window.localStorage.getItem("companyInfo")); let companyInfo = JSON.parse(window.localStorage.getItem("companyInfo"));
...@@ -118,7 +176,7 @@ export default { ...@@ -118,7 +176,7 @@ export default {
//模糊查询 //模糊查询
querySearchAsync(queryString, cb) { querySearchAsync(queryString, cb) {
if (this.state == "") { if (this.state == "") {
//如果没有输入值则从本地获取数据 //如果没有输入值,则从本地获取数据
let companyInfo = JSON.parse( let companyInfo = JSON.parse(
window.localStorage.getItem("companyInfo") window.localStorage.getItem("companyInfo")
); );
......
...@@ -87,7 +87,9 @@ export default { ...@@ -87,7 +87,9 @@ export default {
this.loading = true; this.loading = true;
getCompanyInfoNoUser(this.title).then(res => { getCompanyInfoNoUser(this.title).then(res => {
this.loading = false; 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