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