| | |
| | | <li> |
| | | <info-card |
| | | style="width: 100%;min-width: 440px" |
| | | :realtime="PollData.RealTimeSum" |
| | | :realtime="PollData.RealTimeValidCount" |
| | | :polling="PollData.PollValidCount" |
| | | :dataStack="PollData.stackChannelCount" |
| | | ></info-card> |
| | |
| | | </el-image> |
| | | <el-image |
| | | v-if="row.type==2" |
| | | style="width: 30x; height: 30px" |
| | | style="width: 30x; height: 30px;background:#fff;" |
| | | :src="`/files/${row.path.substr(row.path.lastIndexOf('/')+1)}`" |
| | | fit="fill" |
| | | :preview-src-list="[`/files/${row.path.substr(row.path.lastIndexOf('/')+1)}`]" |
| | |
| | | </div> |
| | | |
| | | <!-- 文件上传组件 --> |
| | | <!-- <file-uploader ref="uploader" v-show="activeName === 'uploading'" :attrs="attrs" /> --> |
| | | <file-uploader ref="uploader" v-show="activeName === 'uploading'" /> |
| | | <file-uploader ref="uploader" v-show="activeName === 'uploading'" :attrs="attrs" /> |
| | | <!-- <file-uploader ref="uploader" v-show="activeName === 'uploading'" /> --> |
| | | |
| | | <!-- 文件预览 --> |
| | | <el-dialog title="查看文件" :visible.sync="previewDialog" width="500px"> |
| | |
| | | this.$set(this.attrs, 'accept', ".mp4"); |
| | | }else if (n == 2) { |
| | | //图片 |
| | | this.$set(this.attrs, 'accept', "image/jpg,image/jpeg,image/png"); |
| | | this.$set(this.attrs, 'accept', ".jpg,.jpeg,.png"); |
| | | } |
| | | } |
| | | } |