let raw = {
  scene: [
    {
      prop: "num",
      label: "编号",
    },
    {
      prop: "name",
      label: "名称",
    },
    {
      prop: "cityName",
      label: "所属城市"
    },
    {
      prop: "tel",
      label: "电话"
    }
  ]
}

let formKey = {
  detail: {
    num: '',
    name: '',
    tel: '',
    address: '',
    opening: '',
    lat: '',
    lng: '',
    description: '',
    id: null,
    cityId: 1
  }
}

let rules = {
  detail: {
    num: [{ required: true, message: "不能为空", trigger: "blur" }],
    name: [{ required: true, message: "不能为空", trigger: "blur" }],
    tel: [{ required: true, message: "不能为空", trigger: "blur" }],
    address: [{ required: true, message: "不能为空", trigger: "blur" }],
    opening: [{ required: true, message: "不能为空", trigger: "blur" }],
    lat: [{ required: true, message: "不能为空", trigger: "blur" }],
    lng: [{ required: true, message: "不能为空", trigger: "blur" }],
    description: [{ required: true, message: "不能为空", trigger: "blur" }],

  }
}


export {
  raw,
  formKey,
  rules
}