let raw = {
  scene: [
    {
      prop: "id",
      label: "字典键值",
    },
    {
      prop: "name",
      label: "字典名称",
    },
    {
      prop: "typeName",
      label: "类型",
    },
    {
      prop: "sort",
      label: "排序号",
    },
    {
      prop: "display",
      label: "状态",
    },
    {
      prop: "createTime",
      label: "创建时间",
    },
  ]
}

let formKey = {
  detail: {
    "display": 0,
    "name": "",
    "sort": 0,
    "type": ""
  }
}

let rules = {
  detail: {
    name: [{ required: true, message: "请输入字典名称", trigger: "blur" }],
    type: [{ required: true, message: "请选择字典类型", trigger: "blur" }],
    sort: [{ required: true, message: "请输入字典排序", trigger: "blur" }],
  }
}


export {
  raw,
  formKey,
  rules
}