|
|
|
@ -429,6 +429,27 @@ provide(constControlChange, ({ key, value, data, tProp, type, attribute }: any) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//将出现在多选配置中的字段放入radioSelectArr2,radioSelectArr2是未去重的所有可能被隐藏的字段 |
|
|
|
if(checkboxShowConfigArr2.length>0){ |
|
|
|
for(let i = 0;i<checkboxShowConfigArr2.length;i++){ |
|
|
|
if(checkboxShowConfigArr2[i].length>0){ |
|
|
|
for(let j = 0;j<checkboxShowConfigArr2[i].length;j++){ |
|
|
|
if(checkboxShowConfigArr2[i][j].showFields.length>0){ |
|
|
|
for(let n = 0; n<checkboxShowConfigArr2[i][j].showFields.length;n++){ |
|
|
|
let fieldKeyArr = checkboxShowConfigArr2[i][j].showFields[n].split(":") |
|
|
|
let fieldKeyStr = fieldKeyArr[fieldKeyArr.length-1] |
|
|
|
//alert(fieldKeyStr) |
|
|
|
radioSelectArr2.push({ |
|
|
|
toShowFieldKey:fieldKeyStr, |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//以showFields的处理过冒号的每个元素为key,其对应的optionValue为value,新建一个数组radioselectArr3 ---用于组装完整显示隐藏条件、 |
|
|
|
const radioSelectArr3:any[] = [] |
|
|
|
|
|
|
|
|