Forgot to add new js component file
This commit is contained in:
parent
74ee9113dc
commit
ceb67bcb6f
33
js/components/forms/oversight.js
Normal file
33
js/components/forms/oversight.js
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
import FormMixin from '../../mixins/form'
|
||||||
|
import textinput from '../text_input'
|
||||||
|
import checkboxinput from '../checkbox_input'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'oversight',
|
||||||
|
|
||||||
|
mixins: [FormMixin],
|
||||||
|
|
||||||
|
components: {
|
||||||
|
textinput,
|
||||||
|
checkboxinput,
|
||||||
|
},
|
||||||
|
|
||||||
|
props: {
|
||||||
|
initialData: {
|
||||||
|
type: Object,
|
||||||
|
default: () => ({})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
data: function () {
|
||||||
|
const {
|
||||||
|
am_cor = false,
|
||||||
|
ko_invite = false
|
||||||
|
} = this.initialData
|
||||||
|
|
||||||
|
return {
|
||||||
|
am_cor,
|
||||||
|
ko_invite
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user