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

let formKey = {
  detail: {
    "fileName": "",
    "filePath": "",
    "museumId": '',
    "name": "",
    "timeEnd": "",
    "timeStart": "",
    "type": "",
    "cityId":"",
    opening:'',
    thumb:'',
    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" }],
    thumb: [{ required: true, message: "请上传封面图片", trigger: "blur" }],
  }
}


export {
  raw,
  formKey,
  rules
}