d48e8b0df9cd5ead04912efec3a541f5f4b6be57.svn-base 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  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="/page/include.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/freamwork/com/sinosoft/common/utils/Request.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
  15. <link href="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.css" rel="stylesheet" type="text/css" />
  16. <script type="text/javascript" src = "/nwyj/scripts/business/am/org/maintenance/orgSel.js"></script><!-- 单位引用的js -->
  17. <script type="text/javascript" src="<%=path%>/scripts/business/em/response/team/TeamAddEdit.js"></script>
  18. <script type="text/javascript">
  19. /****** ==========本页面不供新增使用,新增页面为TeamAddOnly.jsp 新增,修改,共用一个js========== ******/
  20. var fd_id = "<%=request.getParameter("fd_id")%>";
  21. var taskName="<%=request.getParameter("taskName")%>"
  22. var arrived = "<%=request.getParameter("arrived")%>";//如果 arrived =1 说明是点击到达进来的,下面的返回要隐藏 如果 arrived =2 说明是点击返回进来的
  23. //取得用户真实名字
  24. var realName = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
  25. //部门id
  26. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
  27. //部门名称
  28. var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
  29. //父部门id
  30. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  31. var CorpArea = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  32. //页面初始化
  33. $(function(){
  34. /******************录入人信息start********************/
  35. /* 页面展示用 */
  36. //取登录用户信息
  37. //登录用户姓名 要调整,还是要用id
  38. var userName = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
  39. $("#TYPEIN_PEOPLE").html(userName);
  40. //用户手机号
  41. var getMobile = top.com.sinosoft.lz.system.user.LoginInfo.getMobile();
  42. if(getMobile==undefined){
  43. $("#TYPEIN_PEOPLE_PHONE_NUM").html("暂无手机号码");
  44. }else{
  45. $("#TYPEIN_PEOPLE_PHONE_NUM").html(getMobile);
  46. }
  47. //用户所属单位
  48. var getCorp_names = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_names();
  49. $("#UNITE").html(getCorp_names);
  50. //用户所属部门
  51. var getDeptnames = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
  52. $("#DEPT").html(getDeptnames);
  53. /*****************录入人信息end*********************/
  54. var defaultOpts={
  55. // 自动上传。
  56. auto : true,
  57. // swf文件路径
  58. swf : '/nwyj/scripts/webUploader/Uploader.swf',
  59. // 文件接收服务端。
  60. server : '/nwyj/Upload',
  61. // 选择文件的按钮。可选。
  62. pick : '#picker',
  63. fileNumLimit: 5,
  64. fileSizeLimit: 200 * 1024 * 1024, // 200 M
  65. fileSingleSizeLimit: 50 * 1024 * 1024, // 50 M
  66. chunked: false,
  67. chunkSize: 512 * 1024,
  68. fileTypeLimit :"exe,jsp,asp",
  69. accept: {
  70. extensions: 'jpg,png,doc,docx,pdf'
  71. },
  72. /*
  73. formData: {},
  74. runtimeOrder: 'flash',
  75. */
  76. //禁掉全局的拖拽功能。这样不会出现图片拖进页面的时候,把图片打开。
  77. disableGlobalDnd: true
  78. };
  79. $('#fileDiv').newAsyncFileUpload(defaultOpts,fd_id,"1");//附件
  80. if(arrived == 1 || arrived == 2){
  81. $("#TEAM_NEAM_395").initYewuSelect("261","FD_OBJECTID","TEAM_NAME"," TEAM_COMP_ID='"+CorpArea+"' and is_del='0'");//队伍名称下拉框的实现和筛选
  82. }else{
  83. $("#TEAM_NEAM_395").initYewuSelect("261","FD_OBJECTID","TEAM_NAME"," TEAM_COMP_ID='"+CorpArea+"' and TEAM_STAT='1' and is_del='0'");//队伍名称下拉框的实现和筛选
  84. }
  85. $("#fd_id").val(fd_id);
  86. /******************录入人信息start********************/
  87. /* 页面展示用 */
  88. //取登录用户信息
  89. //登录用户姓名 要调整,还是要用id
  90. var userName = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
  91. $("#TYPEIN_PEOPLE").html(userName);
  92. //用户手机号
  93. var getMobile = top.com.sinosoft.lz.system.user.LoginInfo.getMobile();
  94. if(getMobile==undefined){
  95. $("#TYPEIN_PEOPLE_PHONE_NUM").html("暂无手机号码");
  96. }else{
  97. $("#TYPEIN_PEOPLE_PHONE_NUM").html(getMobile);
  98. }
  99. //用户所属单位
  100. var getCorp_names = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_names();
  101. $("#UNITE").html(getCorp_names);
  102. //用户所属部门
  103. var getDeptnames = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
  104. $("#DEPT").html(getDeptnames);
  105. /*****************录入人信息end*********************/
  106. if(arrived == 1){//如果 arrived =1 说明是点击到达进来的,下面的返回要隐藏 如果 arrived =2 说明是点击返回进来的
  107. $("#getBack").hide();//隐藏返回信息
  108. //设置 出发信息 为只读
  109. $("#TEAM_CONTACT_395").attr("readonly","readonly");//设置'队伍联系人'为只读
  110. $("#TEAM_CONTACT_TEL_395").attr("readonly","readonly");//设置'队伍联系人电话'为只读
  111. $("#POPULATION_395").attr("readonly","readonly");//设置'人数'为只读
  112. $("#STATR_PLACE_395").attr("readonly","readonly");//设置'出发地点'为只读
  113. $("#DEST_395").attr("readonly","readonly");//设置'目的地'为只读
  114. $("#LOCATION_395").attr("readonly","readonly");//设置'当前地点'为只读
  115. $("#UPDATETIME_395").attr("disabled",true);
  116. // $("#START_TIME_395").render();
  117. $("#START_TIME_395").attr("disabled",true);
  118. // $("#START_TIME_395").render();
  119. $("#DEMAND_ID_395").attr("disabled",true);
  120. $("#TEAM_NEAM_395").attr("disabled",true);
  121. //设置到达时间为必填项
  122. $("#TOA_395").attr("class","validate[required] date");
  123. //设置接收人为必填项
  124. $("#RECEVIER_395").attr("class","validate[required]");
  125. //设置接收人电话为必填项
  126. $("#RECEVIER_TEL_395").attr("class","validate[required,custom[mobilephone],custom[onlyNumber]]");
  127. // $("#TEAM_NEAM_395").initYewuSelect("261","FD_OBJECTID","TEAM_NAME"," TEAM_COMP_ID='"+CorpArea+"' and is_del='0'");//队伍名称下拉框的实现和筛选
  128. } else if(arrived == 2){//如果 arrived =1 说明是点击到达进来的,下面的返回要隐藏 如果 arrived =2 说明是点击返回进来的
  129. //设置 出发信息 和 到达信息 为只读
  130. $("#TEAM_CONTACT_395").attr("readonly","readonly");//设置'队伍联系人'为只读
  131. $("#TEAM_CONTACT_TEL_395").attr("readonly","readonly");//设置'队伍联系人电话'为只读
  132. $("#POPULATION_395").attr("readonly","readonly");//设置'人数'为只读
  133. $("#STATR_PLACE_395").attr("readonly","readonly");//设置'出发地点'为只读
  134. $("#DEST_395").attr("readonly","readonly");//设置'目的地'为只读
  135. $("#LOCATION_395").attr("readonly","readonly");//设置'当前地点'为只读
  136. $("#RECEVIER_395").attr("readonly","readonly");//设置'接收人'为只读
  137. $("#RECEVIER_TEL_395").attr("readonly","readonly");//设置'接收人电话'为只读
  138. $("#UPDATETIME_395").attr("disabled",true);
  139. $("#START_TIME_395").attr("disabled",true);
  140. $("#TOA_395").attr("disabled",true);
  141. $("#ETA_395").attr("disabled",true);
  142. $("#RECEIVE_TIME_395").attr("disabled",true);
  143. $("#DEMAND_ID_395").attr("disabled",true);
  144. $("#TEAM_NEAM_395").attr("disabled",true);
  145. //设置返回时出发时间为必填项
  146. $("#BACK_START_TIME_395").attr("class","validate[required] date");
  147. //设置返回时出发地点为必填项
  148. $("#BACK_STATR_PLACE_395").attr("class","validate[required]");
  149. }else{//修改
  150. }
  151. if(arrived != "1" && arrived != "2"){
  152. $("#arrved").hide();
  153. $("#getBack").hide();
  154. }
  155. if(taskName!=null && taskName!=''){
  156. $("#DEMAND_ID_395").setValue(fd_id);
  157. $("#DEMAND_ID_395").render();
  158. }
  159. //
  160. if(fd_id.length>0){//修改表单
  161. $("#UNIT_395").OrgSel();
  162. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  163. var params = {
  164. classid : '395',
  165. objectID : fd_id
  166. };
  167. $.ajax({
  168. type: "POST",
  169. //async : false,
  170. url: url,
  171. data: params,
  172. dataType : 'json',
  173. success: function(data){
  174. $('#editForm').ajaxWrite({data:data});
  175. $('#editForm input[name="classid"]').val('395');
  176. $('#UNIT_395').val(data.UNIT_395);
  177. $('#UNIT_395_show').val(data.UNIT_395_SHOW);
  178. $('#show_UNIT_395').val(data.UNIT_395_SHOW);
  179. $("#DEMAND_ID_395").setValue(data.DEMAND_ID_395);//需求名称
  180. $("#TEAM_NEAM_39500").val(data.TEAM_NEAM_395);//隐藏的input框,用于保存队伍ID
  181. $("#TEAM_REAL_NEAM_395").val(data.TEAM_REAL_NEAM_395);//隐藏的input框,用于保存队伍NAME
  182. $("#TEAM_NEAM_395").setValue(data.TEAM_NEAM_395);//队伍名称下拉框赋值================================================================================
  183. var teamName = data.TEAM_NEAM_395;
  184. $.ajax({
  185. url : $.pathname() + '/ws/updateState/TeamAllotUpdateTeamState/getTeamName/',
  186. type: "POST",
  187. //async : true,
  188. data : { FD_OBJECTID : teamName },
  189. dataType : 'json',
  190. timeout : 15000,
  191. success : function(data){
  192. $("#TEAM_REAL_NEAM_395").val(data.result);//队伍名称NAME
  193. }
  194. });
  195. var teamType = data.MAJOR_395;
  196. var teamLevel = data.DCV_RANK_395;
  197. $.ajax({
  198. url : $.pathname() + '/ws/updateState/TeamAllotUpdateTeamState/getTeamType/',
  199. type: "POST",
  200. //async : false,
  201. data : {FD_CODE : teamType },
  202. dataType : 'json',
  203. timeout : 15000,
  204. success : function(data){
  205. $("#MAJOR_39500").val(data.result);//专业(队伍类型)用于显示
  206. }
  207. });
  208. /* $.ajax({
  209. url : $.pathname() + '/ws/updateState/TeamAllotUpdateTeamState/getTeamLevel/',
  210. type: "POST",
  211. async : false,
  212. data : { FD_CODE : teamLevel },
  213. dataType : 'json',
  214. timeout : 15000,
  215. success : function(data){
  216. alert(data.result)
  217. $("#DCV_RANK_39500").val(data.result);//电压等级 用于显示 */
  218. $("#DCV_RANK_39500").val(data.DCV_RANK_395);//电压等级 用于显示
  219. /* }
  220. }); */
  221. $.ajax({//查询申请单位联系人和备选人
  222. url : $.pathname() + '/ws/updateState/TeamAllotUpdateTeamState/getLinkMenMsg/',
  223. data : { objectId391 : data.DEMAND_ID_395 },
  224. type: "POST",
  225. dataType : 'json',
  226. //async : false,
  227. timeout : 15000,
  228. success : function(data){
  229. if(data.result[0].linkManId1 != undefined && data.result[0].linkManId1 != ""){
  230. $("#ENTRY_UNIT_ATTN_391").val(data.result[1].linkManName1);
  231. $("#ENTRY_UNIT_ATTN_TEL_391").val(data.result[2].linkPhone1);
  232. }else{
  233. $("#lianXiRenMsg").hide();
  234. }
  235. if(data.result[3].linkManId2 != undefined && data.result[3].linkManId2 != ""){
  236. $("#ENTRY_ALTERNATIVE_391").val(data.result[4].linkManName2);
  237. $("#ENTRY_ALTERNATIVE_TEL_391").val(data.result[5].linkPhone2);
  238. }else{
  239. $("#beiXuanRenMsg").hide();
  240. }
  241. },error : function(e){
  242. top.Dialog.alert("error!")
  243. }
  244. });
  245. },error : function(e){
  246. }
  247. });
  248. }
  249. //需求单位的改变,自动带入申请单位联系人和备选人(1共3)
  250. if("MSIE"==getOs()){
  251. document.getElementById("UNIT_395").onpropertychange = inputchange;
  252. }else{
  253. document.getElementById("UNIT_395").addEventListener("input",inputchange,false);
  254. }
  255. //队伍联系人的绑定事件,选择完后,自动带入电话
  256. $("#TEAM_CONTACT_395").bind("change",function(){
  257. var userId = $(this).val();
  258. if(userId!=''){
  259. $.ajax({
  260. url : $.pathname() + '/ws/TeamNeed/TeamNeedService/getPhoneNoByUserId',
  261. type : 'post',
  262. //async : false,
  263. timeout : 15000,
  264. data:userId,
  265. dataType : 'json',
  266. success : function(result){
  267. //alert(result)
  268. $("#TEAM_CONTACT_TEL_395").val(result);
  269. },
  270. error : function(e){
  271. top.Dialog.alert("系统错误!");
  272. }
  273. });
  274. };
  275. });
  276. //专业下拉框
  277. $("#MAJOR_395").initCanstSelect('BM_TEAMTYPE');
  278. $("#DCV_RANK_395").initCanstSelect('BM_DYDJ');
  279. //$("#DEMAND_ID_395").initYewuSelect("391","FD_OBJECTID","TASK_NAME","TASK_NAME is not null and RANGE_UNITS_ID like'%"+CorpArea+"%' and ECM_EM_TEAM_WRR.STATE= '135'"); //应急需求
  280. $("#DEMAND_ID_395").initYewuSelect("391","FD_OBJECTID","TASK_NAME","'"+CorpArea+"'"); //应急需求
  281. //获得当前系统时间
  282. $('#FORM_TIME_395').val(getDateTime());
  283. $("#FORM_SECTOR_395").val(deptId);
  284. $("#FORM_NAME_395").val(realName);
  285. $("#DEMAND_ID_395").bind("change",function(){
  286. var relValue = $(this).attr('relValue');
  287. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  288. var params = {
  289. classid : '391',
  290. objectID : relValue
  291. };
  292. $.request.query(url,params,function(data){
  293. $("#contentId").html("");
  294. var content = data.UNITS_CONTENT_391;
  295. var contentNum = content.split('&');
  296. if(contentNum != null && contentNum != ""){
  297. for(var i =0;i < contentNum.length-1;i++){
  298. var contentTemp = contentNum[i].split(";");
  299. $("#contentId").append("<tr><td style='display: none;'>"+contentTemp[0]+"</td><td align='right' width='20%'>"+contentTemp[1]+"</td><td width+'80%'>"+contentTemp[2]+"</td></tr>");
  300. }
  301. }
  302. });
  303. });
  304. //队伍名称
  305. $("#TEAM_NEAM_395").bind("change",function(){
  306. var teamID = $(this).attr("relValue");
  307. var teamName=$(this).attr("relText");
  308. $("#TEAM_NEAM_39500").val(teamID);
  309. $("#TEAM_REAL_NEAM_395").val(teamName);
  310. // alert(teamID)
  311. var url = $.pathname() + '/ws/updateState/TeamAllotUpdateTeamState/getTeamMsgFromDailyTeam/';
  312. if(teamID != '' || teamID != null){
  313. $.ajax({
  314. url : url,
  315. type: "POST",
  316. //async : true,
  317. data : { FD_OBJECTID : teamID },
  318. dataType : 'json',
  319. timeout : 15000,
  320. success : function(data){
  321. $("#MAJOR_395").val(data.result[0].TEAM_TYPE);//专业(队伍类型)用于保存 (隐藏状态)
  322. var teamType = data.result[0].TEAM_TYPE;
  323. $("#DCV_RANK_395").val(data.result[1].TEAM_LEVEL);//电压等级 用于保存 (隐藏状态)
  324. var teamLevel = data.result[1].TEAM_LEVEL;
  325. $("#TEAM_CONTACT_395").val(data.result[2].TEAM_LEADER);
  326. $("#TEAM_CONTACT_TEL_395").val(data.result[3].TEAM_PHONE);
  327. $("#peopNO").val(data.result[4].TEAM_MEMBER_NUMBER);//临时保存队伍人数
  328. $("#renShu").text("人数("+data.result[4].TEAM_MEMBER_NUMBER+"):")
  329. $.ajax({
  330. url : $.pathname() + '/ws/updateState/TeamAllotUpdateTeamState/getTeamType/',
  331. type: "POST",
  332. //async : true,
  333. data : {FD_CODE : teamType },
  334. dataType : 'json',
  335. timeout : 15000,
  336. success : function(data){
  337. $("#MAJOR_39500").val(data.result);//专业(队伍类型)用于显示
  338. }
  339. });
  340. // $.ajax({
  341. // url : $.pathname() + '/ws/updateState/TeamAllotUpdateTeamState/getTeamLevel/',
  342. // type: "POST",
  343. //async : true,
  344. // data : { FD_CODE : teamLevel },
  345. // dataType : 'json',
  346. // timeout : 15000,
  347. // success : function(data){
  348. // $("#DCV_RANK_39500").val(data.result);//电压等级 用于显示
  349. // }
  350. // });
  351. $("#DCV_RANK_39500").val(teamLevel);//电压等级 用于显示
  352. $("#POPULATION_395").val("");//人数
  353. } ,error : function(e){
  354. top.Dialog.alert("error");
  355. }
  356. });
  357. }
  358. });
  359. });
  360. //获得当前系统时间
  361. function getDateTime(){
  362. var s="";
  363. var d = allGetServerTime();
  364. var vYear = d.getFullYear();
  365. var vMon = d.getMonth() + 1;
  366. var vDay = d.getDate();
  367. var h = d.getHours();
  368. var m = d.getMinutes();
  369. var se = d.getSeconds();
  370. s=vYear+"-"+(vMon<10 ? "0" + vMon : vMon)+"-"+(vDay<10 ? "0"+ vDay : vDay)+" "+(h<10 ? "0"+ h : h)+":"+(m<10 ? "0" + m : m);
  371. return s;
  372. }
  373. function getUnitInfo(){
  374. var unitId = $("#UNIT_395").val();//需求单位ID
  375. //alert(unitId)
  376. if(unitId!=''){
  377. $.ajax({
  378. url : $.pathname() + '/ws/TeamNeed/TeamNeedService/getPeopleByUnitId',
  379. type : 'post',
  380. //async : false,
  381. timeout : 15000,
  382. data:unitId,
  383. dataType : 'json',
  384. success : function(result){
  385. if(result=='' || result==null){
  386. top.Dialog.alert("该单位没有对应的人员!");
  387. return;
  388. }else{
  389. $("#TEAM_CONTACT_395").data("data",result);
  390. $("#TEAM_CONTACT_395").render();
  391. }
  392. },
  393. error : function(e){
  394. top.Dialog.alert("系统错误");
  395. }
  396. });
  397. };
  398. }
  399. //需求单位的改变,自动带入申请单位联系人和备选人(2共3)
  400. function inputchange(){
  401. //var unitId = $("#FORM_SECTOR_391").val();//需求单位ID
  402. var unitId = $(this).val();//需求单位ID
  403. //alert(unitId)
  404. if(unitId!=''){
  405. $.ajax({
  406. url : $.pathname() + '/ws/TeamNeed/TeamNeedService/getPeopleByUnitId',
  407. type : 'post',
  408. //async : false,
  409. timeout : 15000,
  410. data:unitId,
  411. dataType : 'json',
  412. success : function(result){
  413. if(result=='' || result==null){
  414. top.Dialog.alert("该单位没有对应的人员!");
  415. return;
  416. }else{
  417. $("#TEAM_CONTACT_395").data("data",result);
  418. $("#TEAM_CONTACT_395").render();
  419. }
  420. },
  421. error : function(e){
  422. top.Dialog.alert("系统错误");
  423. }
  424. });
  425. };
  426. }
  427. //判断浏览器的类型,//需求单位的改变,自动带入申请单位联系人和备选人(3共3)
  428. function getOs(){
  429. if(navigator.userAgent.indexOf("MSIE")>0) {
  430. return "MSIE";
  431. } ;
  432. if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){
  433. return "Firefox";
  434. } ;
  435. if(isSafari=navigator.userAgent.indexOf("Safari")>0) {
  436. return "Safari";
  437. } ;
  438. if(isCamino=navigator.userAgent.indexOf("Camino")>0){
  439. return "Camino";
  440. };
  441. if(isMozilla=navigator.userAgent.indexOf("Gecko/")>0){
  442. return "Gecko";
  443. } ;
  444. };
  445. </script>
  446. <style type="text/css">
  447. .class_color{
  448. background-color: rgb(237, 239, 253);
  449. }
  450. </style>
  451. </head>
  452. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
  453. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
  454. <div style="height: 50px;background: #F8F8F8;" align="center">
  455. <a href="javascript:;"><img id="back" align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png"></img></a>
  456. </div>
  457. <br />
  458. <div align="center"><font style="font-weight: bold;font-size: 30px;line-height: 45px;" color="red" id="" >应急队伍调拨</font></div>
  459. <br />
  460. <div style="float:right">
  461. <input value="保存" id="save" type="button"/>&nbsp;&nbsp;
  462. <input id="cancel" value="重置" type="reset"/>&nbsp;&nbsp;&nbsp;&nbsp;
  463. </div>
  464. <br /><br />
  465. <form id="editForm" method="post">
  466. <input id="FORM_SECTOR_395" name="FORM_SECTOR_395" type="hidden"/>
  467. <input id="FORM_NAME_395" name="FORM_NAME_395" type="hidden"/>
  468. <input id="fd_id" name="" type="hidden"/>
  469. <input id="FORM_TIME_395" name="FORM_TIME_395" type="hidden"/>
  470. <table class="tableStyle" formMode="line">
  471. <tr>
  472. <td width="15%" class="class_color"><span class="star">*</span>需求名称:</td>
  473. <!-- <td ><select editable=false name="DEMAND_ID_395" class="validate[required] selectWidth" id="DEMAND_ID_395" selAlign="" prompt="请选择" selWidth="846"></select></td> -->
  474. <td width="85%" colspan="3"><select editable=false name="DEMAND_ID_395" class="validate[required] selectWidth" id="DEMAND_ID_395" selAlign="" prompt="请选择" swidth="98%"></select></td>
  475. </tr>
  476. <tr id="lianXiRenMsg">
  477. <td width="15%" class="class_color">申请单位联系人:</td>
  478. <td width="35%"><input id="ENTRY_UNIT_ATTN_391" readonly="readonly" style="width:97%" type="text"/></td>
  479. <td width="15%" class="class_color">联系人电话:</td>
  480. <td width="35%"><input id="ENTRY_UNIT_ATTN_TEL_391" readonly="readonly" style="width:97%" type="text"/></td>
  481. </tr>
  482. <tr id="beiXuanRenMsg">
  483. <td width="15%" class="class_color">备选联系人:</td>
  484. <td width="35%"><input id="ENTRY_ALTERNATIVE_391" readonly="readonly" style="width:97%" type="text"/></td>
  485. <td width="15%" class="class_color">备选联系人电话:</td>
  486. <td width="35%"><input id="ENTRY_ALTERNATIVE_TEL_391" readonly="readonly" style="width:97%" type="text"/></td>
  487. </tr>
  488. </table>
  489. <table class="tableStyle" formMode="line" id="contentId">
  490. </table>
  491. <table class="tableStyle" formMode="line">
  492. <h4>出发</h4>
  493. <tr style="display:none;">
  494. <td colspan="2"><input type="hidden" name="classid" value="395"/></td>
  495. <td colspan="2">
  496. <input type="hidden" name="FD_OBJECTID395" value=""/>
  497. <input id="CURRENT_STATE_395" name="CURRENT_STATE_395" value="131" type="hidden"/>
  498. </td>
  499. </tr>
  500. <tr>
  501. <td width="15%" class="class_color"><span class="star">*</span>队伍名称:</td>
  502. <td width="35%">
  503. <input type="hidden" id="TEAM_NEAM_39500" name="TEAM_NEAM_395" readonly="readonly" style="width:97%"/><!-- 保存队伍ID,隐藏 -->
  504. <input type="hidden" id="TEAM_REAL_NEAM_395" name="TEAM_REAL_NEAM_395" readonly="readonly" style="width:97%"/><!-- 保存队伍NAME,显示 -->
  505. <select style="display: none;" editable=false name="" class="validate[required] selectWidth" id="TEAM_NEAM_395" prompt="请选择" swidth="96%"></select>
  506. </td>
  507. <td width="15%" class="class_color"><span class="star">*</span>单位:</td>
  508. <td width="35%">
  509. <!-- <div name="UNIT_395" id="UNIT_395" class="selectTree validate[required]" selWidth="488"></div> -->
  510. <div id="UNIT_395" class="validate[required]"></div>
  511. </td>
  512. </tr>
  513. <tr>
  514. <td class="class_color"><span class="star">*</span>队伍类型:</td>
  515. <td width="35%">
  516. <!-- <select name="MAJOR_395" id="MAJOR_395" prompt="请选择" class="validate[required] selectWidth" swidth="96%"></select> -->
  517. <input name="MAJOR_395" id="MAJOR_395" type="hidden"/>
  518. <input type="text" readonly="readonly" maxlength="10" class="validate[required]" name="" id="MAJOR_39500" style="width:97%"/>
  519. </td>
  520. <td class="class_color"><span class="star">*</span>电压等级:</td>
  521. <td width="35%">
  522. <!-- <select name="DCV_RANK_395" id="DCV_RANK_395" prompt="请选择" class="validate[required] selectWidth" swidth="96%"></select> -->
  523. <input type="hidden" name="DCV_RANK_395" id="DCV_RANK_395"/>
  524. <input type="text" readonly="readonly" maxlength="10" class="validate[required]" name="" id="DCV_RANK_39500" style="width:97%"/>
  525. </td>
  526. </tr>
  527. <tr>
  528. <td class="class_color"><span class="star">*</span>队伍联系人:</td>
  529. <td>
  530. <input readonly="readonly" type="text" maxlength="10" class="validate[required]" name="TEAM_CONTACT_395" id="TEAM_CONTACT_395" style="width:97%"/>
  531. <!-- <select prompt="请选择" name="TEAM_CONTACT_395" id="TEAM_CONTACT_395" class="validate[required] selectWidth" swidth="96%" ></select> -->
  532. </td>
  533. <td class="class_color"><span class="star">*</span>队伍联系人电话:</td>
  534. <td><input type="text" maxlength="15" class="validate[required]" name="TEAM_CONTACT_TEL_395" id="TEAM_CONTACT_TEL_395" style="width:97%"/></td>
  535. </tr>
  536. <tr>
  537. <td class="class_color"><span class="star">*</span><span id="renShu">人数:</span></td>
  538. <td><input type="text" maxlength="50" name="POPULATION_395" id="POPULATION_395" class="validate[required]" style="width:97%"/></td>
  539. <td class="class_color"><span class="star">*</span>最后更新时间:</td>
  540. <td><input type="text" readonly="readonly" maxlength="26" class="date validate[required]" dateFmt="yyyy-MM-dd HH:mm" name="UPDATETIME_395" id="UPDATETIME_395" style="width:97%"/></td>
  541. </tr>
  542. <tr>
  543. <td width="15%" class="class_color"><span class="star">*</span>出发地点:</td>
  544. <td width="35%"><input type="text" maxlength="50"class="validate[required]" name="STATR_PLACE_395" id="STATR_PLACE_395" style="width:97%"/></td>
  545. <td width="15%" class="class_color"><span class="star">*</span>出发时间:</td>
  546. <td width="35%"><input type="text" readonly="readonly" maxlength="26" class="date validate[required]" dateFmt="yyyy-MM-dd HH:mm" name="START_TIME_395" id="START_TIME_395" style="width:97%"/></td>
  547. </tr>
  548. <tr>
  549. <td class="class_color"><span class="star">*</span>目的地:</td>
  550. <td><input type="text" maxlength="50" class="validate[required]" name="DEST_395" id="DEST_395" style="width:97%"/></td>
  551. <td class="class_color"><span class="star">*</span>当前地点:</td>
  552. <td><input type="text" maxlength="50" class="validate[required]" name="LOCATION_395" id="LOCATION_395" style="width:97%"/></td>
  553. </tr>
  554. <tr>
  555. <td class="class_color"><span class="star">*</span>预计到达时间:</td>
  556. <td><input type="text" readonly="readonly" maxlength="26" dateFmt="yyyy-MM-dd HH:mm" class="date" name="ETA_395" id="ETA_395" style="width:97%"/></td>
  557. <td></td>
  558. <td></td>
  559. </tr>
  560. </table>
  561. <table class="tableStyle" formMode="line" id="arrved">
  562. <h4>到达</h4>
  563. <tr><td width="15%" class="class_color"><span class="star">*</span>到达时间:</td>
  564. <td width="35%"><input type="text" readonly="readonly" maxlength="26" dateFmt="yyyy-MM-dd HH:mm" class="date" id="TOA_395" name="TOA_395" style="width:97%"/></td>
  565. <td width="15%" class="class_color">接收时间:</td>
  566. <td width="35%"><input type="text" readonly="readonly" maxlength="26" dateFmt="yyyy-MM-dd HH:mm" class="date" name="RECEIVE_TIME_395" id="RECEIVE_TIME_395" style="width:97%"/></td>
  567. </tr>
  568. <tr><td class="class_color"><span class="star">*</span>接收人:</td>
  569. <td><input type="text" maxlength="50" name="RECEVIER_395" id="RECEVIER_395" style="width:97%"/></td>
  570. <td class="class_color"><span class="star">*</span>接收人电话:</td>
  571. <td><input type="text" maxlength="11" name="RECEVIER_TEL_395" id="RECEVIER_TEL_395" style="width:97%" /></td>
  572. </tr>
  573. </table>
  574. <table class="tableStyle" formMode="line" id="getBack">
  575. <h4>返回</h4>
  576. <!-- <tr><td width="15%" class="class_color"><span class="star">*</span>返回时出发时间:</td>
  577. <td width="35%"><input type="text" readonly="readonly" maxlength="26" dateFmt="yyyy-MM-dd HH:mm" class="date" name="BACK_START_TIME_395" id="BACK_START_TIME_395" style="width:97%"/></td>
  578. <td width="15%" class="class_color"><span class="star">*</span>返回时出发地点:</td>
  579. <td width="35%"><input type="text" maxlength="50" name="BACK_STATR_PLACE_395" id="BACK_STATR_PLACE_395" style="width:97%"/></td>
  580. </tr> -->
  581. <tr><td width="15%" class="class_color"><span class="star">*</span>返回时到达时间:</td>
  582. <td width="35%"><input type="text" readonly="readonly" maxlength="26" dateFmt="yyyy-MM-dd HH:mm" class="date" name="BACK_START_TIME_395" id="BACK_START_TIME_395" style="width:97%"/></td>
  583. <td width="15%" class=""></td>
  584. <td width="35%"></td>
  585. </tr>
  586. </table>
  587. <fieldset style="border-color:#999999;" id="fileTable" >
  588. <legend>队伍人员信息:</legend>
  589. <table width="960px" class="tableStyle" align="center">
  590. <!-- <tr>
  591. <td width="110px" class="class_color" align="right"><span>纸质扫描件:</span></td>
  592. <td colspan="2"><font color=red>只有领导审核、签发的word、pdf、图片(png/jpg)附件才可以上传直接发布</font></td>
  593. </tr> -->
  594. <tr>
  595. <!-- <td width="110px" class="class_color" align="right"><span align="right" class="star">*</span>上传附件:</td> -->
  596. <td width="110px" class="class_color" align="right">上传附件:</td>
  597. <td width= "750px" colspan="3"><div style="width:750px" id="fileDiv" name="fileDiv" ></div></td>
  598. </tr>
  599. </table>
  600. </fieldset>
  601. </form>
  602. <fieldset style="border-color:#999999;" >
  603. <legend>录入人信息:</legend>
  604. <table width="960px" class="tableStyle" align="center" id="fillForm">
  605. <tr>
  606. <td width="114px" align="right" class="class_color">单位:</td>
  607. <td width="280px"><div style="width:97%" name="" id="UNITE" /></td>
  608. <td width="114px" align="right" class="class_color">部门:</td>
  609. <td width="280px"><div name="" id="DEPT" /></td>
  610. </tr>
  611. <tr>
  612. <td width="114px" align="right" class="class_color">录入人:</td>
  613. <td width="280px"><div name="" id="TYPEIN_PEOPLE" /></td>
  614. <td width="114px" align="right" class="class_color">录入人联系方式:</td>
  615. <td width="280px"><div name="" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
  616. </tr>
  617. </table>
  618. </fieldset>
  619. </div>
  620. </body>
  621. </html>