From 9706167cee66aa208e538b9d3a5e9ecd88cd7462 Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期一, 24 五月 2021 16:28:48 +0800 Subject: [PATCH] 添加企业应急中事件上报/事件处置功能页面 --- src/components/BaseNav/pipeline/AffiliatedFacilities.vue | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/components/BaseNav/pipeline/AffiliatedFacilities.vue b/src/components/BaseNav/pipeline/AffiliatedFacilities.vue index a52abbb..e7e9008 100644 --- a/src/components/BaseNav/pipeline/AffiliatedFacilities.vue +++ b/src/components/BaseNav/pipeline/AffiliatedFacilities.vue @@ -67,7 +67,6 @@ keyword: '' }, dataType: '', - classification: LayerFsss.layers, list: [], activeNum: -1 } @@ -82,11 +81,23 @@ deep: true } }, + computed: { + classification () { + const layers = LayerFsss.layers + // console.log(layers) + const filtered = layers.filter(function (value, index, array) { + // console.log(value) + return value.name !== '娴佸悜' + }) + return filtered + } + }, methods: { getImgSrc () { const icon = this.dataType.icon return icon ? 'assets/images/map/' + icon : '' }, + handleClose (done) { // this.$confirm('纭鍏抽棴锛�').then(_ => { done() }).catch(_ => {}) }, -- Gitblit v1.8.0