123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title></title>
- <%@include file="../../../../include1.jsp" %>
- <!--引用资源文件,JS CSS-->
- <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/business/he/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
- <link href="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.css" rel="stylesheet" type="text/css" />
-
- <script type="text/javascript">
- var fd_id = "<%=request.getParameter("fd_id")%>";
- //取得用户真实名字
- var realName = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
- var realName_ID = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
- //部门id
- var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
- //部门名称
- var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
- //父部门id
- var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
- //页面初始化
- $(function(){
- //查看详细信息
- if(fd_id.length>0){
- $("#titleShow").text("报审应急队伍需求");
- $("#BUSINESS_ID_378").val(fd_id);
- //$("#PERSON_ID_378").initDeptPersonSelect(deptId); //下一节点处理人
- $("#selectBtn").bind("click",function(){
- var ifmHeight = $(top.document.body).find("#frmright").height();
- top.Dialog.open({URL:'/nwyj/page/business/em/alert/warning/WarningaddUnit.jsp?ifmHeight='+ifmHeight,Title:'组织人员',Width:400,Height:300});
- })
- //单位部门树形结构
- var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
- $.post(deptUrl,{id:parentId,name:''},function(data){
- $("#SUPPORT_UNIT_ID_391").data("data",data);
- $("#SUPPORT_UNIT_ID_391").render();
- }, "json");
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '391',
- objectID : fd_id
- };
- $.request.query(url,params,function(data){
- $("#TASK_NAME_391").html(data.TASK_NAME_391);//需求名称
- $("#SUPPORT_UNIT_ID_391_SHOW").html(data.SUPPORT_UNIT_ID_391_SHOW);//被支援单位
- $("#ARRIVE_TIME_391").html(data.ARRIVE_TIME_391);//到达时间
- $("#WEATHER_CASE_391").html(data.WEATHER_CASE_391);//气候状况
- $("#STAY_GEAR_391").html(data.STAY_GEAR_391);//住宿装备
- $("#EXECUTION_IMPLEMENT_391").html(data.EXECUTION_IMPLEMENT_391);//施工机具
-
- $("#CONDITION_391").html(data.CONDITION_391);//受灾情况
- $("#REPAIR_TASK_391").html(data.REPAIR_TASK_391);//抢修任务
- $("#GEOLOGY_PHYSIOGNOMY_391").html(data.GEOLOGY_PHYSIOGNOMY_391);//地质地貌
- /* for(var i in data){
- $('#'+i).html(data[i]);
- } */
- });
- $.request.query(url,params,function(data){
- $('#editForm').ajaxWrite({data:data});
- $('#editForm input[name="classid"]').val('391');
- });
- }
- });
- function goBack(){
- $('#frmright',window.parent.document).attr('src',$.pathname()+'/page/business/em/response/team/demandManage.jsp?pagenumber=');
- }
-
- </script>
- <script type="text/javascript" src="<%=path%>/scripts/business/em/response/team/TeamDemandReport.js"></script>
- </head>
- <body>
- <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
- <table class="tableStyle" style="background: #F8F8F8;">
- <tr>
- <td colspan="2" align="right">
- <input type="button" id="pass00" value="报审"/>
- </td>
- </tr>
- </table>
- <div style="height: 50px;background: #F8F8F8;" align="center">
- <a href="javascript:;"><img align="left" alt="返回" src="/nwyj/images/temp/back.png" title="返回" onclick="goBack()"/></a>
- <font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="titleShow"></font>
- </div>
- <form method="post" id="editForm">
- <input name="classid" value="391" type="hidden"/>
- <input type="hidden" name="FD_OBJECTID391" id="FD_OBJECTID391" value=""/>
- <input id="FORM_SECTOR_391" name="FORM_SECTOR_391" type="hidden"/>
- <input id="FORM_NAME_391" name="FORM_NAME_391" type="hidden"/>
- <input id="FORM_TIME_391" name="FORM_TIME_391" type="hidden"/>
- <input id="REPORTED_STATE_391" name="REPORTED_STATE_391" value="0" type="hidden"/>
- <input id="AUDIT_STATE_391" name="AUDIT_STATE_391" value="0" type="hidden"/>
- <input id="TROOPS_391" name="TROOPS_391" type="hidden"/>
- <fieldset style="border-color:#999999;" id="fileTable" >
- <legend>附基本信息:</legend>
- <table class="tableStyle" width="100%">
- <tr>
- <td width="20%" align="right">需求名称:</td>
- <td width="80%"><div style="width: 97%" type="text" id="TASK_NAME_391" ></div></td>
- </tr>
- <tr>
- <td width="20%" align="right">被支援单位:</td>
- <td width="80%"><div id="SUPPORT_UNIT_ID_391_SHOW" selWidth="720"></div></td>
- </tr>
- <tr>
- <td width="20%" align="right">到达时间:</td>
- <td width="80%"><div style="width: 97%" type="text" id="ARRIVE_TIME_391" ></div></td>
- </tr>
- <tr>
- <td width="20%" align="right">受灾情况:</td>
- <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="CONDITION_391"></div></td>
- </tr>
- <tr>
- <td width="20%" align="right">抢修任务:</td>
- <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="REPAIR_TASK_391"></div></td>
- </tr>
- <tr>
- <td width="20%" align="right">地质地貌:</td>
- <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="GEOLOGY_PHYSIOGNOMY_391"></div></td>
- </tr>
- <tr>
- <td width="20%" align="right">气候状况:</td>
- <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="WEATHER_CASE_391"></div></td>
- </tr>
- <tr>
- <td width="20%" align="right">住宿装备:</td>
- <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="STAY_GEAR_391"></div></td>
- </tr>
- <tr>
- <td width="20%" align="right">施工机具:</td>
- <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="EXECUTION_IMPLEMENT_391"></div></td>
- </tr>
- </table>
- </fieldset>
- <fieldset style="border-color:#999999;" id="fileTable" >
- <legend>队伍信息:</legend>
- </form>
- <div class="padding_right5">
- <div id="maingrid"></div>
- </div>
-
- </fieldset>
- <form id="editForm1">
- <input type="hidden" name="classid" value="378"/>
- <input type="hidden" name="PERSON_ID_378" id="PERSON_ID_378"/>
- <input type="hidden" name="BUSINESS_ID_378" id="BUSINESS_ID_378" />
- <input type="hidden" name="STATUES_378" id="STATUES_378" value="132" />
- <input type="hidden" name="DISPOSE_378" id="DISPOSE_378" value="0" />
- <input type="hidden" name="PERSON_NAME_378" id="PERSON_NAME_378"/>
- <!-- <fieldset style="border-color:#999999;" id="fileTable" >
- <legend>处理人信息:</legend>
- <table class="tableStyle" style="width: 85%;" align="center">
- <tr>
- <td width="35%" align="right"><span class="star">*</span>下一节点处理人:</td>
- <td width="65%"><select editable=false name="PERSON_NAME_378" class="validate[required]" id="PERSON_NAME_378" selAlign="" prompt="请选择" selWidth="720"></select></td>
- <td width="65%"><span id="span1"><input type="text" class="validate[required]" editable=false name="PERSON_NAME_378" id="PERSON_NAME_378" /></span> class="validate[required]"
- <input type="button" id="selectBtn" value="请选择"/></td>
- </tr>
- <tr>
- <td colspan="2" width="100%" align="center"><input type="button" value="发送" id="save"/> <input type="button" value="返回" id="back" /></td>
- </tr>
- </table>
- </fieldset> -->
- </form>
- </div>
- </body>
|