| | |
| | | <p class="p-h">当前步骤</p> |
| | | <p class="text-indent-two">① 被试电机在额定频率,额定电压及额定负载下运行到温升稳定</p> |
| | | </div> |
| | | <test-step-check :type="type"></test-step-check> |
| | | <test-step-check :type="type" @checkStatus="checkStatus" ref="testStepCheck"></test-step-check> |
| | | </div> |
| | | <div class="footer-button"> |
| | | <el-button type="primary" size="small" @click="startTest">开始下一步</el-button> |
| | | <el-button type="primary" size="small" @click="reCheck" >重新检查</el-button> |
| | | <el-button type="primary" size="small" @click="startTest" :disabled="!status">开始下一步</el-button> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | } |
| | | }, |
| | | data() { |
| | | return {} |
| | | return { |
| | | status: false, |
| | | check: true, |
| | | } |
| | | }, |
| | | methods: { |
| | | startTest() { |
| | | this.$emit('startTest'); |
| | | }, |
| | | checkStatus(status) { |
| | | this.status = status; |
| | | }, |
| | | reCheck() { |
| | | this.$refs.testStepCheck.checkPrecondition(); |
| | | } |
| | | } |
| | | } |