提交:摄像头管理 列表中 站点id 更改

This commit is contained in:
23688nl 2022-09-09 14:48:53 +08:00
parent 1b432fb116
commit d2d325893c
2 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@
label="摄像头名称"
align="left"
width="200"
prop="videoName"
prop="deviceName"
/>
<el-table-column label="站点名称" align="left" width="210" prop="siteName" />

View File

@ -285,7 +285,7 @@ export default {
this.selectResult = {};
if (data.type === "dblclick") {
if (data.otherOption.tableType === "site") {
this.tempForm.id = data.value.siteId;
this.tempForm.id = data.value.recordId;
this.tempForm.name = data.value.siteName;
}
this.setSelectList();
@ -293,7 +293,7 @@ export default {
} else if (data.type === "click") {
if (data.otherOption.tableType === "site") {
this.selectResult = {
id: data.value.siteId,
id: data.value.recordId,
name: data.value.siteName,
};
}