<template>
    <layout-form>
        <el-form :model="form" :loading="loading" :rules="rules" size='small' style="width:100%" label-width='120px' ref="form">
            <el-row>
                        <Field :span="18" label="名称" prop="name" v-model="form.name" placeholder="请输入名称"/>
                        <Field :span="18" label="业务系统标识" prop="platformSn" v-model="form.platformSn" placeholder="请输入业务系统标识"/>
                      
                        <Field :span="18" label="申报表单地址" prop="callbackUrl" v-model="form.callbackUrl" placeholder="请输入申报表单地址"/>
                        <Field :span="18" label="成功跳转地址" prop="redirectUrl" v-model="form.redirectUrl" placeholder="请输入成功后页面跳转地址"/>

                          <Field :span="18" label="系统备注" prop="remark" type="textarea" v-model="form.remark" placeholder="请输入系统备注"/>
            </el-row>

            <form-buttons @submit='submitForm'/>
        </el-form>
    </layout-form>
</template>

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

        },
        data() {
            return {
                rules: {
                    name: [
                        { trigger: "blur" },
                    ],
                    platformSn: [
                        { trigger: "blur" },
                    ],
                    remark: [
                        { trigger: "blur" },
                    ],
                    callbackUrl: [
                        { trigger: "blur" },
                    ],
                    redirectUrl: [
                        { trigger: "blur" },
                    ],
                    createUserName: [
                        { trigger: "blur" },
                    ],
                }
            };
        }
    };
</script>