diff --git a/src/views/report/index.vue b/src/views/report/index.vue index eab01e3..e099298 100644 --- a/src/views/report/index.vue +++ b/src/views/report/index.vue @@ -20,7 +20,7 @@ class="cmdidClass" v-model="leftcmdVal" placeholder="请输入设备ID查询" - @change="leftInputChange" + @blur="leftInputChange" > 命令:{{ leftCommand.length }} 命令:{{ rightCommand.length }} - item.cmdid.includes(value) + item.cmdid.includes(this.leftcmdVal) ); }, + //右侧筛选 selectRightChanged(val) { console.log(val); @@ -438,11 +440,13 @@ export default { return; } }, - rightInputChange(value) { + rightInputChange() { + console.log(this.rightcmdVal); this.rightCommand = this.endCommand.filter((item) => - item.cmdid.includes(value) + item.cmdid.includes(this.rightcmdVal) ); }, + deleteml() { getdoActionApi({ act: "clear",