| | |
| | | this.$axios.get(this.$api.deviceScope.queryDataAcquisitionConfiguration + "?deviceId=" + this.deviceId + "&isDevice=" + false).then(res => { |
| | | this.tableList = res.data |
| | | this.tableList.forEach(i => { |
| | | i.sample = i.sample.replaceAll('"', '').replaceAll("],", ';').replaceAll("[", '').replaceAll('"', '').replaceAll(']', '') |
| | | // replace(/=/g, ' ') |
| | | i.sample = i.sample.replace(/"/g, '').replace(/],/g, ';').replace(/\[/g, '').replace(/]/g, '') |
| | | }) |
| | | if(this.tableList[0]) { |
| | | this.$set(this.configForm, 'fileType', this.tableList[0].fileType) |