打印页面修改

This commit is contained in:
ly19960718 2021-08-09 13:56:06 +08:00
parent bcd323b888
commit bdb2d1de78
15 changed files with 392 additions and 279 deletions

View File

@ -11,8 +11,6 @@
<link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all"> <link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all">
<link rel="stylesheet" type="text/css" href="assets/js/vendor/viewer/viewer.min.css"> <link rel="stylesheet" type="text/css" href="assets/js/vendor/viewer/viewer.min.css">
<link rel="stylesheet" type="text/css" href="assets/js/vendor/swiper/swiper-bundle.css"> <link rel="stylesheet" type="text/css" href="assets/js/vendor/swiper/swiper-bundle.css">
<style> <style>
.swiper-container { .swiper-container {
width: 90%; width: 90%;
@ -36,55 +34,79 @@
</div> </div>
<script id="data" type="text/html"> <script id="data" type="text/html">
<style>
*{margin:0;padding:0;}
.main{width: 800px;margin: 0 auto;}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #333}
.title h3{font-size: 26px;color: #333;margin-bottom: 10px}
.title p{font-size: 16px;color: #333;}
.content{min-height: 500px;margin-top: 10px;}
.content p{font-size: 18px;color: #000;line-height:35px;}
.title p span{margin-right: 50px}
.button-box{position: fixed;top:20px;right: 40px;}
.button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff}
.moretext {text-indent: 2em}
</style>
<div class="title"> <div class="title">
<h3>{{ d.dutyIndexLibName }}</h3> <h3>{{ d.dutyIndexLibName }}</h3>
<p> <p>
<span>上报时间:{{ d.gmtCreate}}</span> <span>上报时间:{{ d.gmtCreate }}</span>
<span>上报人:{{ d.creatorName }}</span> <span>上报人:{{ d.creatorName }}</span>
</p> </p>
</div> </div>
{{# if(d.imagesList.length > 0) { }} <div class="table-box">
<div class="swiper-container"> <style >
<div class="swiper-wrapper" id="indexGeneralImagesFileBox"> *{margin:0;padding:0;}
{{# layui.each(d.imagesList, function(index, item){ }} .main{width: 1200px;margin: 0 auto;padding-top: 50px;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
<div class="swiper-slide"><img src="route/file/download/false/{{item.fileId}}" align="加载失败"></div> .title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
{{# }); }} .title h3{font-size: 27px;margin-bottom: 10px;color: #1f5781;font-weight: bolder;}
</div> .title p{font-size: 15px;color: #333;}
<!-- 如果需要分页器 --> .title p span{margin-right: 50px}
<div class="swiper-pagination"></div> .tableTitle{text-align: center;font-size: 40px;line-height: 38px}
<!-- 如果需要导航按钮 --> .table-box{margin: 10px 0;}
<!--<div class="swiper-button-prev"></div>--> .table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;}
<!--<div class="swiper-button-next"></div>--> .table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;text-align: center;}
<!-- 如果需要滚动条 --> .button-box{position: fixed;top:20px;right: 40px;}
<div class="swiper-scrollbar"></div> .button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff}
</div> .title{
{{# } }} text-align: center;
<div class="content"> }
<p>标题:{{ d.dutyTitle }}</p> .details{
<p>时间:{{ d.actionTime }}</p> text-align: left;
<p>街道办事处:{{ d.streetOrgName }}</p> /*text-indent: 30px;*/
<p>社区名称:{{ d.communityName }}</p> padding: 0 10px;
<p>工作要求:</p> }
<p class="moretext">{{ d.workRequire }}</p> </style>
<p>措施:</p> <table style="height: 500px">
<p class="moretext">{{ d.workMeasures }}</p> {{# if(d.imagesList.length > 0) { }}
<p >完成情况:</p> <div class="swiper-container">
<p class="moretext">{{ d.completeInfo }}</p> <div class="swiper-wrapper" id="indexGeneralImagesFileBox">
<p>备注:</p> {{# layui.each(d.imagesList, function(index, item){ }}
<p class="moretext">{{ d.remarks }}</p> <div class="swiper-slide"><img src="route/file/download/false/{{item.fileId}}" align="加载失败"></div>
{{# }); }}
</div>
<!-- 如果需要分页器 -->
<div class="swiper-pagination"></div>
<!-- 如果需要导航按钮 -->
<!--<div class="swiper-button-prev"></div>-->
<!--<div class="swiper-button-next"></div>-->
<!-- 如果需要滚动条 -->
<div class="swiper-scrollbar"></div>
</div>
{{# } }}
<tr>
<td class="tableTitle">时间</td>
<td class="details" style="height: 60px">{{ d.actionTime }}</td>
<td class="tableTitle">街道办事处</td>
<td class="details" style="height: 60px">{{ d.streetOrgName }}</td>
<td class="tableTitle">社区名称</td>
<td class="details" style="height: 60px">{{ d.communityName }}</td>
</tr>
<tr>
<td class="tableTitle">工作要求</td>
<td class="details" colspan="5" style="height: 100px">{{ d.workRequire }}</td>
</tr>
<tr>
<td class="tableTitle">措施</td>
<td class="details" colspan="5" style="height: 100px">{{ d.workMeasures }}</td>
</tr>
<tr>
<td class="tableTitle">完成情况</td>
<td class="details" colspan="5" style="height: 100px">{{ d.completeInfo }}</td>
</tr>
<tr>
<td class="tableTitle">备注</td>
<td class="details" colspan="5" style="height: 100px">{{ d.remarks }}</td>
</tr>
</table>
</div> </div>
</script> </script>
<div class="button-box"> <div class="button-box">
@ -185,8 +207,8 @@
function initData() { function initData() {
var loadLayerIndex; var loadLayerIndex;
top.restAjax.get(top.restAjax.path('api/basiccheckpersonaction/get/{reportId}', [reportId]), {}, null, function(code, data) { top.restAjax.get(top.restAjax.path('api/basiccheckpersonaction/get/{reportId}', [reportId]), {}, null, function(code, data) {
initPrintButton(data.indexAuditStatus)
initImages(data) initImages(data)
initPrintButton(data.indexAuditStatus)
}, function(code, data) { }, function(code, data) {
top.dialog.msg(data.msg); top.dialog.msg(data.msg);
}, function() { }, function() {
@ -201,16 +223,16 @@
if(s == '1' || s == '2'){ if(s == '1' || s == '2'){
$(".print").show(); $(".print").show();
} }
}
}
$('.close').on('click', function() { $('.close').on('click', function() {
closeBox(); closeBox();
}); });
$('.print').on('click', function() { $('.print').on('click', function() {
$("#main").jqprint({ $("#main").jqprint({
debug: false, //是否显示iframe查看效果 debug: false, //是否显示iframe查看效果
importCSS: true, importCSS: true,
@ -219,6 +241,7 @@
}); });
}); });
// 校验 // 校验
form.verify({ form.verify({
}); });

View File

@ -19,12 +19,24 @@
</div> </div>
<script id="data" type="text/html"> <script id="data" type="text/html">
<div class="title">{{ d.dutyIndexLibName }}</div> <div class="title">
<h3>{{ d.dutyIndexLibName }}</h3>
<p>
<span>上报时间:{{ d.gmtCreate }}</span>
<span>上报人:{{ d.creatorName }}</span>
</p>
</div>
<div class="table-box"> <div class="table-box">
<style > <style >
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 1000px;margin: 0 auto;padding-top: 50px;} .main{width: 1200px;margin: 0 auto;padding-top: 50px;;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;font-size: 40px;line-height: 38px} .title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 27px;margin-bottom: 10px;color: #1f5781;font-weight: bolder;}
.title p{font-size: 15px;color: #333;}
.title p span{margin-right: 50px}
.tableTitle{text-align: center;font-size: 40px;line-height: 38px}
.table-box{margin: 10px 0;} .table-box{margin: 10px 0;}
.table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;} .table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;}
.table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;} .table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;}
@ -41,15 +53,15 @@
</style> </style>
<table style="height: 500px"> <table style="height: 500px">
<tr> <tr>
<td class="title">单位名称</td> <td class="tableTitle">单位名称</td>
<td class="details" colspan="5" style="height: 50px">{{ d.orgName }}</td> <td class="details" colspan="5" style="height: 50px">{{ d.orgName }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">姓名</td> <td class="tableTitle">姓名</td>
<td class="details" style="height: 60px">{{ d.personName }}</td> <td class="details" style="height: 60px">{{ d.personName }}</td>
<td class="title">职务</td> <td class="tableTitle">职务</td>
<td class="details" style="height: 60px">{{ d.orgJob }}</td> <td class="details" style="height: 60px">{{ d.orgJob }}</td>
<td class="title">性别</td> <td class="tableTitle">性别</td>
<td class="details" style="height: 60px"> <td class="details" style="height: 60px">
{{# if(d.gender=='1'){ }} {{# if(d.gender=='1'){ }}
@ -61,29 +73,29 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="title">民族</td> <td class="tableTitle">民族</td>
<td class="details" style="height: 60px">{{ d.nationName }}</td> <td class="details" style="height: 60px">{{ d.nationName }}</td>
<td class="title">出生年月</td> <td class="tableTitle">出生年月</td>
<td class="details" style="height: 60px">{{ d.birthDate }}</td> <td class="details" style="height: 60px">{{ d.birthDate }}</td>
<td class="title">学历</td> <td class="tableTitle">学历</td>
<td class="details" style="height: 60px">{{ d.educationName }}</td> <td class="details" style="height: 60px">{{ d.educationName }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">毕业院校</td> <td class="tableTitle">毕业院校</td>
<td class="details" style="height: 60px">{{ d.collegeName }}</td> <td class="details" style="height: 60px">{{ d.collegeName }}</td>
<td class="title">入党时间</td> <td class="tableTitle">入党时间</td>
<td class="details" style="height: 60px">{{ d.joinPartyTime }}</td> <td class="details" style="height: 60px">{{ d.joinPartyTime }}</td>
<td class="title">参加工作时间</td> <td class="tableTitle">参加工作时间</td>
<td class="details" style="height: 60px">{{ d.joinWorkTime }}</td> <td class="details" style="height: 60px">{{ d.joinWorkTime }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">备注</td> <td class="tableTitle">备注</td>
<td class="details" colspan="5" style="height: 100px">{{ d.remarks }}</td> <td class="details" colspan="5" style="height: 100px">{{ d.remarks }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">填表人</td> <td class="tableTitle">填表人</td>
<td class="details" colspan="2" style="height: 50px">{{ d.noteTaker }}</td> <td class="details" colspan="2" style="height: 50px">{{ d.noteTaker }}</td>
<td class="title">填表日期</td> <td class="tableTitle">填表日期</td>
<td class="details" colspan="2" style="height: 50px">{{ d.noteDateTime }}</td> <td class="details" colspan="2" style="height: 50px">{{ d.noteDateTime }}</td>
</tr> </tr>
</table> </table>

View File

@ -37,9 +37,9 @@
<script id="data" type="text/html"> <script id="data" type="text/html">
<style> <style>
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 1200px;margin: 0 auto;} .main{width: 1200px;margin: 0 auto;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #333;margin-top:30px;} .title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 26px;color: #333;margin-bottom: 10px} .title h3{font-size: 26px;margin-bottom: 10px;color: #1f5781;font-weight: bolder;}
.title p{font-size: 16px;color: #333;} .title p{font-size: 16px;color: #333;}
.title p span{margin-right: 50px} .title p span{margin-right: 50px}
.content{min-height: 500px;margin-top: 10px;} .content{min-height: 500px;margin-top: 10px;}

View File

@ -17,15 +17,27 @@
</div> </div>
<script id="data" type="text/html"> <script id="data" type="text/html">
<div class="title">{{ d.dutyTitle }}</div> <div class="title">
<h3>{{ d.dutyTitle }}</h3>
<p>
<span>上报时间:{{ d.gmtCreate }}</span>
<span>上报人:{{ d.creatorName }}</span>
</p>
</div>
<div class="table-box"> <div class="table-box">
<style> <style>
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 1000px;margin: 0 auto;padding-top: 50px;} .main{width: 1000px;margin: 0 auto;padding-top: 50px;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;font-size: 24px;line-height: 40px} .title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 27px;margin-bottom: 10px;color: #1f5781;font-weight: bolder;}
.title p{font-size: 15px;color: #333;}
.title p span{margin-right: 50px}
.tableTitle{text-align: center;font-size: 24px;line-height: 40px}
.table-box{margin: 10px 0;} .table-box{margin: 10px 0;}
.table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;} .table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;}
.table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;} .table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;text-align: center;}
.button-box{position: fixed;top:20px;right: 40px;} .button-box{position: fixed;top:20px;right: 40px;}
.button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff} .button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff}
.title{ .title{
@ -33,8 +45,8 @@
} }
.details{ .details{
text-align: left; text-align: left;
text-indent: 30px; /*text-indent: 30px;
padding: 0 10px; padding: 0 10px;*/
} }
</style> </style>
<table style="height: 500px"> <table style="height: 500px">
@ -42,58 +54,58 @@
<!--<td class="title" colspan="6">{{ d.dutyTitle }}</td>--> <!--<td class="title" colspan="6">{{ d.dutyTitle }}</td>-->
<!--</tr>--> <!--</tr>-->
<tr> <tr>
<td class="title">上报类型</td> <td class="tableTitle">上报类型</td>
<td class="title" colspan="4">{{ d.talkTypeName }}</td> <td class="tableTitle" colspan="4">{{ d.talkTypeName }}</td>
<td class="title">单位名称</td> <td class="tableTitle">单位名称</td>
<td class="title" colspan="3">{{ d.orgName}}</td> <td class="tableTitle" colspan="3">{{ d.orgName}}</td>
</tr> </tr>
<tr> <tr>
<td class="title">谈心谈话对象</td> <td class="tableTitle">谈心谈话对象</td>
<td class="title" colspan="2">{{ d.talkObj}}</td> <td class="tableTitle" colspan="2">{{ d.talkObj}}</td>
<td class="title">政治面貌</td> <td class="tableTitle">政治面貌</td>
<td class="title" colspan="2">{{ d.politicalStatus}}</td> <td class="tableTitle" colspan="2">{{ d.politicalStatus}}</td>
<td class="title">单位职务</td> <td class="tableTitle">单位职务</td>
<td class="title" colspan="2">{{ d.orgJob}}</td> <td class="tableTitle" colspan="2">{{ d.orgJob}}</td>
</tr> </tr>
<tr> <tr>
<td class="title">谈话原因</td> <td class="tableTitle">谈话原因</td>
<td class="title" colspan="8" style="height: 100px">{{ d.talkReason}}</td> <td class="tableTitle" colspan="8" style="height: 100px">{{ d.talkReason}}</td>
</tr> </tr>
<tr> <tr>
<td class="title">谈话人1</td> <td class="tableTitle">谈话人1</td>
<td class="title">{{ d.talkPerson}}</td> <td class="tableTitle">{{ d.talkPerson}}</td>
<td class="title">单位职务1</td> <td class="tableTitle">单位职务1</td>
<td class="title">{{ d.talkPersonOrgJob}}</td> <td class="tableTitle">{{ d.talkPersonOrgJob}}</td>
<td class="title">谈话时间1</td> <td class="tableTitle">谈话时间1</td>
<td class="title">{{ d.talkDateTime}}</td> <td class="details">{{ d.talkDateTime}}</td>
<td class="title">谈话地点1</td> <td class="tableTitle">谈话地点1</td>
<td class="title" colspan="2">{{ d.talkPlace}}</td> <td class="tableTitle" colspan="2">{{ d.talkPlace}}</td>
</tr> </tr>
<tr> <tr>
<td class="title">谈话人2</td> <td class="tableTitle">谈话人2</td>
<td class="title">{{ d.talkPerson2}}</td> <td class="tableTitle">{{ d.talkPerson2}}</td>
<td class="title">单位职务2</td> <td class="tableTitle">单位职务2</td>
<td class="title">{{ d.talkPersonOrgJob2}}</td> <td class="tableTitle">{{ d.talkPersonOrgJob2}}</td>
<td class="title">谈话时间2</td> <td class="tableTitle">谈话时间2</td>
<td class="title">{{ d.talkDateTime2}}</td> <td class="details">{{ d.talkDateTime2}}</td>
<td class="title">谈话地点2</td> <td class="tableTitle">谈话地点2</td>
<td class="title" colspan="2">{{ d.talkPlace2}}</td> <td class="tableTitle" colspan="2">{{ d.talkPlace2}}</td>
</tr> </tr>
<tr> <tr>
<td class="title">记录人</td> <td class="title">记录人</td>
<td class="title" colspan="8">{{ d.noteTaker}}</td> <td class="title" colspan="8">{{ d.noteTaker}}</td>
</tr> </tr>
<tr> <tr>
<td class="title">谈心谈话内容</td> <td class="tableTitle">谈心谈话内容</td>
<td class="title" style="height: 100px" colspan="8">{{ d.talkContent}}</td> <td class="tableTitle" style="height: 100px" colspan="8">{{ d.talkContent}}</td>
</tr> </tr>
<tr> <tr>
<td class="title">谈心谈话对象意见</td> <td class="tableTitle">谈心谈话对象意见</td>
<td class="title" style="height: 100px" colspan="8">{{ d.talkObjOpinion}}</td> <td class="tableTitle" style="height: 100px" colspan="8">{{ d.talkObjOpinion}}</td>
</tr> </tr>
<tr> <tr>
<td class="title">签字</td> <td class="tableTitle">签字</td>
<td class="title" colspan="3"> <td class="tableTitle" colspan="3">
<div class="layui-btn-container" id="indexGeneralImagesFileBox" style="border: 1px solid #e6e6e6;"> <div class="layui-btn-container" id="indexGeneralImagesFileBox" style="border: 1px solid #e6e6e6;">
{{# layui.each(d.imagesList, function(index, item){ }} {{# layui.each(d.imagesList, function(index, item){ }}
<div class="upload-image-box"> <div class="upload-image-box">
@ -104,8 +116,8 @@
{{# }); }} {{# }); }}
</div> </div>
</td> </td>
<td class="title">签字时间</td> <td class="tableTitle">签字时间</td>
<td class="title" colspan="4">{{ d.signDataTime}}</td> <td class="tableTitle" colspan="4">{{ d.signDataTime}}</td>
</tr> </tr>
</table> </table>

View File

@ -27,7 +27,7 @@
} }
</style> </style>
</head> </head>
<body> <body style="background: #eee">
<div class="main" id="main"> <div class="main" id="main">
</div> </div>
@ -35,13 +35,13 @@
<script id="data" type="text/html"> <script id="data" type="text/html">
<style> <style>
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 1200px;margin: 0 auto;} .main{width: 1200px;margin: 0 auto;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #333;margin-top:30px;} .title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 26px;color: #333;margin-bottom: 10px} .title h3{font-size: 27px;margin-bottom: 10px;color: #1f5781;font-weight: bolder;}
.title p{font-size: 16px;color: #333;} .title p{font-size: 15px;color: #333;}
.title p span{margin-right: 50px} .title p span{margin-right: 50px}
.content{min-height: 500px;margin-top: 10px;} .content{min-height: 500px;margin-top: 10px;}
.content p{font-size: 16px;color: #333;line-height: 30px;} .content p{font-size: 16px;color: #333;margin-bottom: 30px;line-height: 40px;}
.button-box{position: fixed;top:20px;right: 40px;} .button-box{position: fixed;top:20px;right: 40px;}
.button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff} .button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff}
</style> </style>
@ -100,9 +100,6 @@
</div> </div>
</span> </span>
{{# }); }} {{# }); }}
</script> </script>
<div class="button-box"> <div class="button-box">

View File

@ -21,11 +21,10 @@
<script id="data" type="text/html"> <script id="data" type="text/html">
<style> <style>
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 1200px;margin: 0 auto;} .main{width: 1200px;margin: 0 auto;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #333 .title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
} .title h3{font-size: 27px;color: #1f5781;margin-bottom: 10px;font-weight: bolder;}
.title h3{font-size: 26px;color: #333;margin-bottom: 10px} .title p{font-size: 15px;color: #333;}
.title p{font-size: 16px;color: #333;}
.title p span{margin-right: 50px} .title p span{margin-right: 50px}
.content{min-height: 500px;margin-top: 10px;} .content{min-height: 500px;margin-top: 10px;}
.content p{font-size: 16px;color: #333;line-height: 30px;} .content p{font-size: 16px;color: #333;line-height: 30px;}
@ -90,11 +89,6 @@
// 初始化内容 // 初始化内容
function initData() { function initData() {
var loadLayerIndex; var loadLayerIndex;

View File

@ -83,7 +83,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!-- <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">党委会纪要</label> <label class="layui-form-label">党委会纪要</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -98,7 +98,7 @@
<textarea class="layui-textarea" id="meetingArrange" name="meetingArrange" value="" placeholder="会议安排内容" readonly="readonly"></textarea> <textarea class="layui-textarea" id="meetingArrange" name="meetingArrange" value="" placeholder="会议安排内容" readonly="readonly"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">会议议程</label> <label class="layui-form-label">会议议程</label>
@ -107,30 +107,30 @@
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!--<div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">主持词</label> <label class="layui-form-label">主持词</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="hostContent" name="hostContent" value="" placeholder="主持词内容" readonly="readonly"></textarea> <textarea class="layui-textarea" id="hostContent" name="hostContent" value="" placeholder="主持词内容" readonly="readonly"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">党委书记讲话内容</label> <label class="layui-form-label">党委会议纪要、党委书记讲话内容</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="partySecretaryTalk" name="partySecretaryTalk" value="" placeholder="党委书记讲话内容" readonly="readonly"></textarea> <script id="partySecretaryTalk" name="partySecretaryTalk" type="text/plain"></script>
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!-- <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">备注</label> <label class="layui-form-label">备注</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="remarks" name="remarks" value="" placeholder="备注" readonly="readonly"></textarea> <textarea class="layui-textarea" id="remarks" name="remarks" value="" placeholder="备注" readonly="readonly"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12 layui-form-text"> <div class="layui-col-md12 layui-form-text">
<label class="layui-form-label">上报图片</label> <label class="layui-form-label">上报图片</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -167,7 +167,9 @@
</div> </div>
</div> </div>
<script src="assets/js/vendor/ueditor/ueditor.config.js"></script>
<script src="assets/js/vendor/ueditor/ueditor.all.js"></script>
<script src="assets/js/vendor/wangEditor/wangEditor.min.js"></script>
<script src="assets/layuiadmin/layui/layui.js"></script> <script src="assets/layuiadmin/layui/layui.js"></script>
<script src="assets/js/vendor/viewer/viewer.min.js"></script> <script src="assets/js/vendor/viewer/viewer.min.js"></script>
<script> <script>
@ -182,10 +184,22 @@
var laydate = layui.laydate; var laydate = layui.laydate;
var id = top.restAjax.params(window.location.href).id; var id = top.restAjax.params(window.location.href).id;
var viewerObj = {}; var viewerObj = {};
var ueEditorObj = {};
// 初始化党委会议纪要、党委书记讲话内容富文本
function initPartySecretaryTalkText() {
var editor = UE.getEditor('partySecretaryTalk', {autoHeightEnabled: false});
editor.ready(function() {
editor.setHeight(700);
editor.setDisabled();
});
ueEditorObj['partySecretaryTalk'] = editor;
}
// 初始化内容 // 初始化内容
function initData() { function initData() {
getFormData(); getFormData();
initPartySecretaryTalkText();
} }
initData(); initData();

View File

@ -79,7 +79,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!--<div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">党委会纪要</label> <label class="layui-form-label">党委会纪要</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -94,7 +94,7 @@
<textarea class="layui-textarea" id="meetingArrange" name="meetingArrange" value="" placeholder="会议安排内容"></textarea> <textarea class="layui-textarea" id="meetingArrange" name="meetingArrange" value="" placeholder="会议安排内容"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">会议议程</label> <label class="layui-form-label">会议议程</label>
@ -103,30 +103,30 @@
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!-- <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">主持词</label> <label class="layui-form-label">主持词</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="hostContent" name="hostContent" value="" placeholder="主持词内容"></textarea> <textarea class="layui-textarea" id="hostContent" name="hostContent" value="" placeholder="主持词内容"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">党委书记讲话内容</label> <label class="layui-form-label">党委会议纪要、党委书记讲话内容</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="partySecretaryTalk" name="partySecretaryTalk" value="" placeholder="党委书记讲话内容"></textarea> <script id="partySecretaryTalk" name="partySecretaryTalk" type="text/plain"></script>
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!-- <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">备注</label> <label class="layui-form-label">备注</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="remarks" name="remarks" value="" placeholder="备注"></textarea> <textarea class="layui-textarea" id="remarks" name="remarks" value="" placeholder="备注"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12 layui-form-text"> <div class="layui-col-md12 layui-form-text">
<label class="layui-form-label">上报图片</label> <label class="layui-form-label">上报图片</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -170,6 +170,9 @@
</div> </div>
</div> </div>
</div> </div>
<script src="assets/js/vendor/ueditor/ueditor.config.js"></script>
<script src="assets/js/vendor/ueditor/ueditor.all.js"></script>
<script src="assets/js/vendor/wangEditor/wangEditor.min.js"></script>
<script src="assets/layuiadmin/layui/layui.js"></script> <script src="assets/layuiadmin/layui/layui.js"></script>
<script> <script>
layui.config({ layui.config({
@ -183,6 +186,17 @@
var laydate = layui.laydate; var laydate = layui.laydate;
var id = top.restAjax.params(window.location.href).id; var id = top.restAjax.params(window.location.href).id;
var viewerObj = {}; var viewerObj = {};
var ueEditorObj = {};
// 初始化党委会议纪要、党委书记讲话内容富文本
function initPartySecretaryTalkText() {
var editor = UE.getEditor('partySecretaryTalk', {autoHeightEnabled: false});
editor.ready(function() {
editor.setHeight(700);
});
ueEditorObj['partySecretaryTalk'] = editor;
}
// 初始化内容 // 初始化内容
function initData() { function initData() {
@ -192,7 +206,8 @@
trigger: 'click' trigger: 'click'
}) })
getFormData(); getFormData();
initMeetingPhotoUploadFile();
} }
initData(); initData();
@ -295,6 +310,8 @@
} }
form.val('dataForm', dataFormData); form.val('dataForm', dataFormData);
form.render(null, 'dataForm'); form.render(null, 'dataForm');
initPartySecretaryTalkText();
initMeetingPhotoUploadFile();
}, function(code, data) { }, function(code, data) {
top.dialog.msg(data.msg); top.dialog.msg(data.msg);
}, function() { }, function() {

View File

@ -159,15 +159,6 @@
return rowData + '人'; return rowData + '人';
} }
}, },
{field: 'joinPersonCount', width: 180, title: '参会人数', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
return '-';
}
return rowData + '人';
}
},
{field: 'creatorName', width: 100, title: '上报人', align:'center',fixed: 'right', {field: 'creatorName', width: 100, title: '上报人', align:'center',fixed: 'right',
templet: function(row) { templet: function(row) {
var rowData = row[this.field]; var rowData = row[this.field];

View File

@ -45,10 +45,10 @@
<script id="data" type="text/html"> <script id="data" type="text/html">
<style> <style>
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 800px;margin: 0 auto;} .main{width: 1200px;margin: 0 auto;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #333} .title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 26px;color: #333;margin-bottom: 10px} .title h3{font-size: 27px;color: #1f5781;margin-bottom: 10px;font-weight: bolder;}
.title p{font-size: 16px;color: #333;} .title p{font-size: 15px;color: #333;}
.content{min-height: 500px;margin-top: 10px;} .content{min-height: 500px;margin-top: 10px;}
.content p{font-size: 18px;color: #000;line-height:35px;} .content p{font-size: 18px;color: #000;line-height:35px;}
.title p span{margin-right: 50px} .title p span{margin-right: 50px}
@ -57,7 +57,7 @@
.moretext {text-indent: 2em} .moretext {text-indent: 2em}
</style> </style>
<div class="title"> <div class="title">
<h3>党风廉政大会</h3> <h3>{{ d.title}}</h3>
<p> <p>
<span>上报时间:{{ d.gmtCreate}}</span> <span>上报时间:{{ d.gmtCreate}}</span>
<span>上报人:{{ d.creatorName }}</span> <span>上报人:{{ d.creatorName }}</span>
@ -81,26 +81,16 @@
</div> </div>
{{# } }} {{# } }}
<div class="content"> <div class="content">
<p>会议标题:{{ d.title }}</p> <!-- <p>会议标题:{{ d.title }}</p>-->
<p>会议时间:{{ d.meetingTime }}</p> <p>会议时间:{{ d.meetingTime }}</p>
<p>会议地点:{{ d.meetingPlace }}</p> <p>会议地点:{{ d.meetingPlace }}</p>
<p>记录人:{{ d.noteTaker }}</p> <p>记录人:{{ d.noteTaker }}</p>
<p>主持人:{{ d.meetingHost }}</p> <p>主持人:{{ d.meetingHost }}</p>
<p>参会人数:{{ d.joinPersonCount }}</p> <p>参会人数:{{ d.joinPersonCount }}</p>
<p>参会人员:</p> <p>参会人员:{{ d.joinPerson }}</p>
<p class="moretext">{{ d.joinPerson }}</p> <p>会议议程:{{ d.meetingAgenda }}</p>
<p>主持词:</p> <p>(党委会纪要、党委书记讲话内容)</p>
<p class="moretext">{{ d.hostContent }}</p>
<p>党委会纪要:</p>
<p class="moretext">{{ d.meetingContent }}</p>
<p>会议安排:</p>
<p class="moretext">{{ d.meetingArrange }}</p>
<p>会议议程:</p>
<p class="moretext">{{ d.meetingAgenda }}</p>
<p>党委书记讲话内容:</p>
<p class="moretext">{{ d.partySecretaryTalk }}</p> <p class="moretext">{{ d.partySecretaryTalk }}</p>
<p>备注:</p>
<p class="moretext">{{ d.remarks }}</p>
</div> </div>
</script> </script>

View File

@ -80,22 +80,22 @@
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!-- <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">党委会纪要</label> <label class="layui-form-label">党委会纪要</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="meetingContent" name="meetingContent" value="" placeholder="党委会纪要内容"></textarea> <textarea class="layui-textarea" id="meetingContent" name="meetingContent" value="" placeholder="党委会纪要内容"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12"> <!--<div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">会议安排</label> <label class="layui-form-label">会议安排</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="meetingArrange" name="meetingArrange" value="" placeholder="会议安排内容"></textarea> <textarea class="layui-textarea" id="meetingArrange" name="meetingArrange" value="" placeholder="会议安排内容"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">会议议程</label> <label class="layui-form-label">会议议程</label>
@ -104,30 +104,30 @@
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!--<div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">主持词</label> <label class="layui-form-label">主持词</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="hostContent" name="hostContent" value="" placeholder="主持词内容"></textarea> <textarea class="layui-textarea" id="hostContent" name="hostContent" value="" placeholder="主持词内容"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12"> <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">党委书记讲话内容</label> <label class="layui-form-label">党委会议纪要、党委书记讲话内容</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="partySecretaryTalk" name="partySecretaryTalk" value="" placeholder="党委书记讲话内容"></textarea> <script id="partySecretaryTalk" name="partySecretaryTalk" type="text/plain"></script>
</div> </div>
</div> </div>
</div> </div>
<div class="layui-col-md12"> <!-- <div class="layui-col-md12">
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">备注</label> <label class="layui-form-label">备注</label>
<div class="layui-input-block"> <div class="layui-input-block">
<textarea class="layui-textarea" id="remarks" name="remarks" value="" placeholder="备注"></textarea> <textarea class="layui-textarea" id="remarks" name="remarks" value="" placeholder="备注"></textarea>
</div> </div>
</div> </div>
</div> </div>-->
<div class="layui-col-md12 layui-form-text"> <div class="layui-col-md12 layui-form-text">
<label class="layui-form-label">上报图片</label> <label class="layui-form-label">上报图片</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -158,8 +158,6 @@
</script> </script>
</div> </div>
</div> </div>
</div> </div>
<div class="layui-form-item layui-layout-admin"> <div class="layui-form-item layui-layout-admin">
<div class="layui-input-block"> <div class="layui-input-block">
@ -173,6 +171,9 @@
</div> </div>
</div> </div>
</div> </div>
<script src="assets/js/vendor/ueditor/ueditor.config.js"></script>
<script src="assets/js/vendor/ueditor/ueditor.all.js"></script>
<script src="assets/js/vendor/wangEditor/wangEditor.min.js"></script>
<script src="assets/layuiadmin/layui/layui.js"></script> <script src="assets/layuiadmin/layui/layui.js"></script>
<script src="assets/js/vendor/viewer/viewer.min.js"></script> <script src="assets/js/vendor/viewer/viewer.min.js"></script>
<script> <script>
@ -188,10 +189,22 @@
var dutyIndexLibId = top.restAjax.params(window.location.href).dutyIndexLibId; var dutyIndexLibId = top.restAjax.params(window.location.href).dutyIndexLibId;
var viewerObj = {}; var viewerObj = {};
var ueEditorObj = {};
if(typeof (dutyIndexLibId) == 'undefined' || dutyIndexLibId == ''){ if(typeof (dutyIndexLibId) == 'undefined' || dutyIndexLibId == ''){
$('.submit-btn').remove() $('.submit-btn').remove()
} }
// 初始化党委会议纪要、党委书记讲话内容富文本
function initPartySecretaryTalkText() {
var editor = UE.getEditor('partySecretaryTalk', {autoHeightEnabled: false});
editor.ready(function() {
editor.setHeight(700);
});
ueEditorObj['partySecretaryTalk'] = editor;
}
// 初始化内容 // 初始化内容
function initData() { function initData() {
laydate.render({ laydate.render({
@ -200,6 +213,7 @@
trigger: 'click' trigger: 'click'
}) })
initMeetingPhotoUploadFile(); initMeetingPhotoUploadFile();
initPartySecretaryTalkText();
} }
initData(); initData();

View File

@ -34,10 +34,10 @@
<script id="data" type="text/html"> <script id="data" type="text/html">
<style> <style>
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 1200px;margin: 0 auto;} .main{width: 1200px;margin: 0 auto;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #333;margin-top:30px;} .title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 26px;color: #333;margin-bottom: 10px} .title h3{font-size: 27px;color: #1f5781;margin-bottom: 10px;font-weight: bolder;}
.title p{font-size: 16px;color: #333;} .title p{font-size: 15px;color: #333;}
.title p span{margin-right: 50px} .title p span{margin-right: 50px}
.content{min-height: 500px;margin-top: 10px;} .content{min-height: 500px;margin-top: 10px;}
.content p{font-size: 16px;color: #333;line-height: 30px;} .content p{font-size: 16px;color: #333;line-height: 30px;}

View File

@ -17,15 +17,27 @@
</div> </div>
<script id="data" type="text/html"> <script id="data" type="text/html">
<div class="title">{{ d.dutyIndexLibName }}</div> <div class="title">
<h3>{{ d.dutyIndexLibName }}</h3>
<p>
<span>上报时间:{{ d.gmtCreate }}</span>
<span>上报人:{{ d.creatorName }}</span>
</p>
</div>
<div class="table-box"> <div class="table-box">
<style> <style>
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 1000px;margin: 0 auto;padding-top: 50px;} .main{width: 1200px;margin: 0 auto;padding-top: 50px;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;font-size: 24px;line-height: 40px}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 27px;margin-bottom: 10px;color: #1f5781;font-weight: bolder;}
.title p{font-size: 15px;color: #333;}
.title p span{margin-right: 50px}
.tableTitle{text-align: center;font-size: 24px;line-height: 40px}
.table-box{margin: 10px 0;} .table-box{margin: 10px 0;}
.table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;} .table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;}
.table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;} .table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;text-align: center;}
.button-box{position: fixed;top:20px;right: 40px;} .button-box{position: fixed;top:20px;right: 40px;}
.button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff} .button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff}
.title{ .title{
@ -33,62 +45,62 @@
} }
.details{ .details{
text-align: left; text-align: left;
text-indent: 30px; /*text-indent: 30px;*/
padding: 0 10px; padding: 0 10px;
} }
</style> </style>
<table style="height: 500px"> <table style="height: 500px">
<tr> <!--<tr>
<td class="title" colspan="6" style="height: 50px">{{ d.dutyTitle }}</td> <td class="title" colspan="6" style="height: 50px">{{ d.dutyTitle }}</td>
</tr> </tr>-->
<tr> <tr>
<td class="title" style="height: 50px">姓名</td> <td class="tableTitle" style="height: 50px">姓名</td>
<td class="details" colspan="2">{{ d.personName }}</td> <td class="details" colspan="2">{{ d.personName }}</td>
<td class="title" style="height: 50px">社区党支部</td> <td class="tableTitle" style="height: 50px">社区党支部</td>
<td class="details" colspan="2">{{ d.partyOrg }}</td> <td class="details" colspan="2">{{ d.partyOrg }}</td>
</tr> </tr>
<tr> <tr>
<td class="title" style="height: 50px">处分时间</td> <td class="tableTitle" style="height: 50px">处分时间</td>
<td class="details">{{ d.punishTime }}</td> <td class="details">{{ d.punishTime }}</td>
<td class="title" style="height: 50px">宣布时间</td> <td class="tableTitle" style="height: 50px">宣布时间</td>
<td class="details">{{ d.announceTime }}</td> <td class="details">{{ d.announceTime }}</td>
<td class="title" style="height: 50px">入档时间</td> <td class="tableTitle" style="height: 50px">入档时间</td>
<td class="details">{{ d.putInFileTime }}</td> <td class="details">{{ d.putInFileTime }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">宣布范围</td> <td class="tableTitle">宣布范围</td>
<td class="details" style="height: 100px" colspan="5">{{ d.announceScope }}</td> <td class="details" style="height: 100px" colspan="5">{{ d.announceScope }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">处分种类-党纪</td> <td class="tableTitle">处分种类-党纪</td>
<td class="details" style="height: 100px" colspan="5">{{ d.partyDiscipline }}</td> <td class="details" style="height: 100px" colspan="5">{{ d.partyDiscipline }}</td>
</tr> </tr>
<tr> <tr>
<td class="title" >处分种类-政纪</td> <td class="tableTitle" >处分种类-政纪</td>
<td class="details" style="height: 100px" colspan="5">{{ d.govDiscipline }}</td> <td class="details" style="height: 100px" colspan="5">{{ d.govDiscipline }}</td>
</tr> </tr>
<tr> <tr>
<td class="title" >职位工资变动情况</td> <td class="tableTitle" >职位工资变动情况</td>
<td class="details" style="height: 100px" colspan="5">{{ d.jobWagesChange }}</td> <td class="details" style="height: 100px" colspan="5">{{ d.jobWagesChange }}</td>
</tr> </tr>
<tr> <tr>
<td class="title" >影响职务、工资晋升情况</td> <td class="tableTitle" >影响职务、工资晋升情况</td>
<td class="details" style="height: 100px" colspan="5">{{ d.jobWagesRise }}</td> <td class="details" style="height: 100px" colspan="5">{{ d.jobWagesRise }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">年度考核等次</td> <td class="tableTitle">年度考核等次</td>
<td class="details" style="height: 100px" colspan="5">{{ d.yearExamineLevel }}</td> <td class="details" style="height: 100px" colspan="5">{{ d.yearExamineLevel }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">年终一次性奖金发放情况</td> <td class="tableTitle">年终一次性奖金发放情况</td>
<td class="details" style="height: 100px" colspan="5">{{ d.yearBonusInfo }}</td> <td class="details" style="height: 100px" colspan="5">{{ d.yearBonusInfo }}</td>
</tr> </tr>
<tr> <tr>
<td class="title" >绩效奖金发放情况</td> <td class="tableTitle" >绩效奖金发放情况</td>
<td class="details" style="height: 100px" colspan="5">{{ d.achievementBouns }}</td> <td class="details" style="height: 100px" colspan="5">{{ d.achievementBouns }}</td>
</tr> </tr>
<tr> <tr>
<td class="title" >备注</td> <td class="tableTitle" >备注</td>
<td class="details" style="height: 30px" colspan="5">{{ d.remarks }}</td> <td class="details" style="height: 30px" colspan="5">{{ d.remarks }}</td>
</tr> </tr>

View File

@ -19,12 +19,24 @@
</div> </div>
<script id="data" type="text/html"> <script id="data" type="text/html">
<div class="title">{{ d.dutyTitle }}</div> <div class="title">
<h3>{{ d.dutyTitle }}</h3>
<p>
<span>上报时间:{{ d.gmtCreate }}</span>
<span>上报人:{{ d.creatorName }}</span>
</p>
</div>
<div class="table-box"> <div class="table-box">
<style > <style >
*{margin:0;padding:0;} *{margin:0;padding:0;}
.main{width: 1000px;margin: 0 auto;padding-top: 50px;} .main{width: 1200px;margin: 0 auto;padding-top: 50px;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
.title{text-align: center;font-size: 40px;line-height: 38px}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 27px;margin-bottom: 10px;color: #1f5781;font-weight: bolder;}
.title p{font-size: 15px;color: #333;}
.title p span{margin-right: 50px}
.tableTitle{text-align: center;font-size: 40px;line-height: 38px}
.table-box{margin: 10px 0;} .table-box{margin: 10px 0;}
.table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;} .table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;}
.table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;} .table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;}
@ -44,11 +56,11 @@
<!--<td colspan="4"></td>--> <!--<td colspan="4"></td>-->
<!--</tr>--> <!--</tr>-->
<tr> <tr>
<td class="title">上报类型</td> <td class="tableTitle">上报类型</td>
<td class="details" style="height: 60px">{{ d.clueTypeName }}</td> <td class="details" style="height: 60px">{{ d.clueTypeName }}</td>
<td class="title">案件号</td> <td class="tableTitle">案件号</td>
<td class="details" style="height: 60px">{{ d.caseNumber }}</td> <td class="details" style="height: 60px">{{ d.caseNumber }}</td>
<td class="title">交办文号</td> <td class="tableTitle">交办文号</td>
<td class="details" style="height: 60px">{{ d.handoverNumber }}</td> <td class="details" style="height: 60px">{{ d.handoverNumber }}</td>
</tr> </tr>
<tr> <tr>
@ -60,7 +72,7 @@
<td class="details" style="height: 60px">{{ d.orgJob }}</td> <td class="details" style="height: 60px">{{ d.orgJob }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">线索来源</td> <td class="tableTitle">线索来源</td>
<td class="details" colspan="2" style="height: 60px"> <td class="details" colspan="2" style="height: 60px">
{{# if(d.clueSource=='1'){ }} {{# if(d.clueSource=='1'){ }}
本级受理 本级受理
@ -70,11 +82,11 @@
上级交办 上级交办
{{#} }} {{#} }}
</td> </td>
<td class="title">交办或受理日期</td> <td class="tableTitle">交办或受理日期</td>
<td class="details" colspan="2" style="height: 60px">{{ d.acceptDateTime }}</td> <td class="details" colspan="2" style="height: 60px">{{ d.acceptDateTime }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">是否要结果</td> <td class="tableTitle">是否要结果</td>
<td class="details" colspan="2" style="height: 60px"> <td class="details" colspan="2" style="height: 60px">
{{# if(d.needResult=='0'){ }} {{# if(d.needResult=='0'){ }}
@ -84,23 +96,23 @@
{{#} }} {{#} }}
</td> </td>
<td class="title">要结果时限</td> <td class="tableTitle">要结果时限</td>
<td class="details" colspan="2" style="height: 60px">{{ d.limitResultTime }}</td> <td class="details" colspan="2" style="height: 60px">{{ d.limitResultTime }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">查实主要问题</td> <td class="tableTitle">查实主要问题</td>
<td class="details" colspan="5" style="height: 100px">{{ d.verifyProblem }}</td> <td class="details" colspan="5" style="height: 100px">{{ d.verifyProblem }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">办理进度</td> <td class="tableTitle">办理进度</td>
<td class="details" colspan="5" style="height: 100px">{{ d.progress }}</td> <td class="details" colspan="5" style="height: 100px">{{ d.progress }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">拟处理意见</td> <td class="tableTitle">拟处理意见</td>
<td class="details" colspan="5" style="height: 100px">{{ d.mayResultOpinion }}</td> <td class="details" colspan="5" style="height: 100px">{{ d.mayResultOpinion }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">是否办结</td> <td class="tableTitle">是否办结</td>
<td class="details" colspan="5" style="height: 100px"> <td class="details" colspan="5" style="height: 100px">
{{# if(d.overStatus=='0'){ }} {{# if(d.overStatus=='0'){ }}
@ -112,11 +124,11 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="title">处理结果</td> <td class="tableTitle">处理结果</td>
<td class="details" colspan="5" style="height: 100px">{{ d.caseResult }}</td> <td class="details" colspan="5" style="height: 100px">{{ d.caseResult }}</td>
</tr> </tr>
<tr> <tr>
<td class="title">备注</td> <td class="tableTitle">备注</td>
<td class="details" colspan="5" style="height: 100px">{{ d.remarks }}</td> <td class="details" colspan="5" style="height: 100px">{{ d.remarks }}</td>
</tr> </tr>
</table> </table>

View File

@ -24,10 +24,10 @@
width: 90%; width: 90%;
height: 400px; height: 400px;
} }
.swiper-slide img{ /*.swiper-slide img{*/
width: 100%; /*width: 100%;*/
height: 100%; /*height: 100%;*/
} /*}*/
</style> </style>
</head> </head>
@ -36,61 +36,86 @@
</div> </div>
<script id="data" type="text/html"> <script id="data" type="text/html">
<style>
*{margin:0;padding:0;}
.main{width: 800px;margin: 0 auto;}
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #333}
.title h3{font-size: 26px;color: #333;margin-bottom: 10px}
.title p{font-size: 16px;color: #333;}
.title p span{margin-right: 50px}
.content{min-height: 500px;margin-top: 10px;}
.content p{font-size: 18px;color: #000;line-height:35px;}
.button-box{position: fixed;top:20px;right: 40px;}
.button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff}
.moretext {text-indent: 2em}
</style>
<div class="title"> <div class="title">
<h3>{{ d.dutyIndexLibName }}</h3> <h3>{{ d.dutyIndexLibName }}</h3>
<p> <p>
<span>上报时间:{{ d.gmtCreate}} </span> <span>上报时间:{{ d.gmtCreate }}</span>
<span>上报人:{{ d.creatorName }}</span> <span>上报人:{{ d.creatorName }}</span>
</p> </p>
</div> </div>
{{# if(d.imagesList.length > 0) { }} <div class="table-box">
<div class="swiper-container"> <style >
<div class="swiper-wrapper" id="indexGeneralImagesFileBox"> *{margin:0;padding:0;}
{{# layui.each(d.imagesList, function(index, item){ }} .main{width: 1200px;margin: 0 auto;padding-top: 50px;background: #fff;padding: 0 30px;box-sizing: border-box;overflow: hidden}
<div class="swiper-slide"><img src="route/file/download/false/{{item.fileId}}" align="加载失败"></div>
{{# }); }}
</div>
<!-- 如果需要分页器 -->
<div class="swiper-pagination"></div>
<!-- 如果需要导航按钮 -->
<!--<div class="swiper-button-prev"></div>-->
<!--<div class="swiper-button-next"></div>-->
<!-- 如果需要滚动条 -->
<div class="swiper-scrollbar"></div>
</div>
{{# } }}
<div class="content">
<p>上报标题:{{ d.dutyTitle }}</p>
<p>检查地点:{{ d.checkPlace }}</p>
<p>检查人员:{{ d.checkPerson }}</p>
<p>检查时间:{{ d.checkDateTime }}</p>
<p>检查时间:{{ d.checkDateTime }}</p>
<p>检查情况:</p>
<p class="moretext">{{ d.checkInfo }}</p>
<p>检查内容:</p>
<p class="moretext">{{ d.checkContent }}</p>
<p>检查过程中发现的问题:</p>
<p class="moretext">{{ d.checkProblem }}</p>
<p>处理结果:</p>
<p class="moretext">{{ d.checkResult }}</p>
</div>
</script>
.title{text-align: center;padding: 10px 0;border-bottom: 1px solid #ddd;margin-top:60px;margin-bottom: 30px;}
.title h3{font-size: 27px;margin-bottom: 10px;color: #1f5781;font-weight: bolder;}
.title p{font-size: 15px;color: #333;}
.title p span{margin-right: 50px}
.tableTitle{text-align: center;font-size: 40px;line-height: 38px}
.table-box{margin: 10px 0;}
.table-box table{table-layout: fixed;width: 100%;border-collapse: collapse;}
.table-box table td{height: 40px;font-size: 16px;border: 1px solid #161615;text-align: center;}
.button-box{position: fixed;top:20px;right: 40px;}
.button-box button{border: none;outline:none;width: 60px;height: 40px;background: #004acd;cursor: pointer;color: #fff}
.title{
text-align: center;
}
.details{
text-align: left;
/*text-indent: 30px;*/
padding: 0 10px;
}
</style>
<table style="height: 500px">
{{# if(d.imagesList.length > 0) { }}
<div class="swiper-container">
<div class="swiper-wrapper" id="indexGeneralImagesFileBox">
{{# layui.each(d.imagesList, function(index, item){ }}
<div class="swiper-slide"><img style="height: 100%;width: 100% " src="route/file/download/false/{{item.fileId}}" align="加载失败"></div>
{{# }); }}
</div>
<!-- 如果需要分页器 -->
<div class="swiper-pagination"></div>
<!-- 如果需要导航按钮 -->
<!--<div class="swiper-button-prev"></div>-->
<!--<div class="swiper-button-next"></div>-->
<!-- 如果需要滚动条 -->
<div class="swiper-scrollbar"></div>
</div>
{{# } }}
<tr>
<td class="tableTitle">检查地点</td>
<td class="details" style="height: 60px">{{ d.checkPlace }}</td>
<td class="tableTitle">检查人员</td>
<td class="details" style="height: 60px">{{ d.checkPerson }}</td>
<td class="tableTitle">检查时间</td>
<td class="details" style="height: 60px">{{ d.checkDateTime }}</td>
</tr>
<tr>
<td class="tableTitle">检查情况</td>
<td class="details" colspan="5" style="height: 100px">{{ d.checkInfo }}</td>
</tr>
<tr>
<td class="tableTitle">检查内容</td>
<td class="details" colspan="5" style="height: 100px">{{ d.checkContent }}</td>
</tr>
<tr>
<td class="tableTitle">检查过程中发现的问题</td>
<td class="details" colspan="5" style="height: 100px">{{ d.checkProblem }}</td>
</tr>
<tr>
<td class="tableTitle">处理结果</td>
<td class="details" colspan="5" style="height: 100px">{{ d.checkResult }}</td>
</tr>
</table>
</div>
</script>
<div class="button-box"> <div class="button-box">
<button class="print" style="display:none;">打印</button> <button class="print" style="display:none;">打印</button>
<button class="close">返回</button> <button class="close">返回</button>