| | |
| | | this.$nextTick(() => { |
| | | this.$refs.inputName.focus(); |
| | | }); |
| | | this.selectAllRows(); |
| | | |
| | | }, |
| | | computed: { |
| | | disabled() { |
| | |
| | | this.$refs.tb.toggleRowSelection(this.samplingList[0], true); |
| | | // this.fetchData(this.samplingList[0].tjNumber); |
| | | }); |
| | | |
| | | } |
| | | this.total = response.data.total; |
| | | this.loading1 = false; |
| | |
| | | handleChange(selection) { |
| | | // console.log(selection); |
| | | |
| | | this.selectList = selection; |
| | | console.log(this.selectList, 5555); |
| | | // this.selectList = selection; |
| | | // console.log(this.selectList, 5555); |
| | | var array = selection; |
| | | |
| | | this.ids = selection.map((item) => item.id); |
| | | this.ids = array.map((item) => item.id); |
| | | }, |
| | | selectAllRows() { |
| | | this.$nextTick(() => { |