From 709c250c349faaec675f13227363e4f54793539b Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 06 八月 2020 15:40:27 +0800
Subject: [PATCH] build: 添加app分类脚本
---
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