fix:修复项目详情子设备类型切换不刷新问题,分屏展示修复记录状态关闭视频左侧状态不刷新问题
This commit is contained in:
parent
119f0b2015
commit
b5a1e98e49
|
@ -50,13 +50,14 @@
|
|||
style="margin-left: 5xp; width: 130px"
|
||||
placeholder="请选择项目类型"
|
||||
size="small"
|
||||
@change="getTableFilterList"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in projectModelList"
|
||||
:key="dict.prodKey"
|
||||
:label="dict.modelName"
|
||||
:value="dict.prodKey"
|
||||
@change="getTableFilterList"
|
||||
|
||||
></el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
|
|
|
@ -22,7 +22,16 @@ export function init(list = []) {
|
|||
if (cook) {
|
||||
for(let i in treeChildList) {
|
||||
if (treeChildList[i].devChannel === cook['devChannel'] && treeChildList[i].devId === cook['devId']) {
|
||||
newResult[idx] = cook
|
||||
let record = treeChildList[i];
|
||||
newResult[idx] = Object.assign(cook, {
|
||||
devChannel: record.devChannel || record.devChannel,
|
||||
devId: record.devId,
|
||||
https: record.https,
|
||||
siteM7sHost: record.siteM7sHost,
|
||||
siteM7sPort: record.siteM7sPort,
|
||||
siteM7sVersion: record.siteM7sVersion,
|
||||
treeId: record.treeId,
|
||||
})
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue