f3bd06c02ec32e86ca7c92b3b4524a2ac1e71ed7.svn-base 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. <%@page language="java" 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. <!--框架必需start-->
  8. <%@include file="../../../../include1.jsp" %>
  9. <!--框架必需end-->
  10. <link href="/nwyj/css/cockpit/dialog/alertIframeDrag.css" rel="stylesheet" type="text/css"/>
  11. <script type="text/javascript" src="../../../../../scripts/business/am/resource/team/teamupdate.js"></script>
  12. <script type="text/javascript" src="/nwyj/page/cockpit/alert/alert_iframe.js"></script>
  13. <style type="text/css">
  14. .bd{
  15. width: 1000px;
  16. margin:0 auto;
  17. margin-top:10px
  18. }
  19. .d_ground{
  20. border: 1px solid #cdcaca;
  21. background: white;
  22. width:1000px;
  23. }
  24. .title{
  25. height: 50px;
  26. /* background: #F8F8F8; */
  27. border-style:solid;
  28. border-width:1px;
  29. border-right:1px;
  30. border-left:1px;
  31. border-top:1px;
  32. border-color:#cdcaca;
  33. }
  34. .title_font{
  35. font-weight: bold;
  36. font-size: 24px;
  37. line-height: 45px;
  38. color:#3e62a0;
  39. }
  40. .button_jl{
  41. margin:15px 20px 0px 0px;
  42. float:right;
  43. }
  44. .fieldset{
  45. border-style:solid;
  46. border-width:1px;
  47. border-color:#cdcaca;
  48. margin:0px 20px 20px 20px;
  49. /* border-top-color: rgb(200,200,200);
  50. border-right-color: rgb(200,200,200);
  51. border-bottom-color: rgb(200,200,200);
  52. border-left-color: rgb(200,200,200); */
  53. width: 935px
  54. }
  55. .legend{
  56. font-family:宋体;
  57. font-weight: bold;
  58. font-size:14px;
  59. color:#3e62a0;
  60. }
  61. .table-style{
  62. border-style:solid;
  63. border-width:1px;
  64. border-color:#cdcaca;
  65. margin:0px 20px 0px 20px;
  66. border-collapse:collapse;
  67. width: 895px;
  68. }
  69. .table-style2{
  70. border:1px solid #cdcaca;
  71. margin:0px 20px 0px 20px;
  72. border-collapse:collapse;
  73. width: 895px;
  74. }
  75. .td-font{
  76. font-family:宋体;
  77. font-size:14px;
  78. color:#161616;
  79. }
  80. .td-move{
  81. padding: 10px 5px 0px 0px;
  82. }
  83. .td-style{
  84. border:1px solid #cdcaca;
  85. border-collapse:collapse;
  86. padding-left: 10px
  87. }
  88. .back{
  89. margin:10px 0px 10px 15px;
  90. }
  91. #teamMap{cursor:pointer;}
  92. /* .class_color{
  93. background-color: rgb(237, 239, 253);
  94. } */
  95. </style>
  96. <script type="text/javascript">
  97. /* function openBDmap() {
  98. var url = "/nwyj/page/cockpit/bdMap/bdMap.html";
  99. var str = "中国南方电网应急指挥平台-地图";
  100. initAlertDrag(url,str)
  101. } */
  102. $(function(){
  103. $("html").css("overflow-x","auto");
  104. });
  105. </script>
  106. </head>
  107. <body class="bd" align="center">
  108. <div id="bdmap" class="drag_win" width="65%" height="55%"></div>
  109. <div id="formContent" class="d_ground">
  110. <div class="title" align="center">
  111. <a href="javascript:;">
  112. <img id="back" class="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="goBack()"></img>
  113. </a>
  114. <font class="title_font">新增应急队伍信息</font>
  115. </div>
  116. <form id="fillForm" method="post" >
  117. <input type="hidden" id="fd_id261" name="FD_OBJECTID261" required="true"/>
  118. <input type="hidden" name="classid" value="261" required="true"/>
  119. <input type="hidden" id="TEAM_SYSTEM_261" name="TEAM_SYSTEM_261" required="true"/>
  120. <input type="hidden" id="COLUMN_1_261" name="COLUMN_1_261" value="0" required="true"/>
  121. <input type="hidden" id="TEAM_COMP_ID_261" name="TEAM_COMP_ID_261" required="true"/>
  122. <input type="hidden" id="TYPEIN_PEOPLE_261" name="TYPEIN_PEOPLE_261" required="true"/>
  123. <input type="hidden" id="SORT_NO_261" name="SORT_NO_261" required="true"/>
  124. <!-- <input type="hidden" id="SD_XIANLU_261" name="SD_XIANLU_261" value="0" required="true"/>
  125. <input type="hidden" id="SD_XIANLANG_261" name="SD_XIANLANG_261" value="0" required="true"/>
  126. <input type="hidden" id="BD_YICI_261" name="BD_YICI_261" value="0" required="true"/>
  127. <input type="hidden" id="BD_ERCI_261" name="BD_ERCI_261" value="0" required="true"/>
  128. <input type="hidden" id="PD_XIANLU_261" name="PD_XIANLU_261" value="0" required="true"/>
  129. <input type="hidden" id="PD_XIANLANG_261" name="PD_XIANLANG_261" value="0" required="true"/>
  130. <input type="hidden" id="PD_DIANFANG_261" name="PD_DIANFANG_261" value="0" required="true"/>
  131. <input type="hidden" id="PD_BAODIAN_261" name="PD_BAODIAN_261" value="0" required="true"/>
  132. <input type="hidden" id="TONGXING_261" name="TONGXING_261" value="0" required="true"/>
  133. <input type="hidden" id="WANGLUO_261" name="WANGLUO_261" value="0" required="true"/>
  134. <input type="hidden" id="SHIYAN_261" name="SHIYAN_261" value="0" required="true"/>
  135. <input type="hidden" id="TEAM_MEMBER_NUMBER_261" name="TEAM_MEMBER_NUMBER_261" value="0" required="true"/> -->
  136. <div class="button_jl">
  137. <input type="button" value="保存" id="btn_addinlink_org" onclick="validateForm('#fillForm')"/>&nbsp;&nbsp;
  138. <input type="button" value="重置" onclick="resetSearch()" />
  139. </div>
  140. <fieldset class="fieldset">
  141. <legend class="legend">基本信息:</legend>
  142. <table class="table-style">
  143. <tr>
  144. <td width="80px" align="right" class="td-move"><span class="star">*</span><span class="td-font">队伍来源:</span></td>
  145. <td width="280px" class="td-move">
  146. <div style="width:265px;" class="checkboxRender">
  147. <input type="radio" class="validate[required] radio" id="radio-1" name="ra" value="122" /><label for="radio-1" class="hand">内部</label><!-- onclick="disableSelect()" -->
  148. <input type="radio" class="validate[required] radio" id="radio-2" name="ra" value="123"/><label for="radio-2" class="hand">外部</label> <!-- onclick="enableSelect()" -->
  149. </div>
  150. </td>
  151. <td width="145px" align="right" class="td-move"><span class="star">*</span><span class="td-font">所属单位:</span></td>
  152. <td width="280px" class="td-move"><!-- <div class="selectTree validate[required]" id="AcceptUserTree" name="TEAM_COMP_ID_261" selWidth="291" asyncMode="true"></div> -->
  153. <input type="text" id="AcceptUserTree" readonly="readonly" style="width: 275px;height:30px">
  154. </td>
  155. </tr>
  156. <tr>
  157. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">队伍名称:</span></td>
  158. <td class="td-move"><input type="text" id="TEAM_NAME_261" name="TEAM_NAME_261" class="validate[required]" maxlength="20" style="width: 265px;height:30px"/></td>
  159. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">队伍类型:</span></td>
  160. <td class="td-move"><select class="selectSuggestion validate[required] selectWidth" selWidth="280" id="TEAM_TYPE_261" name="TEAM_TYPE_261" prompt="请选择" ></select></td>
  161. </tr>
  162. <tr>
  163. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">负责人:</span></td>
  164. <td class="td-move"><input type="text" id="TEAM_LEADER_261" name="TEAM_LEADER_261" class="validate[required,custom[chinese]]" maxlength="10" style="width: 265px;height:30px"/></td>
  165. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">值班电话:</span></td>
  166. <td class="td-move"><input type="text" id="TEAM_TEL_261" name="TEAM_TEL_261" class="validate[required]" maxlength="13" onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" style="width: 275px;height:30px"/></td>
  167. </tr>
  168. <tr>
  169. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">联系手机:</span></td><!-- class=" validate[required,custom[mobilephone]]" -->
  170. <td class="td-move"><input type="text" id="TEAM_PHONE_261" name="TEAM_PHONE_261" inputMode="numberOnly" maxlength="11" style="width: 265px;height:30px"/></td>
  171. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">办公电话:</span></td>
  172. <td class="td-move"><input type="text" id="TEAM_OFFICE_TEL_261" name="TEAM_OFFICE_TEL_261" class="validate[required]" maxlength="13" onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" style="width: 275px;height:30px"/></td>
  173. </tr>
  174. <tr>
  175. <td align="right" class="td-move"><span class="td-font">电压等级:</span></td>
  176. <td class="td-move">
  177. <div class="selectTree " id="TEAM_LEVEL_261" name="TEAM_LEVEL_261" multiMode="true" selectedValue="" keepDefaultStyle="true" selWidth="271"></div>
  178. <!-- <select class="selectSuggestion selectWidth" id="TEAM_LEVEL_261" name="TEAM_LEVEL_261" prompt="请选择" selWidth="270"></select> --></td>
  179. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">队伍状态:</span></td>
  180. <td class="td-move"><select class="selectSuggestion selectWidth validate[required]" id="TEAM_STAT_261" name="TEAM_STAT_261" prompt="请选择" selWidth="280"></select></td>
  181. </tr>
  182. <tr>
  183. <td align="right" class="td-move"><span class="td-font">所在区域:</span></td>
  184. <td colspan="3" class="td-move"><input type="text" id="TEAM_AEAR_261" name="TEAM_AEAR_261" maxlength="30" readonly="readonly" style="width: 90%;height:30px" />
  185. &nbsp;&nbsp;<img align="bottom" id="teamMap" src="/nwyj/images/cockpit/gis/teamMap.png"/></td>
  186. </tr>
  187. <tr>
  188. <td align="right" class="td-move"><span class="td-font">经度:</span></td>
  189. <td class="td-move"><input type="text" id="LONGITUDE_261" name="LONGITUDE_261" maxlength="20" style="width: 265px;height:30px" /></td>
  190. <td align="right" class="td-move"><span class="td-font">纬度:</span></td>
  191. <td class="td-move"><input type="text" id="LATITUDE_261" name="LATITUDE_261" maxlength="20" style="width: 275px;height:30px" /></td>
  192. </tr>
  193. <tr>
  194. <td align="right" class="td-move"><span class="td-font">通信地址:</span></td>
  195. <td colspan="3" class="td-move"><input type="text" id="TEAM_ADDRESS_261" name="TEAM_ADDRESS_261" maxlength="30" style="width: 95%;height:30px"/></td>
  196. </tr>
  197. <tr>
  198. <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">专长描述:</span></td>
  199. <td colspan="3" style="padding: 10px 5px 10px 0px;"><!-- <input type="text" id="TEAM_SPECIALITY_261" name="TEAM_SPECIALITY_261" maxlength="10"/> -->
  200. <textarea maxNum="300" name="TEAM_SPECIALITY_261" id="TEAM_SPECIALITY_261" style="resize:none;width: 95%;"></textarea></td>
  201. </tr>
  202. </table>
  203. </fieldset>
  204. <fieldset id="complete" class="fieldset">
  205. <legend class="legend">队伍人数:</legend>
  206. <table class="table-style">
  207. <tr>
  208. <td align="right" width="120px" class="td-move"><span class="td-font">人数 :</span></td>
  209. <td width="280px" class="td-move"><input type="text" id="TEAM_MEMBER_NUMBER_261" name="TEAM_MEMBER_NUMBER_261" value="0" disabled=true maxlength="10" style="width: 265px;height:30px" readonly="readonly"/></td>
  210. <td align="right" width="125px" class="td-move"><span class="td-font">输电线路(人数):</span></td>
  211. <td width="280px" class="td-move"><input type="text" id="SD_XIANLU_261" name="SD_XIANLU_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  212. </tr>
  213. <tr>
  214. <td align="right" class="td-move"><span class="td-font">输电电缆(人数):</span></td>
  215. <td class="td-move"><input type="text" id="SD_XIANLANG_261" name="SD_XIANLANG_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  216. <td align="right" class="td-move"><span class="td-font">变电一次(人数):</span></td>
  217. <td class="td-move"><input type="text" id="BD_YICI_261" name="BD_YICI_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  218. </tr>
  219. <tr>
  220. <td align="right" class="td-move"><span class="td-font">变电二次(人数):</span></td>
  221. <td class="td-move"><input type="text" id="BD_ERCI_261" name="BD_ERCI_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  222. <td align="right" class="td-move"><span class="td-font">信息通信(人数):</span></td>
  223. <td class="td-move"><input type="text" id="PD_XIANLU_261" name="PD_XIANLU_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  224. </tr>
  225. <tr>
  226. <td align="right" class="td-move"><span class="td-font">海缆(人数):</span></td>
  227. <td class="td-move"><input type="text" id="PD_XIANLANG_261" name="PD_XIANLANG_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  228. <td align="right" class="td-move"><span class="td-font">物资(人数):</span></td>
  229. <td class="td-move"><input type="text" id="PD_DIANFANG_261" name="PD_DIANFANG_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  230. </tr>
  231. <tr>
  232. <td align="right" class="td-move"><span class="td-font">消防(人数):</span></td>
  233. <td class="td-move"><input type="text" id="PD_BAODIAN_261" name="PD_BAODIAN_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  234. <td align="right" class="td-move"><span class="td-font">后勤保障(人数):</span></td>
  235. <td class="td-move"><input type="text" id="TONGXING_261" name="TONGXING_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  236. </tr>
  237. <!-- <tr>
  238. <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">网络信息(人数):</span></td>
  239. <td style="padding: 10px 5px 10px 0px;"><input type="text" id="WANGLUO_261" name="WANGLUO_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  240. <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">试验(人数):</span></td>
  241. <td style="padding: 10px 5px 10px 0px;"><input type="text" id="SHIYAN_261" name="SHIYAN_261" value="0" inputMode="numberOnly" maxlength="10" style="width: 265px;height:30px"/></td>
  242. </tr> -->
  243. </table>
  244. </fieldset>
  245. <fieldset class="fieldset">
  246. <legend class="legend">填写人员信息:</legend>
  247. <table class="table-style2" id="fillForm">
  248. <tr>
  249. <td width="120px" class="td-style" align="right" ><span class="td-font">单位:</span></td>
  250. <td width="280px" class="td-style"><div name="UNITE" id="UNITE" /></td>
  251. <td width="120px" class="td-style" align="right"><span class="td-font">部门:</span></td>
  252. <td width="280px" class="td-style"><div name="DEPT" id="DEPT" /></td>
  253. </tr>
  254. <tr>
  255. <td align="right" class="td-style"><span class="td-font">填写人员:</span></td>
  256. <td class="td-style"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
  257. <td align="right" class="td-style"><span class="td-font">填写人员联系方式:</span></td>
  258. <td class="td-style"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
  259. </tr>
  260. </table>
  261. </fieldset>
  262. </form>
  263. </div>
  264. <script type="text/javascript">
  265. $(function(){
  266. $("#teamMap").on('click',function(){
  267. //var url = "/nwyj/page/cockpit/bdMap/bdMap.html?corpName=" + corpName + "&adr=" + $("#TEAM_AEAR_261").val() + "&lng=" + $("#LONGITUDE_261").val() + "$lat=" + $("#LATITUDE_261").val();
  268. var url = "/nwyj/page/cockpit/bdMap/bdMap.html?corpName=" + corpName + "&adr=" + $("#TEAM_AEAR_261").val();
  269. var str = "南方电网-地图";
  270. initAlertDrag(url,str)
  271. });
  272. });
  273. function callbackAdr(adr,lng,lat){
  274. $("#TEAM_AEAR_261").val(adr);
  275. $("#LONGITUDE_261").val(lng);
  276. $("#LATITUDE_261").val(lat);
  277. };
  278. //设为不可用
  279. function disableSelect(){
  280. $("#TEAM_MEMBER_NUMBER_261").attr("readonly",true);
  281. $("#SD_XIANLU_261").attr("readonly",true);
  282. $("#SD_XIANLANG_261").attr("readonly",true);
  283. $("#BD_YICI_261").attr("readonly",true);
  284. $("#BD_ERCI_261").attr("readonly",true);
  285. $("#PD_XIANLU_261").attr("readonly",true);
  286. $("#PD_XIANLANG_261").attr("readonly",true);
  287. $("#PD_DIANFANG_261").attr("readonly",true);
  288. $("#PD_BAODIAN_261").attr("readonly",true);
  289. $("#TONGXING_261").attr("readonly",true);
  290. $("#TEAM_MEMBER_NUMBER_261").val("0");
  291. $("#SD_XIANLU_261").val("0");
  292. $("#SD_XIANLANG_261").val("0");
  293. $("#BD_YICI_261").val("0");
  294. $("#BD_ERCI_261").val("0");
  295. $("#PD_XIANLU_261").val("0");
  296. $("#PD_XIANLANG_261").val("0");
  297. $("#PD_DIANFANG_261").val("0");
  298. $("#PD_BAODIAN_261").val("0");
  299. $("#TONGXING_261").val("0");
  300. $("#complete").hide();
  301. $(parent.document.body).find("#frmright").height($(window.document.body).height()+30);
  302. }
  303. //设为可用
  304. function enableSelect(){
  305. $("#TEAM_MEMBER_NUMBER_261").attr("readonly",false);
  306. $("#SD_XIANLU_261").attr("readonly",false);
  307. $("#SD_XIANLANG_261").attr("readonly",false);
  308. $("#BD_YICI_261").attr("readonly",false);
  309. $("#BD_ERCI_261").attr("readonly",false);
  310. $("#PD_XIANLU_261").attr("readonly",false);
  311. $("#PD_XIANLANG_261").attr("readonly",false);
  312. $("#PD_DIANFANG_261").attr("readonly",false);
  313. $("#PD_BAODIAN_261").attr("readonly",false);
  314. $("#TONGXING_261").attr("readonly",false);
  315. $("#complete").show();
  316. $(parent.document.body).find("#frmright").height($(window.document.body).height()+30);
  317. }
  318. </script>
  319. </body>
  320. </html>