Commit 5c0b0f5d by 蒋勇

Merge branch 'ipop-web' of gitlab.gongsibao.com:jiangyong/zhichan into ipop-web

parents 20606d21 41aa343f
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -119,6 +119,14 @@ module.exports = {
"path": ""
},
{
"code": "iframehtmlTabs",
"icon": "fa fa-search",
"label": "网页嵌入",
"bizCode": "iframehtmlTabs",
"bizConfig": null,
"path": ""
},
{
"code": "competitiveanalysis",
"icon": "fa fa-search",
"label": "竞争企业分析",
......@@ -138,6 +146,7 @@ module.exports = {
},
"bizs": {
"iframehtml": {"title": "网页嵌入", "config": null, "path": "/iframehtml", "comname": "iframehtml"},
"iframehtmlTabs": {"title": "网页嵌入", "config": null, "path": "/iframehtmlTabs", "comname": "iframehtmlTabs"},
"competitiveanalysis": {"title": "竞争企业分析", "config": null, "path": "/competitiveanalysis", "comname": "competitiveanalysis"},
"enterprisecontrast": {"title": "竞争企业分析", "config": null, "path": "/enterprisecontrast", "comname": "enterprisecontrast"},
"home": {"title": "首页", "config": null, "path": "/", "comname": "home"},
......
This source diff could not be displayed because it is too large. You can view the blob instead.
var settings={
redis:{
host: "43.247.184.32",
host: "121.36.3.35",
port: 8967,
password:"Gongsibao2018",
db: 11,
......
......@@ -178,6 +178,9 @@
.el-tooltip__popper.is-light {
max-width: 80% !important;
}
.el-menu-item {
outline: none !important;
}
</style>
</head>
<body>
......@@ -186,7 +189,7 @@
<el-row style="border-bottom:none;padding: 0px;min-width: 1244px;">
<el-col :span="2" style="min-width:150px;text-align: center;">
<!-- <el-button type="text" style="font-size:24px;font-size: 0.24rem;" @click="navRoute('首页')">知识产权运营平台</el-button> -->
<img v-if="typeHome" style="margin-top: 14px;margin-left: 32px;cursor: pointer;" @click="NavIndexRoute('首页')" src="/imgs/home/logoimg1.png" alt="">
<img v-if="typeHome" style="margin-top: 14px;margin-left: 32px;cursor: pointer;" @click="NavIndexRoute('首页')" src="/imgs/home/logoimg.png" alt="">
<img v-if="!typeHome" style="margin-top: 14px;cursor: pointer;" src="/imgs/home/logos.png" @click="NavIndexRoute('首页')" alt="">
</el-col>
<!-- <el-col :span="17" class="spechorizotal">
......
This source diff could not be displayed because it is too large. You can view the blob instead.

92.9 KB | W: | H:

92.1 KB | W: | H:

ipop-web/app/front/entry/public/imgs/home/backgroundImg1.png
ipop-web/app/front/entry/public/imgs/home/backgroundImg1.png
ipop-web/app/front/entry/public/imgs/home/backgroundImg1.png
ipop-web/app/front/entry/public/imgs/home/backgroundImg1.png
  • 2-up
  • Swipe
  • Onion skin

1.68 KB | W: | H:

2.72 KB | W: | H:

ipop-web/app/front/entry/public/imgs/home/icon6.png
ipop-web/app/front/entry/public/imgs/home/icon6.png
ipop-web/app/front/entry/public/imgs/home/icon6.png
ipop-web/app/front/entry/public/imgs/home/icon6.png
  • 2-up
  • Swipe
  • Onion skin

4.03 KB | W: | H:

4.43 KB | W: | H:

ipop-web/app/front/entry/public/imgs/home/logoimg.png
ipop-web/app/front/entry/public/imgs/home/logoimg.png
ipop-web/app/front/entry/public/imgs/home/logoimg.png
ipop-web/app/front/entry/public/imgs/home/logoimg.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -414,8 +414,17 @@ axios.get("/vue/comp/base").then(function(res){
// window.open("https://www.cnuip.com/");
this.typeHome = false;
this.loadingHome = true;
var url = encodeURIComponent("https://www.cnuip.com/");
this.pushx({name:"/iframehtml",title:"知识产权运营",params:{url:url}});
var url = encodeURIComponent("http://101.132.173.37:8110/");
this.pushx({name:"/iframehtmlTabs",title:"知识产权运营",params:{url:url}});
setTimeout(()=>{
this.loadingHome = false;
},1500);
}else if(v== "智能分类"){
// window.open("https://www.cnuip.com/");
this.typeHome = false;
this.loadingHome = true;
var url = encodeURIComponent("http://125.34.170.146/");
this.pushx({name:"/iframehtml",title:"智能分类",params:{url:url}});
setTimeout(()=>{
this.loadingHome = false;
},1500);
......
......@@ -112,7 +112,7 @@
}
.banner-navs {
float: left;
width: 77%;
width: 100%;
display: flex;
}
.banner-navs-list {
......
......@@ -9,10 +9,10 @@
<div class="home-back" :style="homeBackArr[0]"></div>
<canvas id="canvas"></canvas>
<div class="home-banner-tabs">
<div class="banner-tabs-name">
<!-- <div class="banner-tabs-name">
<div class="name1">智能产品</div>
<div class="name2">Smart Products</div>
</div>
</div> -->
<div class="banner-navs">
<div class="banner-navs-list" v-for="item in bannerTabsArr" @click="navRoute(item.name)">
<div class="navs-list-img">
......@@ -21,7 +21,7 @@
<div class="navs-list-name">{{item.name}}</div>
</div>
</div>
<div @mouseenter="show2enter()" @mouseleave="show2leave()">
<!-- <div @mouseenter="show2enter()" @mouseleave="show2leave()">
<div class="banner-more">更多 <i class="el-icon-arrow-right"></i></div>
<transition name="el-zoom-in-bottom">
<div class="banner-more-pop-up" v-show="show2">
......@@ -30,7 +30,7 @@
<div class="banner-more-pop-up-item" @click="navRoute(\'智能采集\')">智能采集 <i class="el-icon-arrow-right"></i></div>
</div>
</transition>
</div>
</div> -->
</div>
</div>
<div class="home-content">
......@@ -43,10 +43,8 @@
<div class="content-item-tab">{{item.name}}</div>
</div>
<div class="content-item-article">
<div class="item-article-text"><span></span>美国最严技术出口管制,中国芯片大军转向欧罗</div>
<div class="item-article-text"><span></span>美国最严技术出口管制,中国芯片大军转向欧罗</div>
<div class="item-article-text"><span></span>美国最严技术出口管制,中国芯片大军转向欧罗</div>
<div class="item-article-more">更多 >></div>
<div class="item-article-text" v-for="list in item.itemArr" @click="details(list)"><span></span>{{list.title}}</div>
<div class="item-article-more" @click="clickMore(item)">更多 >></div>
</div>
</div>
</div>
......
......@@ -68,13 +68,43 @@
contentArr: [
{
img:'background: url(/imgs/home/nav1.png) no-repeat;',
name:'热门专利'
name:'热门专利',
url: 'https://patent.aminer.cn/#/push/patent',
itemArr:[
{
title: 'PrivNet: Safeguarding Private Attributes in Transfer Learning for Recommendation'
},{
title: 'PrivNet: Safeguarding Private Attributes in Transfer Learning for Recommendation'
},{
title: 'PrivNet: Safeguarding Private Attributes in Transfer Learning for Recommendation'
}
]
},{
img:'background: url(/imgs/home/nav2.jpg) no-repeat;',
name:'热门科技资讯'
name:'热门科技资讯',
url: 'https://patent.aminer.cn/#/push/news',
itemArr:[
{
title: ''
},{
title: ''
},{
title: ''
}
]
},{
img:'background: url(/imgs/home/nav3.jpg) no-repeat;',
name:'热门文献'
name:'热门文献',
url:'https://patent.aminer.cn/#/push/paper',
itemArr:[
{
title: ''
},{
title: ''
},{
title: ''
}
]
},
],
bannerTabsArr: [
......@@ -113,6 +143,18 @@
{
img:"/imgs/home/icon9.png",
name:'创新资源共享'
},
{
img:"/imgs/home/icon7.png",
name:'智能翻译'
},
{
img:"/imgs/home/icon8.png",
name:'智能分类'
},
{
img:"/imgs/home/icon9.png",
name:'智能采集'
}
],
tms:[],
......@@ -171,8 +213,37 @@
that.BannerHeight = window.innerHeight;
});
this.$root.typeHome = true;
this.aminerpapers();
this.aminerarticle();
},
methods:{
details(val) {
var b1 = '';
if (val.url) {
b1 = val.url[0].replace("https://arxiv.org", "http://xxx.itp.ac.cn");
}else {
b1 = `https://www.aminer.cn/research_report/${val._id}?download=false`;
}
console.log(b1);
this.$root.typeHome = false;
this.$root.loadingHome = true;
var url = encodeURIComponent(b1);
this.$root.pushx({name:"/iframehtml",title:val.title,params:{url:url}});
setTimeout(()=>{
this.$root.loadingHome = false;
},1500);
},
clickMore(val) {
this.$root.typeHome = false;
this.$root.loadingHome = true;
var url = encodeURIComponent(val.url);
this.$root.pushx({name:"/iframehtml",title:val.name,params:{url:url}});
setTimeout(()=>{
this.$root.loadingHome = false;
},1500);
},
show2enter() {
this.show2 = true;
},
......@@ -304,6 +375,26 @@
console.log(name);
this.$root.NavIndexRoute(name);
},
/*热门文献*/
aminerpapers(){
var self=this;
self.$root.postReq("/web/patentycCtl/aminerpapers",{}).then(function(d){
if(d.status==0){
self.contentArr[2].itemArr = d.data.data;
console.log(d,'dddd')
}
});
},
/*热门科技*/
aminerarticle(){
var self=this;
self.$root.postReq("/web/patentycCtl/aminerarticle",{}).then(function(d){
if(d.status==0){
self.contentArr[1].itemArr = d.data.data;
console.log(d,'aaa')
}
});
},
fetchloopplay:function(){
var self=this;
self.$root.postReq("/web/loopplayCtl/findAll",{}).then(function(d){
......
......@@ -2,11 +2,13 @@
template:'${tmpl}',
data:function(){
return {
url:"",
url:""
}
},
mounted:function(){
console.log(this.$root.currentUser, '调用方法');
var url = this.$router.history.current.query.url;
console.log(url);
if(url){
url = decodeURIComponent(url);
this.url = url;
......@@ -16,7 +18,7 @@
},
methods:{
},
vname:"gsb-iframehtml"
}
<div style="width:100%;height:100%;">
<div style="width:200px;height:100%;float: left;background-color: rgb(84, 92, 100);">
<el-menu
:default-active="0"
class="el-menu-vertical-demo"
@select="handleSelect"
background-color="#545c64"
text-color="#fff"
active-text-color="#ffd04b">
<el-menu-item v-for="(item, key) in urlTabs" :key="key" :index="key">
<i class="el-icon-menu"></i>
<span slot="title">{{item.name}}</span>
</el-menu-item>
</el-menu>
</div>
<div style="width:calc(100% - 200px);height:100%;float: left;">
<iframe style="width:100%;height:100%;" :src="url" frameborder="0"></iframe>
</div>
</div>
{
template:'${tmpl}',
data:function(){
return {
url:"",
urlTabs:[
{
name: '知识产权运营',
/*url: 'https://www.cnuip.com/'*/
url: 'http://101.132.173.37:8110/'
},
{
name: '专利超市',
url: 'http://101.132.173.37:8110/goods/patent.html'
},{
name: '企业服务',
url: 'http://101.132.173.37:8110/goods/service_z01.html'
},{
name: '科技成果',
url: 'http://101.132.173.37:8110/achievement'
},{
name: '知产百科',
url: 'http://101.132.173.37:8110/article/baike/'
},{
name: '问专家',
url: 'http://101.132.173.37:8110/shop_3.html'
}
]
}
},
mounted:function(){
console.log(this.$root.currentUser, '调用方法');
var url = this.$router.history.current.query.url;
if(url){
url = decodeURIComponent(url);
this.url = url;
}
},
created:function(){
},
methods:{
handleSelect(val) {
console.log(val);
this.url = this.urlTabs[val].url
}
},
vname:"gsb-iframehtmlTabs"
}
......@@ -15,21 +15,28 @@
text-color="#fff"
style="height: 100%;"
active-text-color="#00C1DE">
<el-menu-item index="0">
<i class="el-icon-news"></i>
<span slot="title">首页</span>
<el-menu-item index="0">
<i class="el-icon-news"></i>
<span slot="title">首页</span>
</el-menu-item>
<el-submenu index="1">
<template slot="title">
<i class="el-icon-date"></i>
<span>智能统计</span>
</template>
<el-menu-item v-for="(item,index) in dimensionListObj" :index="index + 1" :key="index + 1" ><i class="yuan"></i>{{item.name}}</el-menu-item>
</el-submenu>
<el-menu-item v-for="(item,index) in dimensionList2" :index="index + 8" :key="index + 8">
<i :class="item.icon"></i>
<span slot="title">{{item.name}}</span>
</el-menu-item>
<el-submenu index="1">
<template slot="title">
<i class="el-icon-date"></i>
<span>智能统计</span>
</template>
<el-menu-item v-for="(item,index) in dimensionListObj" :index="index + 1" :key="index + 1" ><i class="yuan"></i>{{item.name}}</el-menu-item>
</el-submenu>
<el-menu-item v-for="(item,index) in dimensionList2" :index="index + 8" :key="index + 8">
<i :class="item.icon"></i>
<span slot="title">{{item.name}}</span>
</el-menu-item>
<el-submenu index="9">
<template slot="title">
<i class="el-icon-view"></i>
<span>智能可视化</span>
</template>
<el-menu-item v-for="(item,index) in dimensionListObj1" :index="index + 10" :key="index + 10" ><i class="yuan"></i>{{item.name}}</el-menu-item>
</el-submenu>
</el-menu>
</div>
......@@ -2234,6 +2241,7 @@
</div>
</div>
<div v-if="activeMenu==\'8\'" class="activeMenu8">
<div v-if="search">
<div v-if="echarts" style="min-width: 1200px;">
<div class="activeMenu8-title"><i class="el-icon-setting"></i>分析报告设置</div>
<div class="activeMenu8-main">
......@@ -2279,11 +2287,18 @@
</div>
</div>
</div>
</div>
<div v-else class="no-result" style="text-align:center;margin-top: 200px">
<div class="zipImg"><span class="zipSpan" @click="tiaozhan"></span></div>
</div>
</div>
<div v-if="activeMenu==\'9\'">
<div>
<div v-if="activeMenu >= \'10\'">
<div v-if="search">
<iframe id="bdIframe" :src="srcIframe" frameborder="0" width="100%" height="1000"></iframe>
</div>
<div v-else class="no-result" style="text-align:center;margin-top: 200px">
<div class="zipImg"><span class="zipSpan" @click="tiaozhan"></span></div>
</div>
</div>
</div>
</div>
......
......@@ -2,6 +2,7 @@
template: '${tmpl}',
data: function() {
return {
Reporttype: false,
dataUid: '735f9cd0-c103-11ea-9ecd-1d1c3e85a974',
timer: 0,
srcIframe: '',
......@@ -560,14 +561,29 @@
icon: 'el-icon-tickets'
},
{
name: "智能可视化",
name: "智能报表",
icon: 'el-icon-document'
}
],
dimensionListObj1:[
{
name: "主题分析",
icon: 'el-icon-tickets'
},
{
name: "演化分析",
icon: 'el-icon-view'
},
{
name: "智能报表",
name: "关联分析",
icon: 'el-icon-document'
},
{
name: "合著分析",
icon: 'el-icon-document'
}
],
method: '',
dimensionList:[
{
name: "首页",
......@@ -2846,8 +2862,15 @@
this.agentRank();
}else if (this.activeMenu == "8") {
this.returnsPage();
}else if (this.activeMenu == "9") {
this.ezReportUploadData();
}else if (this.activeMenu >= "10") {
console.log(this.dimensionListObj1[key - 10].name);
this.method = this.dimensionListObj1[key - 10].name;
if (this.Reporttype) {
this.ezGetReport()
}else {
this.ezReportUploadData();
}
setTimeout(()=> {this.reinitIframe()}, 3000);
}
},
......@@ -7042,7 +7065,7 @@
var params = { search: this.search, obj: this.obj };
const loadingbyc = this.$loading({
lock: true,
text: 'Loading',
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
......@@ -7067,7 +7090,7 @@
var params = { "uid": that.dataUid };
const loadingbyc = this.$loading({
lock: true,
text: 'Loading',
text: '报告生成中...',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
......@@ -7078,9 +7101,8 @@
console.log(d);
if(d.status == 0){
loadingbyc.close();
/*clearInterval(that.timer);*/
that.Reporttype = true;
that.ezGetReport()
}else{
if (that.timer == 20) {
loadingbyc.close();
......@@ -7094,7 +7116,7 @@
ezGetReport() {
var that=this;
console.log("--------分析可视化后------------");
var params = { "uid": that.dataUid, "type": 'html' };
var params = { "uid": that.dataUid, "type": 'html', method: this.method };
this.$root.postReq("web/patentycCtl/ezGetReport",params).then(function (d) {
console.log("---------------------------------------------");
console.log(d);
......
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