module.exports={
  "list":{
    columnMetaData:[
      {"width":"100","label":"渠道名称","prop":"channelName","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"渠道编码","prop":"channelCode","isShowTip":false,"isTmpl":false,},
      {"width":"100","label":"APPKEY","prop":"wxAppId","isShowTip":true,"isTmpl":false},
      {"width":"150","label":"渠道分成模式","prop":"profitType","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"渠道分成","prop":"everySingleProfit","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"角色","prop":"Roles","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"是否发布","prop":"isPubed","isShowTip":true,"isTmpl":false},
      {"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
      {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
    ]
  },
  "form":[
    {
      "title":"次续",
       ctls:[
         {"type":"number","prop":"sort","placeHolder":"请输入(整数数字)","style":""},
       ]
    },
    {
      "title":"渠道名称",
       ctls:[
         {"type":"input","label":"渠道名称","prop":"channelName","placeHolder":"渠道名称","style":""},
       ]
    },
    {
      "title":"渠道编码",
       ctls:[
         {"type":"input","label":"渠道编码","prop":"channelCode","placeHolder":"渠道编码","style":""},
       ]
    },
    {
      "title":"APPKEY",
       ctls:[
         {"type":"input","label":"项目操作码","prop":"wxAppId","placeHolder":"项目操作码","style":""},
       ]
    },
    {
      "title":"",
       ctls:[
         {"type":"switch","prop":"moreShop","acText":"支持多店","inactText":"否","placeHolder":"请输入单次使用消耗的宝币数","style":""},
       ]
    },
    {
      "title":"",
       ctls:[
         {"type":"switch","prop":"isEnabled","acText":"分享时是否渠道店铺名称","inactText":"否","placeHolder":"请输入单次使用消耗的宝币数","style":""},
       ]
    },
    {
      "title":"渠道店铺名称",
       ctls:[
         {"type":"input","label":"渠道店铺名称","prop":"channelShopName","placeHolder":"渠道店铺名称","style":""},
       ]
    },
    {
      "title":"渠道分成模式",
       ctls:[
         {"type":"select","dicKey":"channelProfitType","prop":"profitType","labelField":"label","valueField":"value","style":""},
       ]
    },
    {
      "title":"渠道分成（率/元）",
       ctls:[
         {"type":"input","label":"渠道分成","prop":"everySingleProfit","placeHolder":"渠道分成","style":""},
       ]
    },
    {
      "title":"角色",
       ctls:[
          {"type":"select","refModel":"role","isMulti":true,"label":"角色","prop":"roles","labelField":"name","valueField":"id","style":""},
       ]
    },
    {
      "title":"",
       ctls:[
         {"type":"switch","prop":"isPubed","acText":"发布","inactText":"关闭","placeHolder":"","style":""},
       ]
    },

    {
      "title":"渠道图标",
       ctls:[
         {"type":"upload","label":"渠道图标","prop":"icon","placeHolder":"渠道图标","style":""},
       ]
    },
    {
      "title":"图标链接",
       "ctls":[
         {"type":"input","label":"渠道链接","prop":"iconLink","placeHolder":"渠道链接","style":""},
       ]
    },
  ],
  "search":[
    {
      "title":"渠道名称",
       ctls:[
         {"type":"input","label":"渠道名称","prop":"channelName","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},

    ],
    "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},
    ],
  }
}
