<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="应用名称" :span="18" prop="name" v-model="form.name" placeholder="请输入应用名称"/>
                       
                              <Field label="应用标识" :span="18" prop="code" v-model="form.code" placeholder="微服务中标识名，如base-platform"/>

                                     <Field label="应用请求路径" :span="18" prop="path" v-model="form.path" placeholder="微服务中访问路径，如/zwfw"/>
                        <Field label="备注" prop="remark" :span="18" 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" },
                    ],
                    remark: [
                        { trigger: "blur" },
                    ],
                }
            };
        }
    };
</script>