1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
| <template>
| <div class="params-container params-container-flex">
| <div class="form-title">
| 试验步骤状态检查
| </div>
| <div class="form-wrapper">
| <el-form ref="ruleForm" class="params-dialog" label-width="100px" size="small">
| <div class="test-explain">
| <p class="p-h">下一步骤</p>
| <p class="text-indent-two">② 在{{point.name}},测取三相线电流,输入功率,输出功率或者输出载距,转速,定子绕组,直流电阻或温度</p>
| <div class="point-wrapper">
| <el-row :gutter="16">
| <el-col :span="9">
| <el-form-item :label="point.name" class="more-input">
| <el-input placeholder="" :value="point.percentage">
| <template slot="append">%</template>
| </el-input>
| <el-input placeholder="" :value="point.duration">
| <template slot="append">min</template>
| </el-input>
| </el-form-item>
| </el-col>
| </el-row>
| </div>
| <test-step-check :type="type"></test-step-check>
| </div>
| </el-form>
| </div>
| <div class="footer-button">
| <el-button type="primary" size="small" @click="proceedTest">继续试验</el-button>
| </div>
| </div>
| </template>
|
| <script>
| import TestStepCheck from "@/pages/test/dialog/testStepCheck";
| export default {
| name: "pointTest",
| components: {TestStepCheck},
| props: {
| type: {
| type: String,
| default: "",
| },
| point: {
| type: Object,
| default() {
| return {}
| }
|
| },
| end: {
| type: Boolean,
| default: false,
| }
| },
| data() {
| return {}
| },
| methods: {
| proceedTest() {
| this.$emit('proceedTest', this.point);
| },
| }
| }
| </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>
|
|