fix: 运动视频
This commit is contained in:
parent
e07a91767a
commit
d1d1ad80c3
@ -96,7 +96,7 @@
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="videoList" @selection-change="handleSelectionChange">
|
||||
<el-table v-loading="loading" :data="videoList" @selection-change="handleSelectionChange" border>
|
||||
<el-table-column type="selection" width="55" align="center"/>
|
||||
<el-table-column label="设备名称" align="center" prop="equipName"/>
|
||||
<el-table-column label="设备id" align="center" prop="equipId"/>
|
||||
@ -104,7 +104,7 @@
|
||||
<el-table-column label="用户id" align="center" prop="userId"/>
|
||||
<el-table-column label="视频名称" align="center" prop="videoName"/>
|
||||
<el-table-column label="时间" align="center" prop="videoTime" width="150"/>
|
||||
<!-- <el-table-column label="视频地址" align="center" prop="fileUrl" />-->
|
||||
<el-table-column label="视频地址" align="center" prop="fileUrl" show-overflow-tooltip/>
|
||||
<!-- <el-table-column label="图片" align="center" prop="phoneInfo" width="100">
|
||||
<template slot-scope="scope">
|
||||
<image-preview :src="scope.row.phoneInfo" :width="50" :height="50"/>
|
||||
@ -112,7 +112,7 @@
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="数据类型" align="center" prop="dataType" />-->
|
||||
<el-table-column label="备注" align="center" prop="remark"/>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
@ -135,7 +135,6 @@
|
||||
type="text"
|
||||
icon="el-icon-video-camera"
|
||||
@click="playVideo(scope.row)"
|
||||
v-hasPermi="['species:video:remove']"
|
||||
>查看视频
|
||||
</el-button>
|
||||
</template>
|
||||
@ -168,22 +167,17 @@
|
||||
<el-form-item label="视频名称" prop="videoName">
|
||||
<el-input v-model="form.videoName" placeholder="请输入视频名称"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="视频时间" prop="videoTime">
|
||||
<el-form-item label="时间" prop="videoTime">
|
||||
<el-date-picker clearable
|
||||
v-model="form.videoTime"
|
||||
type="datetime"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
placeholder="请选择视频时间"
|
||||
placeholder="请选择时间"
|
||||
style="width: 100%">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="视频地址" prop="fileUrl">
|
||||
<el-input v-model="form.fileUrl"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" placeholder="请输入备注"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="视频上传">
|
||||
<el-input v-model="form.fileUrl" disabled/>
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
ref="uploadFile"
|
||||
@ -194,12 +188,14 @@
|
||||
:before-upload="beforeUploadFiles"
|
||||
:file-list="fileList"
|
||||
:auto-upload="true"
|
||||
multiple
|
||||
>
|
||||
<el-button size="small" type="primary">上传视频</el-button>
|
||||
<div slot="tip" class="el-upload__tip">只能上传mp4文件,且不超过100M</div>
|
||||
<div slot="tip" class="el-upload__tip">只能上传mp4文件,且不超过50M</div>
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" placeholder="请输入备注"/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="图片" prop="phoneInfo">
|
||||
<image-upload v-model="form.phoneInfo"/>
|
||||
</el-form-item>-->
|
||||
|
Loading…
Reference in New Issue
Block a user