132 lines
6.2 KiB
Plaintext
132 lines
6.2 KiB
Plaintext
<%@ page language="java" pageEncoding="UTF-8"%>
|
|
<!-- <style type="text/css">
|
|
.select2-container .select2-selection--single{
|
|
height:34px;
|
|
line-height: 34px;
|
|
}
|
|
.select2-selection__arrow{
|
|
margin-top:3px;
|
|
}
|
|
</style> -->
|
|
<script type="text/javascript">
|
|
var showMenu4SelectFun_func = function() {
|
|
$.post(ext.contextPath + '/user/showMenu4Select.do', {formId:"subForm_func",hiddenId:"pid",textId:"_pname"} , function(data) {
|
|
$("#menu4SelectDiv_func").html(data);
|
|
openModal('menu4SelectModal');
|
|
});
|
|
};
|
|
function doworkupdate() {
|
|
// $("#subForm_func").bootstrapValidator('validate');//提交验证
|
|
// if ($("#subForm_func").form('validate')) {
|
|
$.post(ext.contextPath + "/command/importantConfigureWorkOrder/doworkupdate.do", $("#subForm_func2").serialize(), function(result) {
|
|
if (result == 1) {
|
|
$("#table3").bootstrapTable('refresh');
|
|
closeModal('powerModal2');
|
|
}else{
|
|
showAlert('d','保存失败','alertDiv_func');
|
|
}
|
|
},'json');
|
|
// }
|
|
}
|
|
|
|
|
|
var showUser4SelectsFun2 = function() {
|
|
var userIds= $("#workreceiveuser").val();
|
|
$.post(ext.contextPath + '/user/userForSelect.do', {formId:"subForm_func2",hiddenId:"workreceiveuser",textId:"_workreceiveuser",userIds:userIds} , function(data) {
|
|
$("#user4SelectDiv").html(data);
|
|
openModal("user4SelectModal");
|
|
});
|
|
};
|
|
|
|
function docloseedit(){
|
|
closeModal("powerModal2");
|
|
}
|
|
|
|
</script>
|
|
<div class="modal fade" id="powerModal2">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title">修改工单界面</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<!-- 新增界面formid强制为subForm -->
|
|
<form class="form-horizontal " id="subForm_func2">
|
|
<input id="id" name="id" type="hidden" value="${importantConfigureWorkOrder.id}"/>
|
|
<input id="insdt" name="insdt" type="hidden" value="${importantConfigureWorkOrder.insdt}"/>
|
|
<input id="bizid" name="bizid" type="hidden" value="${importantConfigureWorkOrder.bizid}"/>
|
|
<input id="insuser" name="insuser" type="hidden" value="${importantConfigureWorkOrder.insuser}"/>
|
|
<input id="worksenduser" name="worksenduser" type="hidden" value="${importantConfigureWorkOrder.worksenduser}"/>
|
|
<input id="worksenddt" name="worksenddt" type="hidden" value="${importantConfigureWorkOrder.worksenddt}"/>
|
|
<input id="status" name="status" type="hidden" value="${importantConfigureWorkOrder.status}"/>
|
|
<input id="nodeid" name="nodeid" type="hidden" value="${importantConfigureWorkOrder.nodeid}"/>
|
|
<!-- 界面提醒div强制id为alertDiv -->
|
|
<div id="alertDiv_func"></div>
|
|
<!-- <div id="menu4SelectDiv_func"></div> -->
|
|
<!-- <div class="form-group">
|
|
<label class="col-sm-2 control-label">等级</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="grade" name ="grade" placeholder="等级" value="${emergencyConfigureInfo.grade }">
|
|
</div> -->
|
|
|
|
|
|
|
|
<!-- <label class="col-sm-2 control-label">上级菜单</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="_pname" name ="_pname" placeholder="上级菜单" onclick="showMenu4SelectFun_func();" value="${_pname}">
|
|
<input id="pid" name="pid" type="hidden" value="${pid}"/>
|
|
</div> -->
|
|
<!-- </div> -->
|
|
|
|
<!-- <div class="form-group">
|
|
<input id="pid" name="pid" type="hidden" value="${pid}"/>
|
|
<label class="col-sm-3 control-label">关联角色</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="roles" name ="roles" placeholder="关联角色" value="${emergencyConfigureInfo.roles}">
|
|
</div>
|
|
</div> -->
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">任务接收人</label>
|
|
<div class="col-sm-4">
|
|
<!-- <input type="text" class="form-control" id="personliablename" name ="personliablename" placeholder="接单人" value="${emergencyConfigureInfo.personliablename }"> -->
|
|
|
|
<input type="text" class="form-control" id="_workreceiveuser" name ="_workreceiveuser" placeholder="任务接收人" value="${importantConfigureWorkOrder._workreceiveuser}" onclick="showUser4SelectsFun2();">
|
|
<input id="workreceiveuser" name="workreceiveuser" type="hidden" value="${importantConfigureWorkOrder.workreceiveuser}"/>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="form-group">
|
|
<label class="col-sm-3 control-label">*发单人</label>
|
|
<div class="col-sm-4">
|
|
<input type="text" class="form-control" id="issuer" name ="issuer" placeholder="接单人" value="${emergencyConfigureInfo.issuer }">
|
|
</div>
|
|
</div> -->
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-3 control-label">工作内容</label>
|
|
<div class="col-sm-9">
|
|
<!-- <select id ="active_func" name="active" class="form-control select2">
|
|
<option value="启用" >启用</option>
|
|
<option value="禁用" >禁用</option>
|
|
</select> -->
|
|
<input type="text" class="form-control" id="workcontent" name ="workcontent" placeholder="工作内容" value="${importantConfigureWorkOrder.workcontent}">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default pull-left" onclick="docloseedit()">关闭</button>
|
|
<button type="button" class="btn btn-primary" onclick="doworkupdate()">保存</button>
|
|
</div>
|
|
</div>
|
|
<!-- /.modal-content -->
|
|
</div>
|
|
<!-- /.modal-dialog -->
|
|
</div>
|