module.exports = {
  "bizName": "article",
  "list": {
    columnMetaData: [
      { "width": "100", "label": "编码", "prop": "code", "isShowTip": true, "isTmpl": false },
      { "width": "100", "label": "续号", "prop": "orderNo", "isShowTip": true, "isTmpl": false },
      { "width": "100", "label": "标题", "prop": "title", "isShowTip": true, "isTmpl": false },
      { "width": "100", "label": "图片", "prop": "leftimg", "isOther": true, "isShowTip": false, "isTmpl": true, "isBtns": false },
      // { "width": "100", "label": "右图", "prop": "rightimg", "isOther": true, "isShowTip": false, "isTmpl": true, "isBtns": false },
      { "width": "150", "label": "类型", "prop": "loopplayTypeName", "isShowTip": true, "isTmpl": false },
      { "width": "150", "label": "主题", "prop": "sitetheme.siteThemeName", "isShowTip": true, "isTmpl": false },
      { "width": "null", "label": "操作", "name": "null", "isShowTip": false, "isTmpl": true, "isBtns": "true" },
    ]
  },
  "form": [
    {
      "title": "基本信息",
      "colnum": 2,
      ctls: [
        { "type": "input", "label": "编码", "prop": "code", "placeHolder": "编码", "style": "", disabled: true, rules: [{ "required": true, "message": '请输入编码', "trigger": 'blur' },] },
        { "type": "number", "label": "序号", "prop": "orderNo", "placeHolder": "请输入续号", "style": "" },
        { "type": "select", "label": "选择类型", "dicKey": "loopplay_type", "prop": "loopplayType", "labelField": "label", "valueField": "value", "placeHolder": "类型", "style": "", rules: [{ "required": true, "message": '请选择类型', "trigger": 'blur' },] },
        { "type": "select", "refModel": "sitetheme", "isMulti": false, "label": "请选择主题", "prop": "sitetheme_id", "labelField": "siteThemeName", "valueField": "id", "style": "" },
        { "type": "input", "label": "标题", "prop": "title", "disabled": false, "placeHolder": "请输入标题", "style": "" },
        { "type": "upload", "label": "图片", "prop": "leftimg", "placeHolder": "请输入标题", "style": "" },
        { "type": "number", "label": "跳转链接", "prop": "skipUrl", "placeHolder": "请输入跳转链接", "style": "width: 400px;" },
        // { "type": "upload", "label": "右图", "prop": "rightimg", "placeHolder": "请输入标题", "style": "" },
      ]
    },
  ],
  "search": [
    {
      "title": "基本查询",
      ctls: [
        { "type": "select", "refModel": "sitetheme", "isMulti": false, "label": "主题", "prop": "sitetheme_id", "labelField": "siteThemeName", "valueField": "id", "style": "", rules: [{ "required": true, "message": '请选择主题', "trigger": 'blur' },] },
        { "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 },
    ],
  }

}
