|
@@ -4,7 +4,10 @@
|
|
<head>
|
|
<head>
|
|
<title>合同归档管理</title>
|
|
<title>合同归档管理</title>
|
|
<meta name="decorator" content="default"/>
|
|
<meta name="decorator" content="default"/>
|
|
|
|
+ <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" />
|
|
<link href="${ctxStatic}/layer-v2.3/layui/tableTree/treetable.css" rel="stylesheet" />
|
|
|
|
+
|
|
<%@include file="/webpage/include/treetable.jsp" %>
|
|
<%@include file="/webpage/include/treetable.jsp" %>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
var validateForm;
|
|
var validateForm;
|
|
@@ -62,7 +65,7 @@
|
|
<body>
|
|
<body>
|
|
<div class="single-form">
|
|
<div class="single-form">
|
|
<div class="container">
|
|
<div class="container">
|
|
- <form:form id="inputForm" modelAttribute="projectReportRecord" action="${ctx}/projectcontentinfo/projectReportRecord/auditSave" method="post" class="form-horizontal">
|
|
|
|
|
|
+ <form:form id="inputForm" modelAttribute="projectReportRecord" action="${ctx}/projectcontentinfo/projectReportRecord/auditSave" method="post" class="form-horizontal layui-form">
|
|
<form:hidden path="id"/>
|
|
<form:hidden path="id"/>
|
|
<form:hidden path="type"/>
|
|
<form:hidden path="type"/>
|
|
<form:hidden path="home"/>
|
|
<form:hidden path="home"/>
|
|
@@ -497,14 +500,36 @@
|
|
</div>--%>
|
|
</div>--%>
|
|
<div class="form-group layui-row">
|
|
<div class="form-group layui-row">
|
|
<div class="form-group-label"><h2>审批意见</h2></div>
|
|
<div class="form-group-label"><h2>审批意见</h2></div>
|
|
- <div class="layui-item layui-col-xs12 with-textarea" >
|
|
|
|
- <label class="layui-form-label">审批意见:</label>
|
|
|
|
- <div class="layui-input-block">
|
|
|
|
- <form:textarea path="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="act.comment" id="opinion" class="form-control" rows="4" cssStyle="height: 200px;" maxlength="127" />
|
|
<input type="file" name="upload_files" style="display: none;">
|
|
<input type="file" name="upload_files" style="display: none;">
|
|
</div>
|
|
</div>
|
|
</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="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>
|
|
|
|
+<%-- <div class="form-group layui-row">--%>
|
|
|
|
+<%-- <div class="form-group-label"><h2>审批意见</h2></div>--%>
|
|
|
|
+<%-- <div class="layui-item layui-col-xs12 with-textarea" >--%>
|
|
|
|
+<%-- <label class="layui-form-label">审批意见:</label>--%>
|
|
|
|
+<%-- <div class="layui-input-block">--%>
|
|
|
|
+<%-- <form:textarea path="act.comment" class="form-control" rows="4" maxlength="127" />--%>
|
|
|
|
+<%-- <input type="file" name="upload_files" style="display: none;">--%>
|
|
|
|
+<%-- </div>--%>
|
|
|
|
+<%-- </div>--%>
|
|
|
|
+<%-- </div>--%>
|
|
<div class="form-group layui-row">
|
|
<div class="form-group layui-row">
|
|
<div class="form-group-label"><h2>审批流程</h2></div>
|
|
<div class="form-group-label"><h2>审批流程</h2></div>
|
|
<div class="layui-item layui-col-xs12 form-table-container" >
|
|
<div class="layui-item layui-col-xs12 form-table-container" >
|
|
@@ -520,6 +545,24 @@
|
|
<script src="${ctxStatic}/layer-v2.3/layui/layui.all.js" charset="utf-8"></script>
|
|
<script src="${ctxStatic}/layer-v2.3/layui/layui.all.js" charset="utf-8"></script>
|
|
<script src="${ctxStatic}/layer-v2.3/layui/tableTree/treetable.js" charset="utf-8"></script>
|
|
<script src="${ctxStatic}/layer-v2.3/layui/tableTree/treetable.js" charset="utf-8"></script>
|
|
<script>
|
|
<script>
|
|
|
|
+ $(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 openBill3(title,url,width,height,target,formId,tableId){
|
|
function openBill3(title,url,width,height,target,formId,tableId){
|
|
var rows = $(this).parent().prevAll().length + 1;
|
|
var rows = $(this).parent().prevAll().length + 1;
|
|
var frameIndex = parent.layer.getFrameIndex(window.name);
|
|
var frameIndex = parent.layer.getFrameIndex(window.name);
|