提交: 修复 站点摄像头等问题bug 优化
This commit is contained in:
parent
aee5ea2518
commit
0d1e09a8c9
|
@ -9,6 +9,7 @@
|
|||
<el-form-item label="选择站点" prop="siteId">
|
||||
<select-input
|
||||
psize="mini"
|
||||
ref="querySelectInput"
|
||||
@EventResult="eventResult($event)"
|
||||
></select-input>
|
||||
</el-form-item>
|
||||
|
@ -135,7 +136,7 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
<!-- <el-table-column
|
||||
label="状态"
|
||||
align="center"
|
||||
width="100"
|
||||
|
@ -146,7 +147,7 @@
|
|||
scope.row.videoStatus === "1" ? "在线" : "离线"
|
||||
}}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column> -->
|
||||
|
||||
<!-- <el-table-column
|
||||
label="是否录制"
|
||||
|
@ -474,7 +475,7 @@
|
|||
</el-dialog>
|
||||
|
||||
<el-dialog
|
||||
title="选择站点"
|
||||
:title="selectDialogTitle"
|
||||
:visible.sync="selectTableShow"
|
||||
width="75%"
|
||||
top="10vh"
|
||||
|
@ -701,6 +702,7 @@ export default {
|
|||
// 角色列表
|
||||
roleOptions: [],
|
||||
roleIds: [],
|
||||
selectDialogTitle: ''
|
||||
};
|
||||
},
|
||||
created() {
|
||||
|
@ -779,6 +781,7 @@ export default {
|
|||
*/
|
||||
openTableSelectDeviceDialog() {
|
||||
this.selectResult = {};
|
||||
this.selectDialogTitle = '选择设备'
|
||||
this.tableSelectOption = {
|
||||
otherOption: {
|
||||
tableType: "device",
|
||||
|
@ -877,6 +880,7 @@ export default {
|
|||
// 开启 筛选表格
|
||||
openTableSelectDialog() {
|
||||
this.selectResult = {};
|
||||
this.selectDialogTitle = '选择站点'
|
||||
this.tableSelectOption = {
|
||||
otherOption: {
|
||||
tableType: "site",
|
||||
|
@ -1081,6 +1085,9 @@ export default {
|
|||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
if(this.$refs.querySelectInput) {
|
||||
this.$refs.querySelectInput.close();
|
||||
}
|
||||
this.handleQuery();
|
||||
},
|
||||
// 多选框选中数据
|
||||
|
|
|
@ -269,14 +269,14 @@ export default {
|
|||
if (response.rows.length > 0) {
|
||||
this.tableSelectOption.tableList = response.rows;
|
||||
this.tableSelectOption.queryOpt.page.total = Number(response.total);
|
||||
if (type === 'init') {
|
||||
let data = {
|
||||
value: response.rows[0],
|
||||
type: "dblclick",
|
||||
otherOption: this.tableSelectOption.otherOption
|
||||
};
|
||||
this.returnEvent(data);
|
||||
}
|
||||
// if (type === 'init') {
|
||||
// let data = {
|
||||
// value: response.rows[0],
|
||||
// type: "dblclick",
|
||||
// otherOption: this.tableSelectOption.otherOption
|
||||
// };
|
||||
// this.returnEvent(data);
|
||||
// }
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -309,6 +309,15 @@ export default {
|
|||
this.setSelectList();
|
||||
this.selectTableShow = false;
|
||||
},
|
||||
// close 数据
|
||||
close() {
|
||||
this.tempForm = {
|
||||
id: "",
|
||||
name: "",
|
||||
netType: 0,
|
||||
};
|
||||
this.$forceUpdate();
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue