<template>
    <layout-form>
        <el-form :model="form" :loading="loading" :rules="rules" size='small' style="width:100%" label-width='120px' ref="form">
            <el-row>
                                    <Field label="问题" prop="question" v-model="form.question" type="textarea" placeholder="请输入问题"/>
                        <Field label="回答" prop="answer" v-model="form.answer" type="textarea" placeholder="请输入回答"/>
                        <Field label="事项来源，" prop="source" v-model="form.source" type="select" :enumData="dict.source" placeholder="请选择事项来源，"/>
            </el-row>

            <form-buttons @submit='submitForm' :noSaveBtn="pageInfo.type === 'view'"/>
        </el-form>
    </layout-form>
</template>

<script>
    import form from "@/assets/mixins/form";
    export default {
        mixins: [form],
        components: {
        },
        methods: {


        },
        data() {
            return {
                toString:[
                    "source",
                ],
                rules: {
                }
            };
        }
    };
</script>