From a4ab9a0a6cd22b11b52200b66c0417d9379e3960 Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期日, 11 四月 2021 14:44:27 +0800
Subject: [PATCH] 集成rtc播放器

---
 web_src/src/components/ParentPlatformList.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/web_src/src/components/ParentPlatformList.vue b/web_src/src/components/ParentPlatformList.vue
index 98907db..1121f6e 100644
--- a/web_src/src/components/ParentPlatformList.vue
+++ b/web_src/src/components/ParentPlatformList.vue
@@ -19,7 +19,7 @@
             <template slot-scope="scope">
               <div slot="reference" class="name-wrapper">
                 <el-tag size="medium" v-if="scope.row.enable">宸插惎鐢�</el-tag>
-                <el-tag size="medium" v-if="!scope.row.enable">鏈惎鐢�</el-tag>
+                <el-tag size="medium" type="info" v-if="!scope.row.enable">鏈惎鐢�</el-tag>
               </div>
             </template>
           </el-table-column>
@@ -68,9 +68,9 @@
 </template>
 
 <script>
-import platformEdit from './platformEdit.vue'
+import platformEdit from './dialog/platformEdit.vue'
 import uiHeader from './UiHeader.vue'
-import chooseChannelDialog from './gb28181/chooseChannel.vue'
+import chooseChannelDialog from './dialog/chooseChannel.vue'
 export default {
   name: 'app',
   components: {
@@ -89,9 +89,9 @@
     };
   },
   computed: {
-    
+
     getcurrentDeviceChannels: function() {
-       
+
     }
   },
   mounted() {
@@ -137,7 +137,7 @@
             });
     },
     chooseChannel: function(platform) {
-       this.$refs.chooseChannelDialog.openDialog(platform.deviceGBId, ()=>{
+       this.$refs.chooseChannelDialog.openDialog(platform.serverGBId, ()=>{
          this.initData()
        })
     },
@@ -155,7 +155,7 @@
     getPlatformList: function() {
       let that = this;
 
-      this.$axios.get(`/api/platforms/${that.count}/${that.currentPage - 1}`)
+      this.$axios.get(`/api/platforms/${that.count}/${that.currentPage}`)
         .then(function (res) {
           that.total = res.data.total;
           that.platformList = res.data.list;

--
Gitblit v1.8.0