| | |
| | | </div> |
| | | <div class="div_li">{{ $t(item.name) }}</div> |
| | | </li> |
| | | <li v-if="analyStatus.upload" style="margin-left: 20px"> |
| | | <div class="divli"> |
| | | <div class="backimge5"><i class="el-icon-upload2"></i></div> |
| | | </div> |
| | | <div class="div_li">上传</div> |
| | | </li> |
| | | <li v-if="analyStatus.download" style="margin-left: 20px"> |
| | | <div class="divli"> |
| | | <div class="backimge5"><i class="el-icon-download"></i></div> |
| | | </div> |
| | | <div class="div_li">下载</div> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </template> |
| | |
| | | }, |
| | | ], |
| | | rel_name: null, |
| | | analyStatus: { |
| | | upload: false, |
| | | download: false, |
| | | }, |
| | | }; |
| | | }, |
| | | 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.showViewMenu(cover_perms[i]); |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | showViewMenu(res) { |
| | | if (res.cnName != '查询') return; |
| | | console.log('查询', res.tag); |
| | | switch (res.tag) { |
| | | case '/upload': |
| | | this.analyStatus.upload = true; |
| | | break; |
| | | case '/download': |
| | | this.analyStatus.download = true; |
| | | break; |
| | | } |
| | | }, |
| | | changeIquery(res) { |
| | | if (res.id == '7') { |
| | | this.getQueryFile(); |
| | |
| | | .e7 { |
| | | background: url('../../assets/img/synthesis/图层 24.png') no-repeat center; |
| | | } |
| | | |
| | | .divli { |
| | | width: 100%; |
| | | height: 50%; |
| | | position: relative; |
| | | } |
| | | .backimge5 { |
| | | width: 30px; |
| | | height: 30px; |
| | |
| | | background-size: 100% 100%; |
| | | margin: 0% 30%; |
| | | } |
| | | .divli { |
| | | width: 100%; |
| | | height: 50%; |
| | | position: relative; |
| | | .backimgex { |
| | | width: 30px; |
| | | height: 30px; |
| | | margin-left: 25px; |
| | | position: absolute; |
| | | background-size: 100% 100%; |
| | | margin: 0% 30%; |
| | | } |
| | | </style> |