门口门禁-摄像头标点初步修改

liujun-2024-06-18-文本库新需求
water_xu 2024-06-14 17:34:19 +08:00
parent 1e8e144af3
commit 4cea212271
3 changed files with 14 additions and 8 deletions

View File

@ -352,11 +352,12 @@ export default {
},
handleMap(row) {
this.dialogFormMap = true
this.VIDEO_RESOURCE_ID = row.VIDEO_RESOURCE_ID
this.GATE_VIDEO_ID = row.GATE_VIDEO_ID
this.form = {
...this.form,
LATITUDE: row.LATITUDE,
LONGITUDE: row.LONGITUDE
LONGITUDE: row.LONGITUDE,
GATE_VIDEO_ID: row.GATE_VIDEO_ID
}
this.$nextTick(() => {
if (!this.map) this.initMap(this.form.LONGITUDE, this.form.LATITUDE, 16)
@ -417,7 +418,7 @@ export default {
requestFN(
'mkmjGateVideo/getVideo',
{
VIDEO_RESOURCE_ID: this.VIDEO_RESOURCE_ID
GATE_VIDEO_ID: this.GATE_VIDEO_ID
}
).then((data) => {
requestFN(
@ -426,7 +427,7 @@ export default {
...data.pd,
LATITUDE: this.form.LATITUDE,
LONGITUDE: this.form.LONGITUDE,
VIDEO_RESOURCE_ID: this.VIDEO_RESOURCE_ID
GATE_VIDEO_ID: this.GATE_VIDEO_ID
}
).then(() => {
this.listLoading = false
@ -574,8 +575,8 @@ export default {
requestFN(
'mkmjGateVideo/getVideo',
{
AREA_GATE_ID: row.AREA_GATE_ID ,
AREA_ID: row.AREA_ID
GATE_VIDEO_ID: row.GATE_VIDEO_ID,
}
).then((data) => {
Object.assign(this.form, data.pd)

View File

@ -11,7 +11,7 @@
<xf-point v-if="type === 'point'" :id="id" :type="type" :gangkou="gangkou"/>
<xf-control v-if="type === 'xfbf01' || type ==='xfkzs01' || type ==='xfjyd01' || type ==='xfsy01'" :id="id" :type="type" :gangkou="gangkou"/>
<alarm-device v-if="type === 'alarm'" :id="id" :type="type" :gangkou="gangkou"/>
<mk-gate-machine v-if="type === 'CAR'||type ==='PERSON' || type ==='CAMERA'" :id="id" :type="type" :gangkou="gangkou" :corp-id="corpInfoId"/>
<mk-gate-machine v-if="type === 'CAR'||type ==='PERSON' || type ==='CAMERA'" :id="id" :type="type" :gangkou="gangkou" :corp-id="corpInfoId" :GATE_VIDEO_ID="GATE_VIDEO_ID"/>
<mk-gate-machine-cfd v-if="type === 'CAR00004'||type ==='PERSON00004' " :id="id" :type="type" :gangkou="gangkou" :infoname="infoname"/>
<mk-gate-machine-cmt v-if="type === 'CAR00005'||type ==='PERSON00005' " :id="id" :type="type" :gangkou="gangkou" :infoname="infoname"/>
<zhong_da_info v-if="type === 'majordangersource'" :id="id" :type="type" :gangkou="gangkou"/>
@ -193,7 +193,11 @@ export default {
name: {
type: String,
default: ''
}
},
GATE_VIDEO_ID: {
type: String,
default: ''
},
},
methods: {
closeDialog() {

View File

@ -239,6 +239,7 @@
:gangkou="gangkouActive"
:infoname="dialog.infoname"
:name="dialog.name"
:GATE_VIDEO_ID="dialog.GATE_VIDEO_ID"
/>
</div>
</template>