Kaynağa Gözat

视频添加文件大小

yuhongqi 1 hafta önce
ebeveyn
işleme
b6502248cd

+ 1 - 1
src/components/VideoUpload/index.vue

@@ -108,7 +108,7 @@
         :total="libraryTotal"
         :page.sync="libraryQueryParams.pageNum"
         :limit.sync="libraryQueryParams.pageSize"
-        @pagination="getLibraryList"
+        @pagination="getList"
       />
 
       <div slot="footer" class="dialog-footer">

+ 2 - 0
src/views/live/liveConfig/preview.vue

@@ -145,6 +145,7 @@ export default {
         videoUrl: this.videoUrl,
         videoType: 3,
         duration: this.form.duration,
+        fileSize: this.form.fileSize,
        }
       addLiveVideo(doParam).then(response => {
         if (response.code == 200) {
@@ -252,6 +253,7 @@ export default {
         isTranscode:0,
         transcodeFileKey:null,
         videoUrl: null,
+        fileSize: null,
       };
       setTimeout(() => {
         this.$refs.videoUpload.reset();

+ 5 - 5
src/views/live/liveConfig/task.vue

@@ -30,11 +30,11 @@
 <!--          <el-option v-for="i in triggerTypeOptions" :key="i.value" :label="i.label" :value="i.value"></el-option>-->
 <!--        </el-select>-->
 <!--      </el-form-item>-->
-      <el-form-item label="状态" prop="status">
-        <el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small">
-          <el-option v-for="i in statusOptions" :key="i.value" :label="i.label" :value="i.value"></el-option>
-        </el-select>
-      </el-form-item>
+<!--      <el-form-item label="状态" prop="status">-->
+<!--        <el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small">-->
+<!--          <el-option v-for="i in statusOptions" :key="i.value" :label="i.label" :value="i.value"></el-option>-->
+<!--        </el-select>-->
+<!--      </el-form-item>-->
       <el-form-item>
         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>