module.exports={
  "list":{
    columnMetaData:[
      {"width":"120","label":"帐号","prop":"userName","isShowTip":true,"isTmpl":false},
      {"width":"120","label":"手机号","prop":"mobile","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"昵称","prop":"nickName","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"角色","prop":"Roles","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"所属部门","prop":"department.name","isShowTip":true,"isTmpl":false},
      {"width":"80","label":"状态","prop":"isEnabled","isShowTip":true,"isTmpl":false},
      {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
    ]
  },
"form":[
    {
      "title":"",
      "colnum":1,
       ctls:[
          {"type":"input","label":"帐号","prop":"userName","placeHolder":"帐号","style":"", "rules": [{ "required": true, "message": '请输入帐号', "trigger": 'blur' }]},
          // {"type":"input","label":"密码","prop":"password","placeHolder":"密码","style":"", "rules": [{ "required": true, "message": '请输入密码', "trigger": 'blur' }]},
          {"type":"input","label":"手机号","prop":"mobile","placeHolder":"手机号","style":"", "rules": [{ "required": true, "message": '请输入手机号', "trigger": 'blur' }]},
          {"type":"input","label":"昵称","prop":"nickName","placeHolder":"昵称","style":""},
          // {"type":"switch","label":"管理员","prop":"isAdmin","acText":"是管理员","inactText":"否","placeHolder":"请输入单次使用消耗的宝币数","style":""},
          {"type":"select","label":"角色","refModel":"role","isMulti":true,"prop":"roles","labelField":"name","valueField":"id","style":""},
          {"type":"select","label":"部门","refModel":"department","isMulti":false,"label":"部门","placeHolder":"请选择","prop":"department_id","labelField":"name","valueField":"id","style":"", "rules": [{ "required": true, "message": '请选择所属部门', "trigger": 'blur' }]},


       ]
    },
  ],
  "search":[
    {
      "title":"",
       ctls:[
         {"type":"input","label":"昵称","prop":"nickName","placeHolder":"请输入昵称","style":""},
         {"type":"input","label":"帐号","prop":"userName","placeHolder":"帐号","style":""},
         {"type":"input","label":"手机号","prop":"mobile","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":"bpo公司","type":"default","key":"bindCompany","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},
    ],
  }
}
