export default {
  height: 'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  addBtn: false,
  editBtn: false,
  viewBtn: false,
  delBtn: false,
  selection: true,
  dialogClickModal: false,
  menuWidth: 150,
  column: [{
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建人",
      prop: "createUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建部门",
      prop: "createDept",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改人",
      prop: "updateUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改时间",
      prop: "updateTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "状态",
      prop: "status",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },

    {
      label: "封面",
      prop: "cover",
      type: "upload",
    },
    {
      label: "名称",
      prop: "name",
      type: "input",
      search: true
    },
    {
      label: "所属菜系",
      prop: "cuisineCode",
      type: "select",
      dicUrl: "/blade-system/dict-biz/dictionary?code=cuisine",
      props: {
        label: 'dictValue',
        value: 'dictKey'
      },
      search: true
    },
    {
      label: "副标题",
      prop: "subTitle",
      type: "input",
      overHidden: true,
    },
    {
      label: "视频",
      prop: "videos",
      type: "upload",
      slot: true,
      width: 250
    },
    //  {
    //    label: "内容",
    //    prop: "content",
    //    type: "input",
    //  },
    {
      label: "所属地区",
      prop: "regionId",
      type: "select",
      dicUrl: "/blade-system/region/lazy-tree?parentCode=44",
      props: {
        label: 'title',
        value: 'id'
      },
      search: true
    },
    {
      label: "地址",
      prop: "address",
      type: "input",
      width: 250,
      overHidden: true,
    },
    //  {
    //    label: "纬度",
    //    prop: "latitude",
    //    type: "input",
    //  },
    //  {
    //    label: "经度",
    //    prop: "longitude",
    //    type: "input",
    //  },
    //  {
    //    label: "置顶",
    //    prop: "top",
    //    type: "input",
    //  },
    {
      label: "浏览量",
      prop: "views",
      type: "input",
      width: 90
    },
    //  {
    //    label: "备注",
    //    prop: "remark",
    //    type: "input",
    //  },
    {
      label: "顺序",
      prop: "sort",
      type: "input",
      width: 70
    },
  ]
}