module.exports={
  "list":{
    columnMetaData:[
      {"width":"150","label":"姓名","prop":"nickName","isShowTip":true,"isTmpl":false},
      {"width":"150","label":"手机号","prop":"mobile","isShowTip":true,"isTmpl":false},
      {"width":"120","label":"来源","prop":"partnerSourceTypeName","isShowTip":true,"isTmpl":false},
      {"width":"120","label":"来源姓名","prop":"sourceUserName","isShowTip":true,"isTmpl":false},
      {"width":"120","label":"类型","prop":"partnerTypeName","isShowTip":true,"isTmpl":false},
      {"width":"120","label":"等级","prop":"partnerLevelName","isShowTip":true,"isTmpl":false},
      {"width":"120","label":"城市","prop":"city","isShowTip":true,"isTmpl":false},
      {"width":"150","label":"审核状态","prop":"auditStatusName","isShowTip":true,"isTmpl":false},
      {"width":"150","label":"申请时间","prop":"reg_at","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"下级数量","prop":"subCount","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","style":"","rules": [{"required": true, "message": '请输入合伙人帐号', "trigger": 'blur' }]},
          {"type":"input","label":"合伙人姓名","prop":"nickName","style":"","rules": [{"required": true, "message": '请输入合伙人姓名', "trigger": 'blur' }]},
          {"type":"select","label":"用户类型", "dicKey":"partnerUserType","prop":"partnerUserType","labelField":"label","valueField":"value","style":""},

          {"type":"input","label":"合伙人电话","prop":"mobile","style":"","rules": [{"required": true, "message": '请输入合伙人电话', "trigger": 'blur' }]},
          {"type":"cascadeSelect", "level": 2, "label":"所在省市", "prop":"cityCode", "style":"","rules": [{"required": true, "message": '请选择所在省市', "trigger": 'blur' }]},

          {"type":"select","label":"合伙人类型", "dicKey":"partnerType","prop":"partnerType","labelField":"label","valueField":"value","style":"", "disabled": true},
          {"type":"select","label":"合伙人等级","dicKey":"partnerLevel","prop":"partnerLevel","labelField":"label","valueField":"value","style":"", "disabled": true},

          {"type":"input","label":"注册时间","prop":"reg_at", "style":"", "disabled": true},
          {"type":"input","label":"优势","prop":"advNames","style":"", "disabled": true},

          {"type":"input","label":"下级数量","prop":"subCount","style":"", "disabled": true},
          {"type":"input","label":"合伙人来源","prop":"partnerSourceTypeName","placeHolder":"合伙人来源","style":"", "disabled": true},
          {"type":"input","label":"来源姓名","prop":"sourceUserName","placeHolder":"来源姓名","style":"", "disabled": true},
       ]
    },
  ],
  "search":[
    {
      "title":"",
      ctls:[
        {"type":"input","label":"合伙人姓名","prop":"nickName","placeHolder":"请输入姓名","style":""},
        {"type":"input","label":"手机号","prop":"mobile","placeHolder":"请输入手机号","style":""},

        {"type":"select","label":"审核状态","dicKey":"proxyAuditStatus","prop":"auditStatus","labelField":"label","valueField":"value","style":""},
        {"type":"select","label":"合伙人来源","dicKey":"partnerSourceType","prop":"partnerSourceType","labelField":"label","valueField":"value","style":""},

        {"type":"input","label":"来源姓名","prop":"sourceUserName","placeHolder":"请输入来源姓名","style":""},
        {"type":"select","label":"合伙人类型","dicKey":"partnerType","prop":"partnerType","labelField":"label","valueField":"value","style":""},

        {"type":"select","label":"合伙人等级","dicKey":"partnerLevel","prop":"partnerLevel","labelField":"label","valueField":"value","style":""},

        {"type":"cascadeSelect", "level": 2, "label":"所在省市", "prop":"cityCode", "style":""},
      ]
    },
  ],
  "auth":{
    "add":[
      {"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
      {"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true},
    ],
    "edit":[
      {"icon":"el-icon-plus","title":"查看订单","type":"default","key":"orders","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-save","title":"返回","type":"default","key":"cancel","isOnForm":true},
      // {"icon":"el-icon-plus","title":"驳回","type":"default","key":"auditReject","isInRow":true},
    ],
  }
}
