| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <%@ page contentType="text/html;charset=GBK"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <HEAD>
- <TITLE>资产流向历史</TITLE>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTab.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
- <script type="text/javascript">
- var grid = null;
- $(document).ready(function(){
- searchByKword();
- });
- function loadAssetEmployList(params) {
- grid = $("#assetDirectionGrid")
- .ligerGrid(
- {
- columns : [
- {
- display : '资产编号',
- name : 'asset_id',
- width : 120
- },
- {
- display : '资产名称',
- name : 'asset_name',
- width : 120
- },
- {
- display : '当前状态',
- name : 'cur_state',
- width : 120,
- render : function(row){
- var html = "";
- var state = row.cur_state;
- if(state=='1'){
- html+="闲置";
- }else if(state=='2'){
- html+="领用";
- }else if(state=='3'){
- html+="维修";
- }else if(state=='4'){
- html+="借出";
- }else if(state=='5'){
- html+="报废";
- }
- return html;
- }
- },
- {
- display : '业务类型',
- name : 'work_type',
- width : 120,
- render : function(row){
- var html = "";
- var state = row.work_type;
- if(state=='1'){
- html+="归还";
- }else if(state=='2'){
- html+="领用";
- }else if(state=='3'){
- html+="维修";
- }else if(state=='4'){
- html+="借出";
- }else if(state=='5'){
- html+="报废";
- }
- return html;
- }
- },
- {
- display : '日期',
- name : 'cur_date',
- width : 120
- },
- {
- display : '负责部门',
- name : 'cur_dept_name',
- width : 180
- },
- {
- display : '负责人',
- name : 'cur_user_name',
- width : 120
- }],
- pageSize : 20,
- url : 'assetFlowDirectionAction.do?task=assetFlowDirectionList&assetid=${assetid}'+params
- + '&time='
- + new Date().getTime(),
- pageParmName : 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName : 'pSize', //页记录数参数名,(提交给服务器)
- width : '99.9%',
- height : '99.9%'
- });
- $("#pageloading").hide();
- }
- function searchByKword(){
- var params="";
- loadAssetEmployList(params);
- }
- </script>
- <style type="text/css">
- body {
- padding: 5px;
- margin: 0;
- }
- #layout1 {
- width: 100%;
- margin: 0;
- padding: 0;
- }
- .l-button {
- margin-left: 1px;
- width:100px;
- }
- #deptBtn {
- width: 100%;
- background: #e5ecf9;
- text-align: center;
- height: 25px;
- padding-top: 3px
- }
- .l-layout-left {
- overflow-y: auto;
- }
- </style>
- </HEAD>
- <BODY>
- <%@ include file="/include/button.jsp"%>
- <%@ include file="/include/message.jsp"%>
- <div class="container">
- <form id="report" action="assetFlowDirectionAction.do" method="post" target="_blank">
- <div class="forum-container" >
- <table border="0" cellspacing="1" cellpadding="0" class="l-table-edit line">
- <th>资产流向历史</th>
- </table>
- </div>
- <div style="overflow: hidden; clear: both;">
- <div id="assetDirectionGrid" style="margin: 0; padding: 0"></div>
- </div>
- </form>
- </div>
- </BODY>
- </HTML>
|