Merge pull request #1051 from dod-ccpo/remove-loas

Remove LOAs
This commit is contained in:
graham-dds
2019-08-30 11:52:52 -04:00
committed by GitHub
14 changed files with 32 additions and 127 deletions

View File

@@ -20,10 +20,6 @@ export default {
props: {
initialClinIndex: Number,
initialLoaCount: {
type: Number,
default: 0,
},
initialClinType: String,
initialAmount: {
type: Number,
@@ -40,8 +36,6 @@ export default {
},
data: function() {
const loas = this.initialLoaCount == 0 ? 1 : 0
const indexOffset = this.initialLoaCount
const start = !!this.initialStartDate
? new Date(this.initialStartDate)
: undefined
@@ -53,8 +47,6 @@ export default {
return {
clinIndex: this.initialClinIndex,
indexOffset: this.initialLoaCount,
loas: loas,
clinType: this.initialClinType,
amount: this.initialAmount || 0,
startDate: start,
@@ -82,14 +74,6 @@ export default {
},
methods: {
addLoa: function(event) {
++this.loas
},
loaIndex: function(index) {
return index + this.indexOffset - 1
},
clinChangeEvent: function() {
emitEvent('clin-change', this, {
id: this._uid,