zhangzengfei
2020-09-03 b4772b5ee3a2e6ffd9fd5d960506072c35225431
src/pages/cameraAccess/components/CameraInfo.vue
@@ -37,7 +37,7 @@
        </el-col>
        <el-col :span="9" :offset="1">
          <el-form-item label="设备地址" style="width:100%" prop="addr">
            <el-input v-model="form.addr" placeholder="请输入地址描述" :disabled="!form.rtsp" size="small"></el-input>
            <el-input v-model="form.addr" placeholder="请输入地址描述" :disabled="isDisabled" size="small"></el-input>
          </el-form-item>
        </el-col>
      </el-row>
@@ -59,7 +59,7 @@
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="9" :offset="1" >
        <el-col :span="9" :offset="1">
          <el-form-item label="事件声音">
            <div class="flex-wrap" style="margin-left:-10px">
              <el-switch v-model="form.voiceEnable" active-color="#409eff" :width="50"></el-switch>
@@ -225,7 +225,7 @@
        cameraType: 0,
        resolution: "",
        voiceId: "",
        voiceEnable: true
        voiceEnable: false
      },
      // 记录添加状态
      isAdd: false,
@@ -500,7 +500,7 @@
        password: "",
        resolution: "",
        voiceId: "",
        voiceEnable: true
        voiceEnable: false
      };
    },
    // 添加设备
@@ -606,9 +606,9 @@
<style lang="scss">
.camera-info {
  width: 100%;
  margin: 20px 0 20px 20px;
  .ai-select {
    text-align: left;
  }