Commit 0a726340 by haozhenhua

hzh

parent 8273002c
...@@ -497,7 +497,8 @@ ...@@ -497,7 +497,8 @@
<div id="app" v-loading="loading" class="app-main" style="visibility: hidden" @mouseover="hidePanel($event)"> <div id="app" v-loading="loading" class="app-main" style="visibility: hidden" @mouseover="hidePanel($event)">
<div id="app-header"> <div id="app-header">
<div :class="isfront ? 'header-main' : 'header-main-houtai'"> <div :class="isfront ? 'header-main' : 'header-main-houtai'">
<div class="header-main-title" @click="backhome">一站式智能化服务平台</div> <div class="header-main-title" @click="backhome(companyinfo.company.siteTheme)" v-if="companyinfo.company.siteTheme == 'policyShop' || companyinfo.company.siteTheme == 'policy'"> <span style="font-size: 18px;">政企通</span> 丨 政策大数据服务平台</div>
<div class="header-main-title" @click="backhome" v-else>一站式智能化服务平台</div>
<div class="header-main-title1" style="margin-left:11px;" <div class="header-main-title1" style="margin-left:11px;"
v-if="companyinfo.company.siteTheme == 'policy'"> v-if="companyinfo.company.siteTheme == 'policy'">
<el-popover placement="bottom-start" width="511" trigger="hover"> <el-popover placement="bottom-start" width="511" trigger="hover">
......
...@@ -555,8 +555,9 @@ var app = new Vue({ ...@@ -555,8 +555,9 @@ var app = new Vue({
if (item == "declare") { if (item == "declare") {
this.stageType = false; this.stageType = false;
this.pushx({ this.pushx({
title: "政策资讯", title: "申报通知",
name: "/declare" name: "/declare",
params: { name: '申报通知' }
}); });
return false; return false;
} }
...@@ -564,7 +565,8 @@ var app = new Vue({ ...@@ -564,7 +565,8 @@ var app = new Vue({
this.stageType = false; this.stageType = false;
this.pushx({ this.pushx({
title: "立项公示", title: "立项公示",
name: "/projectpublicity" name: "/projectpublicity",
params: { name: '立项公示' }
}); });
return false; return false;
} }
...@@ -572,7 +574,8 @@ var app = new Vue({ ...@@ -572,7 +574,8 @@ var app = new Vue({
this.stageType = false; this.stageType = false;
this.pushx({ this.pushx({
title: "管理办法", title: "管理办法",
name: "/managementmeasures" name: "/managementmeasures",
params: { name: '管理办法' }
}); });
return false; return false;
} }
...@@ -1042,8 +1045,10 @@ var app = new Vue({ ...@@ -1042,8 +1045,10 @@ var app = new Vue({
} }
}, },
backhome() { backhome(name) {
if (name == 'policyShop') {
return window.open( location.protocol+ "?paramtheme=policy#/");
}
this.pushx({ this.pushx({
title: "首页", title: "首页",
name: "/" name: "/"
......
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
<div class="policylist-tile"  style="margin-top: 15px;"> <div class="policylist-tile"  style="margin-top: 15px;">
<div class="policyquery-items"> <div class="policyquery-items">
<div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'"> <div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'">
<div :class="quanbu ? \'\':\'pitch\'" @click="quanClick1()">申报通知({{total}})</div> <div :class="quanbu == item.title ? \'pitch\' : \'\'" v-for="item in quanData1" @click="quanClick1(item)">
<div :class="quanbu == item ? \'pitch\' : \'\'" v-for="item in quanData1" @click="quanClick1(item)"> {{item.title}}</div>
{{item}}</div>
</div> </div>
</div> </div>
......
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
<div class="policylist-tile"  style="margin-top: 15px;"> <div class="policylist-tile"  style="margin-top: 15px;">
<div class="policyquery-items"> <div class="policyquery-items">
<div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'"> <div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'">
<div :class="quanbu ? \'\':\'pitch\'" @click="quanClick1()">管理办法({{total}})</div> <div :class="quanbu == item.title ? \'pitch\' : \'\'" v-for="(item,index) in quanData1" @click="quanClick1(item)">
<div :class="quanbu == item ? \'pitch\' : \'\'" v-for="item in quanData1" @click="quanClick1(item)"> {{item.title}}</div>
{{item.title}}({{item.count}})</div>
</div> </div>
</div> </div>
......
...@@ -59,29 +59,33 @@ ...@@ -59,29 +59,33 @@
leftimg: 'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png' leftimg: 'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
} }
], ],
quanData1:[ quanData1: [
{ {
title:'申报通知', title: '申报通知',
count:'3054' count: '111'
}, },
{ {
title:'立项公示', title: '立项公示',
count:'100' count: '3054'
},
{
title: '管理办法',
count: '100'
}, },
{ {
title:'政策图解', title: '政策图解',
count:'200' count: '200'
}, },
{ {
title:'政务信息', title: '政务信息',
count:'300' count: '300'
}, },
{ {
title:'新闻资讯(69)', title: '新闻资讯',
count:'400' count: '400'
} }
], ],
tableData1: [ tableData1: [
...@@ -265,12 +269,12 @@ ...@@ -265,12 +269,12 @@
this.zcPost() this.zcPost()
}, },
quanClick1(val) { quanClick1(val) {
console.log(val); console.log(val.title);
if (val == undefined) { if (val == undefined) {
console.log(123123123123); console.log(123123123123);
val = '' val = ''
}; };
this.quanbu = val; this.quanbu = val.title;
}, },
tableDataClick2(val) { tableDataClick2(val) {
console.log(val); console.log(val);
...@@ -499,6 +503,10 @@ ...@@ -499,6 +503,10 @@
this.areaName = localStorage.getItem("areaName"); this.areaName = localStorage.getItem("areaName");
this.zcPost(); this.zcPost();
this.zccompanyPost(); this.zccompanyPost();
console.log(this.$route.query.name,'======================');
if(this.$route.query.name!=""){
this.quanbu = this.$route.query.name;
}
}, },
vname: "gsb-policyquery" vname: "gsb-policyquery"
} }
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
<div class="policylist-tile"  style="margin-top: 15px;"> <div class="policylist-tile"  style="margin-top: 15px;">
<div class="policyquery-items"> <div class="policyquery-items">
<div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'"> <div class="items_item" :style="headerHeight1 ? \'height:45px\' : \'height:auto\'">
<div :class="quanbu ? \'\':\'pitch\'" @click="quanClick1()">立项公示({{total}})</div> <div :class="quanbu == item.title ? \'pitch\' : \'\'" v-for="item in quanData1" @click="quanClick1(item)">
<div :class="quanbu == item ? \'pitch\' : \'\'" v-for="item in quanData1" @click="quanClick1(item)"> {{item.title}}</div>
{{item.title}}({{item.count}})</div>
</div> </div>
</div> </div>
......
...@@ -349,6 +349,15 @@ ...@@ -349,6 +349,15 @@
this.recommendationsArr = data this.recommendationsArr = data
}) })
}, },
qiyeHuaXiang() {
axios.post('http://106.13.228.212:8011/policy_report',{
"companyname": this.zctext
}).then( d => {
console.log(d,'=================================');
var data = d.data.data;
this.portrayalArr = data
})
},
/*before(i) { /*before(i) {
this.rKey = i-1; this.rKey = i-1;
}, },
...@@ -475,7 +484,7 @@ ...@@ -475,7 +484,7 @@
}).then(({ value }) => { }).then(({ value }) => {
this.$message({ this.$message({
type: 'success', type: 'success',
message: '你的邮箱是: ' + value message: '政策报告已发送至您的邮箱'
}); });
}).catch(() => { }).catch(() => {
this.$message({ this.$message({
...@@ -493,6 +502,7 @@ ...@@ -493,6 +502,7 @@
this.areaName = localStorage.getItem("areaName"); this.areaName = localStorage.getItem("areaName");
this.zcPost(); this.zcPost();
this.zccompanyPost(); this.zccompanyPost();
/*this.qiyeHuaXiang();*/
}, },
vname: "gsb-policyquery" vname: "gsb-policyquery"
} }
<div class="snbscription"> <div class="snbscription" @click="payClick()">
<img src="/imgs/server.png" alt=""> <img src="/imgs/server.png" alt="">
<button class="btn1" @click="payClick()">马上订阅</button>
<button class="btn2" @click="payClick()">马上订阅</button>
</div> </div>
\ No newline at end of file
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