module.exports={
  "list":{
    columnMetaData:[
      // {"width":"150","label":"渠道名称","prop":"channelName","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"渠道编码","prop":"channelCode","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"商机类型","prop":"chanceTypeName","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"服务编码","prop":"serviceItem_code","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"服务名称","prop":"serviceItem_name","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"负责人","prop":"user.userName","isShowTip":false,"isTmpl":false,},
      {"width":"200","label":"负责人手机","prop":"mobile","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"发布者姓名","prop":"publisherName","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"发布人手机","prop":"publisherMobile","isShowTip":false,"isTmpl":false,},
      {"width":"200","label":"发布人备注","prop":"publisherNotes","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"状态","prop":"statusName","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"分配时间","prop":"created_at","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"操作时间","prop":"updated_at","isShowTip":false,"isTmpl":false,},
    ]
  },
  "form":[
  ],
  "search":[
    {
      "title":"负责人手机",
       ctls:[
         {"type":"input","label":"负责人手机","prop":"mobile","placeHolder":"请输入负责人手机","style":""},
       ]
    },
    {
      "title":"渠道",
      "rule": [
           { "required": true, "message": '请选择渠道', "trigger": 'blur' },
       ],
       ctls:[
         {"type":"select","refModel":"channel","isMulti":false,"label":"渠道","prop":"channelCode","labelField":"channelName","valueField":"channelCode","style":""},
       ]
    },
    {
      "title":"商机类型",
      ctls:[
        {"type":"select","dicKey":"chanceType","prop":"chanceType","labelField":"label","valueField":"value","style":""},
      ]
    },
    {
      "title":"状态",
      ctls:[
        {"type":"select","dicKey":"businessallowstatus","prop":"status","labelField":"label","valueField":"value","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-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},
    ],
  }
}
