Commit 6983fbe2 by hanxiao

放开页面权限

parent 47a75f70
......@@ -139,7 +139,12 @@ export default {
methods: {
handleSelect(key) {
//2023.7.31隐藏除产业图谱其他的入口
if (key == "atlas") {
if (
key === "atlas" ||
key === "radar" ||
key === "map" ||
key === "portrait"
) {
this.activeIndex = key;
if (this.$route.name !== key) {
this.$router.push({ name: key });
......@@ -161,7 +166,7 @@ export default {
this.$router.push({ name: "login" });
},
goUserCenter() {
//2023.8.2隐藏用户中心
//2023.8.2隐藏用户中心
// if (this.$route.name !== "usercenter") {
// this.activeIndex = "usercenter";
// this.$router.push({ name: "usercenter" });
......
......@@ -54,18 +54,18 @@
>创新平台</span
>
</div>
<School
<!-- <School
v-if="resourcesActiveName == 1"
:industry_id="industry_id"
:industry_level="industry_level"
:select_flag="1"
/>
<Platform
/> -->
<!-- <Platform
v-if="resourcesActiveName == 2"
:industry_id="industry_id"
:industry_level="industry_level"
:select_flag="3"
/>
/> -->
</div>
<div v-if="activeRouter == 3" class=" box-more">
<div class="top-head-nav">
......@@ -85,24 +85,24 @@
>产业园区</span
>
</div>
<District
<!-- <District
v-if="carrierActiveName == 1"
:industry_id="industry_id"
:industry_level="industry_level"
:select_flag="1"
/>
<Kaifaqu
/> -->
<!-- <Kaifaqu
v-if="carrierActiveName == 2"
:industry_id="industry_id"
:industry_level="industry_level"
:select_flag="7"
/>
<Park
/> -->
<!-- <Park
v-if="carrierActiveName == 3"
:industry_id="industry_id"
:industry_level="industry_level"
:select_flag="2"
/>
/> -->
</div>
<Policy
v-if="activeRouter == 4"
......@@ -217,12 +217,12 @@ export default {
changeRouter(val) {
console.log(val);
//限制其他几个页面入口
if (val == 1 || val == 0 ||val == 4) {
if (val !== 5) {
this.activeRouter = val;
}
//源代码
//this.activeRouter = val;
// this.activeRouter = val;
},
getCateid(data) {
......
<template>
<div class=" box-more">
<div class="top-head-nav">
<span :class="[policy_level == 0 ? 'active' : '']" @click="changeLevel(0)"
<!-- <span :class="[policy_level == 0 ? 'active' : '']" @click="changeLevel(0)"
>全部</span
>
> -->
<span :class="[policy_level == 1 ? 'active' : '']" @click="changeLevel(1)"
>国家级</span
>
......
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