Compare commits
2 Commits
d844e709db
...
5a98693b05
Author | SHA1 | Date |
---|---|---|
chenchenzai | 5a98693b05 | |
chenchenzai | 3aed6a86ac |
|
@ -193,10 +193,11 @@ import { ElMessage } from 'element-plus'
|
|||
// 点击左侧根据parentId查询摄像头列表
|
||||
mybus.off('getCameraByParentId')
|
||||
mybus.on('getCameraByParentId', (parentId) => {
|
||||
debugger
|
||||
this.mapSearchParam.parentId = parentId
|
||||
this.mapSearchParam.type = "1"
|
||||
this.mapSearchParam.pageSize = 10000
|
||||
this.getCameraByParentId()
|
||||
this.getCameraByParentId('','department')
|
||||
})
|
||||
//表格勾选
|
||||
mybus.off('selectTablePoint')
|
||||
|
@ -398,7 +399,7 @@ import { ElMessage } from 'element-plus'
|
|||
}
|
||||
})
|
||||
},
|
||||
getCameraByParentId(type) {
|
||||
getCameraByParentId(type,dataName) {
|
||||
if (!this.whoShow1.itShowXiHaiAn) {
|
||||
getCameraByParentId(this.mapSearchParam).then((res) => {
|
||||
console.log('根据parent查询摄像头', res.data.data)
|
||||
|
@ -434,7 +435,9 @@ import { ElMessage } from 'element-plus'
|
|||
}
|
||||
}
|
||||
}
|
||||
//params.type='0';
|
||||
if(dataName){
|
||||
params.type='0';
|
||||
}
|
||||
getCameraByCondition(params).then((res) => {
|
||||
//console.log('根据parent查询摄像头44444', res.data.data)
|
||||
if(type=='map'){
|
||||
|
|
Loading…
Reference in New Issue