AI视频管理-分析视频管理增加填写CameraId的入口,用于AI报警
parent
19bd9b1ab2
commit
b3aa98432c
|
@ -108,6 +108,10 @@
|
|||
<el-form-item label="摄像头编号" prop="CODE">
|
||||
<el-input :disabled="true" v-model="addForm.info.CODE" placeholder="这里输入摄像头编号..." />
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="摄像头ID" prop="CAMERAID">
|
||||
<el-input :disabled="false" v-model="addForm.info.CAMERAID" placeholder="这里输入摄像头ID..." />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="back">取 消</el-button>
|
||||
|
@ -192,6 +196,7 @@ export default {
|
|||
GATEVIDEO_ID: '',
|
||||
VIDEONAME: '', //
|
||||
CODE: '', //
|
||||
CAMERAID: '',
|
||||
PLATFORMVIDEOMANAGEMENT_ID: '',
|
||||
LATITUDE: '',
|
||||
LONGITUDE: ''
|
||||
|
@ -199,7 +204,8 @@ export default {
|
|||
zoom: 10,
|
||||
rules: {
|
||||
VIDEONAME: [{ required: true, message: '视频名称不能为空', trigger: 'blur' }],
|
||||
CODE: [{ required: true, message: '摄像头编号不能为空', trigger: 'blur' }]
|
||||
CODE: [{ required: true, message: '摄像头编号不能为空', trigger: 'blur' }],
|
||||
CAMERAID: [{ required: true, message: '摄像头ID不能为空', trigger: 'blur' }]
|
||||
},
|
||||
dialogVideo: false,
|
||||
dialogVideoHLS: false,
|
||||
|
@ -216,10 +222,12 @@ export default {
|
|||
dialogVisible: false,
|
||||
rules: {
|
||||
VIDEO_NAME: [{ required: true, message: '不可为空', trigger: 'blur' }],
|
||||
CODE: [{ required: true, message: '不可为空', trigger: 'blur' }]
|
||||
CODE: [{ required: true, message: '不可为空', trigger: 'blur' }],
|
||||
CAMERAID: [{ required: true, message: '不可为空', trigger: 'blur' }]
|
||||
},
|
||||
info: {
|
||||
AIBOX_ID: this.$parent.AIBOX_ID,
|
||||
CAMERAID:'',
|
||||
VIDEO_TYPE: 0,
|
||||
VIDEO_NAME: '', //
|
||||
VIDEO_URL: '',
|
||||
|
@ -566,6 +574,7 @@ export default {
|
|||
this.addForm.info.VIDEO_NAME = row.VIDEO_NAME
|
||||
this.addForm.info.VIDEO_URL = row.VIDEO_URL
|
||||
this.addForm.info.CODE = row.CODE
|
||||
this.addForm.info.CAMERAID = row.CAMERAID
|
||||
this.addForm.info.VIDEO_TYPE = parseInt(row.VIDEO_TYPE)
|
||||
this.addForm.dialogType = 'edit'
|
||||
this.addForm.dialogVisible = true
|
||||
|
@ -623,6 +632,7 @@ export default {
|
|||
VIDEO_TYPE: '',
|
||||
VIDEO_NAME: '',
|
||||
VIDEO_URL: '',
|
||||
CAMERAID:'',
|
||||
CODE: '',
|
||||
LATITUDE: '',
|
||||
LONGITUDE: '',
|
||||
|
|
Loading…
Reference in New Issue