|
@@ -5,6 +5,9 @@
|
|
|
<title>项目审批管理</title>
|
|
|
<meta name="decorator" content="default"/>
|
|
|
<script src="${ctxStatic}/layer-v2.3/laydate/laydate.js"></script>
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/layui/layui.js"></script>
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/css/layui.css"/>
|
|
|
+ <link href="${ctxStatic}/layer-v2.3/layui/tableTree/treetable.css" rel="stylesheet" />
|
|
|
<%@include file="/webpage/include/treetable.jsp" %>
|
|
|
<script type="text/javascript">
|
|
|
var validateForm;
|
|
@@ -113,7 +116,7 @@
|
|
|
<body >
|
|
|
<div class="single-form">
|
|
|
<div class="container">
|
|
|
- <form:form id="inputForm" modelAttribute="projectcontentinfo" enctype="multipart/form-data" action="${ctx}/ruralProject/ruralProjectMessage/reportAudit" method="post" class="form-horizontal">
|
|
|
+ <form:form id="inputForm" modelAttribute="projectcontentinfo" enctype="multipart/form-data" action="${ctx}/ruralProject/ruralProjectMessage/reportAudit" method="post" class="form-horizontal layui-form">
|
|
|
<form:hidden path="id"/>
|
|
|
<form:hidden path="home"/>
|
|
|
<form:hidden path="project.id"/>
|
|
@@ -679,17 +682,38 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
<div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>审批意见</h2></div>
|
|
|
- <div class="layui-item layui-col-sm12 lw6 with-textarea">
|
|
|
- <label class="layui-form-label">审批意见:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:textarea path="projectReportData.act.comment" class="form-control" rows="4" maxlength="127" />
|
|
|
+ <div class="layui-item layui-col-sm8 lw6 with-textarea">
|
|
|
+ <div class="layui-input-block" style="margin-left:10px;">
|
|
|
+ <form:textarea path="projectReportData.act.comment" id="opinion" class="form-control" rows="4" cssStyle="height: 200px;" maxlength="127" />
|
|
|
<input type="file" name="upload_files" style="display: none;">
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="layui-item layui-col-sm4 lw6 with-textarea">
|
|
|
+ <div class="layui-input-block" style="margin-left:10px;">
|
|
|
+ <div style="padding: 10px 0px;"><span style="cursor:pointer" class="apen">同意</span></div>
|
|
|
+ <div style="padding: 10px 0px;"><span style="cursor:pointer" class="apen">不同意</span></div>
|
|
|
+ <div style="padding: 10px 0px;"><span style="cursor:pointer" class="apen">请领导审核</span></div>
|
|
|
+ <div style="padding: 10px 0px;">
|
|
|
+ <form:select path="projectReportData.act.comment" id="auditOpinion" lay-filter="opinion" lay-verify="opinion" class="form-control simple-select">
|
|
|
+ <form:option value="请选择模板"/>
|
|
|
+ <form:options items="${fns:getMainDictListOnProjectAdvent('audit_opinion_template')}" itemLabel="label" itemValue="label" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+<%-- <div class="form-group layui-row">--%>
|
|
|
+<%-- <div class="form-group-label"><h2>审批意见</h2></div>--%>
|
|
|
+<%-- <div class="layui-item layui-col-sm12 lw6 with-textarea">--%>
|
|
|
+<%-- <label class="layui-form-label">审批意见:</label>--%>
|
|
|
+<%-- <div class="layui-input-block">--%>
|
|
|
+<%-- <form:textarea path="projectReportData.act.comment" class="form-control" rows="4" maxlength="127" />--%>
|
|
|
+<%-- <input type="file" name="upload_files" style="display: none;">--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div>--%>
|
|
|
|
|
|
</form:form>
|
|
|
|
|
@@ -703,7 +727,25 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<script>
|
|
|
- function openBill2(title,url,width,height,target,formId,tableId){
|
|
|
+ $(document).ready(function() {
|
|
|
+ $(".apen").click(function(){
|
|
|
+ var span=$(this).html();
|
|
|
+ var opinion=$("#opinion").val()+span+";"
|
|
|
+ $("#opinion").val(opinion);
|
|
|
+ })
|
|
|
+ layui.use(['form', 'layer'], function () {
|
|
|
+ var form = layui.form;
|
|
|
+ //下拉框监听器
|
|
|
+ layui.form.on('select(opinion)', function(data){
|
|
|
+ var span=data.value;
|
|
|
+ if(span!="请选择模板"){
|
|
|
+ var opinion=$("#opinion").val()+span+";"
|
|
|
+ $("#opinion").val(opinion);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ })
|
|
|
+ function openBill2(title,url,width,height,target,formId,tableId){
|
|
|
var rows = $(this).parent().prevAll().length + 1;
|
|
|
var frameIndex = parent.layer.getFrameIndex(window.name);
|
|
|
var urls = url+"&index="+frameIndex;
|