|
@@ -0,0 +1,464 @@
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
+<%@ include file="/webpage/include/taglib.jsp"%>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <title>报销审核</title>
|
|
|
+ <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"/>
|
|
|
+ <script type="text/javascript">
|
|
|
+ var validateForm;
|
|
|
+ function doSubmit(obj){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
|
+ if(validateForm.form()){
|
|
|
+ // var ss= document.getElementById("iframe").contentWindow.document.getElementById("opinion").value
|
|
|
+ // $("#opinion").val(ss);
|
|
|
+ if(obj == 1){
|
|
|
+ $('#flag').val('yes');
|
|
|
+ }else{
|
|
|
+ $('#flag').val('no');
|
|
|
+ }
|
|
|
+ $("#inputForm").submit();
|
|
|
+ return true;
|
|
|
+ }else {
|
|
|
+ parent.layer.msg("信息未填写完整!", {icon: 5});
|
|
|
+ }
|
|
|
+
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ $(document).ready(function() {
|
|
|
+ layui.use('form', function () {
|
|
|
+ var form = layui.form;
|
|
|
+ form.render();
|
|
|
+ });
|
|
|
+ if (${workReimbursement.ext == 0}){
|
|
|
+ $(".td1").removeClass("hide");
|
|
|
+ $(".project_reimbursement_div").show();
|
|
|
+ $(".not_project_reimbursement_div").hide();
|
|
|
+ }else {
|
|
|
+ $(".td1").addClass("hide");
|
|
|
+ $(".project_reimbursement_div").hide();
|
|
|
+ $(".not_project_reimbursement_div").show();
|
|
|
+ }
|
|
|
+ if (${workReimbursement.isPublic =='0'}){
|
|
|
+ $(".isPublic").addClass("hide");
|
|
|
+ }else {
|
|
|
+ $(".isPublic").removeClass("hide");
|
|
|
+ }
|
|
|
+ $("#name").focus();
|
|
|
+ validateForm = $("#inputForm").validate({
|
|
|
+ submitHandler: function(form){
|
|
|
+ loading('正在提交,请稍等...');
|
|
|
+ form.submit();
|
|
|
+ },
|
|
|
+ errorContainer: "#messageBox",
|
|
|
+ errorPlacement: function(error, element) {
|
|
|
+ $("#messageBox").text("输入有误,请先更正。");
|
|
|
+ if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
|
|
|
+ error.appendTo(element.parent().parent());
|
|
|
+ } else {
|
|
|
+ error.insertAfter(element);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ </script>
|
|
|
+ <style>
|
|
|
+ /*超过5个汉字,调整label的长度,以下是配套的*/
|
|
|
+ .layui-item .layui-form-label{
|
|
|
+ width:90px;
|
|
|
+ }
|
|
|
+ .form-group .layui-item .layui-input-block,
|
|
|
+ .query .layui-input-block {
|
|
|
+ margin-left: 116px;
|
|
|
+ }
|
|
|
+ .bluetd {
|
|
|
+ color: dodgerblue;
|
|
|
+ }
|
|
|
+ .redtd {
|
|
|
+ color: red;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<div class="single-form">
|
|
|
+ <div class="container view-form">
|
|
|
+ <form:form id="inputForm" modelAttribute="workReimbursement" enctype="multipart/form-data" action="${ctx}/cpa_reimbursement/saveAudit" method="post" class="form-horizontal layui-form">
|
|
|
+ <form:hidden path="id"/>
|
|
|
+ <form:hidden path="home"/>
|
|
|
+<%-- <form:hidden path="act.taskId"/>--%>
|
|
|
+<%-- <form:hidden path="act.taskName"/>--%>
|
|
|
+<%-- <form:hidden path="act.taskDefKey"/>--%>
|
|
|
+ <form:hidden path="processInstanceId"/>
|
|
|
+<%-- <form:hidden path="act.procDefId"/>--%>
|
|
|
+ <form:hidden id="flag" path="act.flag"/>
|
|
|
+<%-- <input type="hidden" id="opinion" name="act.comment" value="" maxlength="255">--%>
|
|
|
+ <div class="form-group layui-row first ">
|
|
|
+ <div class="form-group-label"><h2>基础信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
+ <label class="layui-form-label">报销人:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="submitterName" cssStyle="background-color: #f1f1f1" htmlEscape="false" readonly="true" id="submitterName" class="form-control layui-input" value = "${workReimbursement.submitterName}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
+ <label class="layui-form-label">报销编号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <div class="input-group">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${workReimbursement.number}"/>
|
|
|
+ <span class="input-group-btn">
|
|
|
+ <label class="form-status"><c:choose><c:when test="${not empty workReimbursement.status}">${fns:getDictLabel(workReimbursement.status, 'audit_state', '')}</c:when><c:otherwise>新添</c:otherwise></c:choose></label>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
+ <label class="layui-form-label">所属部门:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value = "${workReimbursement.officeName}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
+ <label class="layui-form-label">报销日期:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input readonly="readonly" style="background-color: #f1f1f1" class="form-control layui-input" value="<fmt:formatDate value="${workReimbursement.submitterDate}"/>"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
+ <label class="layui-form-label">报销类型:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="sourceType" cssStyle="background-color: #f1f1f1" htmlEscape="false" readonly="true" id="sourceType" class="form-control layui-input" value = "${workReimbursement.sourceType}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm12 with-textarea">
|
|
|
+ <label class="layui-form-label ">备注:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:textarea path="remarks" placeholder="请输入备注" htmlEscape="false" rows="4" maxlength="255" value="${workReimbursement.remarks}" class="form-control "/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>报销详情</h2></div>
|
|
|
+ <div class="layui-table-body layui-item layui-col-xs12 form-table-container" style="padding:0px">
|
|
|
+ <table id="contentTable" class="table table-bordered table-condensed can-edit no-bottom-margin details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th width="200px">报销人</th>
|
|
|
+ <th width="200px">报销部门</th>
|
|
|
+ <th width="200px">报销类型</th>
|
|
|
+ <th width="200px">报销项目</th>
|
|
|
+<%-- <th width="200px">报告号</th>--%>
|
|
|
+ <th width="200px">费用(元)</th>
|
|
|
+ <th width="200px">收据张数</th>
|
|
|
+ <th width="200px">出差天数</th>
|
|
|
+ <th width="200px">内容</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="workAccountList">
|
|
|
+ <c:if test="${not empty workReimbursement.workAccountList}">
|
|
|
+ <c:forEach items="${workReimbursement.workAccountList}" var="workAccount" varStatus="index">
|
|
|
+ <tr id="workAccountList${index.index}">
|
|
|
+ <td class="hide">
|
|
|
+ </td>
|
|
|
+ <td style="text-align: center; vertical-align: middle">
|
|
|
+ ${workAccount.reimbursementName}
|
|
|
+ </td>
|
|
|
+ <td style="text-align: center; vertical-align: middle">
|
|
|
+ ${workAccount.officeId}
|
|
|
+ </td>
|
|
|
+ <td style="text-align: center; vertical-align: middle" title="${workAccount.typeName}">
|
|
|
+ ${workAccount.typeName}
|
|
|
+ </td>
|
|
|
+ <td style="text-align: center; vertical-align: middle" title="${workAccount.project.projectName}">
|
|
|
+ ${workAccount.project.projectName}
|
|
|
+ </td>
|
|
|
+<%-- <td style="text-align: center; vertical-align: middle" title="${workAccount.projectReportNumber}">--%>
|
|
|
+<%-- ${workAccount.projectReportNumber}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+
|
|
|
+ <td style="text-align: center; vertical-align: middle">
|
|
|
+ <fmt:formatNumber value="${workAccount.money}" pattern="#,#00.00"/>
|
|
|
+ </td>
|
|
|
+ <td style="text-align: center; vertical-align: middle" title="${workAccount.bills}">
|
|
|
+ ${workAccount.bills}
|
|
|
+ </td>
|
|
|
+ <td style="text-align: center; vertical-align: middle" title="${workAccount.evectionNumber}">
|
|
|
+ ${workAccount.evectionNumber}
|
|
|
+ </td>
|
|
|
+ <td style="text-align: center; vertical-align: middle" title="${workAccount.remarks}">
|
|
|
+ ${workAccount.remarks}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+
|
|
|
+ </c:if>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <table id="contentMoneys" class="table table-bordered table-condensed can-edit no-bottom-margin details">
|
|
|
+ <thead>
|
|
|
+ <tr style="border: 0px">
|
|
|
+ <td width="200px" style="vertical-align:middle;text-align: center;background-color: #ffffff;"><label>总报销费用(元):</label></td>
|
|
|
+ <td width="200px" style="background-color: #ffffff;"></td>
|
|
|
+ <td width="200px" style="background-color: #ffffff;"></td>
|
|
|
+ <td width="200px" style="background-color: #ffffff;"></td>
|
|
|
+<%-- <td width="200px" style="background-color: #ffffff;"></td>--%>
|
|
|
+ <td width="200px" style="border: 0px;font-weight: bold;text-align: center;background-color: #ffffff;">
|
|
|
+ <fmt:formatNumber value="${workReimbursement.money}" pattern="#,#00.00"/>
|
|
|
+ </td>
|
|
|
+ <td width="200px" style="background-color: #ffffff;"></td>
|
|
|
+ <td width="200px" style="background-color: #ffffff;"></td>
|
|
|
+ <td width="200px" style="background-color: #ffffff;"></td>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>专用发票信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
+ <table id="contentTable2" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th width="300px">发票代码</th>
|
|
|
+ <th width="200px">发票号</th>
|
|
|
+ <th width="200px">金额</th>
|
|
|
+ <th width="200px">税额</th>
|
|
|
+ <th width="200px">价税合计</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="reimbursementVATTaxes">
|
|
|
+ <c:if test="${not empty workReimbursement.reimbursementVATTaxes}">
|
|
|
+ <c:forEach items="${workReimbursement.reimbursementVATTaxes}" var="reimbursementVATTaxe" varStatus="index">
|
|
|
+ <tr>
|
|
|
+ <td class="hide">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${reimbursementVATTaxe.invoiceCode}
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td>
|
|
|
+ ${reimbursementVATTaxe.invoiceNumber}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${reimbursementVATTaxe.money}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${reimbursementVATTaxe.taxAmount}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${reimbursementVATTaxe.sumMoney}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </c:if>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>相关附件</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
+ <table id="upTable" class="table table-bordered table-condensed details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <%-- <th>序号</th>--%>
|
|
|
+ <th>文件预览</th>
|
|
|
+ <th>上传人</th>
|
|
|
+ <th>上传时间</th>
|
|
|
+ <th width="150px">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="file_attachment">
|
|
|
+ <c:forEach items="${workReimbursement.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
+ <tr>
|
|
|
+ <%-- <td>${status.index + 1}</td>--%>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${workReimbursement.uploadMode == 2}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">
|
|
|
+ <td><img src="${workClientAttachment.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','90%','90%')" alt="${workClientAttachment.attachmentName}">
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'rar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">
|
|
|
+ <td><img src="${workClientAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.url}','90%','90%')" alt="${workClientAttachment.attachmentName}">
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'rar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+
|
|
|
+ <td>${workClientAttachment.createBy.name}</td>
|
|
|
+ <td><fmt:formatDate value="${workClientAttachment.createDate}" type="both"/></td>
|
|
|
+ <td class="op-td">
|
|
|
+ <div class="op-btn-box" >
|
|
|
+ <%--附件下载删除--%>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${workReimbursement.uploadMode == 2}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <a href="${workClientAttachment.temporaryUrl}" target="_blank" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <a href="${workClientAttachment.temporaryUrl}" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ <c:if test="${workClientAttachment.collectFlag != 1}">
|
|
|
+ <a href="javascript:void(0)" onclick="collectingAccessory(this,'${ctx}/projectAccessory/projectAccessory/saveCollectAccessory','${workClientAttachment.url}','${workClientAttachment.createBy.id}','${workClientAttachment.fileSize}')" class="op-btn op-btn-delete" style="background-color: #FFB800"><i class="layui-icon layui-icon-rate"></i> 收藏</a>
|
|
|
+ </c:if>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>${projectNotifyType} 审批流程</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
+ <table id="hisTaskTable" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th width="200px">执行环节</th>
|
|
|
+ <th width="160px">执行人</th>
|
|
|
+ <th width="200px">开始时间</th>
|
|
|
+ <th width="200px">结束时间</th>
|
|
|
+ <th width="180px">审批意见</th>
|
|
|
+ <th width="180px">任务历时</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="hisTaskList">
|
|
|
+ <c:if test="${not empty hisTaskList}">
|
|
|
+ <c:forEach items="${hisTaskList}" var="task" varStatus="index">
|
|
|
+ <tr>
|
|
|
+ <td class="hide">
|
|
|
+ </td>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${task.histIns.endTime != null && task.histIns.endTime != '' && task.histIns.endTime != undefined}">
|
|
|
+ <td>
|
|
|
+ <span title="${task.histIns.activityName}" class="bluetd">${task.histIns.activityName}</span>
|
|
|
+ </td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td>
|
|
|
+ <span title="${task.histIns.activityName}" class="redtd">${task.histIns.activityName}</span>
|
|
|
+ </td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ <td>
|
|
|
+ ${task.assigneeName}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${task.histIns.startTime}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${task.histIns.endTime}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ [${task.comment.status}]${task.comment.message}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${
|
|
|
+ task.durationTime == "" || task.durationTime == null || task.durationTime == undefined
|
|
|
+ ? "0秒"
|
|
|
+ : task.durationTime
|
|
|
+ }
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </c:if>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row page-end"></div>
|
|
|
+ </form:form>
|
|
|
+
|
|
|
+</div>
|
|
|
+</div>
|
|
|
+<script>
|
|
|
+ function f1(row) {
|
|
|
+ // window.parent.document.getElementById('opinion').value = row;
|
|
|
+ $("#opinion").val(row)
|
|
|
+ }
|
|
|
+ function openDialogre(title,url,width,height,target,buttons) {
|
|
|
+ if (navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)) {//如果是移动端,就使用自适应大小弹窗
|
|
|
+ width = 'auto';
|
|
|
+ height = 'auto';
|
|
|
+ } else {//如果是PC端,根据用户设置的width和height显示。
|
|
|
+ }
|
|
|
+ var split = buttons.split(",");
|
|
|
+ top.layer.open({
|
|
|
+ type: 2,
|
|
|
+ area: [width, height],
|
|
|
+ title: title,
|
|
|
+ maxmin: true, //开启最大化最小化按钮
|
|
|
+ skin: 'three-btns',
|
|
|
+ content: url,
|
|
|
+ btn: split,
|
|
|
+ btn1: function(index, layero){
|
|
|
+ top.layer.close(index)
|
|
|
+ document.getElementById('iframe').contentWindow.location.reload();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|
|
|
+
|