|
|
@ -836,7 +836,11 @@ function showOrHide(data: any) { |
|
|
props.formData.list[i].type == "radio" || |
|
|
props.formData.list[i].type == "radio" || |
|
|
props.formData.list[i].type == "select" |
|
|
props.formData.list[i].type == "select" |
|
|
) { |
|
|
) { |
|
|
radioSelectShowConfigArr.push(props.formData.list[i].control.glxxsz); |
|
|
if(!props.formData.list[i].control.multiple){ |
|
|
|
|
|
radioSelectShowConfigArr.push(props.formData.list[i].control.glxxsz); |
|
|
|
|
|
}else{ |
|
|
|
|
|
checkboxShowConfigArr.push(props.formData.list[i].control.glxxsz); |
|
|
|
|
|
} |
|
|
} else if (props.formData.list[i].type == "checkbox") { |
|
|
} else if (props.formData.list[i].type == "checkbox") { |
|
|
checkboxShowConfigArr.push(props.formData.list[i].control.glxxszForCheckBox); |
|
|
checkboxShowConfigArr.push(props.formData.list[i].control.glxxszForCheckBox); |
|
|
} else if (props.formData.list[i].type == "switch") { |
|
|
} else if (props.formData.list[i].type == "switch") { |
|
|
@ -853,7 +857,12 @@ function showOrHide(data: any) { |
|
|
for (let w = 0; w < a.length; w++) { |
|
|
for (let w = 0; w < a.length; w++) { |
|
|
if (a[w].type == "radio" || a[w].type == "select") { |
|
|
if (a[w].type == "radio" || a[w].type == "select") { |
|
|
//console.log(a[w]) |
|
|
//console.log(a[w]) |
|
|
radioSelectShowConfigArr.push(a[w].control.glxxsz); |
|
|
if(!a[w].control.multiple){ |
|
|
|
|
|
radioSelectShowConfigArr.push(a[w].control.glxxsz); |
|
|
|
|
|
}else{ |
|
|
|
|
|
checkboxShowConfigArr.push(a[w].control.glxxsz); |
|
|
|
|
|
} |
|
|
|
|
|
//radioSelectShowConfigArr.push(a[w].control.glxxsz); |
|
|
} else if (a[w].type == "checkbox") { |
|
|
} else if (a[w].type == "checkbox") { |
|
|
checkboxShowConfigArr.push(a[w].control.glxxszForCheckBox); |
|
|
checkboxShowConfigArr.push(a[w].control.glxxszForCheckBox); |
|
|
} else if (a[w].type == "switch") { |
|
|
} else if (a[w].type == "switch") { |
|
|
@ -869,7 +878,12 @@ function showOrHide(data: any) { |
|
|
for (let x = 0; x < columns[z].list.length; x++) { |
|
|
for (let x = 0; x < columns[z].list.length; x++) { |
|
|
let a = JSON.parse(JSON.stringify(columns[z].list[x])); |
|
|
let a = JSON.parse(JSON.stringify(columns[z].list[x])); |
|
|
if (a.type == "radio" || a.type == "select") { |
|
|
if (a.type == "radio" || a.type == "select") { |
|
|
radioSelectShowConfigArr.push(a.control.glxxsz); |
|
|
if(!a.control.multiple){ |
|
|
|
|
|
radioSelectShowConfigArr.push(a.control.glxxsz); |
|
|
|
|
|
}else{ |
|
|
|
|
|
checkboxShowConfigArr.push(a.control.glxxsz); |
|
|
|
|
|
} |
|
|
|
|
|
//radioSelectShowConfigArr.push(a.control.glxxsz); |
|
|
} else if (a.type == "checkbox") { |
|
|
} else if (a.type == "checkbox") { |
|
|
checkboxShowConfigArr.push(a.control.glxxszForCheckBox); |
|
|
checkboxShowConfigArr.push(a.control.glxxszForCheckBox); |
|
|
} else if (a.type == "switch") { |
|
|
} else if (a.type == "switch") { |
|
|
@ -888,7 +902,12 @@ function showOrHide(data: any) { |
|
|
for (let x = 0; x < columns[z].list.length; x++) { |
|
|
for (let x = 0; x < columns[z].list.length; x++) { |
|
|
let a = JSON.parse(JSON.stringify(columns[z].list[x])); |
|
|
let a = JSON.parse(JSON.stringify(columns[z].list[x])); |
|
|
if (a.type == "radio" || a.type == "select") { |
|
|
if (a.type == "radio" || a.type == "select") { |
|
|
radioSelectShowConfigArr.push(a.control.glxxsz); |
|
|
if(!a.control.multiple){ |
|
|
|
|
|
radioSelectShowConfigArr.push(a.control.glxxsz); |
|
|
|
|
|
}else{ |
|
|
|
|
|
checkboxShowConfigArr.push(a.control.glxxsz); |
|
|
|
|
|
} |
|
|
|
|
|
//radioSelectShowConfigArr.push(a.control.glxxsz); |
|
|
} else if (a.type == "checkbox") { |
|
|
} else if (a.type == "checkbox") { |
|
|
checkboxShowConfigArr.push(a.control.glxxszForCheckBox); |
|
|
checkboxShowConfigArr.push(a.control.glxxszForCheckBox); |
|
|
} else if (a.type == "switch") { |
|
|
} else if (a.type == "switch") { |
|
|
@ -897,9 +916,13 @@ function showOrHide(data: any) { |
|
|
if (a.list.length > 0) { |
|
|
if (a.list.length > 0) { |
|
|
for (let m = 0; m < a.list.length; m++) { |
|
|
for (let m = 0; m < a.list.length; m++) { |
|
|
let q = JSON.parse(JSON.stringify(a.list[m])); |
|
|
let q = JSON.parse(JSON.stringify(a.list[m])); |
|
|
//console.log(q) |
|
|
|
|
|
if (q.type == "radio" || q.type == "select") { |
|
|
if (q.type == "radio" || q.type == "select") { |
|
|
radioSelectShowConfigArr.push(q.control.glxxsz); |
|
|
if(!q.control.multiple){ |
|
|
|
|
|
radioSelectShowConfigArr.push(q.control.glxxsz); |
|
|
|
|
|
}else{ |
|
|
|
|
|
checkboxShowConfigArr.push(q.control.glxxsz); |
|
|
|
|
|
} |
|
|
|
|
|
//radioSelectShowConfigArr.push(q.control.glxxsz); |
|
|
} else if (q.type == "checkbox") { |
|
|
} else if (q.type == "checkbox") { |
|
|
checkboxShowConfigArr.push(q.control.glxxszForCheckBox); |
|
|
checkboxShowConfigArr.push(q.control.glxxszForCheckBox); |
|
|
} else if (q.type == "switch") { |
|
|
} else if (q.type == "switch") { |
|
|
|