Files
ziqim/Yangcai365_design/manage/zview/order/orderBack.zml
T
2025-02-20 14:58:55 +08:00

50 lines
1.8 KiB
Plaintext

${zhiqim_manager_breadcrumb("待办")}
${zhiqim_manager_content()}
${sweet_alert_reuse_method()}
<style>
.goDetail{ cursor: pointer; height:30px; background:#1182fc; color:#fff!important; font-size:12px; width:70px; border-radius:4px; line-height:30px; display:block; text-align: center;}
</style>
<#-- 列表 -->
<table class="z-table z-bordered z-mg-t20 z-pd10 z-bg-white z-lh150p z-text-center">
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="25%">待办状态</td>
<td width="*">待办内容</td>
<td width="15%">通知人</td>
<td width="15%">待办创建时间</td>
<td width="15%">操作</td>
</tr>
<#for item : result.list()>
<tr class="z-h60" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>
<#if item.getMessageType() == 1>待办事项</#if>
<#if item.getMessageType() == 2>已办事项</#if>
<#if item.getMessageType() == 3>已办事项</#if>
</td>
<td>#{item.getMessageBody()}</td>
<td>#{item.getConsumerCode()}</td>
<td>#{Sqls.toDateTimeString(item.getCreateTime())}</td>
<td align="center">
<span class="goDetail" onclick="findInfo('${item.getDesignId()}+','+${item.getMessageType()}')">前往处理</span>
</td>
</tr>
</#for>
${zhiqim_manager_tr_no_record(result, 10, "暂时没有公告")}
</table>
<table class="z-table z-bordered zi-bd-t-none z-bg-white">
<tr class="z-h50">
<td><div class="z-float-right z-mg-r10">${PagingGo.toHtmlLink(result)}</div></td>
</tr>
</table>
${zhiqim_manager_content_end()}
<script>
function findInfo(id,MessageType){
if(MessageType == 1){
open("/allOrderDetail.htm?designId="+id+'&data=copy,userText,userNotice,CustomFile,DesginFile,EndFile,WorkFile,FristThumFile,TbzFile&addRule=CustomFile&delRule=CustomFile');
}else{
alert("该待办已办结");
}
}
</script>