Commit 2fd0205e by liudx

隐藏相关入口

parent 4e57127d

45.4 KB | W: | H:

44.6 KB | W: | H:

src/assets/images/header/head-title-left.png
src/assets/images/header/head-title-left.png
src/assets/images/header/head-title-left.png
src/assets/images/header/head-title-left.png
  • 2-up
  • Swipe
  • Onion skin

224 KB | W: | H:

200 KB | W: | H:

src/assets/images/index/headbg-title.png
src/assets/images/index/headbg-title.png
src/assets/images/index/headbg-title.png
src/assets/images/index/headbg-title.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -138,10 +138,17 @@ export default {
},
methods: {
handleSelect(key) {
//2023.7.31隐藏除产业图谱其他的入口
if (key == "atlas") {
this.activeIndex = key;
if (this.$route.name !== key) {
this.$router.push({ name: key });
}
}
//原代码
// this.activeIndex = key;
// if (this.$route.name !== key) {
// this.$router.push({ name: key });
},
goLogin() {
this.$message({
......
......@@ -180,7 +180,7 @@ export default {
img: "icon-06.png",
img_select: "icon-06-select.png",
title: "产业评估",
}
},
],
// 行业id
industry_id: 1,
......@@ -215,7 +215,14 @@ export default {
methods: {
changeRouter(val) {
console.log(val);
//限制其他几个页面入口
if (val == 1 || val == 0 || val == 4) {
this.activeRouter = val;
}
//源代码
//this.activeRouter = val;
},
getCateid(data) {
......
......@@ -55,14 +55,15 @@
<span>已收藏</span>
</p>
</div>
<div
<!-- 2023.7.31隐藏地图入口 -->
<!-- <div
class="map-btn no-select"
v-if="mode == 'chain'"
@click="changeType('map')"
>
<img src="~@/assets/images/atlas/icon-changemap.png" alt="" />
<span>切换为地图</span>
</div>
</div> -->
<div
class="map-btn no-select"
v-if="mode == 'map'"
......@@ -714,11 +715,11 @@ export default {
aptitude: this.searchOption.qualificat,
status: this.searchOption.quoted,
});
this.tableData = res.df.map((item, index) => {
item.index = index + 1;
return item;
});
this.total = res.size;
// this.tableData = res.df.map((item, index) => {
// item.index = index + 1;
// return item;
// });
// this.total = res.size;
},
// 前往 企业 详情页
goEnterprise(id) {
......
......@@ -7,7 +7,8 @@
<span :class="[policy_level == 1 ? 'active' : '']" @click="changeLevel(1)"
>国家级</span
>
<span :class="[policy_level == 2 ? 'active' : '']" @click="changeLevel(2)"
<!-- 2023.7.31隐藏产业政策入口 -->
<!-- <span :class="[policy_level == 2 ? 'active' : '']" @click="changeLevel(2)"
>省级</span
>
<span :class="[policy_level == 3 ? 'active' : '']" @click="changeLevel(3)"
......@@ -18,7 +19,7 @@
>
<span :class="[policy_level == 5 ? 'active' : '']" @click="changeLevel(5)"
>开发区</span
>
> -->
</div>
<div class="options clearfix" v-if="policy_level != 0 && policy_level != 3">
<span>分类筛选:</span>
......
......@@ -59,7 +59,8 @@
</div>
<div class="login-box">
<ul class="nav ">
<li
<!-- 2023.7.31隐藏外部登录方式 -->
<!-- <li
:class="[
activeName1 == 'outside' ? 'active' : '',
'left-radius ',
......@@ -68,7 +69,7 @@
@click="activeName1 = 'outside'"
>
外部
</li>
</li> -->
<li
:class="[
activeName1 == 'inside' ? 'active' : '',
......@@ -440,11 +441,11 @@ export default {
// 手机号
manage_phone: "",
manage_password: "",
phone: "",//18232666804
phone: "", //18232666804
// 验证码
vCode: "",
// 密码
password: "",//Ldx18232666804@
password: "", //Ldx18232666804@
// 是否发送验证码
isSend: false,
isSend2: false,
......@@ -591,8 +592,8 @@ export default {
this.dialogReg = false;
this.dialogVisible = true;
}, 600);
}else{
this.$message.error(res.data.msg)
} else {
this.$message.error(res.data.msg);
}
},
changeSelectIn(index) {
......@@ -699,7 +700,9 @@ export default {
localStorage.setItem("jc_district_name", "晋城市");
this.$store.commit("setToken", res.token);
this.$store.commit("setFlag", res.flag);
this.$router.push({ name: "home" });
// this.$router.push({ name: "home" });
//登录之后先跳转到产业图谱页面
this.$router.push({ name: "atlas" });
}
},
// 密码登录接口
......@@ -728,10 +731,14 @@ export default {
} = this.limitsOfAuthority(res.page_permission_list);
localStorage.setItem("jc_resourcesIndex", resourcesIndex);
localStorage.setItem("jc_noAccessRouter", noAccessRouter);
this.$router.push({ name: indexRouter });
// this.$router.push({ name: indexRouter });
//登录之后先跳转到产业图谱页面
this.$router.push({ name: "atlas" });
// this.$router.push({ name: "home" });
}else{
this.$message.warning(res.data.msg)
} else {
this.$message.warning(res.data.msg);
}
},
limitsOfAuthority(pageList) {
......
......@@ -38,7 +38,7 @@ module.exports = {
},
chainWebpack: config => {
config.plugin('html').tap(args => {
args[0].title = '晋城市产业招商大数据平台'
args[0].title = '满城区产业招商大数据平台'
return args
})
config.resolve.alias.set("@map", resolve("public/aaa_map_json"));
......
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