Compare commits

...

2 Commits

Author SHA1 Message Date
caiyiling c0588661ce Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing Details
2025-03-10 16:11:22 +08:00
caiyiling 381acf8d76 ecrf表单中分类问题bug修复 2025-03-10 16:10:41 +08:00
4 changed files with 86 additions and 72 deletions

View File

@ -743,6 +743,9 @@ export default {
},
formItemNumberChange(questionId, isTable) {
if (typeof isTable === 'object') {
this.$emit("setFormItemData", { key: isTable.Id, val: questionId, question: isTable });
} else {
if (isTable) {
this.CalculationList.forEach((v, i) => {
var find = v.CalculateQuestionList.filter(o => {
@ -770,6 +773,7 @@ export default {
}
})
}
}
// this.$emit('formItemNumberChange')
},
// formItemTableNumberChange() {

View File

@ -472,6 +472,9 @@ export default {
}
},
formItemNumberChange(questionId, isTable) {
if (typeof isTable === 'object') {
this.$emit("setFormItemData", { key: isTable.Id, val: questionId, question: isTable });
} else {
if (isTable) {
this.calculationList.forEach((v, i) => {
var find = v.CalculateQuestionList.filter(o => {
@ -499,6 +502,7 @@ export default {
}
})
}
}
},
formItemChange(v, question) {
if (question.Childrens.length > 0) {

View File

@ -660,6 +660,9 @@ export default {
return num;
},
formItemNumberChange(questionId, isTable) {
if (typeof isTable === 'object') {
this.$emit("setFormItemData", { key: isTable.Id, val: questionId, question: isTable });
} else {
if (isTable) {
this.calculationList.forEach((v, i) => {
var find = v.CalculateQuestionList.filter((o) => {
@ -687,6 +690,8 @@ export default {
}
});
}
}
// this.$emit('formItemNumberChange')
},
formItemTableNumberChange() {

View File

@ -167,6 +167,7 @@ export default {
// if (i.Type === 'number') {
// this.$set(this.questionForm, i.Id, i.Answer)
// }
console.log('setChild')
if (i.Type === 'class') {
this.classArr.push({triggerId: i.ClassifyQuestionId, classId: i.Id, classifyAlgorithms: i.ClassifyAlgorithms, classifyType: i.ClassifyType})
}