<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title>监理单位联系人管理</title>
	<meta name="decorator" content="default"/>
	<style type="text/css">
		.table{
			margin-bottom: 0px;
		}
	</style>
	<script type="text/javascript">
		$(function(){
            $("#attachment_btn_qiye18").click(function () {
                $("#attachment_file_qiye18").click();
            });
            $("#attachment_btn_qiye19").click(function () {
                $("#attachment_file_qiye19").click();
            });
            $("#attachment_btn_qiye20").click(function () {
                $("#attachment_file_qiye20").click();
            });
            $("#attachment_btn_qiye21").click(function () {
                $("#attachment_file_qiye21").click();
            });
            $("#attachment_btn_qiye22").click(function () {
                $("#attachment_file_qiye22").click();
            });
            $("#attachment_btn_qiye23").click(function () {
                $("#attachment_file_qiye23").click();
            });
            $("#attachment_btn_qiye24").click(function () {
                $("#attachment_file_qiye24").click();
            });
            $("#attachment_btn_qiye25").click(function () {
                $("#attachment_file_qiye25").click();
            });
            $("#attachment_btn_qiye26").click(function () {
                $("#attachment_file_qiye26").click();
            });
            $("#attachment_btn_qiye27").click(function () {
                $("#attachment_file_qiye27").click();
            });
            $("#attachment_btn_qiye28").click(function () {
                $("#attachment_file_qiye28").click();
            });
            $("#attachment_btn_qiye29").click(function () {
                $("#attachment_file_qiye29").click();
            });
            $("#attachment_btn_qiye30").click(function () {
                $("#attachment_file_qiye30").click();
            });
            $("#attachment_btn_qiye31").click(function () {
                $("#attachment_file_qiye31").click();
            });
            $("#attachment_btn_qiye32").click(function () {
                $("#attachment_file_qiye32").click();
            });
            $("#attachment_btn_qiye33").click(function () {
                $("#attachment_file_qiye33").click();
            });
            $("#attachment_btn_qiye34").click(function () {
                $("#attachment_file_qiye34").click();
            });
            var oneSize = $(".oneTab").size();
            for(var i = 0;i < oneSize;i++){
                var hei = $(".twoTab:eq("+i+")").parent().height();
                $(".oneTab:eq("+i+")").css("height",hei)
                    .css("vertical-align","middle")
                    .css("line-height",hei+"px")
                $(".twoTab:eq("+i+")").css("height",hei);
            }
		})
        function insertTitle(tValue){
            var fileId = $(tValue).attr("id");
            var divId = fileId.replace("attachment_file","");
            var attachmentFlag = divId.replace("_qiye","");
            var files = $("#attachment_file"+divId)[0].files;            for(var i = 0;i<files.length;i++) {                var file = files[i];
            var attachmentId = "${workFullManage.id}";
            var timestamp=new Date().getTime();

            var storeAs = "attachment-file/workFullManage/"+timestamp+"/"+file['name'];
            var uploadPath="http://gangwan-app.oss-cn-hangzhou.aliyuncs.com/"+storeAs;/*将这段字符串存到数据库即可*/
            $("#addFile"+divId).show();
            multipartUploadWithSts(storeAs, file,attachmentId,attachmentFlag,uploadPath,divId,"0");}
        }

	</script>
</head>
<body class="hideScroll">
<div class="wrapper wrapper-content">
	<div class="ibox">
		<div class="ibox-content">
			<div class="col-sm-12">
				<div class="col-sm-2 gray-bg text-center oneTab">
					<label>初步设计</label>
				</div>
				<div class="col-sm-10 " >
					<!-- 表格 -->
					<table class="table table-striped table-bordered table-hover table-condensed dataTables-example twoTab">
						<thead>
							<tr>
								<th>序号</th>
								<th>文件类型</th>
								<th>附件表</th>
								<th>上传附件</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>1</td>
								<td>工程量清单编著</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=18','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye18" style="display: none">
											<span id="fileName_qiye18" ></span>
											<b><span id="baifenbi_qiye18" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye18" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye18" type="file" name="attachment_file" multiple="multiple" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye18" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye18"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root0">
												<input type="hidden" id="file_name0">
												<input type="hidden" id="file_type0" value="18">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye0" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
							<tr>
								<td>2</td>
								<td>其他</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=19','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye19" style="display: none">
											<span id="fileName_qiye19" ></span>
											<b><span id="baifenbi_qiye19" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye19" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye19" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye19" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye19"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root1">
												<input type="hidden" id="file_name1">
												<input type="hidden" id="file_type1" value="19">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye1" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>

						</tbody>
					</table>
				</div>
			</div>
			<div class="col-sm-12 m-t-xs">
				<div class="col-sm-2 gray-bg text-center oneTab">
					<label>施工图设计</label>
				</div>
				<div class="col-sm-10 " >
					<table class="table table-striped table-bordered table-hover table-condensed dataTables-example twoTab">
						<thead>
						<tr>
							<th>序号</th>
							<th>文件类型</th>
							<th>附件表</th>
							<th>上传附件</th>
						</tr>
						</thead>
						<tbody>
						<tr>
							<td>1</td>
							<td>建设项目施工图预算</td>
							<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=20','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
							<td>
								<div style="display: inline-block">
									<div id="addFile_qiye20" style="display: none">
										<span id="fileName_qiye20" ></span>
										<b><span id="baifenbi_qiye20" ></span></b>
										<div class="progress">
											<div id="jindutiao_qiye20" class="progress-bar" style="width: 0%" aria-valuenow="0">
											</div>
										</div>
									</div>
									<input id="attachment_file_qiye20" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
									<a id="attachment_btn_qiye20" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
									<span id="attachment_title_qiye20"></span>
								</div>
								<%--<div class="table-responsive">
									<div class="kv-main">
										<form enctype="multipart/form-data">
											<input type="hidden" id="file_root2">
											<input type="hidden" id="file_name2">
											<input type="hidden" id="file_type2" value="20">
											<div class="form-group" style="margin-left: 0; margin-right: 0;">
												<input id="file-qiye2" name="myFile" type="file" class="file">
											</div>
										</form>
									</div>
								</div>--%>
							</td>
						</tr>
						<tr>
							<td>2</td>
							<td>工程量清单编制</td>
							<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=21','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
							<td>
								<div style="display: inline-block">
									<div id="addFile_qiye21" style="display: none">
										<span id="fileName_qiye21" ></span>
										<b><span id="baifenbi_qiye21" ></span></b>
										<div class="progress">
											<div id="jindutiao_qiye21" class="progress-bar" style="width: 0%" aria-valuenow="0">
											</div>
										</div>
									</div>
									<input id="attachment_file_qiye21" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
									<a id="attachment_btn_qiye21" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
									<span id="attachment_title_qiye21"></span>
								</div>
								<%--<div class="table-responsive">
									<div class="kv-main">
										<form enctype="multipart/form-data">
											<input type="hidden" id="file_root3">
											<input type="hidden" id="file_name3">
											<input type="hidden" id="file_type3" value="21">
											<div class="form-group" style="margin-left: 0; margin-right: 0;">
												<input id="file-qiye3" name="myFile" type="file" class="file">
											</div>
										</form>
									</div>
								</div>--%>
							</td>
						</tr>
						<tr>
							<td>3</td>
							<td>钢筋翻样</td>
							<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=22','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
							<td>
								<div style="display: inline-block">
									<div id="addFile_qiye22" style="display: none">
										<span id="fileName_qiye22" ></span>
										<b><span id="baifenbi_qiye22" ></span></b>
										<div class="progress">
											<div id="jindutiao_qiye22" class="progress-bar" style="width: 0%" aria-valuenow="0">
											</div>
										</div>
									</div>
									<input id="attachment_file_qiye22" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
									<a id="attachment_btn_qiye22" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
									<span id="attachment_title_qiye22"></span>
								</div>
								<%--<div class="table-responsive">
									<div class="kv-main">
										<form enctype="multipart/form-data">
											<input type="hidden" id="file_root4">
											<input type="hidden" id="file_name4">
											<input type="hidden" id="file_type4" value="22">
											<div class="form-group" style="margin-left: 0; margin-right: 0;">
												<input id="file-qiye4" name="myFile" type="file" class="file">
											</div>
										</form>
									</div>
								</div>--%>
							</td>
						</tr>
						<tr>
							<td>4</td>
							<td>工程量计算</td>
							<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=23','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
							<td>
								<div style="display: inline-block">
									<div id="addFile_qiye23" style="display: none">
										<span id="fileName_qiye23" ></span>
										<b><span id="baifenbi_qiye23" ></span></b>
										<div class="progress">
											<div id="jindutiao_qiye23" class="progress-bar" style="width: 0%" aria-valuenow="0">
											</div>
										</div>
									</div>
									<input id="attachment_file_qiye23" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
									<a id="attachment_btn_qiye23" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
									<span id="attachment_title_qiye23"></span>
								</div>
								<%--<div class="table-responsive">
									<div class="kv-main">
										<form enctype="multipart/form-data">
											<input type="hidden" id="file_root5">
											<input type="hidden" id="file_name5">
											<input type="hidden" id="file_type5" value="23">
											<div class="form-group" style="margin-left: 0; margin-right: 0;">
												<input id="file-qiye5" name="myFile" type="file" class="file">
											</div>
										</form>
									</div>
								</div>--%>
							</td>
						</tr>
						<tr>
							<td>5</td>
							<td>工程勘察招标代理</td>
							<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=24','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
							<td>
								<div style="display: inline-block">
									<div id="addFile_qiye24" style="display: none">
										<span id="fileName_qiye24" ></span>
										<b><span id="baifenbi_qiye24" ></span></b>
										<div class="progress">
											<div id="jindutiao_qiye24" class="progress-bar" style="width: 0%" aria-valuenow="0">
											</div>
										</div>
									</div>
									<input id="attachment_file_qiye24" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
									<a id="attachment_btn_qiye24" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
									<span id="attachment_title_qiye24"></span>
								</div>
								<%--<div class="table-responsive">
									<div class="kv-main">
										<form enctype="multipart/form-data">
											<input type="hidden" id="file_root6">
											<input type="hidden" id="file_name6">
											<input type="hidden" id="file_type6" value="24">
											<div class="form-group" style="margin-left: 0; margin-right: 0;">
												<input id="file-qiye6" name="myFile" type="file" class="file">
											</div>
										</form>
									</div>
								</div>--%>
							</td>
						</tr>
						<tr>
							<td>6</td>
							<td>BIM建模碰撞检测</td>
							<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=25','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
							<td>
								<div style="display: inline-block">
									<div id="addFile_qiye25" style="display: none">
										<span id="fileName_qiye25" ></span>
										<b><span id="baifenbi_qiye25" ></span></b>
										<div class="progress">
											<div id="jindutiao_qiye25" class="progress-bar" style="width: 0%" aria-valuenow="0">
											</div>
										</div>
									</div>
									<input id="attachment_file_qiye25" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
									<a id="attachment_btn_qiye25" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
									<span id="attachment_title_qiye25"></span>
								</div>
								<%--<div class="table-responsive">
									<div class="kv-main">
										<form enctype="multipart/form-data">
											<input type="hidden" id="file_root7">
											<input type="hidden" id="file_name7">
											<input type="hidden" id="file_type7" value="25">
											<div class="form-group" style="margin-left: 0; margin-right: 0;">
												<input id="file-qiye7" name="myFile" type="file" class="file">
											</div>
										</form>
									</div>
								</div>--%>
							</td>
						</tr>
						<tr>
							<td>7</td>
							<td>其他</td>
							<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=26','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
							<td>
								<div style="display: inline-block">
									<div id="addFile_qiye26" style="display: none">
										<span id="fileName_qiye26" ></span>
										<b><span id="baifenbi_qiye26" ></span></b>
										<div class="progress">
											<div id="jindutiao_qiye26" class="progress-bar" style="width: 0%" aria-valuenow="0">
											</div>
										</div>
									</div>
									<input id="attachment_file_qiye26" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
									<a id="attachment_btn_qiye26" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
									<span id="attachment_title_qiye26"></span>
								</div>
								<%--<div class="table-responsive">
									<div class="kv-main">
										<form enctype="multipart/form-data">
											<input type="hidden" id="file_root8">
											<input type="hidden" id="file_name8">
											<input type="hidden" id="file_type8" value="26">
											<div class="form-group" style="margin-left: 0; margin-right: 0;">
												<input id="file-qiye8" name="myFile" type="file" class="file">
											</div>
										</form>
									</div>
								</div>--%>
							</td>
						</tr>
						</tbody>
					</table>
				</div>
			</div>
			<div class="col-sm-12 m-t-xs">
				<div class="col-sm-2 gray-bg text-center oneTab">
					<label>建设准备</label>
				</div>
				<div class="col-sm-10 " >
					<table class="table table-striped table-bordered table-hover table-condensed dataTables-example twoTab">
						<thead>
							<tr>
								<th>序号</th>
								<th>文件类型</th>
								<th>附件表</th>
								<th>上传附件</th>
							</tr>
							</thead>
							<tbody>
							<tr>
								<td>1</td>
								<td>工程施工监理招标代理</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=27','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye27" style="display: none">
											<span id="fileName_qiye27" ></span>
											<b><span id="baifenbi_qiye27" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye27" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye27" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye27" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye27"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root9">
												<input type="hidden" id="file_name9">
												<input type="hidden" id="file_type9" value="27">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye9" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
							<tr>
								<td>2</td>
								<td>工程施工招标代理</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=28','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye28" style="display: none">
											<span id="fileName_qiye28" ></span>
											<b><span id="baifenbi_qiye28" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye28" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye28" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye28" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye28"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root10">
												<input type="hidden" id="file_name10">
												<input type="hidden" id="file_type10" value="28">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye10" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
							<tr>
								<td>3</td>
								<td>工程量清单编制</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=29','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye29" style="display: none">
											<span id="fileName_qiye29" ></span>
											<b><span id="baifenbi_qiye29" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye29" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye29" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye29" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye29"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root11">
												<input type="hidden" id="file_name11">
												<input type="hidden" id="file_type11" value="29">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye11" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
							<tr>
								<td>4</td>
								<td>招标控制价编制</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=30','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye30" style="display: none">
											<span id="fileName_qiye30" ></span>
											<b><span id="baifenbi_qiye30" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye30" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye30" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye30" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye30"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root12">
												<input type="hidden" id="file_name12">
												<input type="hidden" id="file_type12" value="30">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye12" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
							<tr>
								<td>5</td>
								<td>产业研究咨询</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=31','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye31" style="display: none">
											<span id="fileName_qiye31" ></span>
											<b><span id="baifenbi_qiye31" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye31" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye31" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye31" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye31"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root13">
												<input type="hidden" id="file_name13">
												<input type="hidden" id="file_type13" value="31">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye13" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
							<tr>
								<td>6</td>
								<td>钢筋翻样</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=32','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye32" style="display: none">
											<span id="fileName_qiye32" ></span>
											<b><span id="baifenbi_qiye32" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye32" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye32" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye32" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye32"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root14">
												<input type="hidden" id="file_name14">
												<input type="hidden" id="file_type14" value="32">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye14" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
							<tr>
								<td>7</td>
								<td>工程量计算</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=33','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye33" style="display: none">
											<span id="fileName_qiye33" ></span>
											<b><span id="baifenbi_qiye33" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye33" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye33" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye33" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye33"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root15">
												<input type="hidden" id="file_name15">
												<input type="hidden" id="file_type15" value="33">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye15" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
							<tr>
								<td>8</td>
								<td>其他</td>
								<td><a href="javascript:void(0)" onclick="openDialogView('附件信息','${ctx}/workfullmanage/workFullManage/queryInfoToFile?id=${workFullManage.id}&attachment=34','80%','80%')" class="btn btn-info btn-xs">查看</a></td>
								<td>
									<div style="display: inline-block">
										<div id="addFile_qiye34" style="display: none">
											<span id="fileName_qiye34" ></span>
											<b><span id="baifenbi_qiye34" ></span></b>
											<div class="progress">
												<div id="jindutiao_qiye34" class="progress-bar" style="width: 0%" aria-valuenow="0">
												</div>
											</div>
										</div>
										<input id="attachment_file_qiye34" type="file" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitle(this);"/>
										<a id="attachment_btn_qiye34" class="btn btn-info btn-xs" ><i class="fa fa-plus"></i> 添加附件</a>
										<span id="attachment_title_qiye34"></span>
									</div>
									<%--<div class="table-responsive">
										<div class="kv-main">
											<form enctype="multipart/form-data">
												<input type="hidden" id="file_root16">
												<input type="hidden" id="file_name16">
												<input type="hidden" id="file_type16" value="34">
												<div class="form-group" style="margin-left: 0; margin-right: 0;">
													<input id="file-qiye16" name="myFile" type="file" class="file">
												</div>
											</form>
										</div>
									</div>--%>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
			<input type="hidden" value="${workFullManage.id}" id="workFullId">
			<input type="hidden" value="3" id="status">
			<script>
                $(function(){
                    var id = "${workFullManage.id}";
                    for (var i = 0; i < 17 ;i++){
                    	var indexLoad;
                        var file_type = $("#file_type"+i).val();
                        $("#file-qiye"+i).fileinput('refresh',
                            {
                                showUpload: false,
                                uploadAsync:true,
                                dropZoneEnabled:false,
                                uploadUrl : '${ctx}/workfullmanage/workFullManage/uploadFile',
                                uploadExtraData:{
                                    "id":id,	//项目id
                                    "file_type":file_type
                                },
                                showCaption: false,
                                showPreview: false,
                                browseIcon:'',
                                browseClass: "none",
                                browseLabel: "<button class='btn btn-info btn-xs'>上传附件</button>",
                                showRemove : false,
                                showCancel : false,
                                allowedFileExtensions : [ 'doc', 'xls', 'jpg', 'png',
                                    'xlsx', 'docx' ,'pdf','bmp','gif','rar','zip','ppt','pptx','txt'],
                            }).on('filepreupload',function(){
                                console.log("wer")
						}).on('fileloaded', function(event, numFiles, label) {
                            	indexLoad = parent.layer.load(0, {shade: false});
                            	$(this).fileinput('upload');
                        }).on('filebatchuploadsuccess',function(event, file, previewId, index, reader) {
                            parent.layer.msg("上传成功",{icon:6});
                            parent.layer.close(indexLoad)
                        });
                    }
                    $(".kv-upload-progress").remove();
                });
			</script>
			<div class="col-sm-12 m-t-xs">
				<div class="col-sm-2 gray-bg text-center oneTab">
					<label>部门安排</label>
				</div>
				<div class="col-sm-10 " >
					<table class="table table-striped table-bordered table-hover table-condensed dataTables-example twoTab">
						<tbody>
						<tr>
							<td class="width-15 active"><label class="pull-right">主办公司及部门：</label></td>
							<td class="width-25">
								<%--<sys:treeselect id="hostCompany" name="hostCompany.id" value="${workFullManage.hostCompany.id}" labelName="hostCompany.name" labelValue="${workFullManage.hostCompany.name}"--%>
												<%--title="部门" url="/sys/office/treeData?type=2" cssClass="form-control required" allowClear="true" notAllowSelectParent="true"/>--%>
								${workFullManage.hostCompany.name}
							</td>
							<td class="width-15 active"><label class="pull-right">协办公司及部门：</label></td>
							<td class="width-25">
								<%--<sys:treeselect id="followCompany" name="followCompany.id" value="${workFullManage.followCompany.id}" labelName="followCompany.name" labelValue="${workFullManage.followCompany.name}"--%>
												<%--title="部门" url="/sys/office/treeData?type=2" cssClass="form-control required" allowClear="true" notAllowSelectParent="true"/>--%>
								${workFullManage.followCompany.name}
							</td>
						</tr>
						</tbody>
					</table>
				</div>
			</div>
			<div class="col-sm-12 m-t-xs">
				<div class="col-sm-2 gray-bg text-center oneTab">
					<label>人员安排</label>
				</div>
				<div class="col-sm-10 " >
					<table class="table table-striped table-bordered table-hover table-condensed dataTables-example twoTab">
						<tbody>
						<tr>
							<td class="width-15 active"><label class="pull-right">主办公司负责人：</label></td>
							<td class="width-25">
								<%--<sys:treeselect id="hostMasterIds" name="hostMaster" value="${workFullManage.hostMaster}" labelName="hostMasterNames" labelValue="${workFullManage.hostMasterName}"--%>
												<%--title="用户" url="/sys/office/treeData?type=3&isAll=false" cssClass="form-control required" allowClear="true" notAllowSelectParent="true" checked="true"/>--%>
								${workFullManage.hostMasterName}
							</td>
							<td class="width-15 active"><label class="pull-right">协办公司负责人：</label></td>
							<td class="width-25">
								<%--<sys:treeselect id="followMasterIds" name="followMaster" value="${workFullManage.followMaster}" labelName="followMasterNames" labelValue="${workFullManage.followMasterName}"--%>
												<%--title="用户" url="/sys/office/treeData?type=3&isAll=false" cssClass="form-control required" allowClear="true" notAllowSelectParent="true" checked="true"/>--%>
								${workFullManage.followMasterName}
							</td>
						</tr>
						<tr>
							<td class="width-15 active"><label class="pull-right">主办公司项目成员：</label></td>
							<td class="width-25">
								<%--<sys:treeselect id="hostMemberIds" name="hostMember" value="${workFullManage.hostMember}" labelName="hostMemberNames" labelValue="${workFullManage.hostMemberName}"--%>
												<%--title="用户" url="/sys/office/treeData?type=3&isAll=false" cssClass="form-control required" allowClear="true" notAllowSelectParent="true" checked="true"/>--%>
								${workFullManage.hostMemberName}
							</td>
							<td class="width-15 active"><label class="pull-right">协办公司项目成员：</label></td>
							<td class="width-25">
								<%--<sys:treeselect id="followMemberIds" name="followMember" value="${workFullManage.followMember}" labelName="followMemberNames" labelValue="${workFullManage.followMemberName}"--%>
												<%--title="用户" url="/sys/office/treeData?type=3&isAll=false" cssClass="form-control required" allowClear="true" notAllowSelectParent="true" checked="true"/>--%>
								${workFullManage.followMemberName}
							</td>
						</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>