From ce355bb6bf1193c60751b641fd49c4b56b7037f6 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期五, 16 十月 2020 17:47:29 +0800
Subject: [PATCH] 更新设备类型字段名

---
 src/pages/library/components/baseList.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/pages/library/components/baseList.vue b/src/pages/library/components/baseList.vue
index d714f17..4e80915 100644
--- a/src/pages/library/components/baseList.vue
+++ b/src/pages/library/components/baseList.vue
@@ -12,13 +12,13 @@
             class="el-icon-circle-plus-outline ml10"
             style="font-size:20px;color:#3D68E1;"
             @click.stop="add('sync')"
-            v-if="isShow('videoTable:edit')"
+            v-if="isShow('library:set')"
           ></i>
           <span
             class="ml5"
             style="font-size:14px;color:#3D68E1;"
             @click.stop="add('sync')"
-            v-if="isShow('videoTable:edit')"
+            v-if="isShow('library:set')"
           >鏂板</span>
         </template>
         <div class="max-height">
@@ -52,14 +52,14 @@
                 <span
                   class="iconfont iconbianji iconStyle1"
                   @click.stop="edit(item,'sync')"
-                  v-if="isShow('videoTable:edit')"
+                  v-if="isShow('library:set')"
                 ></span>
               </el-tooltip>
               <el-tooltip content="鍒犻櫎" placement="top" popper-class="atooltip">
                 <span
                   class="iconfont iconshanchu iconStyle1"
                   style="color:#E74C3C;"
-                  v-if="isShow('videoTable:edit')"
+                  v-if="isShow('library:set')"
                   @click.stop="deleteBase(item.id)"
                 ></span>
               </el-tooltip>
@@ -80,13 +80,13 @@
             class="el-icon-circle-plus-outline ml10"
             style="font-size:20px;color:#3D68E1;"
             @click.stop="add('local')"
-            v-if="isShow('videoTable:edit')"
+            v-if="isShow('library:set')"
           ></i>
           <span
             class="ml5"
             style="font-size:14px;color:#3D68E1;"
             @click.stop="add('local')"
-            v-if="isShow('videoTable:edit')"
+            v-if="isShow('library:set')"
           >鏂板</span>
         </template>
         <div class="max-height">
@@ -118,14 +118,14 @@
                 <span
                   class="iconfont iconbianji iconStyle1"
                   @click.stop="edit(item,'local')"
-                  v-if="isShow('videoTable:edit')"
+                  v-if="isShow('library:set')"
                 ></span>
               </el-tooltip>
               <el-tooltip content="鍒犻櫎" placement="top" popper-class="atooltip">
                 <span
                   class="iconfont iconshanchu iconStyle1"
                   style="color:#E74C3C;"
-                  v-if="isShow('videoTable:edit')"
+                  v-if="isShow('library:set')"
                   @click.stop="deleteBase(item.id)"
                 ></span>
               </el-tooltip>
@@ -222,7 +222,7 @@
     },
     isDisabled(item) {
       var flag = true
-      if (this.isShow('videoTable:edit')) {
+      if (this.isShow('library:set')) {
         if (item.endTime == "") {
           flag = false
         } else {
@@ -329,7 +329,7 @@
     },
     // 宸︿晶搴曞簱鐢熸晥寮�鍏虫槸鍚﹀惎鐢ㄥ垽鏂�
     // isDisa(data) {
-    //   if (!this.isShow('videoTable:edit')) {
+    //   if (!this.isShow('library:set')) {
     //     return true
     //   } else {
     //     return false

--
Gitblit v1.8.0