let raw = {
  scene: [
    {
      prop: "idx",
      label: "编号",
    },
    {
      prop: "name",
      label: "名称",
    },
    {
      prop: "typeName",
      label: "类型",
    },
    {
      prop: "museumName",
      label: "所属博物馆",
    },
    {
      prop: "display",
      label: "状态",
    },
    {
      prop: "name",
      label: "展览时间",
    },

  ]
}

let formKey = {
  detail: {
    "fileName": "",
    "filePath": "",
    "museumId": '',
    "name": "",
    "timeEnd": "",
    "timeStart": "",
    "type": "",
    opening:'',
    description:''
  }
}

let rules = {
  detail: {
    name: [{ required: true, message: "请输入场景名称", trigger: "blur" }],
    type: [{ required: true, message: "请选择场景类型", trigger: "blur" }],
    opening: [{ required: true, message: "请选择展览时间", trigger: "blur" }],
    museumId: [{ required: true, message: "请选择所属博物馆", trigger: "blur" }],
  }
}


export {
  raw,
  formKey,
  rules
}