| | |
| | | |
| | | </div> |
| | | </el-dialog> |
| | | <!-- <el-dialog |
| | | :title=" $t('synthesis.rangequery')" |
| | | :visible.sync="dialogMapVisible" |
| | | width="90%" |
| | | top="10vh" |
| | | :before-close="handleMapClose" |
| | | > |
| | | <div style="height:700px"> |
| | | <map-sdk v-if='showMapVisible'></map-sdk> |
| | | </div> |
| | | </el-dialog> --> |
| | | <el-dialog |
| | | title="预览" |
| | | :append-to-body="false" |
| | | :visible.sync="dialog.dialogVisible" |
| | | width="70%" |
| | | :close-on-click-modal="false" |
| | | > |
| | | <div |
| | | v-if="dialog.isPdf" |
| | | class="pdfClass" |
| | | > |
| | | <iframe |
| | | :src="dialog.src" |
| | | type="application/x-google-chrome-pdf" |
| | | width="100%" |
| | | height="100%" |
| | | > |
| | | </iframe> |
| | | </div> |
| | | <div |
| | | v-if="dialog.isJpg" |
| | | class="pdfClass" |
| | | > |
| | | <img |
| | | style="width:100%; height:100%" |
| | | :src="dialog.src" |
| | | alt="" |
| | | /> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | }, |
| | | //附件列表查询 |
| | | async getAttacthFlieList() { |
| | | debugger |
| | | var obj = { |
| | | eventid: this.layerID, |
| | | tabName: "lf.sys_style" |
| | |
| | | max-height: 300px; |
| | | overflow: auto; |
| | | } |
| | | .pdfClass { |
| | | height: 70vh; |
| | | width: 100%; |
| | | position: relative; |
| | | } |
| | | } |
| | | </style> |