|
@@ -0,0 +1,782 @@
|
|
|
|
+<%@ 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}/helloweba_editable-select/jquery.editable-select.min.js"></script>
|
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/iCheck/icheck.min.js"></script>
|
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.css"/>
|
|
|
|
+ <style>
|
|
|
|
+ #projectDesc-error{
|
|
|
|
+ left:0;
|
|
|
|
+ top:82px;
|
|
|
|
+ }
|
|
|
|
+ .layui-layer-dialog{
|
|
|
|
+ background: red;
|
|
|
|
+ }
|
|
|
|
+ td input{
|
|
|
|
+ margin-left:-10px !important;
|
|
|
|
+ height: 42px !important;
|
|
|
|
+ }
|
|
|
|
+ .disables {
|
|
|
|
+ pointer-events: none;
|
|
|
|
+ }
|
|
|
|
+ .notDisables {
|
|
|
|
+ pointer-events: all;
|
|
|
|
+ }
|
|
|
|
+ .forbidden{
|
|
|
|
+ background-color:#c2c2c2;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .notForbidden{
|
|
|
|
+ background-color:#3ca2e0;
|
|
|
|
+ }
|
|
|
|
+ </style>
|
|
|
|
+ <script type="text/javascript">
|
|
|
|
+ var validateForm;
|
|
|
|
+ var isMasterClient = true;//是否是委托方
|
|
|
|
+ var clientCount = 0;
|
|
|
|
+ function doSubmit(i){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
|
|
+ if(validateForm.form()){
|
|
|
|
+ $("#inputForm").submit();
|
|
|
|
+ return true;
|
|
|
|
+ }else{
|
|
|
|
+ parent.layer.msg("信息未填写完整!", {icon: 5});
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ $(document).ready(function() {
|
|
|
|
+ var radioVal ;
|
|
|
|
+ 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);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: '#actualStartTime', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
|
+ event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
+ type : 'date'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ });
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: '#actualEndTime', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
|
+ event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
+ type : 'date'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ });
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: '#planStartTime', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
|
+ event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
+ type : 'date'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ });
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: '#planEndTime', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
|
+ event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
+ type : 'date'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ });
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: '#packTime', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
|
+ event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
+ type : 'date'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ });
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: '#planAuditTime', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
|
+ event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
+ type : 'date'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ });
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: '#submitApprovalTime', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
|
|
|
|
+ event: 'focus', //响应事件。如果没有传入event,则按照默认的click
|
|
|
|
+ type : 'date'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ , trigger: 'click'
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ $("#attachment_btn").click(function () {
|
|
|
|
+ $("#attachment_file").click();
|
|
|
|
+ });;
|
|
|
|
+ $("#gistdata_btn").click(function () {
|
|
|
|
+ $("#gistdata_file").click();
|
|
|
|
+ });;
|
|
|
|
+ $("#other_btn").click(function () {
|
|
|
|
+ $("#other_file").click();
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ function insertTitle(tValue){
|
|
|
|
+ var files = $("#attachment_file")[0].files;
|
|
|
|
+ for(var i=0;i<files.length;i++) {
|
|
|
|
+ var file = files[i];
|
|
|
|
+ var attachmentId = "";
|
|
|
|
+ var attachmentFlag = "86";
|
|
|
|
+ console.log(file);
|
|
|
|
+ var timestamp = new Date().getTime();
|
|
|
|
+
|
|
|
|
+ var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
|
|
|
|
+ var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
|
|
|
|
+ /*将这段字符串存到数据库即可*/
|
|
|
|
+ var divId = "_subAttachment";
|
|
|
|
+ $("#addFile" + divId).show();
|
|
|
|
+ multipartUploadWithSts(storeAs, file, attachmentId, attachmentFlag, uploadPath, divId, "0");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ function gistdataInsertTitle(tValue){
|
|
|
|
+ var files = $("#gistdata_file")[0].files;
|
|
|
|
+ for(var i=0;i<files.length;i++) {
|
|
|
|
+ var file = files[i];
|
|
|
|
+ var gistdataId = "";
|
|
|
|
+ var gistdataFlag = "152";
|
|
|
|
+ console.log(file);
|
|
|
|
+ var timestamp = new Date().getTime();
|
|
|
|
+
|
|
|
|
+ var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
|
|
|
|
+ var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
|
|
|
|
+ /*将这段字符串存到数据库即可*/
|
|
|
|
+ var divId = "_subGistdata";
|
|
|
|
+ $("#addFile" + divId).show();
|
|
|
|
+ multipartUploadWithSts(storeAs, file, gistdataId, gistdataFlag, uploadPath, divId, "0");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ function otherInsertTitle(tValue){
|
|
|
|
+ var files = $("#other_file")[0].files;
|
|
|
|
+ for(var i=0;i<files.length;i++) {
|
|
|
|
+ var file = files[i];
|
|
|
|
+ var attachmentId = "";
|
|
|
|
+ var attachmentFlag = "153";
|
|
|
|
+ console.log(file);
|
|
|
|
+ var timestamp = new Date().getTime();
|
|
|
|
+
|
|
|
|
+ var storeAs = "newxgccpm-test/attachment-file/basedData/" + timestamp + "/" + file['name'];
|
|
|
|
+ var uploadPath = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/" + storeAs;
|
|
|
|
+ /*将这段字符串存到数据库即可*/
|
|
|
|
+ var divId = "_subOther";
|
|
|
|
+ $("#addFile" + divId).show();
|
|
|
|
+ multipartUploadWithSts(storeAs, file, attachmentId, attachmentFlag, uploadPath, divId, "0");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ function addFile() {
|
|
|
|
+ $("#attachment_file").click();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ function addRow(list, idx, tpl, row){
|
|
|
|
+ // var idx1 = $("#workClientLinkmanList tr").length;
|
|
|
|
+ bornTemplete(list, idx, tpl, row, idx);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ function bornTemplete(list, idx, tpl, row, idx1){
|
|
|
|
+ $(list).append(Mustache.render(tpl, {
|
|
|
|
+ idx: idx, delBtn: true, row: row,
|
|
|
|
+ order:idx1 + 1
|
|
|
|
+ }));
|
|
|
|
+ $(list+idx).find("select").each(function(){
|
|
|
|
+ $(this).val($(this).attr("data-value"));
|
|
|
|
+ });
|
|
|
|
+ $(list+idx).find("input[type='checkbox'], input[type='radio']").each(function(){
|
|
|
|
+ var ss = $(this).attr("data-value").split(',');
|
|
|
|
+ for (var i=0; i<ss.length; i++){
|
|
|
|
+ if($(this).val() == ss[i]){
|
|
|
|
+ $(this).attr("checked","checked");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ function delRow(obj, prefix){
|
|
|
|
+ var id = $(prefix+"_id");
|
|
|
|
+ var delFlag = $(prefix+"_delFlag");
|
|
|
|
+ $(obj).parent().parent().remove();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ function decideRepeat() {
|
|
|
|
+ var projectId = $("#projectId").val();
|
|
|
|
+ var id = $("#id").val();
|
|
|
|
+ $.ajax({
|
|
|
|
+ type:"post",
|
|
|
|
+ url: "${ctx}/subProject/subProject/decideRepeat?projectId="+projectId +"&id=" + id,
|
|
|
|
+ dataType:"json",
|
|
|
|
+ success:function(data){
|
|
|
|
+ if(data.success) {
|
|
|
|
+ }else {
|
|
|
|
+ top.layer.msg(data.str, {icon: 0});
|
|
|
|
+ $("#projectId").val("")
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ </script>
|
|
|
|
+</head>
|
|
|
|
+<body>
|
|
|
|
+<div class="single-form">
|
|
|
|
+ <div class="container">
|
|
|
|
+ <sys:message content="${message}"/>
|
|
|
|
+ <form:form id="inputForm" modelAttribute="subProjectInfo" action="${ctx}/subProject/subProject/save" method="post" class="form-horizontal">
|
|
|
|
+ <form:hidden path="id"/>
|
|
|
|
+ <form:hidden path="parentProId"/>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>项目基本信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>项目定义号:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="projectId" htmlEscape="false" class="form-control layui-input required" onchange="decideRepeat()"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>项目名称:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="projectName" htmlEscape="false" class="form-control layui-input required"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">单体工程WBS编号:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="wbsNum" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">工程编号:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="programmeId" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">工程名称:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="programmeName" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">审计项目类型:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="auditItemsType" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">创建人:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="createBy.name" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
|
+ <form:hidden path="createBy.id" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">电压等级:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="voltageLevel" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">现场联系人:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="onSiteContact" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">联系电话:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="contactNumber" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">实际开工时间:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="readonly" id="actualStartTime" name="actualStartTime" value="<fmt:formatDate value="${subProjectInfo.actualStartTime}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">实际竣工时间:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="readonly" id="actualEndTime" name="actualEndTime" value="<fmt:formatDate value="${subProjectInfo.actualEndTime}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>合同信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">施工单位名称:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="constructionUnit" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">合同编号:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="contractId" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">合同金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="contractSum" htmlEscape="false" class="form-control layui-input number"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">计划开工时间:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="readonly" id="planStartTime" name="planStartTime" value="<fmt:formatDate value="${subProjectInfo.planStartTime}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">计划竣工时间:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="readonly" id="planEndTime" name="planEndTime" value="<fmt:formatDate value="${subProjectInfo.planEndTime}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">结算折扣率:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="settleDiscountRate" htmlEscape="false" class="form-control layui-input number"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>送审信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">土建结算送审金额(元)下浮后金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="civilSubmitSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">安装结算送审金额(元)下浮后金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="installSubmitSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">施工费送审金额小计(元)下浮后金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="buildSubmitSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">甲供材送审金额(元)结算书中的物资金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="materialSubmitSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>审定信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">土建结算审定金额(元)下浮后金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="civilAuthorizeSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">安装结算审定金额(元)下浮后金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="installAuthorizeSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">施工费审定金额小计(元)下浮后金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="buildAuthorizeSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">甲供材审定金额(元):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="materialAuthorizeSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">施工费核减金额(元):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="buildDiscountSum" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">施工费核减率(%):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="buildDiscountRate" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">施工单位诚信扣款(元):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="creditDeduction" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">建议结算款(元):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="suggestedSettlement" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">是否查看现场:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <select id="hasViewScene" name="hasViewScene" class="form-control editable-select layui-input">
|
|
|
|
+ <option value="">请选择</option>
|
|
|
|
+ <option value="是" ${subProjectInfo.hasViewScene=='是'?'selected':''}>是</option>
|
|
|
|
+ <option value="否" ${subProjectInfo.hasViewScene=='否'?'selected':''}>否</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>审计费信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">审计费(元):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="auditFee" htmlEscape="false" class="form-control number layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>审计意见及报告信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">审计部下发意见文号:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="optionNum" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">事务所审计报告号(必填):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="officeReportNo" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>审计进度信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">事务所名称:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="officeName" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">事务所审计人员:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="officeAuditor" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">打包时间:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="readonly" id="packTime" name="packTime" value="<fmt:formatDate value="${subProjectInfo.packTime}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">审计应结束时间:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="readonly" id="planAuditTime" name="planAuditTime" value="<fmt:formatDate value="${subProjectInfo.planAuditTime}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">审计方式:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="auditType" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>备注</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm12 lw7 with-textarea">
|
|
|
|
+ <label class="layui-form-label">备注:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:textarea path="remarks" htmlEscape="false" rows="4" maxlength="255" class="form-control "/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>其他</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">审计专职:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="auditProfessional" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">提交送审日期:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="readonly" id="submitApprovalTime" name="submitApprovalTime" value="<fmt:formatDate value="${subProjectInfo.submitApprovalTime}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">送审人:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="submitApprovalMan" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">送审部门:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="submitApprovalDepartment" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">二级单位:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="secondaryUnit" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">一级单位:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="firstLevelUnit" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">送审单ID(勿动):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="submissionFormId" htmlEscape="false" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>成果文件</h2></div>
|
|
|
|
+ <div class="layui-item nav-btns">
|
|
|
|
+ <a id="attachment_btn" class="nav-btn nav-btn-add" title="添加附件"><i class="fa fa-plus"></i> 添加附件</a>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="addFile_subAttachment" style="display: none" class="upload-progress">
|
|
|
|
+ <span id="fileName_subAttachment" ></span>
|
|
|
|
+ <span id="_attachment" ></span>
|
|
|
|
+ <b><span id="baifenbi_subAttachment" ></span></b>
|
|
|
|
+ <div class="progress">
|
|
|
|
+ <div id="jindutiao_subAttachment" class="progress-bar" style="width: 0%" aria-valuenow="0">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <input id="attachment_file" type="file" name="attachment_file" multiple="multiple" style="display: none;" onChange="if(this.value)insertTitle(this.value);"/>
|
|
|
|
+ <span id="attachment_title"></span>
|
|
|
|
+ <div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
|
|
+ <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_subAttachment">
|
|
|
|
+ <c:forEach items="${subProjectInfo.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
|
+ <c:if test="${workClientAttachment.divIdType eq '_subAttachment'}">
|
|
|
|
+ <tr>
|
|
|
|
+ <%-- <td>${status.index + 1}</td>--%>
|
|
|
|
+ <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}"></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%','1')">${workClientAttachment.attachmentName}</a></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%')">${workClientAttachment.attachmentName}</a></td>
|
|
|
|
+ </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" >
|
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent(encodeURIComponent('${workClientAttachment.url}'));" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
|
+
|
|
|
|
+ <c:if test="${workClientAttachment.createBy.id eq fns:getUser().id}">
|
|
|
|
+ <a href="javascript:void(0)" onclick="deleteFileFromAliyun(this,'${ctx}/sys/workattachment/deleteFileFromAliyun?url=${workClientAttachment.url}&id=${workClientAttachment.id}&type=2','addFile')" class="op-btn op-btn-delete" ><i class="fa fa-trash"></i> 删除</a>
|
|
|
|
+ </c:if>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </c:if>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>依据性资料</h2></div>
|
|
|
|
+ <div class="layui-item nav-btns">
|
|
|
|
+ <a id="gistdata_btn" class="nav-btn nav-btn-add" title="添加附件"><i class="fa fa-plus"></i> 添加附件</a>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="addFile_subGistdata" style="display: none" class="upload-progress">
|
|
|
|
+ <span id="fileName_subGistdata" ></span>
|
|
|
|
+ <span id="_gistdata" ></span>
|
|
|
|
+ <b><span id="baifenbi_subGistdata" ></span></b>
|
|
|
|
+ <div class="progress">
|
|
|
|
+ <div id="jindutiao_subGistdata" class="progress-bar" style="width: 0%" aria-valuenow="0">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <input id="gistdata_file" type="file" name="gistdata_file" multiple="multiple" style="display: none;" onChange="if(this.value)gistdataInsertTitle(this.value);"/>
|
|
|
|
+ <span id="gistdata_title"></span>
|
|
|
|
+ <div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
|
|
+ <table id="gistdata_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_subGistdata">
|
|
|
|
+ <c:forEach items="${subProjectInfo.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
|
+ <c:if test="${workClientAttachment.divIdType eq '_subGistdata'}">
|
|
|
|
+ <tr>
|
|
|
|
+ <%-- <td>${status.index + 1}</td>--%>
|
|
|
|
+ <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}"></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%','1')">${workClientAttachment.attachmentName}</a></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%')">${workClientAttachment.attachmentName}</a></td>
|
|
|
|
+ </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" >
|
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent(encodeURIComponent('${workClientAttachment.url}'));" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
|
+
|
|
|
|
+ <c:if test="${workClientAttachment.createBy.id eq fns:getUser().id}">
|
|
|
|
+ <a href="javascript:void(0)" onclick="deleteFileFromAliyun(this,'${ctx}/sys/workattachment/deleteFileFromAliyun?url=${workClientAttachment.url}&id=${workClientAttachment.id}&type=2','addFileGistdata')" class="op-btn op-btn-delete" ><i class="fa fa-trash"></i> 删除</a>
|
|
|
|
+ </c:if>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </c:if>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>其他文件</h2></div>
|
|
|
|
+ <div class="layui-item nav-btns">
|
|
|
|
+ <a id="other_btn" class="nav-btn nav-btn-add" title="添加附件"><i class="fa fa-plus"></i> 添加附件</a>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="addFile_subOther" style="display: none" class="upload-progress">
|
|
|
|
+ <span id="fileName_subOther" ></span>
|
|
|
|
+ <span id="_other" ></span>
|
|
|
|
+ <b><span id="baifenbi_subOther" ></span></b>
|
|
|
|
+ <div class="progress">
|
|
|
|
+ <div id="jindutiao_subOther" class="progress-bar" style="width: 0%" aria-valuenow="0">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <input id="other_file" type="file" name="other_file" multiple="multiple" style="display: none;" onChange="if(this.value)otherInsertTitle(this.value);"/>
|
|
|
|
+ <span id="other_title"></span>
|
|
|
|
+ <div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
|
|
+ <table id="upTable_other" 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_subOther">
|
|
|
|
+ <c:forEach items="${subProjectInfo.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
|
+ <c:if test="${workClientAttachment.divIdType eq '_subOther'}">
|
|
|
|
+ <tr>
|
|
|
|
+ <%-- <td>${status.index + 1}</td>--%>
|
|
|
|
+ <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}"></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%','1')">${workClientAttachment.attachmentName}</a></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%')">${workClientAttachment.attachmentName}</a></td>
|
|
|
|
+ </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" >
|
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent(encodeURIComponent('${workClientAttachment.url}'));" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
|
+
|
|
|
|
+ <c:if test="${workClientAttachment.createBy.id eq fns:getUser().id}">
|
|
|
|
+ <a href="javascript:void(0)" onclick="deleteFileFromAliyun(this,'${ctx}/sys/workattachment/deleteFileFromAliyun?url=${workClientAttachment.url}&id=${workClientAttachment.id}&type=2','addFileOther')" class="op-btn op-btn-delete" ><i class="fa fa-trash"></i> 删除</a>
|
|
|
|
+ </c:if>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </c:if>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="form-group layui-row page-end"></div>
|
|
|
|
+ </form:form>
|
|
|
|
+ </div>
|
|
|
|
+</div>
|
|
|
|
+</body>
|
|
|
|
+</html>
|