From 2b543ca35ad4697e31225829be13e375cd2b0259 Mon Sep 17 00:00:00 2001
From: zs <zhoushuai@zbooksoft.com>
Date: 星期三, 04 二月 2026 16:46:00 +0800
Subject: [PATCH] 成果资料退回后需要删除对应附件
---
src/main/webapp/WEB-INF/view/gh/utlStatistics/transferStatistics.jsp | 124 ++++++++++++++++++++++++++++-------------
1 files changed, 85 insertions(+), 39 deletions(-)
diff --git a/src/main/webapp/WEB-INF/view/gh/utlStatistics/transferStatistics.jsp b/src/main/webapp/WEB-INF/view/gh/utlStatistics/transferStatistics.jsp
index 8fc08ea..4656f69 100644
--- a/src/main/webapp/WEB-INF/view/gh/utlStatistics/transferStatistics.jsp
+++ b/src/main/webapp/WEB-INF/view/gh/utlStatistics/transferStatistics.jsp
@@ -65,11 +65,17 @@
<body class="pt-tree">
<div class="archives_statistics">
<h3 class="statistics_title">
- 銆愮Щ浜ょ粺璁°��
+ 銆愯祫鏂欑粺璁°��
</h3>
<div class="option_row clear">
<span class="option_col1">缁熻鏁版嵁杩囨护鏌ヨ</span>
<ul class="clear">
+ <li>缁熻瀛楁锛�
+ <select id="selectParameter" data-options="editable:false" editable="false" class="easyui-combobox" style="width:150px">
+ <option value="yj" selected>绉讳氦缁熻</option>
+ <option value="rk" >鍏ュ簱缁熻</option>
+ </select>
+ </li>
<%-- <li>鏃堕棿锛� <input class="easyui-textbox" id="year"--%>
<%-- style="width:150px; height: 24px;"/>--%>
@@ -125,8 +131,84 @@
// var year = $("#year").numberbox("getValue");
var startDate = $("#startDate").datebox("getValue");
var endDate = $("#endDate").datebox("getValue");
+ var selectParameter = $('#selectParameter').combobox('getValue');
- var url = "utlStatistics/getTransferStatistics?startDate=" + startDate + "&endDate=" + endDate;
+ var columns=[[
+ {
+ field: 'ck',
+ checkbox: true
+ },
+ {
+ field: 'XMKYQMC',
+ title: '椤圭洰鍚嶇О',
+ width: 100,
+ },{
+ field: 'YM',
+ title: '鎬婚〉鐮�',
+ width: 100,
+ }, {
+ field: 'SL',
+ title: '鎬绘暟閲�',
+ width: 100,
+ }, {
+ field: 'TRANSFERCOUNT',
+ title: '绉讳氦璧勬枡浠芥暟',
+ width: 100,
+ },
+ {
+ field: 'TRANSFERTIME',
+ title: '绉讳氦娆℃暟',
+ width: 100,
+ }, {
+ field: 'RETURNTIME',
+ title: '閫�鍥炴鏁�',
+ width: 100,
+ }, {
+ field: 'ACCEPTCOUNT',
+ title: '鎺ユ敹鏁伴噺',
+ width: 100,
+ }, {
+ field: 'TIDYCOUNT',
+ title: '鏁寸悊瀹屾垚鏁伴噺',
+ width: 100,
+ }, {
+ field: 'ACCEPTDATA',
+ title: '鎺ユ敹鏁版嵁閲�',
+ width: 100,
+ }
+ ]]
+ if (selectParameter=='rk'){
+ columns=[[
+ {
+ field: 'ck',
+ checkbox: true
+ },
+ {
+ field: 'XMKYQMC',
+ title: '椤圭洰鍚嶇О',
+ width: 100,
+ },{
+ field: 'YM',
+ title: '鎬婚〉鐮�',
+ width: 100,
+ }, {
+ field: 'SL',
+ title: '鎬绘暟閲�',
+ width: 100,
+ }, {
+ field: 'TRANSFERCOUNT',
+ title: '绉讳氦璧勬枡浠芥暟',
+ width: 100,
+ },
+ {
+ field: 'ACCEPTDATA',
+ title: '鎺ユ敹鏁版嵁閲�',
+ width: 100,
+ }
+ ]]
+ }
+
+ var url = "utlStatistics/getTransferStatistics?selectParameter="+selectParameter+"&startDate=" + startDate + "&endDate=" + endDate;
$("#tb_utilizationForm").datagrid({
rownumbers: true,
method: "get",
@@ -136,43 +218,7 @@
toolbar: "#toolbar_form",
emptyMsg: "娌℃湁鎵惧埌鍖归厤鐨勮褰�",
height: wh - 200,
- columns: [[
- {
- field: 'ck',
- checkbox: true
- },
- {
- field: 'XMKYQMC',
- title: '椤圭洰鍚嶇О',
- width: 100,
- }, {
- field: 'TRANSFERCOUNT',
- title: '绉讳氦璧勬枡浠芥暟',
- width: 100,
- },
- {
- field: 'TRANSFERTIME',
- title: '绉讳氦娆℃暟',
- width: 100,
- }, {
- field: 'RETURNTIME',
- title: '閫�鍥炴鏁�',
- width: 100,
- }, {
- field: 'ACCEPTCOUNT',
- title: '鎺ユ敹鏁伴噺',
- width: 100,
- }, {
- field: 'TIDYCOUNT',
- title: '鏁寸悊瀹屾垚鏁伴噺',
- width: 100,
- }, {
- field: 'ACCEPTDATA',
- title: '鎺ユ敹鏁版嵁閲�',
- width: 100,
- }
- ]]
-
+ columns: columns
})
--
Gitblit v1.9.1