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"
});
}
......@@ -81,3 +81,22 @@ export function getEntregistryByCompanyName(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,11 +189,16 @@ export default {
line-height: 30px;
margin-right: 20px;
}
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;
......@@ -154,6 +206,7 @@ export default {
line-height: 17px;
}
}
}
}
.enterpriseInfo-main {
width: 100%;
......
<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>
<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);
}
});
},
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;
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