<template>
  <m-form :items="formItems" v-model="formValues"></m-form>
</template>

<script>
import MForm from '@/components/MForm'
export default {
  name: 'manual-import-edit',
  components: {
    MForm
  },
  data () {
    return {
      formValues: {
        title: null,
        name: null,
        origin: null
      },
      formItems: [
        {
          type: 'text',
          key: 'title',
          label: '请输入标题 *',
          rules: [v => !!v || '请输入标题']
        },
        {
          type: 'text',
          key: 'name',
          label: '请输入姓名 *',
          rules: [v => !!v || '请输入姓名']
        },
        {
          type: 'text',
          key: 'origin',
          label: '请输入来源 *',
          rules: [v => !!v || '请输入来源']
        }
      ]
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>

</style>
