module.exports={
  "list":{
    columnMetaData:[
      {"width":"100","label":"昵称","prop":"nickName","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"登录账号","prop":"userName","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"角色","prop":"Roles","isShowTip":true,"isTmpl":false},
      {"width":"50","label":"状态","prop":"isEnabled","isShowTip":true,"isTmpl":false},
      {"width":"300","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
    ]
  },
  "form":[
    {
      "title":"控制信息",
       ctls:[
         {"type":"switch","prop":"isAdmin","acText":"是管理员","inactText":"否","placeHolder":"请输入单次使用消耗的宝币数","style":""},
        //  {"type":"select","refModel":"auth.role","isMulti":true,"label":"角色","prop":"roles","labelField":"name","valueField":"id","style":""},
        //  {"type":"select","refModel":"pmproduct","isMulti":false,"label":"所属产品","prop":"pmproduct_id","labelField":"name","valueField":"id","style":""},
       ]
    },
    {
      "title":"基本信息",
       ctls:[
        {"type":"input","label":"账号","prop":"userName","placeHolder":"登录账号","style":"",rules:[ { "required": true, "message": '  ', "trigger": 'blur' },]},
         {"type":"input","label":"昵称","prop":"nickName","placeHolder":"昵称","style":"",rules:[ { "required": true, "message": '  ', "trigger": 'blur' },]},
         {"type":"input","label":"电话","prop":"mobile","placeHolder":"请输入电话","style":"",rules:[ { "validator":"validatex","trigger": 'blur' },{ "required": true, "message": '  ', "trigger": 'blur' },]},
       ]
    }
    
   
  ],
  "search":[
    {
      "title":"基本查询",
       ctls:[
         {"type":"input","label":"昵称","prop":"nickName","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":"positionChange","isInRow":true},
      {"icon":"el-icon-edit","title":"数据授权","type":"default","key":"datapriv","isInRow":true},

    ],
    "delete":[
      {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
      {"icon":"el-icon-edit","title":"停用","type":"default","key":"stopUser","isInRow":true,"boolProp":"isEnabled","falseText":"启用"},

    ],
    "common":[
      {"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
    ],
  }
}
