|  | @@ -0,0 +1,517 @@
 | 
	
		
			
				|  |  | +<%@ 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">
 | 
	
		
			
				|  |  | +        $(function(){
 | 
	
		
			
				|  |  | +            initControlData();
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +        function openDialogre(title,url,width,height,target){
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){//如果是移动端,就使用自适应大小弹窗
 | 
	
		
			
				|  |  | +                width='auto';
 | 
	
		
			
				|  |  | +                height='auto';
 | 
	
		
			
				|  |  | +            }else{//如果是PC端,根据用户设置的width和height显示。
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            top.layer.open({
 | 
	
		
			
				|  |  | +                type: 2,
 | 
	
		
			
				|  |  | +                area: [width, height],
 | 
	
		
			
				|  |  | +                title: title,
 | 
	
		
			
				|  |  | +                skin: 'three-btns',
 | 
	
		
			
				|  |  | +                maxmin: true, //开启最大化最小化按钮
 | 
	
		
			
				|  |  | +                content: url ,
 | 
	
		
			
				|  |  | +                btn: ['提交','关闭'],
 | 
	
		
			
				|  |  | +                btn1: function(index, layero){
 | 
	
		
			
				|  |  | +                    var body = top.layer.getChildFrame('body', index);
 | 
	
		
			
				|  |  | +                    var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
 | 
	
		
			
				|  |  | +                    var inputForm = body.find('#inputForm');
 | 
	
		
			
				|  |  | +                    var top_iframe;
 | 
	
		
			
				|  |  | +                    if(target){
 | 
	
		
			
				|  |  | +                        top_iframe = target;//如果指定了iframe,则在改frame中跳转
 | 
	
		
			
				|  |  | +                    }else{
 | 
	
		
			
				|  |  | +                        top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    inputForm.attr("target",top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
 | 
	
		
			
				|  |  | +                    if(iframeWin.contentWindow.doSubmit(1) ){
 | 
	
		
			
				|  |  | +                        top.layer.close(index);//关闭对话框。
 | 
	
		
			
				|  |  | +                        setTimeout(function(){top.layer.close(index)}, 100);//延时0.1秒,对应360 7.1版本bug
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                btn2: function(index){
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        function openDialogreAudit(title,url,width,height,target){
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){//如果是移动端,就使用自适应大小弹窗
 | 
	
		
			
				|  |  | +                width='auto';
 | 
	
		
			
				|  |  | +                height='auto';
 | 
	
		
			
				|  |  | +            }else{//如果是PC端,根据用户设置的width和height显示。
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            top.layer.open({
 | 
	
		
			
				|  |  | +                type: 2,
 | 
	
		
			
				|  |  | +                area: [width, height],
 | 
	
		
			
				|  |  | +                title: title,
 | 
	
		
			
				|  |  | +                skin: 'three-btns',
 | 
	
		
			
				|  |  | +                maxmin: true, //开启最大化最小化按钮
 | 
	
		
			
				|  |  | +                content: url ,
 | 
	
		
			
				|  |  | +                btn: ['送审','关闭'],
 | 
	
		
			
				|  |  | +                btn1: function(index, layero){
 | 
	
		
			
				|  |  | +                    var body = top.layer.getChildFrame('body', index);
 | 
	
		
			
				|  |  | +                    var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
 | 
	
		
			
				|  |  | +                    var inputForm = body.find('#inputForm');
 | 
	
		
			
				|  |  | +                    var top_iframe;
 | 
	
		
			
				|  |  | +                    if(target){
 | 
	
		
			
				|  |  | +                        top_iframe = target;//如果指定了iframe,则在改frame中跳转
 | 
	
		
			
				|  |  | +                    }else{
 | 
	
		
			
				|  |  | +                        top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    inputForm.attr("target",top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
 | 
	
		
			
				|  |  | +                    if(iframeWin.contentWindow.doSubmit(1) ){
 | 
	
		
			
				|  |  | +                        top.layer.close(index);//关闭对话框。
 | 
	
		
			
				|  |  | +                        setTimeout(function(){top.layer.close(index)}, 100);//延时0.1秒,对应360 7.1版本bug
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                btn2: function(index){
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        function openDialogres(title,url,width,height,target){
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){//如果是移动端,就使用自适应大小弹窗
 | 
	
		
			
				|  |  | +                width='auto';
 | 
	
		
			
				|  |  | +                height='auto';
 | 
	
		
			
				|  |  | +            }else{//如果是PC端,根据用户设置的width和height显示。
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            top.layer.open({
 | 
	
		
			
				|  |  | +                type: 2,
 | 
	
		
			
				|  |  | +                area: [width, height],
 | 
	
		
			
				|  |  | +                title: title,
 | 
	
		
			
				|  |  | +                skin: 'three-btns',
 | 
	
		
			
				|  |  | +                maxmin: true, //开启最大化最小化按钮
 | 
	
		
			
				|  |  | +                content: url ,
 | 
	
		
			
				|  |  | +                btn: ['送审','暂存','关闭'],
 | 
	
		
			
				|  |  | +                btn1: function(index, layero){
 | 
	
		
			
				|  |  | +                    var body = top.layer.getChildFrame('body', index);
 | 
	
		
			
				|  |  | +                    var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
 | 
	
		
			
				|  |  | +                    var inputForm = body.find('#inputForm');
 | 
	
		
			
				|  |  | +                    var top_iframe;
 | 
	
		
			
				|  |  | +                    if(target){
 | 
	
		
			
				|  |  | +                        top_iframe = target;//如果指定了iframe,则在改frame中跳转
 | 
	
		
			
				|  |  | +                    }else{
 | 
	
		
			
				|  |  | +                        top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    inputForm.attr("target",top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
 | 
	
		
			
				|  |  | +                    if(iframeWin.contentWindow.doSubmit(1) ){
 | 
	
		
			
				|  |  | +                        //top.layer.close(index);//关闭对话框。
 | 
	
		
			
				|  |  | +                        setTimeout(function(){top.layer.close(index)}, 100);//延时0.1秒,对应360 7.1版本bug
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                btn2:function(index,layero){
 | 
	
		
			
				|  |  | +                    var body = top.layer.getChildFrame('body', index);
 | 
	
		
			
				|  |  | +                    var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
 | 
	
		
			
				|  |  | +                    var inputForm = body.find('#inputForm');
 | 
	
		
			
				|  |  | +                    var top_iframe;
 | 
	
		
			
				|  |  | +                    if(target){
 | 
	
		
			
				|  |  | +                        top_iframe = target;//如果指定了iframe,则在改frame中跳转
 | 
	
		
			
				|  |  | +                    }else{
 | 
	
		
			
				|  |  | +                        top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    inputForm.attr("target",top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
 | 
	
		
			
				|  |  | +                    if(iframeWin.contentWindow.doSubmit(2) ){
 | 
	
		
			
				|  |  | +                        // top.layer.close(index);//关闭对话框。
 | 
	
		
			
				|  |  | +                        setTimeout(function(){top.layer.close(index)}, 100);//延时0.1秒,对应360 7.1版本bug
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    return false;
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                btn3: function(index){
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        // 确认对话框
 | 
	
		
			
				|  |  | +			function confirmxRefresh(mess, href){
 | 
	
		
			
				|  |  | +            top.layer.confirm(mess, {icon: 3, title:'系统提示'}, function(index){
 | 
	
		
			
				|  |  | +                //do something
 | 
	
		
			
				|  |  | +                if (typeof href == 'function') {
 | 
	
		
			
				|  |  | +                    href();
 | 
	
		
			
				|  |  | +                }else{
 | 
	
		
			
				|  |  | +                    resetTip(); //loading();
 | 
	
		
			
				|  |  | +                    $.ajax({
 | 
	
		
			
				|  |  | +                        url:href,
 | 
	
		
			
				|  |  | +                        data:$('#loginForm').serialize(),
 | 
	
		
			
				|  |  | +                        type:"post",
 | 
	
		
			
				|  |  | +                        success:function(data){
 | 
	
		
			
				|  |  | +                            if(data.status){
 | 
	
		
			
				|  |  | +                                parent.layer.msg('删除成功',{icon:1});
 | 
	
		
			
				|  |  | +                            }else {
 | 
	
		
			
				|  |  | +								parent.layer.msg('删除失败',{icon:2});
 | 
	
		
			
				|  |  | +                            }
 | 
	
		
			
				|  |  | +                            parent.refreshTrees();
 | 
	
		
			
				|  |  | +                            location = '${ctx}/projectcontentinfo/projectcontentinfo/list?project.id=${projectRecords.id}';
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  | +                    });
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                top.layer.close(index);
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +            return false;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +		function openDialogWork1(title,url,width,height,target){
 | 
	
		
			
				|  |  | +			top.layer.open({
 | 
	
		
			
				|  |  | +				type: 2,
 | 
	
		
			
				|  |  | +				area: [width, height],
 | 
	
		
			
				|  |  | +				title: title,
 | 
	
		
			
				|  |  | +				maxmin: true, //开启最大化最小化按钮
 | 
	
		
			
				|  |  | +				content: url ,
 | 
	
		
			
				|  |  | +				btn: ['关闭'],
 | 
	
		
			
				|  |  | +				end:function(index){
 | 
	
		
			
				|  |  | +					top.layer.close(index)
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  | +			});
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +        function openDialogWork(title,url,width,height,target){
 | 
	
		
			
				|  |  | +            initControlData();
 | 
	
		
			
				|  |  | +            if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){//如果是移动端,就使用自适应大小弹窗
 | 
	
		
			
				|  |  | +                width='auto';
 | 
	
		
			
				|  |  | +                height='auto';
 | 
	
		
			
				|  |  | +            }else{//如果是PC端,根据用户设置的width和height显示。
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            top.layer.open({
 | 
	
		
			
				|  |  | +                type: 2,
 | 
	
		
			
				|  |  | +                area: [width, height],
 | 
	
		
			
				|  |  | +                title: title,
 | 
	
		
			
				|  |  | +                maxmin: true, //开启最大化最小化按钮
 | 
	
		
			
				|  |  | +                content: url ,
 | 
	
		
			
				|  |  | +                btn: ['提交', '关闭'],
 | 
	
		
			
				|  |  | +                yes: function(index, layero){
 | 
	
		
			
				|  |  | +                    var body = top.layer.getChildFrame('body', index);
 | 
	
		
			
				|  |  | +                    var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
 | 
	
		
			
				|  |  | +                    var inputForm = body.find('#inputForm');
 | 
	
		
			
				|  |  | +                    var top_iframe;
 | 
	
		
			
				|  |  | +                    if(target){
 | 
	
		
			
				|  |  | +                        top_iframe = target;//如果指定了iframe,则在改frame中跳转
 | 
	
		
			
				|  |  | +                    }else{
 | 
	
		
			
				|  |  | +                        top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    inputForm.attr("target",top_iframe);//表单提交成功后,从服务器返回的url在当前tab中展示
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                    if(iframeWin.contentWindow.doSubmit() ){
 | 
	
		
			
				|  |  | +                        // top.layer.close(index);//关闭对话框。
 | 
	
		
			
				|  |  | +                        setTimeout(function(){top.layer.close(index)}, 100);//延时0.1秒,对应360 7.1版本bug
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                cancel: function(index){
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                end:function(index){
 | 
	
		
			
				|  |  | +                    top.layer.close(index)
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        /**
 | 
	
		
			
				|  |  | +         * 初始化控制数据
 | 
	
		
			
				|  |  | +         */
 | 
	
		
			
				|  |  | +        function initControlData(){
 | 
	
		
			
				|  |  | +            $.ajax({
 | 
	
		
			
				|  |  | +                type:'post',
 | 
	
		
			
				|  |  | +                url:'${ctx}/projectcontroltable/projectControlTable/delControlData',
 | 
	
		
			
				|  |  | +                data:{
 | 
	
		
			
				|  |  | +                    "projectId":"${projectRecords.id}"
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                success:function(data){
 | 
	
		
			
				|  |  | +                    console.log(data);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +	</script>
 | 
	
		
			
				|  |  | +	<script>
 | 
	
		
			
				|  |  | +		function initRecordStatus(index,id,dataid,status)
 | 
	
		
			
				|  |  | +		{
 | 
	
		
			
				|  |  | +		    var elem = document.getElementById("status_td_" + index);
 | 
	
		
			
				|  |  | +            var st = getAuditState(status);
 | 
	
		
			
				|  |  | +            if(st.action)
 | 
	
		
			
				|  |  | +                var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/projectcontentinfo/projectcontentinfo/getProcessOne?id=" + id + "&projectReportData.id="+ dataid + "&type="+status+"','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
 | 
	
		
			
				|  |  | +            else
 | 
	
		
			
				|  |  | +                var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            elem.innerHTML = xml;
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +	</script>
 | 
	
		
			
				|  |  | +</head>
 | 
	
		
			
				|  |  | +<body>
 | 
	
		
			
				|  |  | +<div class="single-form">
 | 
	
		
			
				|  |  | +	<div class="container${container}" id="container">
 | 
	
		
			
				|  |  | +		<sys:message content="${message}"/>
 | 
	
		
			
				|  |  | +			<div class="form-group layui-row first lw12">
 | 
	
		
			
				|  |  | +				<div class="form-group-label"><h2>基本信息</h2></div>
 | 
	
		
			
				|  |  | +				<div class="layui-item layui-col-sm6">
 | 
	
		
			
				|  |  | +					<label class="layui-form-label"><span class="require-item">*</span>项目名称:</label>
 | 
	
		
			
				|  |  | +					<div class="layui-input-block">
 | 
	
		
			
				|  |  | +						<input htmlEscape="false"  readonly="true" class="form-control layui-input" value="${projectRecords.projectName}"/>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +				</div>
 | 
	
		
			
				|  |  | +				<div class="layui-item layui-col-sm6">
 | 
	
		
			
				|  |  | +					<label class="layui-form-label">项目编号:</label>
 | 
	
		
			
				|  |  | +					<div class="layui-input-block">
 | 
	
		
			
				|  |  | +						<input htmlEscape="false"  readonly="true" class="form-control layui-input" value="${projectRecords.projectId}"/>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +				</div>
 | 
	
		
			
				|  |  | +				<div class="layui-item layui-col-sm6">
 | 
	
		
			
				|  |  | +					<label class="layui-form-label"><span class="require-item">*</span>项目负责人:</label>
 | 
	
		
			
				|  |  | +					<div class="layui-input-block">
 | 
	
		
			
				|  |  | +						<input htmlEscape="false"  readonly="true" class="form-control layui-input" value="${projectRecords.leaderNameStr}"/>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +				</div>
 | 
	
		
			
				|  |  | +				<div class="layui-item layui-col-sm6">
 | 
	
		
			
				|  |  | +					<label class="layui-form-label">主委托方:</label>
 | 
	
		
			
				|  |  | +					<div class="layui-input-block">
 | 
	
		
			
				|  |  | +						<input htmlEscape="false"  readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.client.name}"/>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +				</div>
 | 
	
		
			
				|  |  | +				<div class="form-group layui-row">
 | 
	
		
			
				|  |  | +					<div class="form-group-label"><h2>依据性资料明细</h2></div>
 | 
	
		
			
				|  |  | +					<div class="layui-item nav-btns">
 | 
	
		
			
				|  |  | +						<c:if test="${empty change}">
 | 
	
		
			
				|  |  | +							<a href="javascript:void(0)" onclick="openDialogre('新增依据性资料', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=basedData&dictType=${dictType}&id=${id}&parentIds=${parentIds}','95%','95%',false,'inputForm')" class="nav-btn nav-btn-add" ><i class="fa fa-plus"></i>  新增</a>
 | 
	
		
			
				|  |  | +						</c:if>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +					<div class="layui-item layui-col-xs12 form-table-container">
 | 
	
		
			
				|  |  | +						<table id="contentTableBase" class="table table-bordered table-condensed details">
 | 
	
		
			
				|  |  | +							<thead>
 | 
	
		
			
				|  |  | +							<tr>
 | 
	
		
			
				|  |  | +								<th class="hide"></th>
 | 
	
		
			
				|  |  | +								<th >资料编号</th>
 | 
	
		
			
				|  |  | +								<th >资料名称</th>
 | 
	
		
			
				|  |  | +								<th width="100">资料类别</th>
 | 
	
		
			
				|  |  | +								<th width="90">上传人</th>
 | 
	
		
			
				|  |  | +								<th width="90">上传日期</th>
 | 
	
		
			
				|  |  | +								<th width="130">操作</th>
 | 
	
		
			
				|  |  | +							</tr>
 | 
	
		
			
				|  |  | +							</thead>
 | 
	
		
			
				|  |  | +							<tbody id="workBaseDataList">
 | 
	
		
			
				|  |  | +							<c:choose>
 | 
	
		
			
				|  |  | +								<c:when test="${not empty projectBasedDatas}">
 | 
	
		
			
				|  |  | +									<c:forEach items="${projectBasedDatas}" var="projectBasedData" varStatus="idx">
 | 
	
		
			
				|  |  | +										<tr>
 | 
	
		
			
				|  |  | +											<td class="hide">
 | 
	
		
			
				|  |  | +												<input type="hidden" id="workBaseDataList${idx.index}_id" value="${projectBasedData.id}">
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td title="${projectBasedData.number}" style="text-align:center;">
 | 
	
		
			
				|  |  | +													${projectBasedData.number}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td title="${projectBasedData.name}" style="text-align:center;">
 | 
	
		
			
				|  |  | +													${projectBasedData.name}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td title="${fns:getDictLabel(projectBasedData.type, 'project_document_type', '')}" style="text-align:center;">
 | 
	
		
			
				|  |  | +													${fns:getDictLabel(projectBasedData.type, 'project_document_type', '')}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td title="${projectBasedData.uploadUser.name}" style="text-align:center;">
 | 
	
		
			
				|  |  | +													${projectBasedData.uploadUser.name}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td style="text-align:center;">
 | 
	
		
			
				|  |  | +												<fmt:formatDate value="${projectBasedData.uploadDate}" pattern="yyyy-MM-dd"/>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td style="text-align:center;" class="op-td">
 | 
	
		
			
				|  |  | +												<div class="op-btn-box">
 | 
	
		
			
				|  |  | +													<c:if test="${projectBasedData.createBy.id eq fns:getUser().id && empty change}">
 | 
	
		
			
				|  |  | +														<a href="javascript:void(0)" onclick="openDialogre('修改依据性资料', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=basedData&dictType=${dictType}&id=${id}&parentIds=${parentIds}&projectBasedData.id=${projectBasedData.id}','95%','95%',false,'inputForm')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 修改</a>
 | 
	
		
			
				|  |  | +														<a href="${ctx}/projectcontentinfo/projectcontentinfo/delete?infoId=${projectBasedData.id}&id=${id}&type=1" onclick="return confirmxRefresh('确认要删除该依据性资料吗?', this.href)"   class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>
 | 
	
		
			
				|  |  | +													</c:if>
 | 
	
		
			
				|  |  | +												</div>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +										</tr>
 | 
	
		
			
				|  |  | +									</c:forEach>
 | 
	
		
			
				|  |  | +								</c:when>
 | 
	
		
			
				|  |  | +								<c:otherwise>
 | 
	
		
			
				|  |  | +									<tr>
 | 
	
		
			
				|  |  | +										<td colspan="6">
 | 
	
		
			
				|  |  | +											暂无数据
 | 
	
		
			
				|  |  | +										</td>
 | 
	
		
			
				|  |  | +									</tr>
 | 
	
		
			
				|  |  | +								</c:otherwise>
 | 
	
		
			
				|  |  | +							</c:choose>
 | 
	
		
			
				|  |  | +							</tbody>
 | 
	
		
			
				|  |  | +						</table>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +				</div>
 | 
	
		
			
				|  |  | +				<div class="form-group layui-row">
 | 
	
		
			
				|  |  | +					<div class="form-group-label"><h2>工作内容列表</h2></div>
 | 
	
		
			
				|  |  | +					<div class="layui-item nav-btns">
 | 
	
		
			
				|  |  | +						<c:if test="${empty change}">
 | 
	
		
			
				|  |  | +						<a href="javascript:void(0)" onclick="openDialogWork('新增工作内容', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=content&dictType=${dictType}&id=${id}&parentIds=${parentIds}','95%','95%',false,'inputForm')" class="nav-btn nav-btn-add" ><i class="fa fa-plus"></i>  新增</a>
 | 
	
		
			
				|  |  | +						</c:if>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +					<div class="layui-item layui-col-xs12 form-table-container">
 | 
	
		
			
				|  |  | +						<table id="contentTable2" class="table table-bordered table-condensed details">
 | 
	
		
			
				|  |  | +							<thead>
 | 
	
		
			
				|  |  | +							<tr>
 | 
	
		
			
				|  |  | +								<th>内容编号</th>
 | 
	
		
			
				|  |  | +								<th>内容名称</th>
 | 
	
		
			
				|  |  | +								<th width="80">内容类型</th>
 | 
	
		
			
				|  |  | +								<th width="90">负责人</th>
 | 
	
		
			
				|  |  | +								<th width="90">创建日期</th>
 | 
	
		
			
				|  |  | +								<th width="130">操作</th>
 | 
	
		
			
				|  |  | +							</tr>
 | 
	
		
			
				|  |  | +							</thead>
 | 
	
		
			
				|  |  | +							<tbody>
 | 
	
		
			
				|  |  | +							<c:choose>
 | 
	
		
			
				|  |  | +								<c:when test="${not empty projectContentDatas}">
 | 
	
		
			
				|  |  | +									<c:forEach items="${projectContentDatas}" var="projectContentData" varStatus="idx">
 | 
	
		
			
				|  |  | +										<tr>
 | 
	
		
			
				|  |  | +											<td title="${projectContentData.number}">
 | 
	
		
			
				|  |  | +													${projectContentData.number}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td><a title="${projectContentData.name}" href="#" onclick="openDialogView('查看工作内容详情', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=contentView&dictType=${dictType}&id=${id}&parentIds=${parentIds}&infoId=${projectContentData.id}','95%','95%')">
 | 
	
		
			
				|  |  | +													${projectContentData.name}</a>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td title="${fns:getContentTypeName(projectContentData.type,"")}">
 | 
	
		
			
				|  |  | +													${fns:getContentTypeName(projectContentData.type,"")}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td title="${projectContentData.master.name}">
 | 
	
		
			
				|  |  | +													${projectContentData.master.name}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td>
 | 
	
		
			
				|  |  | +												<fmt:formatDate value="${projectContentData.createDate}" pattern="yyyy-MM-dd"/>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td class="op-td">
 | 
	
		
			
				|  |  | +												<div class="op-btn-box">
 | 
	
		
			
				|  |  | +													<c:if test="${fns:getUser().id == projectContentData.createBy.id && empty change}">
 | 
	
		
			
				|  |  | +														<a href="#" onclick="openDialog('修改工作内容详情', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=content&dictType=${dictType}&id=${id}&parentIds=${parentIds}&infoId=${projectContentData.id}','95%','95%')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 修改</a>
 | 
	
		
			
				|  |  | +														<a href="${ctx}/projectcontentinfo/projectcontentinfo/delete?infoId=${projectContentData.id}&id=${id}&type=2" onclick="return confirmxRefresh('确认要删除该工作内容详情吗?', this.href)"   class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>
 | 
	
		
			
				|  |  | +													</c:if>
 | 
	
		
			
				|  |  | +												</div>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +										</tr>
 | 
	
		
			
				|  |  | +									</c:forEach>
 | 
	
		
			
				|  |  | +								</c:when>
 | 
	
		
			
				|  |  | +								<c:otherwise>
 | 
	
		
			
				|  |  | +									<tr>
 | 
	
		
			
				|  |  | +										<td colspan="6">
 | 
	
		
			
				|  |  | +											暂无数据
 | 
	
		
			
				|  |  | +										</td>
 | 
	
		
			
				|  |  | +									</tr>
 | 
	
		
			
				|  |  | +								</c:otherwise>
 | 
	
		
			
				|  |  | +							</c:choose>
 | 
	
		
			
				|  |  | +							</tbody>
 | 
	
		
			
				|  |  | +						</table>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +				</div>
 | 
	
		
			
				|  |  | +				<div class="form-group layui-row">
 | 
	
		
			
				|  |  | +					<div class="form-group-label"><h2>报告列表</h2></div>
 | 
	
		
			
				|  |  | +					<div class="layui-item nav-btns">
 | 
	
		
			
				|  |  | +						<c:if test="${empty change}">
 | 
	
		
			
				|  |  | +							<a href="javascript:void(0)" onclick="openDialogWork1('领取报告号', '${ctx}/projectreportnum/projectReportNum/list','60%','95%',false,'inputForm')" class="nav-btn nav-btn-add" ><i class="fa fa-plus"></i>  领取报告号</a>
 | 
	
		
			
				|  |  | +						</c:if>
 | 
	
		
			
				|  |  | +						<c:if test="${empty change}">
 | 
	
		
			
				|  |  | +							<a href="javascript:void(0)" onclick="openDialogres('新增报告文件', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=report&dictType=${dictType}&id=${id}&parentIds=${parentIds}','95%','95%',false,'inputForm')" class="nav-btn nav-btn-add" ><i class="fa fa-plus"></i>  新增报告</a>
 | 
	
		
			
				|  |  | +						</c:if>
 | 
	
		
			
				|  |  | +						</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 width="110">工作内容类型</th>
 | 
	
		
			
				|  |  | +								<th width="80">签章类型</th>
 | 
	
		
			
				|  |  | +								<th width="90">创建日期</th>
 | 
	
		
			
				|  |  | +								<th width="80">状态</th>
 | 
	
		
			
				|  |  | +								<th width="130">操作</th>
 | 
	
		
			
				|  |  | +							</tr>
 | 
	
		
			
				|  |  | +							</thead>
 | 
	
		
			
				|  |  | +							<tbody>
 | 
	
		
			
				|  |  | +							<c:choose>
 | 
	
		
			
				|  |  | +								<c:when test="${not empty projectReportDatas}">
 | 
	
		
			
				|  |  | +									<c:forEach items="${projectReportDatas}" var="projectReportData" varStatus="index">
 | 
	
		
			
				|  |  | +										<tr>
 | 
	
		
			
				|  |  | +											<td><a title="${projectReportData.number}" href="javascript:void(0)" onclick="openDialogView('查看报告详情', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=reportView&dictType=${dictType}&id=${id}&parentIds=${parentIds}&infoId=${projectReportData.id}','95%', '95%')">
 | 
	
		
			
				|  |  | +													${projectReportData.number}
 | 
	
		
			
				|  |  | +											</a></td>
 | 
	
		
			
				|  |  | +											<td>
 | 
	
		
			
				|  |  | +												<a title="${projectReportData.name}" href="javascript:void(0)" onclick="openDialogView('查看报告详情', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=reportView&dictType=${dictType}&id=${id}&parentIds=${parentIds}&infoId=${projectReportData.id}','95%', '95%')">
 | 
	
		
			
				|  |  | +														${projectReportData.name}
 | 
	
		
			
				|  |  | +												</a>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td title="${fns:getContentTypeName(projectReportData.type,"")}">
 | 
	
		
			
				|  |  | +													${fns:getContentTypeName(projectReportData.type,"")}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td title="${projectReportData.reportType}">
 | 
	
		
			
				|  |  | +													${projectReportData.reportType}
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td>
 | 
	
		
			
				|  |  | +												<fmt:formatDate value="${projectReportData.reportDate}" pattern="yyyy-MM-dd"/>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td class="op-td">
 | 
	
		
			
				|  |  | +												<%--<c:choose>--%>
 | 
	
		
			
				|  |  | +													<%--<c:when test="${empty projectReportData.status || projectReportData.status eq 1}">--%>
 | 
	
		
			
				|  |  | +														<%--<div style="text-align: center">--%>
 | 
	
		
			
				|  |  | +															<%--<a href="javascript:void(0)" class="op-btn op-btn-trace" >${fns:getDictLabel(projectReportData.status, 'audit_state', '')}</a>--%>
 | 
	
		
			
				|  |  | +														<%--</div>--%>
 | 
	
		
			
				|  |  | +													<%--</c:when>--%>
 | 
	
		
			
				|  |  | +													<%--<c:otherwise>--%>
 | 
	
		
			
				|  |  | +														<%--<div style="text-align: center">--%>
 | 
	
		
			
				|  |  | +															<%--<a href="javascript:void(0)" onclick="openDialogView('流程追踪', '${ctx}/projectcontentinfo/projectcontentinfo/getProcessOne?id=${id}&projectReportData.id=${projectReportData.id}&type=1','95%','95%')" class="op-btn op-btn-trace" >${fns:getDictLabel(projectReportData.status, 'audit_state', '')}</a>--%>
 | 
	
		
			
				|  |  | +														<%--</div>--%>
 | 
	
		
			
				|  |  | +													<%--</c:otherwise>--%>
 | 
	
		
			
				|  |  | +												<%--</c:choose>--%>
 | 
	
		
			
				|  |  | +                                                <div style="text-align: center" id="status_td_${index.index+1}">
 | 
	
		
			
				|  |  | +                                                </div>
 | 
	
		
			
				|  |  | +												<script>
 | 
	
		
			
				|  |  | +                                                    initRecordStatus(${index.index+1},"${id}","${projectReportData.id}","${projectReportData.status}");
 | 
	
		
			
				|  |  | +												</script>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +											<td class="op-td">
 | 
	
		
			
				|  |  | +												<div class="op-btn-box">
 | 
	
		
			
				|  |  | +													<c:if test="${projectReportData.createBy.id eq fns:getUser().id && empty change}">
 | 
	
		
			
				|  |  | +														<c:if test="${projectReportData.status eq '1'}">
 | 
	
		
			
				|  |  | +															<a href="javascript:void(0)" onclick="openDialogres('修改报告', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=report&dictType=${dictType}&id=${id}&parentIds=${parentIds}&projectReportData.id=${projectReportData.id}','95%','95%',false,'inputForm')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 修改</a>
 | 
	
		
			
				|  |  | +															<a href="${ctx}/projectcontentinfo/projectcontentinfo/delete?infoId=${projectReportData.id}&id=${id}&type=8" onclick="return confirmxRefresh('确认要删除该工作内容报告吗?', this.href)"   class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>
 | 
	
		
			
				|  |  | +														</c:if>
 | 
	
		
			
				|  |  | +														<c:if test="${projectReportData.status eq '3'}">
 | 
	
		
			
				|  |  | +															<a href="javascript:void(0)" onclick="openDialogreAudit('修改报告', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=report&dictType=${dictType}&id=${id}&parentIds=${parentIds}&projectReportData.id=${projectReportData.id}','95%','95%',false,'inputForm')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 修改</a>
 | 
	
		
			
				|  |  | +															<a href="${ctx}/projectcontentinfo/projectcontentinfo/delete?infoId=${projectReportData.id}&id=${id}&type=8" onclick="return confirmxRefresh('确认要删除该工作内容报告吗?', this.href)"   class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>
 | 
	
		
			
				|  |  | +														</c:if>
 | 
	
		
			
				|  |  | +														<c:if test="${projectReportData.status eq '2' }">
 | 
	
		
			
				|  |  | +															<a href="${ctx}/projectcontentinfo/projectcontentinfo/cancelInvalidate?infoId=${projectReportData.id}&id=${id}&type=8" onclick="return confirmx('确认要撤回该工作内容报告吗?', this.href)"    class="op-btn op-btn-cancel"><i class="glyphicon glyphicon-share-alt"></i> 撤回</a>
 | 
	
		
			
				|  |  | +														</c:if>
 | 
	
		
			
				|  |  | +														<c:if test="${projectReportData.status eq '4'}">
 | 
	
		
			
				|  |  | +															<a href="javascript:void(0)" onclick="openDialogreAudit('修改报告', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=reportModify&dictType=${dictType}&id=${id}&parentIds=${parentIds}&projectReportData.id=${projectReportData.id}','95%','95%',false,'inputForm')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 修改</a>
 | 
	
		
			
				|  |  | +															<a href="${ctx}/projectcontentinfo/projectcontentinfo/delete?infoId=${projectReportData.id}&id=${id}&type=8" onclick="return confirmxRefresh('确认要删除该工作内容报告吗?', this.href)"   class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>
 | 
	
		
			
				|  |  | +														</c:if>
 | 
	
		
			
				|  |  | +														<c:if test="${projectReportData.status eq '5'}">
 | 
	
		
			
				|  |  | +															<a href="javascript:void(0)" onclick="openDialogres('报告变更', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=reportChange&dictType=${dictType}&id=${id}&parentIds=${parentIds}&projectReportData.id=${projectReportData.id}','95%','95%',false,'inputForm')" class="op-btn op-btn-revert" ><i class="fa fa-edit"></i> 变更</a>
 | 
	
		
			
				|  |  | +															<a href="javascript:void(0)" onclick="openDialogres('报告作废', '${ctx}/projectcontentinfo/projectcontentinfo/form?view=reportInvalid&dictType=${dictType}&id=${id}&parentIds=${parentIds}&projectReportData.id=${projectReportData.id}','95%','95%',false,'inputForm')" class="op-btn op-btn-invalid"><i class="fa fa-trash-o"></i> 作废</a>
 | 
	
		
			
				|  |  | +														</c:if>
 | 
	
		
			
				|  |  | +													</c:if>
 | 
	
		
			
				|  |  | +												</div>
 | 
	
		
			
				|  |  | +											</td>
 | 
	
		
			
				|  |  | +										</tr>
 | 
	
		
			
				|  |  | +									</c:forEach>
 | 
	
		
			
				|  |  | +								</c:when>
 | 
	
		
			
				|  |  | +								<c:otherwise>
 | 
	
		
			
				|  |  | +									<tr>
 | 
	
		
			
				|  |  | +										<td colspan="7">
 | 
	
		
			
				|  |  | +											暂无数据
 | 
	
		
			
				|  |  | +										</td>
 | 
	
		
			
				|  |  | +									</tr>
 | 
	
		
			
				|  |  | +								</c:otherwise>
 | 
	
		
			
				|  |  | +							</c:choose>
 | 
	
		
			
				|  |  | +							</tbody>
 | 
	
		
			
				|  |  | +						</table>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +				</div>
 | 
	
		
			
				|  |  | +			</div>
 | 
	
		
			
				|  |  | +	</div>
 | 
	
		
			
				|  |  | +</div>
 | 
	
		
			
				|  |  | +</body>
 | 
	
		
			
				|  |  | +</html>
 |