module.exports={
  "bizName":"article",
  "list":{
    columnMetaData:[
      {"width":"200","label":"编码","prop":"code","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"次续","prop":"orderNo","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"用途","prop":"usageType","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"媒体类型","prop":"mediaType","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"频道","prop":"newschannel.title","isShowTip":true,"isTmpl":false},
      {"width":"100","label":"标题","prop":"title","isShowTip":true,"isTmpl":false},
      {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
    ]
  },
  "form":[
    {
      "title":"次续",
       ctls:[
         {"type":"number","prop":"orderNo","placeHolder":"请输入(整数数字)","style":""},
       ]
    },
    {
      "title":"编码",
      "validProp":"code",
      "rule": [
           { "required": true, "message": '请输入编码', "trigger": 'blur' },
       ],
       ctls:[
         {"type":"input","label":"编码","prop":"code","placeHolder":"请输入编码","style":""},
       ]
    },
    {
      "title":"频道",
       ctls:[
          {"type":"select","refModel":"newschannel","isMulti":false,"label":"频道","prop":"newschannel_id","labelField":"title","valueField":"id","style":""},
       ]
    },
    {
       "title":"用途",
       "validProp":"usageType",
       "rule": [
            { "required": true, "message": '用途', "trigger": 'blur' },
        ],
        "ctls":[
          {"type":"select","dicKey":"usageType","prop":"usageType","labelField":"label","valueField":"value","style":""},
        ]
     },
     {
        "title":"媒体类型",
        "validProp":"mediaType",
        "rule": [
             { "required": true, "message": '媒体类型', "trigger": 'blur' },
         ],
         "ctls":[
           {"type":"select","dicKey":"mediaType","prop":"mediaType","labelField":"label","valueField":"value","style":""},
         ]
      },
    {
      "title":"标题",
       "ctls":[
         {"type":"input","label":"标题","prop":"title","disabled":false,"placeHolder":"请输入标题","style":""},
       ]
    },
    {
      "title":"标题缩略图",
       "ctls":[
         {"type":"upload","label":"标题缩略图","prop":"listimg","placeHolder":"请输入标题","style":""},
       ]
    },
    {
      "title":"视频",
       "ctls":[
         {"type":"upload","label":"视频","prop":"videourl","placeHolder":"请输入标题","style":""},
       ]
    },
    {
      "title":"概要",
       "ctls":[
         {"type":"textarea","label":"概要","prop":"desc","placeHolder":"请输入概要","style":""},
       ]
    },
    {
      "title":"文章内容",
      "ctls":[
        {"type":"html","label":"标题","prop":"content","height":"500px","disabled":false,"placeHolder":"请输入标题","style":""},
       ]
    },
  ],
  "search":[
    {
      "title":"频道",
       ctls:[
          {"type":"select","refModel":"newschannel","isMulti":false,"label":"频道","prop":"newschannel_id","labelField":"title","valueField":"id","style":""},
       ]
    },
    {
      "title":"标题",
       ctls:[
         {"type":"input","label":"标题","prop":"title","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},
    ],
    "common":[
      {"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
    ],
  }

}
