| | |
| | | </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; |
| | | } |
| | |
| | | pages[chunk] = { |
| | | entry: path, |
| | | template: 'public/index.html', |
| | | title: chunk=='desktop/index'?'SmartAI':chunk, |
| | | title: chunk == 'desktop/index' ? 'SmartAI' : chunk, |
| | | chunks: ['chunk-vendors', 'chunk-common', chunk] |
| | | } |
| | | if (chunk != 'index') { |
| | |
| | | target: 'http://192.168.20.10:7003', |
| | | // ws: true, |
| | | changeOrigin: true, |
| | | }, |
| | | }, |
| | | "/api-v": { |
| | | //target: 'http://192.168.20.145:8000', |
| | | //target: 'http://192.168.5.22:30102', |
| | | target: 'http://192.168.20.10:8000', |
| | | changeOrigin: true |
| | | }, |
| | | }, |
| | | "/api-f": { |
| | | //target: "http://bsic.asuscomm.com:7003", // 外网映射地址 |
| | | // target: "http://222.128.87.51:8000", // 目标代理接口地址 |