|
|
@ -229,7 +229,7 @@ const tableRowClassName = ({ |
|
|
|
}) => { |
|
|
|
}) => { |
|
|
|
let sfcheck=false |
|
|
|
let sfcheck=false |
|
|
|
selectarr.value.map(item=>{ |
|
|
|
selectarr.value.map(item=>{ |
|
|
|
if(item.id==row.id){ |
|
|
|
if(item==row){ |
|
|
|
sfcheck=true |
|
|
|
sfcheck=true |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
@ -264,9 +264,15 @@ function copyalls(column:TableColumnType){ |
|
|
|
let text = ''; |
|
|
|
let text = ''; |
|
|
|
props.tableData.map((item,index)=>{ |
|
|
|
props.tableData.map((item,index)=>{ |
|
|
|
if(index<props.tableData.length-1){ |
|
|
|
if(index<props.tableData.length-1){ |
|
|
|
text+=`${item[column.prop]}\n` |
|
|
|
if(item[column.prop]){ |
|
|
|
|
|
|
|
text+=`${item[column.prop]}\n` |
|
|
|
|
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
text+=`${item[column.prop]}` |
|
|
|
if(item[column.prop]){ |
|
|
|
|
|
|
|
text+=`${item[column.prop]}` |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
@ -518,7 +524,7 @@ watchEffect(()=>{ |
|
|
|
font-size: 12px !important; |
|
|
|
font-size: 12px !important; |
|
|
|
} |
|
|
|
} |
|
|
|
.table-SelectedRow-bgcolor { |
|
|
|
.table-SelectedRow-bgcolor { |
|
|
|
td{ |
|
|
|
>td{ |
|
|
|
background-color:#f7e8d7 !important; |
|
|
|
background-color:#f7e8d7 !important; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|