ccpo approval form script

This commit is contained in:
Andrew Croce
2018-09-13 12:59:42 -04:00
committed by dandds
parent 19e80cd183
commit 5f5052f528
2 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
import textinput from '../text_input'
export default {
name: 'ccpo-approval',
components: {
textinput
},
data: function () {
return {
approving: false,
denying: false
}
},
methods: {
setReview: function (e) {
if (e.target.value === 'approving') {
this.approving = true
this.denying = false
} else {
this.approving = false
this.denying = true
}
},
}
}