| | |
| | | <div id="coverage" class="coverage"> |
| | | <ul> |
| | | <li |
| | | style="margin-left: 10px; width: 130px" |
| | | style="margin-left: 10px; width: 130px" |
| | | @click="checkCourvage(item)" |
| | | v-for="item in itemsOne" |
| | | > |
| | |
| | | // class: "a2", |
| | | // }, |
| | | { |
| | | id: '3', |
| | | id: '2', |
| | | name: 'synthesis.release', |
| | | class: 'a3', |
| | | }, |
| | | { |
| | | id: '2', |
| | | id: '3', |
| | | name: 'synthesis.export', |
| | | class: 'a4', |
| | | }, |
| | | ], |
| | | }; |
| | | }, |
| | | created() { |
| | | var cover_Id = this.$store.state.syntiesis.menu; |
| | | var cover_perms = this.$store.state.permsEntity; |
| | | |
| | | for (var i = 0; i < cover_perms.length; i++) { |
| | | if (cover_perms[i].pid == cover_Id) { |
| | | this.showCoverMenu(cover_perms[i]); |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | showCoverMenu(res) { |
| | | if (res.cnName != '图层') return; |
| | | console.log('图层', res.tag); |
| | | }, |
| | | checkCourvage(res) { |
| | | var res_val = { |
| | | url: '', |
| | | name: res.name, |
| | | }; |
| | | this.$bus.$emit('changetool', res_val); |
| | | switch (res.id) { |
| | | case '1': //图层管理 |
| | | break; |
| | | case '2': //场景发布 |
| | | break; |
| | | case '3': //场景导出! |
| | | this.$store.state.exportLayer != this.$store.state.exportLayer; |
| | | break; |
| | | } |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | background: url('../../assets/img/synthesis/图层 35.png') no-repeat center; |
| | | } |
| | | .backimge { |
| | | width: 30px; |
| | | width: 30px; |
| | | height: 30px; |
| | | position: absolute; |
| | | background-size: 100% 100%; |