<template>
|
<div class="params-container params-container-flex">
|
<div class="form-title">
|
试验步骤结果
|
</div>
|
<div class="form-wrapper">
|
<div class="test-explain">
|
<p class="p-h">当前步骤</p>
|
<p class="text-indent-two">① 被试电机在额定频率,额定电压及额定负载下运行到温升稳定 (已完成)</p>
|
<p class="p-h">当前结果</p>
|
<p class="text-indent-two">当前电机在设置的功率下运行到升温稳定</p>
|
<el-form ref="ruleForm" class="params-dialog" label-width="100px">
|
<el-row :gutter="16">
|
<el-col :span="8">
|
<el-form-item label="当前功率:" class="inline" prop="power">
|
<el-input placeholder="" v-model="params.power">
|
<template slot="append">W</template>
|
</el-input>
|
</el-form-item>
|
</el-col>
|
</el-row>
|
<el-row :gutter="16">
|
<el-col :span="8">
|
<el-form-item label="当前功率:" class="inline" prop="power">
|
<el-input placeholder="" v-model="params.temp">
|
<template slot="append">℃</template>
|
</el-input>
|
</el-form-item>
|
</el-col>
|
</el-row>
|
</el-form>
|
</div>
|
</div>
|
<div class="footer-button">
|
<el-button type="primary" size="small" @click="updatePoint">开始下一步</el-button>
|
</div>
|
</div>
|
</template>
|
|
<script>
|
export default {
|
name: "heatingUpRs",
|
props: {
|
list: {
|
type: Array,
|
default() {
|
return []
|
}
|
}
|
},
|
data() {
|
return {
|
params: {
|
power: 0,
|
temp: 0,
|
},
|
}
|
},
|
methods: {
|
updatePoint(){
|
this.$emit('updatePoint');
|
},
|
},
|
mounted() {
|
let list = this.list;
|
if(list) {
|
this.params.power = list[0]?list[0].value:0;
|
this.params.temp = list[1]?list[1].value:0;
|
}
|
}
|
}
|
</script>
|
|
<style scoped>
|
.params-container {
|
padding: 0;
|
}
|
.form-title {
|
line-height: 50px;
|
background-color: rgba(102, 110, 232, 1);
|
color: #FFFFFF;
|
text-align: center;
|
}
|
.form-wrapper {
|
padding: 8px;
|
}
|
.p-h {
|
font-size: 18px;
|
font-weight: 700;
|
}
|
</style>
|