<@q.column title="操作详情" >
<#if operatedetail??>
<#if operatedetail?length gt 500 >
<p class="open">展开查看详情...</p>
<div>
<#if operatedetail?contains(',修改前信息和修改后信息比对【修改前后不一致会提示】') && operatedetail?contains('||')>
<#list operatedetail?split("||") as s>
<#if s?contains(',修改前信息和修改后信息比对【修改前后不一致会提示】')>
${s?replace(",修改前信息和修改后信息比对【修改前后不一致会提示】:<p>","<br/>修改前:")}
<#elseif s?contains('【已修改】</font></p><p>')>
${'${s?replace(" to","<br/>修改后:")}'?replace("【已修改】</font></p><p>","<br/>修改前:")}
<#else>
${'${s?replace(" to","<br/>修改后:")}'?replace("【已修改】</font></p>","")}
</#if>
</#list>
</#if>
</div>
<#else>
<#if operatedetail?contains(',修改前信息和修改后信息比对【修改前后不一致会提示】') && operatedetail?contains('||')>
<#list operatedetail?split("||") as s>
<#if s?contains(',修改前信息和修改后信息比对【修改前后不一致会提示】')>
${s?replace(",修改前信息和修改后信息比对【修改前后不一致会提示】:<p>","<br/>修改前:")}
<#elseif s?contains('【已修改】</font></p><p>')>
${'${s?replace(" to","<br/>修改后:")}'?replace("【已修改】</font></p><p>","<br/>修改前:")}
<#else>
${'${s?replace(" to","<br/>修改后:")}'?replace("【已修改】</font></p>","")}
</#if>
</#list>
<#else>
${operatedetail?if_exists}
</#if>
</#if>
</#if>
</@q.column>
来源:CSDN
作者:百事可乐罐
链接:https://blog.csdn.net/qq_41323619/article/details/103596555