Compare commits
No commits in common. "551620c3c3c92fdfde955cceabe71393bd673a95" and "848bf0c8b2ba701de2fdbf9ad0b1ed67cb4e3d16" have entirely different histories.
551620c3c3
...
848bf0c8b2
|
@ -443,17 +443,6 @@ export default {
|
||||||
if (item.Type === 'number') {
|
if (item.Type === 'number') {
|
||||||
this.limitBlur(item.Id, item.ValueType)
|
this.limitBlur(item.Id, item.ValueType)
|
||||||
}
|
}
|
||||||
if (question.Childrens.length > 0) {
|
|
||||||
this.resetChild(question.Childrens)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
resetChild(obj) {
|
|
||||||
obj.forEach(i => {
|
|
||||||
this.resetData(i.Id)
|
|
||||||
if (i.Childrens && i.Childrens.length > 0) {
|
|
||||||
this.resetChild(i.Childrens)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
limitBlur(qId, valueType) {
|
limitBlur(qId, valueType) {
|
||||||
const value = this.questionForm[qId]
|
const value = this.questionForm[qId]
|
||||||
|
@ -545,9 +534,6 @@ export default {
|
||||||
},
|
},
|
||||||
receiveMsg(event) {
|
receiveMsg(event) {
|
||||||
},
|
},
|
||||||
resetData(v) {
|
|
||||||
this.questionForm[v] = null
|
|
||||||
},
|
|
||||||
resetFormItemData(v) {
|
resetFormItemData(v) {
|
||||||
this.qsForm[v] = null
|
this.qsForm[v] = null
|
||||||
},
|
},
|
||||||
|
|
|
@ -434,22 +434,8 @@ export default {
|
||||||
setMeasuredData(measureData) {
|
setMeasuredData(measureData) {
|
||||||
|
|
||||||
},
|
},
|
||||||
formItemChange(val, question) {
|
formItemChange() {
|
||||||
this.formChanged = true
|
this.formChanged = true
|
||||||
if (item.Type === 'number') {
|
|
||||||
this.limitBlur(item.Id, item.ValueType)
|
|
||||||
}
|
|
||||||
if (question.Childrens.length > 0) {
|
|
||||||
this.resetChild(question.Childrens)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
resetChild(obj) {
|
|
||||||
obj.forEach(i => {
|
|
||||||
this.resetData(i.Id)
|
|
||||||
if (i.Childrens && i.Childrens.length > 0) {
|
|
||||||
this.resetChild(i.Childrens)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
limitBlur(qId, valueType) {
|
limitBlur(qId, valueType) {
|
||||||
const value = this.questionForm[qId]
|
const value = this.questionForm[qId]
|
||||||
|
@ -538,9 +524,6 @@ export default {
|
||||||
},
|
},
|
||||||
receiveMsg(event) {
|
receiveMsg(event) {
|
||||||
},
|
},
|
||||||
resetData(v) {
|
|
||||||
this.questionForm[v] = null
|
|
||||||
},
|
|
||||||
resetFormItemData(v) {
|
resetFormItemData(v) {
|
||||||
this.qsForm[v] = null
|
this.qsForm[v] = null
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue