<!-- 操作环境 -->
<template>
    <StepFormPackage ref="stepFormPackageRef" @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],
    components: {
        StepFormPackage
    },
    computed: {
        formConfig() {
            return [{
                config: {
                    text1: {
                        label: "选择在",
                        type: "text",
                    },
                    ddsys: {
                        type: "input",
                        fillType: "preFill",
                    },
                    yq: {
                        type: "instrument",
                        fillType: "actFill",
                    },
                    text2: {
                        label: "环境下，操作下预计在",
                        type: "text",
                    },
                    ytczhj: {
                        fillType: "preFill",
                        type: "select",
                        options: this.getDictOptions('business_czhj'),
                        otherCode: "ytczhjOther"
                    },
                    text3: {
                        label: "实际在",
                        type: "text",
                    },
                    sjczhj: {
                        fillType: "actFill",
                        type: "select",
                        options: this.getDictOptions('business_czhj'),
                        otherCode: "sjczhjOther",
                        compareTo:"ytczhj",
                        copyFrom:"ytczhj"
                    },
                    text4: {
                        label: "条件下操作下述步骤。",    
                        type: "text",
                    },
                }
            }]
        }
    },
}
</script>

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