src/components/view/a6-device-management.vue
@@ -449,7 +449,7 @@ </el-row> </span> </el-dialog> <dataAcquisitionConfig v-if="showData" :tableList="tableList"/> <dataAcquisitionConfig v-if="showData" :deviceId="deviceId"/> </div> </template> @@ -463,6 +463,7 @@ }, data() { return { deviceId: '', fileTypeOptions: [ {label: 'csv', value: '.csv'}, {label: 'db', value: '.db'}, @@ -914,6 +915,7 @@ list2.push(obj) }) this.tableList = list2 this.deviceId = row.id }, closeDataVue () { this.showData = false