module.exports={
    "list":{
      columnMetaData:[
        {"width":"100","label":"公司名称","prop":"company.name","isShowTip":true,"isTmpl":false},
        {"width":"100","label":"授权码","prop":"code","isShowTip":true,"isTmpl":false},
        {"width":"100","label":"MAC","prop":"macAddr","isShowTip":true,"isTmpl":false},
        {"width":"100","label":"重置次数","prop":"resetNum","isShowTip":true,"isTmpl":false},
        {"width":"80","label":"状态","prop":"isEnable","isShowTip":true,"isTmpl":false},
        {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
      ]
    },
    "form":[
      {
        "title":"基本信息",
        "colnum":2,
         ctls:[
          {"type":"select","refModel":"company","isMulti":false,"label":"所属公司","prop":"company_id","labelField":"name","valueField":"id","style":"",rules:[{ "required": true, "message": '请选择所属公司', "trigger": 'blur' },]},
           {"type":"input","label":"授权码","prop":"code","disabled":true,"placeHolder":"授权码","style":""},
           {"type":"input","label":"MAC","prop":"macAddr","disabled":true,"placeHolder":"MAC","style":""},
           {"type":"switch","prop":"isEnable","acText":"启用","inactText":"停止","placeHolder":"","style":""},
         ]
      },
      
    ],
    "search":[
      {
        "title":"基本信息",
         ctls:[
          {"type":"select","refModel":"company","isMulti":false,"label":"所属公司","prop":"company_id","labelField":"name","valueField":"id","style":"",rules:[{ "required": true, "message": '请选择所属公司', "trigger": 'blur' },]},
         ]
      },
    ],
    "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},
  
      ],
      "delete":[
        {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
        {"icon":"el-icon-edit","title":"停用","type":"default","key":"stopSite","isInRow":true,"boolProp":"isEnabled","falseText":"启用"},
  
      ],
      "common":[
        {"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
      ],
    }
  }
  