代码拉取完成,页面将自动刷新
同步操作将从 gujiejing/WEBWMS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
aaabbbb
cccc
ddd
eee
eerereresss
ereresss11233456
ffffff
暂时不需要的代码临时存放点
$('#queryRemindType').combobox({
url : '<%=request.getContextPath()%>/change/change_getRemindTypeSelect.action',
valueField : 'id',
textField : 'text',
editable : false,
cache: false,
async:false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.codeType = 'REMIND_EVENT';
param.theCurrentPageMenuCode = menuCode;
param.parentCode = 'ROOT';
param.defaultValue= remindType;
},
onLoadSuccess: function (res) {
$("#queryRemindType").combobox('setValue',remindType);
}
});
$('#eventDatagrid').datagrid('reload',{
isQuery:"true",
'eventQueryVO.eventNo':eventNo,
'eventQueryVO.declarantName':queryDeclarantName,
'eventQueryVO.declarantNo':queryDeclarantNo,
'eventQueryVO.department' : queryDeptCode,
'eventQueryVO.mainEvent' : queryMainEvent,
'eventQueryVO.subEvent' : querySubEvent,
'eventQueryVO.application' : queryApplication,
'eventQueryVO.priorityLevel' : queryPriority,
'eventQueryVO.title':title,
'eventQueryVO.status':queryStatus,
'eventQueryVO.declareTimeBefore':queryDStartDate,
'eventQueryVO.declareTimeAfter':queryDEndDate,
'eventQueryVO.closeTimeBefore':queryEStartDate,
'eventQueryVO.closeTimeAfter':queryEEndDate,
'eventQueryVO.secondlineMember':secondlineMember,
'eventQueryVO.frontlineMember':frontlineMember,
'eventQueryVO.remindType':queryRemindType,
'menuCode' : menuCode//当前页面的菜单代码
}).datagrid('unselectAll');
$('#eventResolveDatagrid').datagrid('reload');
var queryApplication = $("#queryApplication").combobox('getValue');
$("#queryApplication").combobox('setValue','');
$('#queryApplication').combobox({
url : '<%=request.getContextPath()%>/common/common_findPropertyCodeByPCode.action',
valueField : 'id',
textField : 'text',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_APPLICATION';
param.theCurrentPageMenuCode = menuCode;
param.parentCode = 'ROOT';
}
});
$('#queryRemindType').combobox({
url : '<%=request.getContextPath()%>/incident/event_getRemindTypeSelect.action',
valueField : 'id',
textField : 'text',
editable : false,
cache: false,
async:false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.codeType = 'REMIND_EVENT';
param.theCurrentPageMenuCode = menuCode;
param.parentCode = 'ROOT';
param.defaultValue= remindType;
},
onLoadSuccess: function (res) {
$("#queryRemindType").combobox('setValue',remindType);
}
});
$("#queryPriority").combobox({
valueField : 'label',
textField : 'value',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
data: [{
label: '1',
value: '优先级1'
},{
label: '2',
value: '优先级2'
},{
label: '3',
value: '优先级3'
},{
label: '4',
value: '优先级4'
},{
label: '5',
value: '优先级5'
}]
});
$("#queryStatus").combobox({
valueField : 'label',
textField : 'value',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
data: [{
label: '1',
value: '创建'
},{
label: '2',
value: '分派中'
},{
label: '3',
value: '处理中'
},{
label: '4',
value: '退回'
},{
label: '5',
value: '待反馈'
},{
label: '6',
value: '关闭'
},{
label: '7',
value: '挂起'
},{
label: '8',
value: '挂起恢复'
}]
});
//事件分类
$('#queryMainEvent').combobox({
url : '<%=request.getContextPath()%>/common/common_findPropertyCodeByPCode.action',
valueField : 'id',
textField : 'text',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_MAINEVENT';
param.theCurrentPageMenuCode = menuCode;
param.parentCode = 'ROOT';
},
onSelect:function(record){
$('#querySubEvent').combobox({
url : '<%=request.getContextPath()%>/common/common_findPropertyCodeByPCode.action',
valueField : 'id',
textField : 'text',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_SUBEVENT';
param.theCurrentPageMenuCode = menuCode;
param.parentCode = record.id;
},
onSelect:function(record) {
}
});
}
});
<td class="td-left">
<input type="text" class="easyui-combobox" style="width:200px" id="queryApplication" name="eventQueryVO.application" />
</td>
cust.php 下的
<!--
<div id="alldate">
<table border="1">
<tr>
<td>ID</td>
<td>客户ID</td>
<td>客户中文描述</td>
<td>客户英文描述</td>
<td>客户地址</td>
<td>客户联系电话</td>
<td>客户联系人</td>
<td>操作</td>
</tr>
<?php do { ?>
<tr>
<td><?php echo $row_Rec['id'];?></td>
<td><?php echo $row_Rec['custid'];?></td>
<td><?php echo $row_Rec['custcn'];?></td>
<td><?php echo $row_Rec['custen'];?></td>
<td><?php echo $row_Rec['addr'];?></td>
<td><?php echo $row_Rec['tel'];?></td>
<td><?php echo $row_Rec['contact'];?></td>
<td>
<a href="#" id="<?php echo $row_Rec['id'];?>">MODIFY</a>
|
<a href="#" id="<?php echo $row_Rec['id'];?>">DEL</a>
</td>
</tr>
<?php } while ($row_Rec = mysql_fetch_assoc($result)); ?>
</table>
</div>
-->
//初始化--事件大类
$('#sjdl').combobox({
url:'<%=request.getContextPath() %>/common/common_findPropertyCodeByType.action',
valueField:'customCode',
textField:'name',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_INCIDENT_CLASS';
param.theCurrentPageMenuCode = theCurrentPageMenuCode;
}
});
//初始化--事件小类
$('#sjxl').combobox({
url:'<%=request.getContextPath() %>/common/common_findPropertyCodeByType.action',
valueField:'customCode',
textField:'name',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_INCIDENT_TYPE';
param.theCurrentPageMenuCode = theCurrentPageMenuCode;
}
});
//初始化--事件状态
$('#sjzt').combobox({
url:'<%=request.getContextPath() %>/common/common_findPropertyCodeByType.action',
valueField:'customCode',
textField:'name',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_INCIDENT_STATUS';
param.theCurrentPageMenuCode = theCurrentPageMenuCode;
},
onLoadSuccess:function(){
$("#sjzt").combobox("setValue",'0002');
}
});
//初始化-来源类型
$('#lylx').combobox({
url:'<%=request.getContextPath() %>/common/common_findPropertyCodeByType.action',
valueField:'customCode',
textField:'name',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_INCIDENT_SOURCE_TYPE';
param.theCurrentPageMenuCode = theCurrentPageMenuCode;
},
onLoadSuccess:function(){
$("#lylx").combobox("setValue",'00');
}
});
//影响度
$("#important").combobox({
url:'<%=request.getContextPath() %>/common/common_findPropertyCodeByType.action',
valueField:'customCode',
textField:'name',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_BAS_IMPORTANCE';
param.theCurrentPageMenuCode = theCurrentPageMenuCode;
},
onLoadSuccess: function(){
var data=$('#important').combobox('getData');
if(data.length>0){
$('#important').combobox('setValue', '03');
}
},
onChange:function(newValue,oldValue){
//获取影响度
var importantCode = newValue;
//获取紧急度的值
var urgencyCode = $("#urgency").combobox('getValue');
if(urgencyCode != ""){
//根据影响度,紧急度联动,带出优先级
$.ajax({
type:'POST',
url:'<%=request.getContextPath()%>/incident/incident_getPriorityCode.action',
data: {importantCode:importantCode,urgencyCode:urgencyCode},
dataType:'json',
success:function(data){
$("#priority").combobox("setValue",data);
}
})
}
}
});
//紧急度
$("#urgency").combobox({
url:'<%=request.getContextPath() %>/common/common_findPropertyCodeByType.action',
valueField:'customCode',
textField:'name',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_BAS_URGENCY';
param.theCurrentPageMenuCode = theCurrentPageMenuCode;
},
onChange:function(newValue,oldValue){
//获取紧急度的值
var urgencyCode = newValue;
//获取影响度的值
var importantCode = $("#urgency").combobox('getValue');
if(importantCode != ""){
//根据影响度,紧急度联动,带出优先级
$.ajax({
type:'POST',
url:'<%=request.getContextPath()%>/incident/incident_getPriorityCode.action',
data: {importantCode:importantCode,urgencyCode:urgencyCode},
dataType:'json',
success:function(data){
$("#priority").combobox("setValue",data);
}
})
}
}
});
//实现优先级-影响度-紧急度-下拉菜单的三级联动
$('#priority').combobox({
url:'<%=request.getContextPath() %>/common/common_findPropertyCodeByType.action',
valueField:'customCode',
textField:'name',
editable : false,
panelHeight : 'auto',
panelMaxHeight : 200,
onBeforeLoad: function(param){
param.typeCode = 'ITSM_BAS_PRIORITY';
param.theCurrentPageMenuCode = theCurrentPageMenuCode;
},
onChange:function(newValue, oldValue){
//不同优先级对应不同的时间期限
var days;
var lastTime;
//下拉菜单选项改变之后,后续的出现联动。
if(newValue == "01"){
$.ajax({
url:'<%=request.getContextPath()%>/incident/incident_getDays.action',
type:'POST',
data:{'code':newValue},
success:function(d){
var n =eval('('+d+')');
days = parseInt(n);
lastTime = new Date();
//根据选择的优先级----自动带出最晚完成时间
lastTime.setDate(lastTime.getDate()+days);
year = lastTime.getFullYear();
month = lastTime.getMonth()+1;
day = lastTime.getDate();
hour = lastTime.getHours();
min = lastTime.getMinutes();
if(month < 10){month = "0"+month;}
if(day < 10){day = "0"+day;}
if(hour < 10){hour = "0"+hour;}
if(min < 10){min = "0"+min;}
var endCompleteTime = year+"-"+month+"-"+day+" "+hour+":"+min;
$("#endTime").textbox("setValue",endCompleteTime);
}
});
}else if(newValue == "02"){
$.ajax({
url:'<%=request.getContextPath()%>/incident/incident_getDays.action',
type:'POST',
data:{'code':newValue},
success:function(d){
var n =eval('('+d+')');
days = parseInt(n);
lastTime = new Date();
//根据选择的优先级----自动带出最晚完成时间
lastTime.setDate(lastTime.getDate()+days);
year = lastTime.getFullYear();
month = lastTime.getMonth()+1;
day = lastTime.getDate();
hour = lastTime.getHours();
min = lastTime.getMinutes();
if(month < 10){month = "0"+month;}
if(day < 10){day = "0"+day;}
if(hour < 10){hour = "0"+hour;}
if(min < 10){min = "0"+min;}
var endCompleteTime = year+"-"+month+"-"+day+" "+hour+":"+min;
$("#endTime").textbox("setValue",endCompleteTime);
}
});
}else if(newValue == "03"){
$.ajax({
url:'<%=request.getContextPath()%>/incident/incident_getDays.action',
type:'POST',
data:{'code':newValue},
success:function(d){
var n =eval('('+d+')');
days = parseInt(n);
lastTime = new Date();
//根据选择的优先级----自动带出最晚完成时间
lastTime.setDate(lastTime.getDate()+days);
year = lastTime.getFullYear();
month = lastTime.getMonth()+1;
day = lastTime.getDate();
hour = lastTime.getHours();
min = lastTime.getMinutes();
if(month < 10){month = "0"+month;}
if(day < 10){day = "0"+day;}
if(hour < 10){hour = "0"+hour;}
if(min < 10){min = "0"+min;}
var endCompleteTime = year+"-"+month+"-"+day+" "+hour+":"+min;
$("#endTime").textbox("setValue",endCompleteTime);
}
});
}else if(newValue == "04"){
$.ajax({
url:'<%=request.getContextPath()%>/incident/incident_getDays.action',
type:'POST',
data:{'code':newValue},
success:function(d){
var n =eval('('+d+')');
days = parseInt(n);
lastTime = new Date();
//根据选择的优先级----自动带出最晚完成时间
lastTime.setDate(lastTime.getDate()+days);
year = lastTime.getFullYear();
month = lastTime.getMonth()+1;
day = lastTime.getDate();
hour = lastTime.getHours();
min = lastTime.getMinutes();
if(month < 10){month = "0"+month;}
if(day < 10){day = "0"+day;}
if(hour < 10){hour = "0"+hour;}
if(min < 10){min = "0"+min;}
var endCompleteTime = year+"-"+month+"-"+day+" "+hour+":"+min;
$("#endTime").textbox("setValue",endCompleteTime);
}
});
}else if(newValue == "05"){
$.ajax({
url:'<%=request.getContextPath()%>/incident/incident_getDays.action',
type:'POST',
data:{'code':newValue},
success:function(d){
var n =eval('('+d+')');
days = parseInt(n);
lastTime = new Date();
//根据选择的优先级----自动带出最晚完成时间
lastTime.setDate(lastTime.getDate()+days);
year = lastTime.getFullYear();
month = lastTime.getMonth()+1;
day = lastTime.getDate();
hour = lastTime.getHours();
min = lastTime.getMinutes();
if(month < 10){month = "0"+month;}
if(day < 10){day = "0"+day;}
if(hour < 10){hour = "0"+hour;}
if(min < 10){min = "0"+min;}
var endCompleteTime = year+"-"+month+"-"+day+" "+hour+":"+min;
$("#endTime").textbox("setValue",endCompleteTime);
}
});
}
}
});
[{
"id":1,
"text":"Java",
"desc":"Write once, run anywhere"
},{
"id":2,
"text":"C#",
"desc":"One of the programming languages designed for the Common Language Infrastructure"
},{
"id":3,
"text":"Ruby",
"selected":true,
"desc":"A dynamic, reflective, general-purpose object-oriented programming language"
},{
"id":4,
"text":"Perl",
"desc":"A high-level, general-purpose, interpreted, dynamic programming language"
},{
"id":5,
"text":"Basic",
"desc":"A family of general-purpose, high-level programming languages"
}]
[{
"value":"f20",
"text":"Firefox 2.0 or higher",
"group":"Firefox"
},{
"value":"f15",
"text":"Firefox 1.5.x",
"group":"Firefox"
},{
"value":"f10",
"text":"Firefox 1.0.x",
"group":"Firefox"
},{
"value":"ie7",
"text":"Microsoft Internet Explorer 7.0 or higher",
"group":"Microsoft Internet Explorer"
},{
"value":"ie6",
"text":"Microsoft Internet Explorer 6.x",
"group":"Microsoft Internet Explorer"
},{
"value":"ie5",
"text":"Microsoft Internet Explorer 5.x",
"group":"Microsoft Internet Explorer"
},{
"value":"ie4",
"text":"Microsoft Internet Explorer 4.x",
"group":"Microsoft Internet Explorer"
},{
"value":"op9",
"text":"Opera 9.0 or higher",
"group":"Opera"
},{
"value":"op8",
"text":"Opera 8.x",
"group":"Opera"
},{
"value":"op7",
"text":"Opera 7.x",
"group":"Opera"
},{
"value":"Safari",
"text":"Safari"
},{
"value":"Other",
"text":"Other"
}]
<input class="easyui-combobox" name="language" style="width:50%"
data-options="
url: 'combobox_data2.json',
method: 'get',
valueField:'value',
textField:'text',
groupField:'group'
">
<p>width: 30%</p>
<input class="easyui-combobox" name="language" style="width:30%"
data-options="
url:'combobox_data1.json',
method:'get',
valueField:'id',
textField:'text',
panelHeight:'auto'
">
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。