05d13e0e0d9085eefe297ff308830810bf2ef75c.svn-base 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title></title>
  7. <%@include file="../../../../include1.jsp" %>
  8. <!--引用资源文件,JS CSS-->
  9. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  10. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  11. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  12. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  13. <script type="text/javascript" src="<%=path%>/scripts/business/he/common/common.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  15. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
  16. <link href="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.css" rel="stylesheet" type="text/css" />
  17. <script type="text/javascript">
  18. var fd_id = "<%=request.getParameter("fd_id")%>";
  19. //取得用户真实名字
  20. var realName = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
  21. var realName_ID = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
  22. //部门id
  23. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
  24. //部门名称
  25. var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
  26. //父部门id
  27. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  28. //页面初始化
  29. $(function(){
  30. //查看详细信息
  31. if(fd_id.length>0){
  32. $("#titleShow").text("报审应急队伍需求");
  33. $("#BUSINESS_ID_378").val(fd_id);
  34. //$("#PERSON_ID_378").initDeptPersonSelect(deptId); //下一节点处理人
  35. $("#selectBtn").bind("click",function(){
  36. var ifmHeight = $(top.document.body).find("#frmright").height();
  37. top.Dialog.open({URL:'/nwyj/page/business/em/alert/warning/WarningaddUnit.jsp?ifmHeight='+ifmHeight,Title:'组织人员',Width:400,Height:300});
  38. })
  39. //单位部门树形结构
  40. var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
  41. $.post(deptUrl,{id:parentId,name:''},function(data){
  42. $("#SUPPORT_UNIT_ID_391").data("data",data);
  43. $("#SUPPORT_UNIT_ID_391").render();
  44. }, "json");
  45. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  46. var params = {
  47. classid : '391',
  48. objectID : fd_id
  49. };
  50. $.request.query(url,params,function(data){
  51. $("#TASK_NAME_391").html(data.TASK_NAME_391);//需求名称
  52. $("#SUPPORT_UNIT_ID_391_SHOW").html(data.SUPPORT_UNIT_ID_391_SHOW);//被支援单位
  53. $("#ARRIVE_TIME_391").html(data.ARRIVE_TIME_391);//到达时间
  54. $("#WEATHER_CASE_391").html(data.WEATHER_CASE_391);//气候状况
  55. $("#STAY_GEAR_391").html(data.STAY_GEAR_391);//住宿装备
  56. $("#EXECUTION_IMPLEMENT_391").html(data.EXECUTION_IMPLEMENT_391);//施工机具
  57. $("#CONDITION_391").html(data.CONDITION_391);//受灾情况
  58. $("#REPAIR_TASK_391").html(data.REPAIR_TASK_391);//抢修任务
  59. $("#GEOLOGY_PHYSIOGNOMY_391").html(data.GEOLOGY_PHYSIOGNOMY_391);//地质地貌
  60. /* for(var i in data){
  61. $('#'+i).html(data[i]);
  62. } */
  63. });
  64. $.request.query(url,params,function(data){
  65. $('#editForm').ajaxWrite({data:data});
  66. $('#editForm input[name="classid"]').val('391');
  67. });
  68. }
  69. });
  70. function goBack(){
  71. $('#frmright',window.parent.document).attr('src',$.pathname()+'/page/business/em/response/team/demandManage.jsp?pagenumber=');
  72. }
  73. </script>
  74. <script type="text/javascript" src="<%=path%>/scripts/business/em/response/team/TeamDemandReport.js"></script>
  75. </head>
  76. <body>
  77. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
  78. <table class="tableStyle" style="background: #F8F8F8;">
  79. <tr>
  80. <td colspan="2" align="right">
  81. <input type="button" id="pass00" value="报审"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  82. </td>
  83. </tr>
  84. </table>
  85. <div style="height: 50px;background: #F8F8F8;" align="center">
  86. <a href="javascript:;"><img align="left" alt="返回" src="/nwyj/images/temp/back.png" title="返回" onclick="goBack()"/></a>
  87. <font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="titleShow"></font>
  88. </div>
  89. <form method="post" id="editForm">
  90. <input name="classid" value="391" type="hidden"/>
  91. <input type="hidden" name="FD_OBJECTID391" id="FD_OBJECTID391" value=""/>
  92. <input id="FORM_SECTOR_391" name="FORM_SECTOR_391" type="hidden"/>
  93. <input id="FORM_NAME_391" name="FORM_NAME_391" type="hidden"/>
  94. <input id="FORM_TIME_391" name="FORM_TIME_391" type="hidden"/>
  95. <input id="REPORTED_STATE_391" name="REPORTED_STATE_391" value="0" type="hidden"/>
  96. <input id="AUDIT_STATE_391" name="AUDIT_STATE_391" value="0" type="hidden"/>
  97. <input id="TROOPS_391" name="TROOPS_391" type="hidden"/>
  98. <fieldset style="border-color:#999999;" id="fileTable" >
  99. <legend>附基本信息:</legend>
  100. <table class="tableStyle" width="100%">
  101. <tr>
  102. <td width="20%" align="right">需求名称:</td>
  103. <td width="80%"><div style="width: 97%" type="text" id="TASK_NAME_391" ></div></td>
  104. </tr>
  105. <tr>
  106. <td width="20%" align="right">被支援单位:</td>
  107. <td width="80%"><div id="SUPPORT_UNIT_ID_391_SHOW" selWidth="720"></div></td>
  108. </tr>
  109. <tr>
  110. <td width="20%" align="right">到达时间:</td>
  111. <td width="80%"><div style="width: 97%" type="text" id="ARRIVE_TIME_391" ></div></td>
  112. </tr>
  113. <tr>
  114. <td width="20%" align="right">受灾情况:</td>
  115. <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="CONDITION_391"></div></td>
  116. </tr>
  117. <tr>
  118. <td width="20%" align="right">抢修任务:</td>
  119. <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="REPAIR_TASK_391"></div></td>
  120. </tr>
  121. <tr>
  122. <td width="20%" align="right">地质地貌:</td>
  123. <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="GEOLOGY_PHYSIOGNOMY_391"></div></td>
  124. </tr>
  125. <tr>
  126. <td width="20%" align="right">气候状况:</td>
  127. <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="WEATHER_CASE_391"></div></td>
  128. </tr>
  129. <tr>
  130. <td width="20%" align="right">住宿装备:</td>
  131. <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="STAY_GEAR_391"></div></td>
  132. </tr>
  133. <tr>
  134. <td width="20%" align="right">施工机具:</td>
  135. <td width="80%" colspan="3"><div style="width: 97%;height: 44px;" id="EXECUTION_IMPLEMENT_391"></div></td>
  136. </tr>
  137. </table>
  138. </fieldset>
  139. <fieldset style="border-color:#999999;" id="fileTable" >
  140. <legend>队伍信息:</legend>
  141. </form>
  142. <div class="padding_right5">
  143. <div id="maingrid"></div>
  144. </div>
  145. &nbsp;
  146. </fieldset>
  147. <form id="editForm1">
  148. <input type="hidden" name="classid" value="378"/>
  149. <input type="hidden" name="PERSON_ID_378" id="PERSON_ID_378"/>
  150. <input type="hidden" name="BUSINESS_ID_378" id="BUSINESS_ID_378" />
  151. <input type="hidden" name="STATUES_378" id="STATUES_378" value="132" />
  152. <input type="hidden" name="DISPOSE_378" id="DISPOSE_378" value="0" />
  153. <input type="hidden" name="PERSON_NAME_378" id="PERSON_NAME_378"/>
  154. <!-- <fieldset style="border-color:#999999;" id="fileTable" >
  155. <legend>处理人信息:</legend>
  156. <table class="tableStyle" style="width: 85%;" align="center">
  157. <tr>
  158. <td width="35%" align="right"><span class="star">*</span>下一节点处理人:</td>
  159. <td width="65%"><select editable=false name="PERSON_NAME_378" class="validate[required]" id="PERSON_NAME_378" selAlign="" prompt="请选择" selWidth="720"></select></td>
  160. <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]"
  161. <input type="button" id="selectBtn" value="请选择"/></td>
  162. </tr>
  163. <tr>
  164. <td colspan="2" width="100%" align="center"><input type="button" value="发送" id="save"/>&nbsp;&nbsp;<input type="button" value="返回" id="back" /></td>
  165. </tr>
  166. </table>
  167. </fieldset> -->
  168. </form>
  169. </div>
  170. </body>