|
@@ -42,18 +42,6 @@
|
|
|
$('#moresee i').removeClass("glyphicon glyphicon-menu-down").addClass("glyphicon glyphicon-menu-up");
|
|
|
}
|
|
|
});
|
|
|
- laydate.render({
|
|
|
- elem: '#beginDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
- event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
- type : 'date'
|
|
|
- , trigger: 'click'
|
|
|
- });
|
|
|
- laydate.render({
|
|
|
- elem: '#endDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
- event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
- type : 'date'
|
|
|
- , trigger: 'click'
|
|
|
- });
|
|
|
});
|
|
|
|
|
|
function reset() {
|
|
@@ -197,132 +185,11 @@
|
|
|
height:100%;
|
|
|
}
|
|
|
</style>
|
|
|
-
|
|
|
- <script>
|
|
|
- function notifyDialogres(title,url,deleteUrl,width,height,target) {
|
|
|
- parent.index = "";
|
|
|
- if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){//如果是移动端,就使用自适应大小弹窗
|
|
|
- width='auto';
|
|
|
- height='auto';
|
|
|
- }else{//如果是PC端,根据用户设置的width和height显示。
|
|
|
-
|
|
|
- }
|
|
|
- top.layer.open({
|
|
|
- type: 2,
|
|
|
- area: [width, height],
|
|
|
- title: title,
|
|
|
- maxmin: true, //开启最大化最小化按钮
|
|
|
- content: url ,
|
|
|
- skin: 'three-btns',
|
|
|
- btn: ['重新申请','作废', '关闭'],
|
|
|
- btn1: function (index, layero) {
|
|
|
- var body = top.layer.getChildFrame('body', index);
|
|
|
- var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
|
|
|
- var inputForm = body.find('#inputForm');
|
|
|
- var top_iframe;
|
|
|
- if (target) {
|
|
|
- top_iframe = target;//如果指定了iframe,则在改frame中跳转
|
|
|
- } else {
|
|
|
- top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe
|
|
|
- }
|
|
|
- inputForm.attr("target", top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
|
|
|
- if (iframeWin.contentWindow.doSubmit(3)) {
|
|
|
- top.layer.close(index);//关闭对话框。
|
|
|
- setTimeout(function () {
|
|
|
- top.layer.close(index)
|
|
|
- }, 100);//延时0.1秒,对应360 7.1版本bug
|
|
|
- }
|
|
|
- },
|
|
|
- btn2:function(index,layero){
|
|
|
- top.layer.confirm("项目作废", {icon: 3, title:'系统提示'}, function(index){
|
|
|
- $.ajax({
|
|
|
- type:'post',
|
|
|
- url:deleteUrl,
|
|
|
- success:function(data){
|
|
|
- top.layer.closeAll();//关闭所有对话框。
|
|
|
- if(data.code == 1){
|
|
|
- top.layer.msg(data.msg, {icon: 1});
|
|
|
- }else{
|
|
|
- top.layer.msg(data.msg, {icon: 0});
|
|
|
- }
|
|
|
- window.location.reload();
|
|
|
- }
|
|
|
- })
|
|
|
- });
|
|
|
- return false;
|
|
|
- },cancel: function(index){
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
- function notifyDialogre(title,url,width,height,target){
|
|
|
- if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){//如果是移动端,就使用自适应大小弹窗
|
|
|
- width='auto';
|
|
|
- height='auto';
|
|
|
- }else{//如果是PC端,根据用户设置的width和height显示。
|
|
|
-
|
|
|
- }
|
|
|
- top.layer.open({
|
|
|
- type: 2,
|
|
|
- area: [width, height],
|
|
|
- title: title,
|
|
|
- skin:"three-btns",
|
|
|
- maxmin: true, //开启最大化最小化按钮
|
|
|
- content: url ,
|
|
|
- btn: ['通过','驳回','关闭'],
|
|
|
- btn1: function(index, layero){
|
|
|
- var body = top.layer.getChildFrame('body', index);
|
|
|
- var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
|
|
|
- var inputForm = body.find('#inputForm');
|
|
|
- var top_iframe;
|
|
|
- if(target){
|
|
|
- top_iframe = target;//如果指定了iframe,则在改frame中跳转
|
|
|
- }else{
|
|
|
- top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe
|
|
|
- }
|
|
|
- inputForm.attr("target",top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
|
|
|
- if(iframeWin.contentWindow.doSubmit(1) ){
|
|
|
- top.layer.close(index);//关闭对话框。
|
|
|
- setTimeout(function(){top.layer.close(index)}, 100);//延时0.1秒,对应360 7.1版本bug
|
|
|
- }
|
|
|
- },
|
|
|
- btn2:function(index,layero){
|
|
|
- var body = top.layer.getChildFrame('body', index);
|
|
|
- var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
|
|
|
- var inputForm = body.find('#inputForm');
|
|
|
- var top_iframe;
|
|
|
- if(target){
|
|
|
- top_iframe = target;//如果指定了iframe,则在改frame中跳转
|
|
|
- }else{
|
|
|
- top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe
|
|
|
- }
|
|
|
- inputForm.attr("target",top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
|
|
|
- if(iframeWin.contentWindow.doSubmit(2) ){
|
|
|
- top.layer.close(index);//关闭对话框。
|
|
|
- setTimeout(function(){top.layer.close(index)}, 100);//延时0.1秒,对应360 7.1版本bug
|
|
|
- }
|
|
|
- return false;
|
|
|
- },
|
|
|
- btn3: function(index){
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- }
|
|
|
- </script>
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="wrapper wrapper-content">
|
|
|
- <%-- <sys:message content="${message}"/>--%>
|
|
|
- <div class="layui-row">
|
|
|
- <div class="full-width fl">
|
|
|
- <%--<div class="list-form-tab contentShadow shadowLTR" id="tabDiv">
|
|
|
- <ul class="list-tabs" >
|
|
|
- <li class="active"><a href="${ctx}/ruralProject/ruralProjectRecords/list">项目登记列表</a></li>
|
|
|
- <li><a href="${ctx}/ruralProject/ruralProjectRecordsAlter/list">项目变更列表</a></li>
|
|
|
- </ul>
|
|
|
- </div>--%>
|
|
|
-
|
|
|
- </div>
|
|
|
+ <sys:message content="${message}"/>
|
|
|
+ <div class="layui-row ">
|
|
|
<div class="full-width fl">
|
|
|
<div class="layui-row contentShadow shadowLR" id="queryDiv">
|
|
|
<form:form id="searchForm" modelAttribute="auditTemplateType" action="${ctx}/auditTemplate/auditTemplateType" method="post" class="form-inline">
|
|
@@ -343,7 +210,6 @@
|
|
|
<input id="module" name="module" htmlEscape="false" maxlength="64" class=" form-control layui-input"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
<div class="layui-item athird">
|
|
|
<div class="input-group">
|
|
|
<a href="#" id="moresee"><i class="glyphicon glyphicon-menu-down"></i></a>
|
|
@@ -351,24 +217,34 @@
|
|
|
<button id="searchQuery" class="layui-btn layui-btn-sm layui-bg-blue" onclick="search()">查询</button>
|
|
|
<button id="searchReset" class="layui-btn layui-btn-sm" onclick="resetSearch()">重置</button>
|
|
|
</div>
|
|
|
-
|
|
|
- <div style="clear:both;"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style=" clear:both;"></div>
|
|
|
+ </div>
|
|
|
+ <div id="moresees" class="commonQuery lw6" style="clear:both;display:none;">
|
|
|
+ <div class="layui-item query athird ">
|
|
|
+ <label class="layui-form-label">审核类型:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="identification" class=" form-control simple-select">
|
|
|
+ <form:option value="" label=""/>
|
|
|
+ <form:options items="${fns:getMainDictList('audit_opinion')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
</form:form>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="full-width fl">
|
|
|
- <div class="layui-form contentDetails contentShadow shadowLBR">
|
|
|
+ <div class=" contentShadow shadowLBR layui-form contentDetails">
|
|
|
<div class="nav-btns">
|
|
|
- <div class="layui-btn-group">
|
|
|
- <table:addRow url="${ctx}/auditTemplate/auditTemplateType/form" title="意见"></table:addRow><!-- 增加按钮 -->
|
|
|
-
|
|
|
- <button class="layui-btn layui-btn-sm" data-toggle="tooltip" data-placement="left" onclick="sortOrRefresh()" title="刷新"> 刷新</button>
|
|
|
+ <div class="layui-btn-group" style="float: left">
|
|
|
+ <table:addRow url="${ctx}/auditTemplate/auditTemplateType/form" title="项目"></table:addRow><!-- 增加按钮 -->
|
|
|
+ <button class="layui-btn layui-btn-sm layui-bg-green" data-toggle="tooltip" data-placement="left" onclick="sortOrRefresh()" title="刷新"> 刷新</button>
|
|
|
</div>
|
|
|
<div style="clear: both;"></div>
|
|
|
</div>
|
|
|
- <table class="oa-table layui-table" id="contentTable1"></table>
|
|
|
+ <table class="oa-table layui-table" id="contentTable"></table>
|
|
|
|
|
|
<!-- 分页代码 -->
|
|
|
<table:page page="${page}"></table:page>
|
|
@@ -378,16 +254,12 @@
|
|
|
</div>
|
|
|
<div id="changewidth"></div>
|
|
|
</div>
|
|
|
-
|
|
|
-
|
|
|
+<script src="${ctxStatic}/layer-v2.3/layui/layui.all.js" charset="utf-8"></script>
|
|
|
<script>
|
|
|
-
|
|
|
-
|
|
|
layui.use('table', function(){
|
|
|
layui.table.render({
|
|
|
limit:${ page.pageSize }
|
|
|
- ,id:"checkboxTable"
|
|
|
- ,elem: '#contentTable1'
|
|
|
+ ,elem: '#contentTable'
|
|
|
,page: false
|
|
|
,cols: [[
|
|
|
// {checkbox: true, fixed: true},
|
|
@@ -419,7 +291,7 @@
|
|
|
,"id":"${auditTemplateType.id}"
|
|
|
,"module":"${auditTemplateType.module}"
|
|
|
,"flowPath":"${auditTemplateType.flowPath}"
|
|
|
- ,"identification":"${auditTemplateType.identification}"
|
|
|
+ ,"identification":"${fns:getMainDictLabel(auditTemplateType.identification, 'audit_opinion', '')}"
|
|
|
|
|
|
}
|
|
|
</c:forEach>
|