Commit 704e7601 authored by forevertyler's avatar forevertyler

fix:视频列表详情

parent 258f9ed3
......@@ -197,18 +197,19 @@ export default {
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.form.partId = this.selectedRow.id
this.open = true;
this.form.partId = this.selectedRow.id
this.title = "添加摄像头";
},
/** 修改按钮操作 */
handleUpdate(row) {
console.log(row,this.selectedRow,'this.selectedRow')
this.reset();
this.form = row;
this.open = true;
this.title = "修改摄像头";
const id = row.id || this.ids
getVideoTable(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改摄像头";
});
},
/** 提交按钮 */
submitForm() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment