This commit is contained in:
parent
559a343ad7
commit
cb9ea999ab
|
@ -162,10 +162,12 @@ router.beforeEach((to, form, next) => {
|
||||||
// next();
|
// next();
|
||||||
// }
|
// }
|
||||||
// console.log(55555, to.fullPath);
|
// console.log(55555, to.fullPath);
|
||||||
|
//没有token直接放行
|
||||||
if (!token) {
|
if (!token) {
|
||||||
next();
|
next();
|
||||||
} else {
|
} else {
|
||||||
if (to.fullPath == '/home/index/map') {
|
if (to.fullPath == '/home/index/map') {
|
||||||
|
//当未重新登录时,menu为空或没有权限标识,无法访问,
|
||||||
if (!menu || menu.indexOf('ggfw:ystp') == -1) {
|
if (!menu || menu.indexOf('ggfw:ystp') == -1) {
|
||||||
ElMessage.error("您无权限访问该模块,若有需求请联系大数据中心!");
|
ElMessage.error("您无权限访问该模块,若有需求请联系大数据中心!");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -3455,6 +3455,10 @@ const createZyys = (polygon, indexx, name, tooltip,img_width) => {
|
||||||
break;
|
break;
|
||||||
case "残疾人之家":
|
case "残疾人之家":
|
||||||
break;
|
break;
|
||||||
|
case "便民服务中心":
|
||||||
|
break;
|
||||||
|
case "残疾人之家":
|
||||||
|
break;
|
||||||
case "小区物业":
|
case "小区物业":
|
||||||
console.log(polygon);
|
console.log(polygon);
|
||||||
open_detail_zyys_xqwy(polygon.ssjd, polygon.sssq);
|
open_detail_zyys_xqwy(polygon.ssjd, polygon.sssq);
|
||||||
|
|
Loading…
Reference in New Issue