<!-- 孵育箱开始 -->
<template>
    <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex + '_' + 'jcb_fyxks'" @resetRecord="resetRecord"
        :form-config="formConfig" :formData="localFormData" />
</template>

<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';

export default {
    mixins: [stepMixins],
    props: {
        sn: {
            type: String,
            default: 'fyxks',
        },
    },
    components: {
        StepFormPackage
    },
    mounted() {
        this.commonHandleJcbUpdate();
    },
    computed: {
        formConfig() {
            let config = [{
                config: {
                    text1: {
                        label: "将检测板放置于孵育箱",
                        type: "text",
                    },
                    yq: {
                        type: "yq",
                        fillType: "actFill",
                    },
                    text2: {
                        label: "中，设置预计温度为",
                        type: "text",
                    },
                    temp: {
                        type: "input",
                        fillType: "preFill",
                    },
                    text3: {
                        label: "°C，实际设置温度为",
                        type: "text",
                    },
                    actTemp: {
                        type: "input",
                        fillType: "actFill",
                        compareTo: "temp",
                        copyFrom: "temp",
                    },
                    text4: {
                        label: "°C，放置",
                        type: "text",
                    },
                    time: {
                        fillType: "preFill",
                        type: "input",
                    },
                    jcb: {
                        type: "dcjcb",
                        buttonName: "开始"
                    }
                }
            }]
            return config
        }
    },
}
</script>

<style lang="scss" scoped></style>