diff --git a/src/assets/img/map2.png b/src/assets/img/map2.png new file mode 100644 index 0000000..763ccd3 Binary files /dev/null and b/src/assets/img/map2.png differ diff --git a/src/views/index.vue b/src/views/index.vue index 3dae874..33bd51b 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -284,9 +284,11 @@ export default { return } else if (item.router == 'largeScreen') { - const foundObject = this.limitUserId.find(item => item.id == 2); - const foundObject1 = this.limitUserId.find(item => item.id == 1); - if (!foundObject || !foundObject1) { + // item.id == 2 东北; + // item.id == 1 丽水; + // item.id == 5 石门; + const foundObject = this.limitUserId.find(item => item.id == 2 || item.id == 1 || item.id == 5); + if (!foundObject) { this.$message('您当前没有权限查看!') return } else { diff --git a/src/views/page/largeScreen.vue b/src/views/page/largeScreen.vue index ee563ee..09821b3 100644 --- a/src/views/page/largeScreen.vue +++ b/src/views/page/largeScreen.vue @@ -107,6 +107,7 @@