module.exports={
  "bizName":"codes",
  "list":{
    columnMetaData:[
      {"width":"100","label":"代码名称","prop":"name","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"代码地址","prop":"gitaddress","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"版本号","prop":"versions_num","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"镜像库地址","prop":"docker_repo_addr","isShowTip":true,"isTmpl":false},
      {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
    ]
  },
  "form":[
    {
      "title":"代码名称",
      "validProp":"name",
      "rule": [
           { "required": true, "message": '请输入代码名称', "trigger": 'blur' },
       ],
       ctls:[
         {"type":"input","label":"代码名称","prop":"name","placeHolder":"代码名称","style":""},
       ]
    },
    {
      "title":"代码地址",
       "ctls":[
         {"type":"input","label":"代码地址","prop":"gitaddress","disabled":false,"placeHolder":"","style":""},
       ]
    },
    {
      "title":"版本号",
       "ctls":[
         {"type":"input","label":"版本号","prop":"versions_num","disabled":false,"placeHolder":"","style":""},
       ]
    },
    {
      "title":"镜像库地址",
       "ctls":[
         {"type":"input","label":"镜像库地址","prop":"docker_repo_addr","disabled":false,"placeHolder":"","style":""},
       ]
    },

  ],
  "search":[
    {
      "title":"代码名称",
       ctls:[
         {"type":"input","label":"代码名称","prop":"name","placeHolder":"代码名称","style":""},
       ]
    },
  ],
  "auth":{
    "add":[
      {"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
      {"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
    ],
    "edit":[
      {"icon":"el-icon-edit","title":"创建镜像","type":"default","key":"createRepoAddr","isInRow":true},
    ],
    "delete":[
      {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
    ],
    "common":[
      {"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
    ],
  }
}
