| | |
| | | } |
| | | this.getOptions(); |
| | | }, |
| | | mounted() {}, |
| | | mounted() { |
| | | |
| | | }, |
| | | computed: { |
| | | conclusionTable() { |
| | | const conclusion = {}; |
| | |
| | | ...new Set(this.projectTable.map(item => item.uName)) |
| | | ]; |
| | | if ( |
| | | this.projectTable.filter(item => item.testState === null).length === |
| | | this.projectTable.filter(item => item.testState === undefined).length === |
| | | this.projectTable.length |
| | | ) { |
| | | conclusion.testState = null; |
| | |
| | | params: { id: this.detailId } |
| | | }) |
| | | .then(res => { |
| | | console.log(res); |
| | | this.detailInfo = res.data; |
| | | this.projectTable = res.data.children; |
| | | this.projectTable.forEach(i => { |