| | |
| | | </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> |
| | |
| | | </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> |
| | |
| | | cameraType: 0, |
| | | resolution: "", |
| | | voiceId: "", |
| | | voiceEnable: true |
| | | voiceEnable: false |
| | | }, |
| | | // 记录添加状态 |
| | | isAdd: false, |
| | |
| | | password: "", |
| | | resolution: "", |
| | | voiceId: "", |
| | | voiceEnable: true |
| | | voiceEnable: false |
| | | }; |
| | | }, |
| | | // 添加设备 |
| | |
| | | <style lang="scss"> |
| | | .camera-info { |
| | | width: 100%; |
| | | |
| | | |
| | | margin: 20px 0 20px 20px; |
| | | |
| | | |
| | | .ai-select { |
| | | text-align: left; |
| | | } |