From 22d9bd7152c6de2d71afade6ab7b5f788d023578 Mon Sep 17 00:00:00 2001
From: Oliver <1070107765@qq.com>
Date: 星期一, 12 十二月 2022 18:07:39 +0800
Subject: [PATCH] fix bug

---
 src/views/operate/video/index.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/views/operate/video/index.vue b/src/views/operate/video/index.vue
index 1ea57cd..0283a80 100644
--- a/src/views/operate/video/index.vue
+++ b/src/views/operate/video/index.vue
@@ -17,9 +17,6 @@
           <div class="findBtn">
             <el-button type="primary" @click="searchVideoList">鏌ヨ</el-button>
           </div>
-          <div class="findBtn">
-            <el-button class="button-addition" type="primary" @click="handleOpera(null, 'create')">娣诲姞</el-button>
-          </div>
         </div>
       </div>
     </header>
@@ -78,10 +75,10 @@
             <template slot-scope="scope">
               <div class="operation">
                 <span @click="handleOpera(scope.row, 'view')">鏌ョ湅</span>
-                <span class="line">|</span>
-                <span @click="handleOpera(scope.row, 'update')">淇敼</span>
-                <span class="line">|</span>
-                <span @click="handleDelete(scope.row)">鍒犻櫎</span>
+                <span v-if="mystatus === 2" class="line">|</span>
+                <span v-if="mystatus === 2" @click="handleOpera(scope.row, 'update')">淇敼</span>
+                <span v-if="mystatus === 2" class="line">|</span>
+                <span v-if="mystatus === 2" @click="handleDelete(scope.row)">鍒犻櫎</span>
               </div>
             </template>
           </el-table-column>
@@ -148,6 +145,7 @@
 import { CATEGOTY, EVENT_SOURCE } from "@/utils/helper";
 
 export default {
+  name: 'video-upload-page',
   components: { updateInterface },
   data() {
     return {
@@ -188,7 +186,7 @@
       typeList: [
         {
           name: "鎽勫儚澶存帹閫�",
-          value: null,
+          value: "01",
           checked: true,
         },
         {
@@ -300,6 +298,8 @@
       });
       this.mystatus = idx + 1;
       this.statusArr[1] = this.typeList[idx].value;
+      this.searchContent = this.typeList[idx].value;
+      this.searchVideoList();
     },
     // 璁剧疆琛ㄦ牸鏂戦┈绾�
     tableRowClassName({ row, rowIndex }) {

--
Gitblit v1.8.0