module.exports={
  "list":{
    columnMetaData:[
      {"width":"100","label":"编码","prop":"code","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"名称","prop":"name","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"描述","prop":"description","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"关联产品","name":"Products","isShowTip":false,"isTmpl":true,"type":"expand","isBtns":false},
      {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
    ]
  },
  "form":[
    {
      "title":"编码",
       ctls:[
         {"type":"input","label":"编码","prop":"code","placeHolder":"请输入一个编码","style":""},
       ]
    },
    {
      "title":"名称",
       ctls:[
         {"type":"input","label":"名称","prop":"name","placeHolder":"请输入一个名称","style":""},
       ]
    },
    {
      "title":"描述",
       ctls:[
         {"type":"input","label":"描述","prop":"description","placeHolder":"描述","style":""},
       ]
    },
    {
      "title":"相关产品",
       ctls:[
          {"type":"select","refModel":"product","isMulti":true,"label":"产品","prop":"products","labelField":"name","valueField":"id","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":"edit","isInRow":true},
      {"icon":"el-icon-edit","title":"授权","type":"default","key":"auth","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},
    ],
  }
}
