<el-main>
  <!--面包屑-->
  <breadcrumb-component ></breadcrumb-component>

  <el-container class="detail-container">
    <el-form label-width="200px" label-position="right" class="create-form-outline-full-screen"  :class="readonly?'readonly':''"    :model="interfaceInfo"    ref="interfaceInfo" >
      <el-form-item label="接口分类名称" prop="projectName"  :rules="[{ required: true, message: '接口分类名称不能为空', trigger: 'blur'  },{ max: 30, message: '字数不能超过30', trigger: 'change' }]">
        <el-input   class="normal-width"  :disabled="readonly"  v-model="interfaceInfo.projectName" placeholder="请输入"></el-input>
      </el-form-item>
      <el-form-item label="权限校验码" prop="checkCode"  :rules="[{ required: true, message: '权限校验码不能为空', trigger: 'blur'  }]">
        <el-input   class="normal-width" :disabled="readonly"  v-model="interfaceInfo.checkCode" placeholder="请输入"></el-input>
      </el-form-item>
      <el-form-item>
          <el-button type="primary" @click="add"  v-show="dialogState==0"  >确定</el-button>
          <el-button type="primary" @click="update"  v-show="dialogState==2"  >确定</el-button>
          <el-button   @click="goBack">取消并返回</el-button>
      </el-form-item>
    </el-form>
  </el-container>
</el-main>








