import { informationTypeOptions } from "@/views/ycwh/common/constants.js";
export default {
  height: 'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  addBtn: false,
  editBtn: false,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  column: [{
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },

    {
      label: "用户",
      prop: "memberId",
      type: "input",
    },
    {
      //    （名菜、名点、名店）
      label: "来源类型",
      prop: "sourceType",
      type: "select",
      dicData: informationTypeOptions,
      search: true
    },
    //  {
    //    label: "来源ID",
    //    prop: "sourceId",
    //    type: "input",
    //  },
    {
      label: "反馈内容",
      prop: "content",
      type: "input",
    },
    {
      label: "创建时间",
      prop: "createTime",
      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: "remark",
      type: "input",
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    //  {
    //    label: "顺序",
    //    prop: "sort",
    //    type: "input",
    //  },
  ]
}