| | |
| | | <template> |
| | | <div class="el-dialog-wrapper"> |
| | | <el-dialog |
| | | :visible.sync="dialogVisible" class="position-absolute dialog-center dialog-no-header" width="840px" |
| | | <el-dialog :visible.sync="dialogVisible" class="position-absolute dialog-center dialog-no-header" width="840px" |
| | | top="0" :modal="false" :destroy-on-close="true" :close-on-press-escape="false" :close-on-click-modal="false" |
| | | :modal-append-to-body="false" |
| | | v-loading="loading" element-loading-text="拼命加载中" |
| | | element-loading-spinner="el-icon-loading" |
| | | element-loading-background="rgba(0, 0, 0, 0)"> |
| | | :modal-append-to-body="false" v-loading="loading" element-loading-text="拼命加载中" |
| | | element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0)"> |
| | | <mw-step v-model="step"></mw-step> |
| | | <div class="step-list"> |
| | | <div class="step-item" v-show="step == 0"> |
| | |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog |
| | | :visible.sync="testStepCheck" class="position-absolute dialog-center dialog-no-header" |
| | | width="840px" top="0" |
| | | :modal="false" :destroy-on-close="true" |
| | | :close-on-press-escape="false" :close-on-click-modal="false" |
| | | <el-dialog :visible.sync="testStepCheck" class="position-absolute dialog-center dialog-no-header" width="840px" |
| | | top="0" :modal="false" :destroy-on-close="true" :close-on-press-escape="false" :close-on-click-modal="false" |
| | | :modal-append-to-body="false"> |
| | | <test-start :type="type" @startTest="startTest" v-if="testStepCheck"></test-start> |
| | | </el-dialog> |
| | | <el-dialog |
| | | :visible.sync="startResult" class="position-absolute dialog-center dialog-no-header" |
| | | width="840px" top="0" |
| | | :modal="false" :destroy-on-close="true" |
| | | :close-on-press-escape="false" :close-on-click-modal="false" |
| | | <el-dialog :visible.sync="startResult" class="position-absolute dialog-center dialog-no-header" width="840px" |
| | | top="0" :modal="false" :destroy-on-close="true" :close-on-press-escape="false" :close-on-click-modal="false" |
| | | :modal-append-to-body="false"> |
| | | <heating-up-rs :list="heatingUpList" @updatePoint="updatePoint"></heating-up-rs> |
| | | </el-dialog> |
| | | <test-step-dialog :type="type" :step="testStepKey" :list="list" :end="endStep" :progress="progressStep"></test-step-dialog> |
| | | <test-step-dialog :type="type" :step="testStepKey" :list="list" :end="endStep" :progress="progressStep"> |
| | | </test-step-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import TestStepConfirm from "@/pages/test/dialog/testStepConfirm"; |
| | | import testStepConfirmKz from "@/pages/test/dialog/testStepConfirmKz"; |
| | | import TestStart from "@/pages/test/dialog/testStart"; |
| | | import {addKzFzTest, experimentPoint, getExitTest, testHeatingUp} from "@/pages/test/js/api"; |
| | | import { |
| | | addKzFzTest, |
| | | experimentPoint, |
| | | getExitTest, |
| | | testHeatingUp |
| | | } from "@/pages/test/js/api"; |
| | | import HeatingUpRs from "@/pages/test/dialog/heatingUpRs"; |
| | | import {getLabel} from "@/assets/js/tools"; |
| | | import {constTestType} from "@/pages/test/js/const"; |
| | | import { |
| | | getLabel |
| | | } from "@/assets/js/tools"; |
| | | import { |
| | | constTestType |
| | | } from "@/pages/test/js/const"; |
| | | import Timeout from "@/assets/js/tools/Timeout"; |
| | | import TestStepDialog from "@/pages/test/dialog/testStepDialog"; |
| | | |
| | |
| | | data = rs.data.map(item => { |
| | | let start = item.startTime?new Date(item.startTime).format("hh:ss"):''; |
| | | let end = item.endTime?new Date(item.endTime).format("hh:ss"):''; |
| | | item.start = item.startTime ? `开始时间\n${start}`: ''; |
| | | item.end = item.endTime ? `完成时间\n${end}`: ''; |
| | | item.endText = item.averagePower ? `平均功率\n${item.averagePower}kW` : ''; |
| | | item.start = item.startTime ? `开始时间&&${start}` : ''; |
| | | item.end = item.endTime ? `完成时间&&${end}` : ''; |
| | | item.endText = item.averagePower ? `平均功率&&${item.averagePower}kW` : ''; |
| | | return item; |
| | | }); |
| | | } |