From 51f8540633fe9eaa9c2c9b5ff439f2bf9bf9094e Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期二, 04 八月 2020 17:31:09 +0800
Subject: [PATCH] iframe ui调整,GB28181 radio操作修复,应用打开方式调整

---
 src/pages/gb28181/index/App.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/pages/gb28181/index/App.vue b/src/pages/gb28181/index/App.vue
index 1c8fb77..d5db26f 100644
--- a/src/pages/gb28181/index/App.vue
+++ b/src/pages/gb28181/index/App.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="s-basic-setting">
     <!-- GB28181璁剧疆 -->
-    <el-form :model="gb28181" :rules="rules" label-width="140px" class="alarmSetting" ref="gb28181">
+    <el-form :model="gb28181" :rules="rules" label-width="130px" class="alarmSetting" ref="gb28181">
       <!-- <el-form-item label="鍥介檯鏈嶅姟鍣↖P" prop="ServerIp">
             <ip-input :ip="gb28181.ServerIp" @on-blur="gb28181.ServerIp = arguments[0]"></ip-input>
       </el-form-item>-->
@@ -84,11 +84,9 @@
         <el-input v-model="gb28181.Password" placeholder="璇疯緭鍏�" size="small"></el-input>
       </el-form-item>
 
-      <el-col :span="12">
-        <el-form-item>
-          <el-button type="primary" @click="submitGB28281" size="small">淇濆瓨</el-button>
-        </el-form-item>
-      </el-col>
+      <el-form-item>
+        <el-button type="primary" @click="submitGB28281" size="small">淇濆瓨</el-button>
+      </el-form-item>
     </el-form>
   </div>
 </template>
@@ -114,8 +112,10 @@
   },
   data() {
     return {
-      gb28181: {},
-
+      gb28181: {
+        
+      },
+      idType: 1,
       rules: {
         ip: [
           {
@@ -161,16 +161,17 @@
     };
   },
   mounted() {
-    this.$nextTick(() => {
+    //this.$nextTick(()=>{
       this.initGB28181Conf();
-    });
+    //})
   },
   methods: {
     initGB28181Conf() {
       getGB28181Config().then(rsp => {
         if (rsp && rsp.success) {
           this.gb28181 = rsp.data;
-          this.gb28181.idType = 0;
+          //this.gb28181.idType = 0;
+          this.$set(this.gb28181,'idType',0);
         }
       });
       getGb28181AreaList().then(rsp => {
@@ -231,7 +232,6 @@
   height: 100%;
   padding: 0 30px;
   .el-form {
-    width: 1000px;
     margin-top: 30px;
     // margin-left: -80px;
     .el-form-item {

--
Gitblit v1.8.0