109 lines
4.6 KiB
Plaintext
109 lines
4.6 KiB
Plaintext
|
|
<div id="grid_detail">
|
||
|
|
<div class="grid_toolbar">
|
||
|
|
<table style="width:100%;">
|
||
|
|
<tr>
|
||
|
|
<td style="width:100%;">
|
||
|
|
<#if pg=='1' || pg=='2'>
|
||
|
|
<#if pg_check!='5'>
|
||
|
|
<button type="button" id="btn1" ui-config="style:'button_submit'">新建
|
||
|
|
</button>
|
||
|
|
|
||
|
|
<button type="button" id="btn2" ui-config="style:'button_danger'">删除
|
||
|
|
</button>
|
||
|
|
</#if>
|
||
|
|
</#if>
|
||
|
|
<#if pg=='3'>
|
||
|
|
<button type="button" id="btn3" ui-config="style:'button_submit'">部门管理员审批
|
||
|
|
</button>
|
||
|
|
</#if>
|
||
|
|
<#if pg=='4'>
|
||
|
|
<button type="button" id="btn4" ui-config="style:'button_submit'">部门领导审批
|
||
|
|
</button>
|
||
|
|
</#if>
|
||
|
|
<#if pg=='1'|| pg=='3'|| pg=='4'>
|
||
|
|
<button type="button" id="btn_history" ui-config="style:'button_submit'">资料审批历史记录
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btnWorkflow" ui-config="style:'button_submit'">审批流程
|
||
|
|
</button>
|
||
|
|
</#if>
|
||
|
|
|
||
|
|
<#if pg=="3" || pg=="4">
|
||
|
|
<#-- <span id="approverfont" style="font-weight: bold;display: none">审批人:</span><span id="approver" style="font-weight: bold;display: none">{{value.approver}}</span>-->
|
||
|
|
</#if>
|
||
|
|
|
||
|
|
<input type="hidden" id="pg" value="${pg}"/>
|
||
|
|
<input type="hidden" id="pg_check" value="${pg_check}"/>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<input id="searchbox" type="text">
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<table class="grid_data">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<td style="width: 20px;"><input class="grid_selector" type="checkbox" id="cbAll"/></td>
|
||
|
|
<#-- <#if has_edit>-->
|
||
|
|
<td style="width: 80px;">操作</td>
|
||
|
|
<#-- </#if>-->
|
||
|
|
<td style="width: 28px;">序号</td>
|
||
|
|
<td sortfield="title">标题</td>
|
||
|
|
<td sortfield="categoryid">资料分类</td>
|
||
|
|
<td sortfield="provider">提供者</td>
|
||
|
|
<td sortfield="providerdepartname">部门</td>
|
||
|
|
<td sortfield="uploadtime">上传时间</td>
|
||
|
|
<td sortfield="sumok">好评量</td>
|
||
|
|
<#if pg!='2'>
|
||
|
|
<#if pg_check!='5'>
|
||
|
|
<td sortfield="state_desc">状态</td>
|
||
|
|
<#-- <td sortfield="admin_suggestion">部门管理员审批意见</td>-->
|
||
|
|
<#-- <td sortfield="leader_advice">部门领导审批意见</td>-->
|
||
|
|
</#if>
|
||
|
|
</#if>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr class="row{{i%2}}">
|
||
|
|
<td><input class="grid_selector" type="checkbox" id="cb{{i}}"/></td>
|
||
|
|
<td >
|
||
|
|
<#-- <#if has_edit>-->
|
||
|
|
<#if pg_check!='5'>
|
||
|
|
<a class="icon icon_rowedit" title="编辑" href="javascript:void(0);"
|
||
|
|
onclick="editRow('{{value.id}}');"></a>
|
||
|
|
<span class="sep"></span>
|
||
|
|
<a class="icon icon_rowdelete" title="删除" href="javascript:void(0);"
|
||
|
|
onclick="deleteRow(['{{value.id}}'])"></a>
|
||
|
|
<span class="sep"></span>
|
||
|
|
</#if>
|
||
|
|
<#-- </#if>-->
|
||
|
|
<#--<a class="icon icon_rowvideo" title="视频点播" href="javascript:void(0);"-->
|
||
|
|
<#--onclick="swfVideo(['{{value.id}}'])"></a>-->
|
||
|
|
</td>
|
||
|
|
<td>{{i+1}}</td>
|
||
|
|
<td><a title="查看" href="javascript:void(0);"
|
||
|
|
onclick="viewRow('{{value.id}}')">{{value.title}}</a></td>
|
||
|
|
<td>{{value.categoryid | fileCateFilter}}</td>
|
||
|
|
<td>{{value.provider}}</td>
|
||
|
|
<td>{{value.providerdepartname}}</td>
|
||
|
|
<td>{{value.uploadtime | dateTimeFilter}}</td>
|
||
|
|
<td>
|
||
|
|
<span>{{value.sumok}}</span>
|
||
|
|
<a class="icon icon_addOK" style="" title="好评" href="javascript:void(0);"
|
||
|
|
onclick="addOK('{{value.id}}');"></a>
|
||
|
|
</td>
|
||
|
|
<#if pg!='2'>
|
||
|
|
<#if pg_check!='5'>
|
||
|
|
<td>{{value.state_desc}}</td>
|
||
|
|
<#-- <td>{{value.admin_suggestion}}</td>-->
|
||
|
|
<#-- <td>{{value.leader_advice}}</td>-->
|
||
|
|
</#if>
|
||
|
|
</#if>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<div class="grid_pagination"></div>
|
||
|
|
</div>
|
||
|
|
<div class="ui_dialog" id="dialog_edit">
|
||
|
|
</div>
|