Commit 6304688f by 朱天成

修改

parent 39e76091
...@@ -151,6 +151,7 @@ function replySaveRow(){ ...@@ -151,6 +151,7 @@ function replySaveRow(){
var v_result = logModule.logActAction.insertReply(items); var v_result = logModule.logActAction.insertReply(items);
if(v_result.NAME=='999'){ if(v_result.NAME=='999'){
$('#logItemInputForm').datagrid('reload'); $('#logItemInputForm').datagrid('reload');
$('#USER_REPLY_CONTENT').textbox("setValue", "")
} }
} }
} }
......
<%@page contentType="text/html; charset=UTF-8"%> <%@page contentType="text/html; charset=UTF-8"%>
<style type="text/css"> <style type="text/css">
.datagrid-header {
position: absolute;
visibility: hidden;
}
#inputForm { #inputForm {
position: relative; position: relative;
} }
.log_reply_list{ .log_reply_list{
position:absolute; position:absolute;
bottom:7%;} bottom:7%;}
.log_item_list div div{
float:left;
}
.log_item_info{
margin-left: 26px;
}
.log_item_index input{
width:120px;
}
.tableStyle span,.log_item_one span{ .tableStyle span,.log_item_one span{
border:none; border:none;
} }
......
...@@ -140,7 +140,7 @@ function editRow(index) { ...@@ -140,7 +140,7 @@ function editRow(index) {
//加载修改子页面成功后的回调 //加载修改子页面成功后的回调
function updateUrlOnloadCallback(is_row){ function updateUrlOnloadCallback(is_row){
initDateBox();
} }
//保存 //保存
......
...@@ -67,12 +67,7 @@ var is_column = [ [ ...@@ -67,12 +67,7 @@ var is_column = [ [
}, },
{field : 'REALLY_END_TIME',title : '实际结束时间',width : 150,align : 'center'}, {field : 'REALLY_END_TIME',title : '实际结束时间',width : 150,align : 'center'},
{field : 'START_TIME',title : '开始时间',width : 150,align : 'center'}, {field : 'START_TIME',title : '开始时间',width : 150,align : 'center'},
{field : 'END_TIME',title : '结束时间',width : 150,align : 'center'}, {field : 'END_TIME',title : '结束时间',width : 150,align : 'center'}
{field : 'CREATE_ID',title : '创建人',width : 80,align : 'center'},
{field : 'CREATE_TIME',title : '创建时间',width : 150,align : 'center'},
{field : 'UPDATE_ID',title : '修改人',width : 80,align : 'center'},
{field : 'UPDATE_TIME',title : '修改时间',width : 150,align : 'center'},
] ]; ] ];
//列表加载完成回调 //列表加载完成回调
function dataOnLoadSuccess(){ function dataOnLoadSuccess(){
......
...@@ -13,6 +13,7 @@ import com.gaowj.business.comp.BusinessManager; ...@@ -13,6 +13,7 @@ import com.gaowj.business.comp.BusinessManager;
import com.gaowj.business.exception.BusinessException; import com.gaowj.business.exception.BusinessException;
import com.gaowj.business.util.QueryParamUtil; import com.gaowj.business.util.QueryParamUtil;
import com.gaowj.business.util.RequestUtils; import com.gaowj.business.util.RequestUtils;
import com.gaowj.business.util.SessionUtil;
import com.gaowj.business.util.Status; import com.gaowj.business.util.Status;
import com.gaowj.standard.utils.CacheKit; import com.gaowj.standard.utils.CacheKit;
...@@ -164,13 +165,16 @@ public class actAction extends BasicAction { ...@@ -164,13 +165,16 @@ public class actAction extends BasicAction {
Map<String, Object> entity = RequestUtils.getUpdateFieldMap(request, RequestUtils.UPDATEDATAFIELDPREFIX); Map<String, Object> entity = RequestUtils.getUpdateFieldMap(request, RequestUtils.UPDATEDATAFIELDPREFIX);
String deletekey = (String) entity.get("CODE"); String deletekey = (String) entity.get("CODE");
List<String> ListKey = QueryParamUtil.StringToList(deletekey); List<String> ListKey = QueryParamUtil.StringToList(deletekey);
String thiscode = (String) entity.get("THISCODE");
String sessioncode = SessionUtil.getCode();
try { try {
business.delete_reply(ListKey); if (thiscode == null || thiscode.equals(sessioncode)) {
// 操作日志 business.delete_reply(ListKey);
SystemOpeBusiness sysbusiness = BusinessManager.getBusiness(SystemOpeBusiness.class); // 操作日志
sysbusiness.insert_logBusiness("deleteLog", "" + ListKey, "删除测试数据", deletekey, "多个流水号", "logdemo1"); SystemOpeBusiness sysbusiness = BusinessManager.getBusiness(SystemOpeBusiness.class);
jsonObject.putAll(Status.getStatusSuccessMessage("删除成功")); sysbusiness.insert_logBusiness("deleteLog", "" + ListKey, "删除测试数据", deletekey, "多个流水号", "logdemo1");
jsonObject.putAll(Status.getStatusSuccessMessage("删除成功"));
}
} catch (Exception e) { } catch (Exception e) {
jsonObject.putAll(Status.getStatusErrorMessage("删除失败")); jsonObject.putAll(Status.getStatusErrorMessage("删除失败"));
e.printStackTrace(); e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment