<!-- 正压 -->
<template>
    <StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_zy" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
</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: 'zy',
            },
        },
        components: {
            StepFormPackage
        },
        computed: {
            formConfig() {
                let config = [{
                    config:{
                        text1:{
                            label:"使用正压萃取仪",
                            type:"text",
                        },
                        yq:{
                            type:"yq",
                            fillType:"actFill",
                        },
                        text2:{
                            label:"进行正压操作。",
                            type:"text",
                        }
                    }
                }]
                if(this.sn==='zy_b'){
                    config[0].config.remark = {
                        type: "input",
                        fillType: "actFill",
                    }
                }
                return config
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>