| | |
| | | this.getInfoRow(); |
| | | }, |
| | | activated() { |
| | | this.$refs.addObj.resetFields() |
| | | this.addObj.createTime = '' |
| | | this.addObj.id = '' |
| | | this.addObj.updateTime = '' |
| | | this.sampleList = [] |
| | | this.productList = [] |
| | | this.active = this.$route.query.active |
| | | this.currentId = this.$route.query.currentId |
| | | this.getInfoRow(); |
| | |
| | | }) |
| | | // this.searchTemList() |
| | | }, |
| | | // searchTemList () { |
| | | // this.temperatureList = [] |
| | | // this.$axios.post(this.$api.enums.selectEnumByCategory, { |
| | | // category: "电力温度循环检验" |
| | | // }).then(res => { |
| | | // if (res.data.length > 0) { |
| | | // this.temperatureEngList = res.data |
| | | // res.data.forEach(item => { |
| | | // this.temperatureList.push(item.label) |
| | | // }) |
| | | // } |
| | | // }) |
| | | // }, |
| | | changeModel() { |
| | | this.sampleList.forEach(a => { |
| | | let obj = this.sampleIds.find(b => b == a.id) |