diff --git a/src/views/systemManagement/correlationEquipment2/components/equipmentTable.vue b/src/views/systemManagement/correlationEquipment2/components/equipmentTable.vue index dfa5c19..8a42a95 100644 --- a/src/views/systemManagement/correlationEquipment2/components/equipmentTable.vue +++ b/src/views/systemManagement/correlationEquipment2/components/equipmentTable.vue @@ -1,338 +1,467 @@ \ No newline at end of file diff --git a/src/views/systemManagement/correlationEquipment2/index.vue b/src/views/systemManagement/correlationEquipment2/index.vue index a3a6807..dce060f 100644 --- a/src/views/systemManagement/correlationEquipment2/index.vue +++ b/src/views/systemManagement/correlationEquipment2/index.vue @@ -96,11 +96,7 @@ export default { console.log("resVideoList", res.rows); //res.rows res.total // 传给右下方表格数据 this.push_table_data = res; - let data_params = { - data: this.push_table_data, - params: this.only_params, - }; - this.push_data_to_table(data_params); + this.push_data_to_table(this.push_table_data,this.only_params,true); }); }); }, @@ -139,15 +135,11 @@ export default { getVideoList(this.only_params).then((res) => { console.log("resVideoList", res.rows); this.push_table_data = res; - let data_params = { - data: this.push_table_data, - params: this.only_params, - }; - this.push_data_to_table(data_params); + this.push_data_to_table(this.push_table_data,this.only_params,true); }); }, - push_data_to_table(data_params) { - this.$refs.equipmentTable.obtain_table_data(data_params); + push_data_to_table(data,params,flag) { + this.$refs.equipmentTable.obtain_table_data(data,params,flag); }, }, }; @@ -313,12 +305,12 @@ export default { .right { width: 64vw; height: 78vh; - border: 0.1px solid #485f6c; + // border: 0.1px solid #485f6c; .right_table { margin-top: 1vh; width: 64vw; height: 52vh; - // border: 0.1px solid #485f6c; + // border: 0.1px solid #485f6c; } } }