module.exports={
  "bizName":"apps",
  "list":{
    columnMetaData:[
      {"width":"120","label":"公司名称","prop":"name","isShowTip":true,"isTmpl":false},
      {"width":"110","label":"信用代码","prop":"credit_code","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"客户联系人","prop":"contractName","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"联系人电话","prop":"contractMobile","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"客户所属人","prop":"owner.nickName","isShowTip":true,"isTmpl":false},
      {"width":"80","label":"客户等级","prop":"ecompanyLevelName","isShowTip":true,"isTmpl":false},
      // {"width":"100","label":"客户来源","prop":"ecompanySourceTypeName","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"所在省市","prop":"cityName","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"更新时间","prop":"updated_at","isShowTip":true,"isTmpl":false},
      {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
    ]
  },
  "form":[
    {
      "title":"基本信息",
      "colnum": 2,
       ctls:[
         {"type":"input","label":"公司名称","prop":"name","placeHolder":"公司名称","style":"", "rules": [{ "required": true, "message": '请输入公司名称', "trigger": 'blur' }]},
         {"type":"input","label":"信用代码","prop":"credit_code","placeHolder":"统一信用代码","style":"", "rules": [{"required": true, "message": '请输入统一信用代码', "trigger": 'blur' }]},

         {"type":"input","label":"签约主体","prop":"nameA","placeHolder":"签约主体","style":"", "rules": [{"required": true, "message": '请输入签约主体', "trigger": 'blur' }]},

         {"type":"input","label":"客户联系人","prop":"contractName","placeHolder":"客户联系人","style":"", "rules": [{ "required": true, "message": '请输入客户联系人', "trigger": 'blur' }]},
         {"type":"input","label":"联系人电话","prop":"contractMobile","placeHolder":"联系人电话","style":"", "rules": [{ "required": true, "message": '请输入联系人电话', "trigger": 'blur' }]},

         {"type":"select","label":"客户等级","dicKey":"ecompanyLevel","prop":"ecompanyLevel","labelField":"label","valueField":"value","style":"", "rules": [{"required": true, "message": '请选择客户等级', "trigger": 'blur' }]},
         {"type":"select","label":"客户来源","dicKey":"ecompanySourceType","prop":"ecompanySourceType","labelField":"label","valueField":"value","style":"", "rules": [{ "required": true, "message": '请选择客户来源', "trigger": 'blur' }]},

         {"type":"cascadeSelect", "level": 2, "label":"所在省市", "prop":"cityCode", "style":"", "rules": [{ "required": true, "message": '请选择所在省市', "trigger": 'blur' }]},

       ]
    },
  ],
  "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":"custsave","isOnForm":true},
    ],
    "edit":[
      {"icon":"el-icon-plus","title":"发薪详情","type":"default","key":"showpay","isInRow":true},
      {"icon":"el-icon-edit","title":"编辑","type":"default","key":"edit","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},
    ],
  }
}
