|
@@ -259,21 +259,21 @@ export default {
|
|
|
for(let i = 0;i < list.length;i++){
|
|
|
for(let j = 0;j < params.length;j++){
|
|
|
if(list[i].ruleBaseType == params[j].val){
|
|
|
- if(params[j].name){
|
|
|
+ // if(params[j].name){
|
|
|
str += `<p style="padding:0 10px;border-bottom:${i == list.length-1?'0':'1px solid #EBEEF5'};overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" class="collTxt">
|
|
|
- ${params[j].name||' '}
|
|
|
+ ${params[j].name||'-'}
|
|
|
</p>`
|
|
|
- }
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
|
for(let i = 0;i < list.length;i++){
|
|
|
- if(list[i][name]){
|
|
|
- str += `<p style="padding:0 10px;border-bottom:${(i == list.length-1)||(list[i+1]&&!list[i+1][name])?'0':'1px solid #EBEEF5'};overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" class="collTxt">
|
|
|
- ${list[i][name]||' '}
|
|
|
+ // if(list[i][name]){
|
|
|
+ str += `<p style="padding:0 10px;border-bottom:${i == list.length-1?'0':'1px solid #EBEEF5'};overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" class="collTxt">
|
|
|
+ ${list[i][name]||'-'}
|
|
|
</p>`
|
|
|
- }
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
// str += `<p style="padding:0 10px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;border-bottom:${i == list.length-1?'0':'1px solid #EBEEF5'};" class="collTxt">
|