|
@@ -778,6 +778,12 @@
|
|
xml+="</div>";
|
|
xml+="</div>";
|
|
return[xml].join('');
|
|
return[xml].join('');
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ // 单选按钮点击事件
|
|
|
|
+ function switchReport() {
|
|
|
|
+ // var nyr = $('input:radio:checked').val();
|
|
|
|
+ // alert nyr;
|
|
|
|
+ }
|
|
</script>
|
|
</script>
|
|
<style>
|
|
<style>
|
|
body{
|
|
body{
|
|
@@ -805,22 +811,86 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<%--项目报表--%>
|
|
<%--项目报表--%>
|
|
- <div class="form-group-label"><h2>项目${nyr}报</h2></div>
|
|
|
|
|
|
+<%-- <div class="form-group-label"><h2>项目${nyr}报</h2>--%>
|
|
|
|
+ <div class="form-group-label" style="display: block"><h2>项目${nyr}报
|
|
|
|
+<%-- --%>
|
|
|
|
+<%-- --%>
|
|
|
|
+ <div style="float: right;height: 17.9px">
|
|
|
|
+ <input type="radio" name="projectReport" value="year"><span style="font-size: 16px;font-weight: normal" onclick="switchReport">年</span>
|
|
|
|
+ <input type="radio" name="projectReport" value="month" checked="checked"><span style="font-size: 16px;font-weight: normal" onclick="switchReport" >月</span>
|
|
|
|
+ </div>
|
|
|
|
+ </h2>
|
|
|
|
+
|
|
|
|
+<%-- <input type="radio" checked="checked" name="month" style="text-align:left">月--%>
|
|
|
|
+ </div>
|
|
|
|
+<%-- 年月单选按钮--%>
|
|
|
|
+
|
|
<table class="oa-table layui-table" id="contentTable1" lay-filter="test"></table>
|
|
<table class="oa-table layui-table" id="contentTable1" lay-filter="test"></table>
|
|
|
|
|
|
<%--开票报表--%>
|
|
<%--开票报表--%>
|
|
- <div class="form-group-label"><h2>开票${nyr}报</h2></div>
|
|
|
|
|
|
+ <div class="form-group-label"><h2>开票${nyr}报
|
|
|
|
+ <div style="float: right;height: 17.9px">
|
|
|
|
+ <input type="radio" name="projectReport" value="year"><span style="font-size: 16px;font-weight: normal" onclick="switchReport">年</span>
|
|
|
|
+ <input type="radio" name="projectReport" value="month" checked="checked"><span style="font-size: 16px;font-weight: normal" onclick="switchReport" >月</span>
|
|
|
|
+ </div>
|
|
|
|
+ </h2></div>
|
|
<table class="oa-table layui-table" id="contentTable2" lay-filter="test"></table>
|
|
<table class="oa-table layui-table" id="contentTable2" lay-filter="test"></table>
|
|
|
|
|
|
<%--报销报表--%>
|
|
<%--报销报表--%>
|
|
- <div class="form-group-label"><h2>报销${nyr}报</h2></div>
|
|
|
|
|
|
+ <div class="form-group-label"><h2>报销${nyr}报
|
|
|
|
+ <div style="float: right;height: 17.9px">
|
|
|
|
+ <input type="radio" name="projectReport" value="year"><span style="font-size: 16px;font-weight: normal" onclick="switchReport">年</span>
|
|
|
|
+ <input type="radio" name="projectReport" value="month" checked="checked"><span style="font-size: 16px;font-weight: normal" onclick="switchReport" >月</span>
|
|
|
|
+ </div>
|
|
|
|
+ </h2></div>
|
|
<table class="oa-table layui-table" id="contentTable3" lay-filter="test"></table>
|
|
<table class="oa-table layui-table" id="contentTable3" lay-filter="test"></table>
|
|
|
|
|
|
<%--合同报表--%>
|
|
<%--合同报表--%>
|
|
- <div class="form-group-label"><h2>合同${nyr}报</h2></div>
|
|
|
|
|
|
+ <div class="form-group-label"><h2>合同${nyr}报
|
|
|
|
+ <div style="float: right;height: 17.9px">
|
|
|
|
+ <input type="radio" name="projectReport" value="year"><span style="font-size: 16px;font-weight: normal" onclick="switchReport">年</span>
|
|
|
|
+ <input type="radio" name="projectReport" value="month" checked="checked"><span style="font-size: 16px;font-weight: normal" onclick="switchReport" >月</span>
|
|
|
|
+ </div>
|
|
|
|
+ </h2></div>
|
|
<table class="oa-table layui-table" id="contentTable4" lay-filter="test"></table>
|
|
<table class="oa-table layui-table" id="contentTable4" lay-filter="test"></table>
|
|
|
|
|
|
|
|
|
|
|
|
+ <%--项目报表年纪--%>
|
|
|
|
+ <div class="form-group-label"><h2>项目年报
|
|
|
|
+ <div style="float: right;height: 17.9px">
|
|
|
|
+ <input type="radio" name="projectReport" value="year"><span style="font-size: 16px;font-weight: normal" onclick="switchReport">年</span>
|
|
|
|
+ <input type="radio" name="projectReport" value="month" checked="checked"><span style="font-size: 16px;font-weight: normal" onclick="switchReport" >月</span>
|
|
|
|
+ </div>
|
|
|
|
+ </h2></div>
|
|
|
|
+ <table class="oa-table layui-table" id="contentTable5" lay-filter="test"></table>
|
|
|
|
+
|
|
|
|
+ <%--开票年纪--%>
|
|
|
|
+ <div class="form-group-label"><h2>开票年报
|
|
|
|
+ <div style="float: right;height: 17.9px">
|
|
|
|
+ <input type="radio" name="projectReport" value="year"><span style="font-size: 16px;font-weight: normal" onclick="switchReport">年</span>
|
|
|
|
+ <input type="radio" name="projectReport" value="month" checked="checked"><span style="font-size: 16px;font-weight: normal" onclick="switchReport" >月</span>
|
|
|
|
+ </div>
|
|
|
|
+ </h2></div>
|
|
|
|
+ <table class="oa-table layui-table" id="contentTable6" lay-filter="test"></table>
|
|
|
|
+
|
|
|
|
+ <%--报销年纪--%>
|
|
|
|
+ <div class="form-group-label"><h2>报销年报
|
|
|
|
+ <div style="float: right;height: 17.9px">
|
|
|
|
+ <input type="radio" name="projectReport" value="year"><span style="font-size: 16px;font-weight: normal" onclick="switchReport">年</span>
|
|
|
|
+ <input type="radio" name="projectReport" value="month" checked="checked"><span style="font-size: 16px;font-weight: normal" onclick="switchReport" >月</span>
|
|
|
|
+ </div>
|
|
|
|
+ </h2></div>
|
|
|
|
+ <table class="oa-table layui-table" id="contentTable7" lay-filter="test"></table>
|
|
|
|
+
|
|
|
|
+ <%--项目报表年纪--%>
|
|
|
|
+ <div class="form-group-label"><h2>合同年报
|
|
|
|
+ <div style="float: right;height: 17.9px">
|
|
|
|
+ <input type="radio" name="projectReport" value="year"><span style="font-size: 16px;font-weight: normal" onclick="switchReport">年</span>
|
|
|
|
+ <input type="radio" name="projectReport" value="month" checked="checked"><span style="font-size: 16px;font-weight: normal" onclick="switchReport" >月</span>
|
|
|
|
+ </div>
|
|
|
|
+ </h2></div>
|
|
|
|
+ <table class="oa-table layui-table" id="contentTable8" lay-filter="test"></table>
|
|
|
|
+
|
|
<div style="clear: both;"></div>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -996,6 +1066,7 @@
|
|
}}
|
|
}}
|
|
,{field:'field4',align:'center', title: '本${nyr}收款金额'}
|
|
,{field:'field4',align:'center', title: '本${nyr}收款金额'}
|
|
]]
|
|
]]
|
|
|
|
+ //年级报表结束
|
|
,data: [
|
|
,data: [
|
|
//data下是list集合,一定要这样写,不然无逗号分割会报错
|
|
//data下是list集合,一定要这样写,不然无逗号分割会报错
|
|
<c:forEach items="${reportFormList2}" var="reportFormList" varStatus="index">
|
|
<c:forEach items="${reportFormList2}" var="reportFormList" varStatus="index">
|
|
@@ -1065,8 +1136,8 @@
|
|
,page: false
|
|
,page: false
|
|
,cols: [[
|
|
,cols: [[
|
|
// {checkbox: true, fixed: true},
|
|
// {checkbox: true, fixed: true},
|
|
- {field: 'statementDate',align:'center', title: '时间',rowspan:2}
|
|
|
|
- ,{field:'officeName',align:'center', title: '部门',rowspan:2}
|
|
|
|
|
|
+ {field: 'statementDate',align:'center', title: '11时间',rowspan:2}
|
|
|
|
+ ,{field:'officeName',align:'center', title: '11部门',rowspan:2}
|
|
,{field:'field1',align:'center', title: '新增',rowspan:2,templet:function(d){
|
|
,{field:'field1',align:'center', title: '新增',rowspan:2,templet:function(d){
|
|
if("" != d.statementDate){
|
|
if("" != d.statementDate){
|
|
return "<a class=\"attention-info\" title=\"" + d.field1 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('新增', '${ctx}/statement/StatementCompanyComprehensive/contractStatementList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"','95%', '95%')\">" + d.field1 + "</a>";
|
|
return "<a class=\"attention-info\" title=\"" + d.field1 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('新增', '${ctx}/statement/StatementCompanyComprehensive/contractStatementList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"','95%', '95%')\">" + d.field1 + "</a>";
|
|
@@ -1123,6 +1194,259 @@
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
+ //项目报表年级
|
|
|
|
+ layui.use('table', function(){
|
|
|
|
+ layui.table.render({
|
|
|
|
+ elem: '#contentTable5'
|
|
|
|
+ ,page: false
|
|
|
|
+ ,cols: [[
|
|
|
|
+ // {checkbox: true, fixed: true},
|
|
|
|
+ {field: 'statementDate',align:'center', title: '时间',rowspan:2}
|
|
|
|
+ ,{field:'officeName',align:'center', title: '部门',rowspan:2}
|
|
|
|
+ ,{field:'field1',align:'center', title: '新增A类',rowspan:2,templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field1 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('新增A类', '${ctx}/statement/StatementCompanyComprehensive/projectReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeId="+d.officeId+"&year="+d.year+"&grade=2','95%', '95%')\">" + d.field1 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field1 +"'>" +d.field1+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field2',align:'center', title: '新增B类',rowspan:2,templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field2 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('新增B类', '${ctx}/statement/StatementCompanyComprehensive/projectReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeId="+d.officeId+"&year="+d.year+"&grade=1','95%', '95%')\">" + d.field2 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field2 +"'>" +d.field2+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field3',align:'center', title: '本年电子归档',rowspan:2,templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field3 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('本${nyr}电子归档', '${ctx}/statement/StatementCompanyComprehensive/projectReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeId="+d.officeId+"&year="+d.year+"&recordState=5','95%', '95%')\">" + d.field3 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field3 +"'>" +d.field3+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field4',align:'center', title: '本年上报',rowspan:2,templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field4 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('本${nyr}上报', '${ctx}/statement/StatementCompanyComprehensive/projectReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeId="+d.officeId+"&year="+d.year+"&reportedState=5','95%', '95%')\">" + d.field4 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field4 +"'>" +d.field4+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{align:'center', title: '电子超期未归档',colspan: 2}
|
|
|
|
+ ,{align:'center', title: '上报超期',colspan:2}
|
|
|
|
+ ],
|
|
|
|
+ [
|
|
|
|
+ {field:'field5',align:'center',title:'超期未归档',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field5 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('超期未归档', '${ctx}/statement/StatementCompanyComprehensive/projectReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeId="+d.officeId+"&year="+d.year+"&field5=5','95%', '95%')\">" + d.field5 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field5 +"'>" +d.field5+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field6',align:'center',title:'超期已归档',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field6 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('超期已归档', '${ctx}/statement/StatementCompanyComprehensive/projectReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeId="+d.officeId+"&year="+d.year+"&field6=5','95%', '95%')\">" + d.field6 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field6 +"'>" +d.field6+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field7',align:'center',title:'超期未上报',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field7 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('超期未上报', '${ctx}/statement/StatementCompanyComprehensive/projectReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeId="+d.officeId+"&year="+d.year+"&field7=5','95%', '95%')\">" + d.field7 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field7 +"'>" +d.field7+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field8',align:'center',title:'超期已上报',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field8 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('超期已上报', '${ctx}/statement/StatementCompanyComprehensive/projectReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeId="+d.officeId+"&year="+d.year+"&field8=5','95%', '95%')\">" + d.field8 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field8 +"'>" +d.field8+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ]]
|
|
|
|
+ ,data: [
|
|
|
|
+ //data下是list集合,一定要这样写,不然无逗号分割会报错
|
|
|
|
+ <c:forEach items="${reportFormList1}" var="reportFormList" varStatus="index">
|
|
|
|
+ <c:if test="${index.index != 0}">,</c:if>
|
|
|
|
+ {
|
|
|
|
+ "id":"${reportFormList.id}"
|
|
|
|
+ ,"year":"${reportFormList.year}"
|
|
|
|
+ ,"officeId":"${reportFormList.officeId}"
|
|
|
|
+ ,"bigDateType":"${reportFormList.bigDateType}"
|
|
|
|
+ ,"smallDateType":"${reportFormList.smallDateType}"
|
|
|
|
+ ,"statementDate":"${reportFormList.statementDate}"
|
|
|
|
+ ,"officeName":"${reportFormList.officeName}"
|
|
|
|
+ ,"field1":"${reportFormList.field1}"
|
|
|
|
+ ,"field2":"${reportFormList.field2}"
|
|
|
|
+ ,"field3":"${reportFormList.field3}"
|
|
|
|
+ ,"field4":"${reportFormList.field4}"
|
|
|
|
+ ,"field5":"${reportFormList.field5}"
|
|
|
|
+ ,"field6":"${reportFormList.field6}"
|
|
|
|
+ ,"field7":"${reportFormList.field7}"
|
|
|
|
+ ,"field8":"${reportFormList.field8}"
|
|
|
|
+ }
|
|
|
|
+ </c:forEach>
|
|
|
|
+ ]
|
|
|
|
+ ,limit: 100
|
|
|
|
+ });
|
|
|
|
+ })
|
|
|
|
+ //项目报表年级结束
|
|
|
|
+
|
|
|
|
+ //开票报表开始
|
|
|
|
+ layui.use('table', function(){
|
|
|
|
+ layui.table.render({
|
|
|
|
+ elem: '#contentTable6'
|
|
|
|
+ ,page: false
|
|
|
|
+ ,cols: [[
|
|
|
|
+ // {checkbox: true, fixed: true},
|
|
|
|
+ {field: 'statementDate',align:'center', title: '时间'}
|
|
|
|
+ ,{field:'officeName',align:'center', title: '部门'}
|
|
|
|
+ ,{field:'field1',align:'center', title: '新增发票',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field1 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('新增发票', '${ctx}/statement/StatementCompanyComprehensive/billingReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"&newlyAdded=5','95%', '95%')\">" + d.field1 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field1 +"'>" +d.field1+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field2',align:'center', title: '开票金额'}
|
|
|
|
+ ,{field:'field3',align:'center', title: '本${nyr}收款发票',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field3 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('本${nyr}收款发票', '${ctx}/statement/StatementCompanyComprehensive/billingReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"&collectionThisMonth=5','95%', '95%')\">" + d.field3 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field3 +"'>" +d.field3+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field4',align:'center', title: '本${nyr}收款金额'}
|
|
|
|
+ ]]
|
|
|
|
+ //年级报表结束
|
|
|
|
+ ,data: [
|
|
|
|
+ //data下是list集合,一定要这样写,不然无逗号分割会报错
|
|
|
|
+ <c:forEach items="${reportFormList2}" var="reportFormList" varStatus="index">
|
|
|
|
+ <c:if test="${index.index != 0}">,</c:if>
|
|
|
|
+ {
|
|
|
|
+ "id":"${reportFormList.id}"
|
|
|
|
+ ,"year":"${reportFormList.year}"
|
|
|
|
+ ,"officeId":"${reportFormList.officeId}"
|
|
|
|
+ ,"bigDateType":"${reportFormList.bigDateType}"
|
|
|
|
+ ,"smallDateType":"${reportFormList.smallDateType}"
|
|
|
|
+ ,"statementDate":"${reportFormList.statementDate}"
|
|
|
|
+ ,"officeName":"${reportFormList.officeName}"
|
|
|
|
+ ,"field1":"${reportFormList.field1}"
|
|
|
|
+ ,"field2":"${reportFormList.field2}"
|
|
|
|
+ ,"field3":"${reportFormList.field3}"
|
|
|
|
+ ,"field4":"${reportFormList.field4}"
|
|
|
|
+ }
|
|
|
|
+ </c:forEach>
|
|
|
|
+ ]
|
|
|
|
+ ,limit: 100
|
|
|
|
+ });
|
|
|
|
+ })
|
|
|
|
+ // 开票报表结束
|
|
|
|
+
|
|
|
|
+ //报销列表开始
|
|
|
|
+ layui.use('table', function(){
|
|
|
|
+ layui.table.render({
|
|
|
|
+ elem: '#contentTable7'
|
|
|
|
+ ,page: false
|
|
|
|
+ ,cols: [[
|
|
|
|
+ // {checkbox: true, fixed: true},
|
|
|
|
+ {field: 'statementDate',align:'center', title: '时间'}
|
|
|
|
+ ,{field:'officeName',align:'center', title: '部门'}
|
|
|
|
+ ,{field:'field1',align:'center', title: '新增报销',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field1 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('新增报销', '${ctx}/statement/StatementCompanyComprehensive/reimbursementReportList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"','95%', '95%')\">" + d.field1 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field1 +"'>" +d.field1+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field2',align:'center', title: '报销金额'}
|
|
|
|
+ ]]
|
|
|
|
+ ,data: [
|
|
|
|
+ //data下是list集合,一定要这样写,不然无逗号分割会报错
|
|
|
|
+ <c:forEach items="${reportFormList3}" var="reportFormList" varStatus="index">
|
|
|
|
+ <c:if test="${index.index != 0}">,</c:if>
|
|
|
|
+ {
|
|
|
|
+ "id":"${reportFormList.id}"
|
|
|
|
+ ,"year":"${reportFormList.year}"
|
|
|
|
+ ,"officeId":"${reportFormList.officeId}"
|
|
|
|
+ ,"bigDateType":"${reportFormList.bigDateType}"
|
|
|
|
+ ,"smallDateType":"${reportFormList.smallDateType}"
|
|
|
|
+ ,"statementDate":"${reportFormList.statementDate}"
|
|
|
|
+ ,"officeName":"${reportFormList.officeName}"
|
|
|
|
+ ,"field1":"${reportFormList.field1}"
|
|
|
|
+ ,"field2":"${reportFormList.field2}"
|
|
|
|
+ }
|
|
|
|
+ </c:forEach>
|
|
|
|
+ ]
|
|
|
|
+ ,limit: 100
|
|
|
|
+ });
|
|
|
|
+ })
|
|
|
|
+ //报销列表结束
|
|
|
|
+
|
|
|
|
+ // 合同报表开始
|
|
|
|
+ layui.use('table', function(){
|
|
|
|
+ layui.table.render({
|
|
|
|
+ elem: '#contentTable8'
|
|
|
|
+ ,page: false
|
|
|
|
+ ,cols: [[
|
|
|
|
+ // {checkbox: true, fixed: true},
|
|
|
|
+ {field: 'statementDate',align:'center', title: '时间',rowspan:2}
|
|
|
|
+ ,{field:'officeName',align:'center', title: '部门',rowspan:2}
|
|
|
|
+ ,{field:'field1',align:'center', title: '新增',rowspan:2,templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field1 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('新增', '${ctx}/statement/StatementCompanyComprehensive/contractStatementList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"','95%', '95%')\">" + d.field1 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field1 +"'>" +d.field1+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field2',align:'center', title: '本年纸质归档',rowspan:2,templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field2 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('本${nyr}纸质归档', '${ctx}/statement/StatementCompanyComprehensive/contractStatementList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"&contractRecordState=5','95%', '95%')\">" + d.field2 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field2 +"'>" +d.field2+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{align:'center', title: '未纸质归档',colspan: 2}
|
|
|
|
+ ],
|
|
|
|
+ [
|
|
|
|
+ {field:'field3',align:'center',title:'超期未归档',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field3 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('超期未归档', '${ctx}/statement/StatementCompanyComprehensive/contractStatementList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"&field3=5','95%', '95%')\">" + d.field3 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field3 +"'>" +d.field3+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ,{field:'field4',align:'center',title:'超期已归档',templet:function(d){
|
|
|
|
+ if("" != d.statementDate){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.field4 + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('超期已归档', '${ctx}/statement/StatementCompanyComprehensive/contractStatementList?bigDateType=" + d.bigDateType +"&smallDateType=" + d.smallDateType +"&officeIdd="+d.officeId+"&year="+d.year+"&field4=5','95%', '95%')\">" + d.field4 + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.field4 +"'>" +d.field4+ "</span>";
|
|
|
|
+ }
|
|
|
|
+ }}
|
|
|
|
+ ]]
|
|
|
|
+ ,data: [
|
|
|
|
+ //data下是list集合,一定要这样写,不然无逗号分割会报错
|
|
|
|
+ <c:forEach items="${reportFormList4}" var="reportFormList" varStatus="index">
|
|
|
|
+ <c:if test="${index.index != 0}">,</c:if>
|
|
|
|
+ {
|
|
|
|
+ "id":"${reportFormList.id}"
|
|
|
|
+ ,"year":"${reportFormList.year}"
|
|
|
|
+ ,"officeId":"${reportFormList.officeId}"
|
|
|
|
+ ,"bigDateType":"${reportFormList.bigDateType}"
|
|
|
|
+ ,"smallDateType":"${reportFormList.smallDateType}"
|
|
|
|
+ ,"statementDate":"${reportFormList.statementDate}"
|
|
|
|
+ ,"officeName":"${reportFormList.officeName}"
|
|
|
|
+ ,"field1":"${reportFormList.field1}"
|
|
|
|
+ ,"field2":"${reportFormList.field2}"
|
|
|
|
+ ,"field3":"${reportFormList.field3}"
|
|
|
|
+ ,"field4":"${reportFormList.field4}"
|
|
|
|
+ }
|
|
|
|
+ </c:forEach>
|
|
|
|
+ ]
|
|
|
|
+ ,limit: 100
|
|
|
|
+ });
|
|
|
|
+ })
|
|
|
|
+ // 合同结束开始
|
|
resizeListTable();
|
|
resizeListTable();
|
|
$("a").on("click",addLinkVisied);
|
|
$("a").on("click",addLinkVisied);
|
|
</script>
|
|
</script>
|