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