e79247bd57bdf5b8250f7bd98135d84c701d32a4.svn-base 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574
  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="../../../../include.jsp"%>
  8. <style type="text/css">
  9. .bgd_title{
  10. font-size: 16px;
  11. color: #191919;
  12. font-weight: bold;
  13. height: 40px;
  14. line-height: 40px;
  15. cursor: pointer;
  16. }
  17. .bgd_show{
  18. background-image: url("/nwyj/scripts/qui/libs/images/icons/bgd_hide.png") ;
  19. background-repeat: no-repeat;
  20. background-size: 24px 24px;
  21. padding-left: 30px;
  22. background-position: 0 50%;
  23. _background-position: 0 40%;
  24. }
  25. .bgd_hide{
  26. background-image: url("/nwyj/scripts/qui/libs/images/icons/bgd_show.png");
  27. background-repeat: no-repeat;
  28. background-size: 24px 24px;
  29. padding-left: 30px;
  30. background-position: 0 50%;
  31. _background-position: 0 40%;
  32. }
  33. hr{
  34. border: 1px #A19191 solid;
  35. }
  36. .nonedata{
  37. height: 50px;
  38. line-height: 50px;
  39. font-size: 14px;
  40. text-align: center;
  41. }
  42. </style>
  43. <script type="text/javascript">
  44. var fd_id="<%=request.getParameter("fd_id")%>";
  45. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  46. //保供电场所类别
  47. var csleibieData = {"list":[{"key":"户内活动场所(会议中心、酒店宾馆等)(Z)","value":"Z"},
  48. {"key":"户外活动场所(体育馆、广场等)(Y)","value":"Y"},
  49. {"key":"党政机关场所(党政机关、新闻媒体、单位等)(X)","value":"X"},
  50. {"key":"交通枢纽场所(机场、车站、码头等)(W)","value":"W"},
  51. {"key":"军事场所(军事、警备及保密单位等)(V)","value":"V"},
  52. {"key":"民生要害场所(医院、水、油、气等)(U)","value":"U"},
  53. {"key":"其他(O)","value":"二级"}]};
  54. //保供电场所级别
  55. var jibieData = {"list":[{"key":"特级(0)","value":"0"},
  56. {"key":"一级(1)","value":"1"},
  57. {"key":"二级(2)","value":"2"},
  58. {"key":"三级(3)","value":"3"},
  59. {"key":"其他(4)","value":"4"}]};
  60. //保供电场所电压等级
  61. var csdianyaData = {"list":[{"key":"380V(1)","value":"1"},
  62. {"key":"10kV/20kV(2)","value":"2"},
  63. {"key":"35kV(3)","value":"3"},
  64. {"key":"110kV(4)","value":"4"},
  65. {"key":"220kV(5)","value":"5"},
  66. {"key":"500kV(6)","value":"6"}]};
  67. //保供电场所工作状态
  68. var ztData = {"list":[{"key":"√","value":"0"},
  69. {"key":"/","value":"1"}]};
  70. //保供电设备类别
  71. var sbleibieData = {"list":[{"key":"变电站(开闭所/配电房)(S)","value":"S"},
  72. {"key":"线路(输电、配电)(T)","value":"T"},
  73. {"key":"配电台区(L)","value":"L"}]};
  74. //保供电设备电压等级
  75. var sbdianyaData = {"list":[{"key":"380V(1)","value":"1"},
  76. {"key":"10kV/20kV(2)","value":"2"},
  77. {"key":"35kV(3)","value":"3"},
  78. {"key":"110kV(4)","value":"4"},
  79. {"key":"220kV(5)","value":"5"},
  80. {"key":"500kV(交/直)(6)","value":"6"},
  81. {"key":"800kV(直)(7)","value":"7"}]};
  82. //返回主页面
  83. function goBack() {
  84. ///top.Dialog.confirm("您已修改了表单,是否需要离开?|离开", function() {
  85. var url = "/nwyj/page/business/gps/taskManagement/taskManagement.jsp";
  86. top.parent.document.getElementById("frmright").setAttribute("src", ""+encodeURI(url));
  87. //});
  88. //获取iframe中的元素值
  89. /* var iframe =parent.parent.document.getElementsByName("frmright")[0];
  90. iframe.src = "/nwyj/page/business/gps/taskManagement/taskManagement.jsp"; */
  91. }
  92. /*****************************保供电任务信息****************************************************************/
  93. $(function(){
  94. if(fd_id.length>0){
  95. $("body").eq(0).showLoading();
  96. var params = {classid : "610",objectID : "<%=request.getParameter("fd_id")%>"};
  97. $.ajax({
  98. url : $.pathname() + '/ws/crud/CRUDService/getDataById/',
  99. type : 'post',
  100. timeout : 15000,
  101. data : params,
  102. dataType : 'json',
  103. success : function(data){
  104. for(var i in data){
  105. $("#"+i).html(""+data[i]);
  106. }/*
  107. $("#PROGRAM_NAME_610").html(data.PROGRAM_NAME_610);
  108. $("#START_TIME_610").html(data.START_TIME_610);
  109. $("#END_TIME_610").html(data.END_TIME_610);
  110. $("#GPS_AREA_NAME_610").html(data.GPS_AREA_NAME_610);
  111. $("#GPS_LEVEL_610_SHOW").html(data.GPS_LEVEL_610_SHOW);
  112. $("#TASK_STATE_610").html(data.TASK_STATE_610_SHOW);
  113. $("#INPUT_NAME_610").html(data.INPUT_NAME_610);
  114. //alert(JSON.stringify(data));
  115. $("#INPUT_UNIT_610").html(data.INPUT_UNIT_NAME_610);//INPUT_UNIT_ID_610
  116. $("#INPUT_DATE_610").html(data.INPUT_TIME_610);
  117. $("#ISSUE_DEPT_610").html(data.ISSUE_DEPT_610_SHOW);
  118. $("#COMMENT_TEXT_610").html(data.COMMENT_TEXT_610); */
  119. $("body").eq(0).hideLoading();
  120. },
  121. error : function(e){
  122. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  123. }
  124. });
  125. $("#fileDiv").newAsyncFileUpload("",fd_id,0);
  126. }
  127. });
  128. /*****************************保供电任务信息****************************************************************/
  129. /**初始化表格**/
  130. function initgrid(taskJson,_grid,suoShuName,gridId){
  131. /** grid载入数据* */
  132. _grid = $("#"+gridId).quiGrid({
  133. columns : [{
  134. display : '单位',
  135. name : 'INPUT_DEPT_614',
  136. align : 'center',
  137. width : "25%",
  138. showTitle:true
  139. }, {
  140. display : suoShuName,
  141. name : 'FILE_SUOSHU_614',
  142. align : 'center',
  143. width : "25%",
  144. showTitle:true,
  145. render:function(rowdata,rowindex,value){
  146. return "<a onclick='_loadFile(&quot;" + rowdata.fileUrl + "&quot;)' style='color:blue'>"+value+"</a>";
  147. }
  148. }, {
  149. display : '填报时间',
  150. name : 'INPUT_TIME_614',
  151. align : 'center',
  152. width : "25%",
  153. isSort : true
  154. }, {
  155. display : '填报人',
  156. name : 'INPUT_NAME_614',
  157. align : 'center',
  158. width : "25%",
  159. showTitle:true
  160. }],
  161. data:taskJson,
  162. rownumbers : true,
  163. checkbox : false,
  164. usePager: false,
  165. percentWidthMode : true,
  166. onAfterShowData:function(rowdata){
  167. if(!(rowdata.rows && rowdata.rows.length>0)){
  168. var dom = $("#"+gridId).find(".l-grid2").find(".l-grid-body2");
  169. var $div = $("<div class='nonedata'>此列表暂无记录!</div>");
  170. dom.append($div);
  171. }
  172. setifheight();
  173. }
  174. })
  175. $("body").eq(0).hideLoading();
  176. }
  177. //点击文件下载
  178. function _loadFile(fileUrl){
  179. window.open(fileUrl);
  180. }
  181. /***通过判断页面类型(方案,风险,工作简报...)和任务id,获取该任务下所属类型的数据***/
  182. function gettaskJson(fileSuoShu,taskId,fengxiantype){
  183. var taskJson;
  184. var dataparams = {
  185. listId : '614',
  186. condition : "is_del=0 and FILE_SUOSHU='"+fileSuoShu+"' and FD_TASK='"+taskId+"' ORDER BY UPDATEDATE DESC"
  187. };
  188. if(fengxiantype != undefined){
  189. dataparams = {
  190. listId : '614',
  191. condition : "is_del=0 and FILE_SUOSHU='"+fileSuoShu+"' and FD_TASK='"+taskId+"' and FENGXIAN_TYPE='"+fengxiantype+"' ORDER BY UPDATEDATE DESC"
  192. };
  193. }
  194. $.ajax({
  195. url : $.pathname() + '/ws/crud/CRUDService/queryQui',
  196. type : 'post',
  197. async : false,
  198. data : dataparams,
  199. success : function(data) {
  200. taskJson = data;
  201. },error : function(e) {
  202. $.messager.alert('保存失败!', '访问服务失败!', 'error');
  203. }
  204. });
  205. return taskJson;
  206. }
  207. /***通过业务id获取附件数据,返回附件名称和url的json**/
  208. function getFileJson(mainid){
  209. var dataparams = {
  210. listId : '110',
  211. condition : "IS_DEL=0 AND MAINID='"+mainid+"'"
  212. };
  213. var filename = "";
  214. var jsondds = [];
  215. $.ajax({
  216. url : $.pathname() + '/ws/crud/CRUDService/queryQui',
  217. type : 'post',
  218. async : false,
  219. data : dataparams,
  220. success : function(data) {
  221. for(var i=0;i<data.rows.length;i++){
  222. filename = data.rows[i].NAME_110 + "."+ data.rows[i].FILEEXT_110;
  223. var url = $.pathname() + '/page/common/getFileExc.jsp?objectID=' + data.rows[i].FD_OBJECTID110
  224. + "&filename=" + encodeURI(data.rows[i].SAVENAME_110)
  225. + "." + data.rows[i].FILEEXT_110 + "&downfilename=" + encodeURI(encodeURI(data.rows[i].NAME_110)
  226. + "." + data.rows[i].FILEEXT_110);
  227. var jsondd = {"FILE_SUOSHU_614":filename,"fileUrl":url};
  228. jsondds.push(jsondd);
  229. }
  230. },error : function(e) {
  231. $.messager.alert('查询失败!', '访问服务失败!', 'error');
  232. }
  233. });
  234. return jsondds;
  235. }
  236. //加载表格数据
  237. function loadGridData(filesuoshu,fengxiantype){
  238. //获取该类型当前任务的数据
  239. var taskJson = gettaskJson(filesuoshu,fd_id,fengxiantype);
  240. //通过fd_objectid去附件表中获取相应的附件信息
  241. taskJson1 = {"rows":[]};
  242. if(taskJson.rows.length>0){
  243. for(var i=0;i<taskJson.rows.length;i++){
  244. var mainid = taskJson.rows[i].FD_OBJECTID614;
  245. var FileJson = getFileJson(mainid);
  246. for(var j=0;j<FileJson.length;j++){
  247. var json1 = $.extend({},taskJson.rows[i],FileJson[j]);
  248. taskJson1.rows.push(json1);
  249. }
  250. }
  251. }
  252. }
  253. </script>
  254. <script type="text/javascript">
  255. $(function(){
  256. $(".bgd_show").live("click",function(){
  257. var id = $(this).attr("id");
  258. id = "content_"+id.split("_")[1];
  259. $("#"+id).hide();
  260. $(this).removeClass("bgd_show");
  261. $(this).addClass("bgd_hide");
  262. setifheight();
  263. })
  264. $(".bgd_hide").live("click",function(){
  265. var id = $(this).attr("id");
  266. var idd = id.split("_")[1];
  267. id = "content_"+idd;
  268. $("#"+id).show();
  269. $(this).removeClass("bgd_hide");
  270. $(this).addClass("bgd_show");
  271. if(idd=="fw"){
  272. var treeObj111 = $("#tree-1").html();
  273. if(treeObj111==""){
  274. initBgdGrid(idd);
  275. }
  276. }else{
  277. var gridDomId = "dataGrid_"+idd;
  278. var flag = $("#"+gridDomId).html();
  279. if(flag==""){
  280. initBgdGrid(idd);
  281. }
  282. }
  283. setifheight();
  284. })
  285. })
  286. function setifheight(){
  287. $(parent.document.body).find("#iframeChild").height($(window.document.body).height()+80);
  288. $(top.document.body).find("#frmright").height($(parent.document.body).height());
  289. }
  290. function jiaZaiWan() {
  291. //获取树对象
  292. treeObj = $.fn.zTree.getZTreeObj("tree-1");
  293. //父子设置关联关系
  294. treeObj.setting.check.chkboxType = {
  295. "Y" : "p",
  296. "N" : "s"
  297. }
  298. //全部展开
  299. treeObj.expandAll(true);
  300. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  301. var params = {
  302. classid : '610',
  303. objectID : fd_id
  304. };
  305. $.ajax({
  306. url : $.pathname() + '/ws/crud/CRUDService/getDataById/',
  307. type : 'post',
  308. data : params,
  309. dataType : 'json',
  310. async :true,
  311. success : function(data){
  312. var areaIds = data.GPS_AREA_ID_610;
  313. var areaArr = areaIds.split(",");
  314. //将范围内单位设置成选中状态
  315. for ( var i in areaArr) {
  316. var node = treeObj.getNodeByParam('id', areaArr[i]);
  317. //4个参数:① 节点 ② 勾选true/取消勾选false ③checkTypeFlag设置父子关联true/设置父子不关联false ④是否回调,调用回调函数true,否则false
  318. treeObj.checkNode(node, true, true, true);
  319. }
  320. var nodes1 = treeObj.getCheckedNodes(false);
  321. for (var i = 0, l = nodes1.length; i < l; i++) {
  322. treeObj.removeNode(nodes1[i]);//移除节点
  323. }
  324. function filter1(node) {//父节点不是该部门的节点
  325. return (node.id != "");
  326. }
  327. var nodes = treeObj.getNodesByFilter(filter1);
  328. for (var i = 0, l = nodes.length; i < l; i++) {
  329. treeObj.setChkDisabled(nodes[i], true);//设置节点为禁用状态
  330. }
  331. setifheight();
  332. },
  333. error : function(e){
  334. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  335. }
  336. });
  337. }/*
  338. function closeFirstDialog() {
  339. diag.close();
  340. } */
  341. function initComplete(setting1) {
  342. $.ajax({
  343. url : $.pathname() +"/ws/importGpsUser/BaoGongDianTaskService/getOrgInfoByareaIdAndUnitId",
  344. type : 'post',
  345. data : {"fd_id": fd_id},
  346. dataType : 'json',
  347. success : function(data) {
  348. $.fn.zTree.init($("#tree-1"), setting1,data.treeNodes);
  349. $("body").eq(0).hideLoading();
  350. },
  351. error : function(e) {
  352. }
  353. });
  354. }
  355. function initBgdGrid(idd){
  356. $("body").eq(0).showLoading();
  357. if(idd=="fw"){
  358. /*****************************保供电实施单位****************************************************************/
  359. //当前登录用户所属的单位id
  360. var treeObj;
  361. var selectNodes = "";
  362. var setting1 = {
  363. view : {
  364. selectedMulti : true
  365. },
  366. check : {
  367. enable : true,
  368. chkStyle : "checkbox"
  369. },
  370. data : {
  371. simpleData : {
  372. enable : true
  373. }
  374. }/* ,
  375. async : {
  376. enable : true,
  377. dataType : 'JSON',
  378. dataName : 'treeNodes',
  379. url : $.pathname() + '/ws/dept/DeptService/getDepartTree',
  380. autoParam : [ "id", "name" ],
  381. otherParam : [ "deptId", deptId ]
  382. },
  383. callback : {
  384. onAsyncSuccess : jiaZaiWan
  385. } */
  386. }
  387. //closeFirstDialog();
  388. initComplete(setting1);
  389. /*****************************保供电实施单位****************************************************************/
  390. }else if(idd=="yhxx"){
  391. /*****************************保供电用户信息****************************************************************/
  392. var loadParams1 = {
  393. taskId:fd_id
  394. };
  395. /** grid载入数据* */
  396. var grid1 = $("#dataGrid_yhxx").quiGrid({
  397. columns : [ {
  398. display : '重要客户基本信息',
  399. columns : [{
  400. display : '客户编号',
  401. name : 'CUSTOMER_ID',
  402. align : 'center',
  403. width : 180,
  404. showTitle:true
  405. },{
  406. display : '客户名称',
  407. name : 'CUSTOMER_NAME',
  408. align : 'center',
  409. width : 180,
  410. showTitle:true
  411. },{
  412. display : '客户类别',
  413. name : 'CUSTOMER_TYPE',
  414. align : 'center',
  415. width : 180,
  416. showTitle:true
  417. },{
  418. display : '供电单位',
  419. name : 'POWER_SUPPLY_UNIT_NAME',
  420. align : 'center',
  421. width : 180,
  422. showTitle:true
  423. },{
  424. display : '重要等级',
  425. name : 'IMPORT_LEVEL',
  426. align : 'center',
  427. width : 180,
  428. showTitle:true
  429. },{
  430. display : '电压等级(Kv)',
  431. name : 'VOLTAGE_LEVEL',
  432. align : 'center',
  433. width : 180,
  434. showTitle:true
  435. },{
  436. display : '装见容量(kVA)',
  437. name : 'INSTALLED_CAPA_CITY',
  438. align : 'center',
  439. width : 180,
  440. showTitle:true
  441. },{
  442. display : '保安负荷(kW)',
  443. name : 'SECURITY_LOAD',
  444. align : 'center',
  445. width : 180,
  446. showTitle:true
  447. }]
  448. },{
  449. display : '供电电源配置是否符合要求',
  450. name : 'ISMEET_OF_SUPPLY',
  451. align : 'center',
  452. width : 180,
  453. showTitle:true
  454. },{
  455. display : '自备应急电源是否满足标准',
  456. name : 'IS_MEET_OF_SELF_POVIDE',
  457. align : 'center',
  458. width : 180,
  459. showTitle:true
  460. }, {
  461. display : '供电电源情况',
  462. name : 'POWER_SUPPLY',
  463. align : 'center',
  464. width : 180,
  465. showTitle:true
  466. }, {
  467. display : '自备应急电源情况',
  468. name : 'SELF_PROVIDE',
  469. align : 'center',
  470. width : 180,
  471. showTitle:true
  472. }, {
  473. display : '备注',
  474. name : 'RE_MARK',
  475. align : 'center',
  476. width : 180,
  477. showTitle:true
  478. }],
  479. url : $.pathname() + '/ws/importGpsUser/BaoGongDianTaskService/queryTaskUserByTaskId',
  480. params :loadParams1,
  481. sortOrder : 'desc', // 排序方式
  482. rownumbers : true,
  483. usePager: true,
  484. height:'500px',
  485. sortName : 'UP_DATE',
  486. onAfterShowData:function(rowdata){
  487. if(!(rowdata.rows && rowdata.rows.length>0)){
  488. var dom = $("#dataGrid_yhxx").find(".l-grid2").find(".l-grid-body2");
  489. var $div = $("<div class='nonedata'>此列表暂无记录!</div>");
  490. dom.append($div);
  491. }
  492. setifheight();
  493. }
  494. /* var loadParams1 = {
  495. listId : '617',
  496. condition : "is_del=0 ",
  497. "FD_TASK_617":fd_id
  498. };
  499. var grid1 = $("#dataGrid_yhxx").quiGrid({
  500. columns : [ {
  501. display : '重要客户基本信息',
  502. columns : [{
  503. display : '客户编号',
  504. name : 'KHBH_617',
  505. align : 'center',
  506. width : 180,
  507. showTitle:true
  508. },{
  509. display : '客户名称',
  510. name : 'KHMC_617',
  511. align : 'center',
  512. width : 180,
  513. showTitle:true
  514. },{
  515. display : '客户类别',
  516. name : 'KHLB_617',
  517. align : 'center',
  518. width : 180,
  519. showTitle:true
  520. },{
  521. display : '供电单位',
  522. name : 'GDDW_617',
  523. align : 'center',
  524. width : 180,
  525. showTitle:true
  526. },{
  527. display : '重要等级',
  528. name : 'ZYDJ_617',
  529. align : 'center',
  530. width : 180,
  531. showTitle:true
  532. },{
  533. display : '电压等级(Kv)',
  534. name : 'DYDJ_617',
  535. align : 'center',
  536. width : 180,
  537. showTitle:true
  538. },{
  539. display : '装见容量(kVA)',
  540. name : 'ZJRL_617',
  541. align : 'center',
  542. width : 180,
  543. showTitle:true
  544. },{
  545. display : '保安负荷(kW)',
  546. name : 'BAFH_617',
  547. align : 'center',
  548. width : 180,
  549. showTitle:true
  550. }]
  551. }, {
  552. display : '供电电源情况',
  553. columns : [{
  554. display : '供电电源1',
  555. columns : [{
  556. display : '供电线路',
  557. name : 'GDXL1_617',
  558. align : 'center',
  559. width : 180,
  560. showTitle:true
  561. },{
  562. display : '上级变电站',
  563. name : 'SJBDZ1_617',
  564. align : 'center',
  565. width : 180,
  566. showTitle:true
  567. }]
  568. },{
  569. display : '供电电源2',
  570. columns : [{
  571. display : '供电线路',
  572. name : 'GDXL2_617',
  573. align : 'center',
  574. width : 180,
  575. showTitle:true
  576. },{
  577. display : '上级变电站',
  578. name : 'SJBDZ2_617',
  579. align : 'center',
  580. width : 180,
  581. showTitle:true
  582. }]
  583. },{
  584. display : '供电电源3',
  585. columns : [{
  586. display : '供电线路',
  587. name : 'GDXL3_617',
  588. align : 'center',
  589. width : 180,
  590. showTitle:true
  591. },{
  592. display : '上级变电站',
  593. name : 'SJBDZ3_617',
  594. align : 'center',
  595. width : 180,
  596. showTitle:true
  597. }]
  598. },{
  599. display : '供电电源4',
  600. columns : [{
  601. display : '供电线路',
  602. name : 'GDXL4_617',
  603. align : 'center',
  604. width : 180,
  605. showTitle:true
  606. },{
  607. display : '上级变电站',
  608. name : 'SJBDZ4_617',
  609. align : 'center',
  610. width : 180,
  611. showTitle:true
  612. }]
  613. },{
  614. display : '供电电源是否满足标准',
  615. name : 'GDDYSFMZBZ_617',
  616. align : 'center',
  617. width : 180,
  618. showTitle:true
  619. }]
  620. }, {
  621. display : '自备应急电源情况',
  622. columns :[{
  623. display : '自备应急电源容量(kW)',
  624. name : 'ZBYJDYRL_617',
  625. align : 'center',
  626. width : 180,
  627. showTitle:true
  628. },{
  629. display : '自备应急电源配比(%)',
  630. name : 'ZBYJDYPB_617',
  631. align : 'center',
  632. width : 180,
  633. showTitle:true
  634. },{
  635. display : '自备应急电源是否满足标准',
  636. name : 'ZBYJDYSFMZBZ_617',
  637. align : 'center',
  638. width : 180,
  639. showTitle:true
  640. }]
  641. }, {
  642. display : '备注',
  643. name : 'BEIZHU_617',
  644. align : 'center',
  645. width : 180,
  646. showTitle:true
  647. }],
  648. url : $.pathname() + '/ws/crud/CRUDService/queryQui',
  649. params :loadParams1,
  650. sortOrder : 'desc', // 排序方式
  651. rownumbers : true,
  652. usePager: false,
  653. checkbox : false,
  654. width : '100%',
  655. percentWidthMode : true,
  656. sortName : 'UPDATEDATE_617' */
  657. });
  658. $("body").eq(0).hideLoading();
  659. /*****************************保供电用户信息****************************************************************/
  660. }else if(idd=="csxx"){
  661. /*****************************保供电场所信息****************************************************************/
  662. var loadParams1 = {
  663. listId : '619',
  664. condition : "is_del=0 ",
  665. "TASK_FDID_619":fd_id
  666. };
  667. var grid1 = $("#dataGrid_csxx").quiGrid({
  668. columns : [ {
  669. display : '保供电任务编号',
  670. name : 'TASK_NUMBER_619',
  671. align : 'center',
  672. width : 180,
  673. showTitle:true
  674. },{
  675. display : '保供电场所名称',
  676. name : 'PLACE_NAME_619',
  677. align : 'center',
  678. width : 180,
  679. showTitle:true
  680. },{
  681. display : '保供电场所编号',
  682. name : 'PLACE_NUMBER_619',
  683. align : 'center',
  684. width : 180,
  685. showTitle:true
  686. },{
  687. display : '保供电场所类别',
  688. name : 'PLACE_CLASSIFICATION_619',
  689. align : 'center',
  690. width : 280,
  691. showTitle:true,
  692. render : function(rowdata, rowindex, value, column) {
  693. var thisvalue = value;
  694. for (var i = 0; i < csleibieData["list"].length; i++) {
  695. if (csleibieData["list"][i]['value'] == value)
  696. thisvalue = csleibieData["list"][i]['key'];
  697. }
  698. return thisvalue;
  699. }
  700. },{
  701. display : '保供电场所级别',
  702. name : 'PLACE_LEVEL_619',
  703. align : 'center',
  704. width : 180,
  705. showTitle:true,
  706. render : function(rowdata, rowindex, value, column) {
  707. var thisvalue = value;
  708. for (var i = 0; i < jibieData["list"].length; i++) {
  709. if (jibieData["list"][i]['value'] == value)
  710. thisvalue = jibieData["list"][i]['key'];
  711. }
  712. return thisvalue;
  713. }
  714. },{
  715. display : '保供电场所电压等级',
  716. name : 'PLACE_VOLTAGE_LEVEL_619',
  717. align : 'center',
  718. width : 180,
  719. showTitle:true,
  720. render : function(rowdata, rowindex, value, column) {
  721. var thisvalue = value;
  722. for (var i = 0; i < csdianyaData["list"].length; i++) {
  723. if (csdianyaData["list"][i]['value'] == value)
  724. thisvalue = csdianyaData["list"][i]['key'];
  725. }
  726. return thisvalue;
  727. }
  728. }, {
  729. display : '保供电主要工作内容',
  730. columns : [{
  731. display : '取消计划停电',
  732. name : 'QXJHTD_619',
  733. align : 'center',
  734. width : 120,
  735. showTitle:true,
  736. render : function(rowdata, rowindex, value, column) {
  737. var thisvalue = value;
  738. for (var i = 0; i < ztData["list"].length; i++) {
  739. if (ztData["list"][i]['value'] == value)
  740. thisvalue = ztData["list"][i]['key'];
  741. }
  742. return thisvalue;
  743. }
  744. },{
  745. display : '开展用电检查(风险评估)',
  746. name : 'KZYDJC_619',
  747. align : 'center',
  748. width : 120,
  749. showTitle:true,
  750. render : function(rowdata, rowindex, value, column) {
  751. var thisvalue = value;
  752. for (var i = 0; i < ztData["list"].length; i++) {
  753. if (ztData["list"][i]['value'] == value)
  754. thisvalue = ztData["list"][i]['key'];
  755. }
  756. return thisvalue;
  757. }
  758. },{
  759. display : '协助用户测试试验',
  760. name : 'XZYHCSSY_619',
  761. align : 'center',
  762. width : 120,
  763. showTitle:true,
  764. render : function(rowdata, rowindex, value, column) {
  765. var thisvalue = value;
  766. for (var i = 0; i < ztData["list"].length; i++) {
  767. if (ztData["list"][i]['value'] == value)
  768. thisvalue = ztData["list"][i]['key'];
  769. }
  770. return thisvalue;
  771. }
  772. },{
  773. display : '应急电源装备支援',
  774. name : 'YJDYZBZY_619',
  775. align : 'center',
  776. width : 120,
  777. showTitle:true,
  778. render : function(rowdata, rowindex, value, column) {
  779. var thisvalue = value;
  780. for (var i = 0; i < ztData["list"].length; i++) {
  781. if (ztData["list"][i]['value'] == value)
  782. thisvalue = ztData["list"][i]['key'];
  783. }
  784. return thisvalue;
  785. }
  786. },{
  787. display : '参与场馆现场职守',
  788. name : 'CYCGXCZS_619',
  789. align : 'center',
  790. width : 120,
  791. showTitle:true,
  792. render : function(rowdata, rowindex, value, column) {
  793. var thisvalue = value;
  794. for (var i = 0; i < ztData["list"].length; i++) {
  795. if (ztData["list"][i]['value'] == value)
  796. thisvalue = ztData["list"][i]['key'];
  797. }
  798. return thisvalue;
  799. }
  800. }]
  801. },{
  802. display : '保供电任务时间',
  803. columns : [{
  804. display : '开始日期',
  805. name : 'GPS_START_DATE_619',
  806. align : 'center',
  807. width : 180,
  808. showTitle:true
  809. },{
  810. display : '结束日期',
  811. name : 'GPS_END_DATE_619',
  812. align : 'center',
  813. width : 180,
  814. showTitle:true
  815. },{
  816. display : '持续时间/天',
  817. name : 'GPS_CONTINUED_TIME_619',
  818. align : 'center',
  819. width : 180,
  820. showTitle:true
  821. }]
  822. }, {
  823. display : '保供电资源投入',
  824. columns :[{
  825. display : '应急发电车(UPS电源)单日最大用量/台',
  826. name : 'FDCDR_619',
  827. align : 'center',
  828. width : 180,
  829. showTitle:true
  830. },{
  831. display : '应急发电机(UPS电源)单日最大用量/台',
  832. name : 'FDJDR_619',
  833. align : 'center',
  834. width : 180,
  835. showTitle:true
  836. }]
  837. }],
  838. url : $.pathname() + '/ws/crud/CRUDService/queryQui',
  839. params :loadParams1,
  840. sortOrder : 'desc', // 排序方式
  841. rownumbers : true,
  842. usePager: true,
  843. checkbox : false,
  844. height:"500px",
  845. percentWidthMode : true,
  846. sortName : 'UPDATEDATE_619',
  847. onAfterShowData:function(rowdata){
  848. if(!(rowdata.rows && rowdata.rows.length>0)){
  849. var dom = $("#dataGrid_csxx").find(".l-grid2").find(".l-grid-body2");
  850. var $div = $("<div class='nonedata'>此列表暂无记录!</div>");
  851. dom.append($div);
  852. }
  853. setifheight();
  854. }
  855. });
  856. $("body").eq(0).hideLoading();
  857. /*****************************保供电用户信息****************************************************************/
  858. }else if(idd=="sbxx"){
  859. /*****************************保供电用户信息****************************************************************/
  860. var loadParams1 = {
  861. listId : '618',
  862. condition : "is_del=0 ",
  863. "TASK_FDID_618":fd_id
  864. };
  865. var grid1 = $("#dataGrid_sbxx").quiGrid({
  866. columns : [ {
  867. display : '保供电任务编号',
  868. name : 'TASK_NUMBER_618',
  869. align : 'center',
  870. width : 180,
  871. showTitle:true
  872. },{
  873. display : '保供电设备名称',
  874. name : 'EQ_NAME_618',
  875. align : 'center',
  876. width : 180,
  877. showTitle:true
  878. },{
  879. display : '保供电设备编号',
  880. name : 'EQ_NUMBER_618',
  881. align : 'center',
  882. width : 180,
  883. showTitle:true
  884. },{
  885. display : '保供电设备类别',
  886. name : 'EQ_CLASSIFICATION_618',
  887. align : 'center',
  888. width : 280,
  889. showTitle:true,
  890. render : function(rowdata, rowindex, value, column) {
  891. var thisvalue = value;
  892. for (var i = 0; i < sbleibieData["list"].length; i++) {
  893. if (sbleibieData["list"][i]['value'] == value)
  894. thisvalue = sbleibieData["list"][i]['key'];
  895. }
  896. return thisvalue;
  897. }
  898. },{
  899. display : '保供电设备级别',
  900. name : 'EQ_LEVEL_618',
  901. align : 'center',
  902. width : 180,
  903. showTitle:true,
  904. render : function(rowdata, rowindex, value, column) {
  905. var thisvalue = value;
  906. for (var i = 0; i < jibieData["list"].length; i++) {
  907. if (jibieData["list"][i]['value'] == value)
  908. thisvalue = jibieData["list"][i]['key'];
  909. }
  910. return thisvalue;
  911. }
  912. },{
  913. display : '保供电设备电压等级',
  914. name : 'EQ_VOLTAGE_LEVEL_618',
  915. align : 'center',
  916. width : 180,
  917. showTitle:true,
  918. render : function(rowdata, rowindex, value, column) {
  919. var thisvalue = value;
  920. for (var i = 0; i < sbdianyaData["list"].length; i++) {
  921. if (sbdianyaData["list"][i]['value'] == value)
  922. thisvalue = sbdianyaData["list"][i]['key'];
  923. }
  924. return thisvalue;
  925. }
  926. }, {
  927. display : '保供电主要工作内容',
  928. columns : [{
  929. display : '巡视',
  930. name : 'XUNSHI_618',
  931. align : 'center',
  932. width : 120,
  933. showTitle:true,
  934. render : function(rowdata, rowindex, value, column) {
  935. var thisvalue = value;
  936. for (var i = 0; i < ztData["list"].length; i++) {
  937. if (ztData["list"][i]['value'] == value)
  938. thisvalue = ztData["list"][i]['key'];
  939. }
  940. return thisvalue;
  941. }
  942. },{
  943. display : '不停电检测及评价(评估)',
  944. name : 'BTDJCJPJ_618',
  945. align : 'center',
  946. width : 120,
  947. showTitle:true,
  948. render : function(rowdata, rowindex, value, column) {
  949. var thisvalue = value;
  950. for (var i = 0; i < ztData["list"].length; i++) {
  951. if (ztData["list"][i]['value'] == value)
  952. thisvalue = ztData["list"][i]['key'];
  953. }
  954. return thisvalue;
  955. }
  956. },{
  957. display : '停电试验及评价(评估)',
  958. name : 'TDSYJPJ_618',
  959. align : 'center',
  960. width : 120,
  961. showTitle:true,
  962. render : function(rowdata, rowindex, value, column) {
  963. var thisvalue = value;
  964. for (var i = 0; i < ztData["list"].length; i++) {
  965. if (ztData["list"][i]['value'] == value)
  966. thisvalue = ztData["list"][i]['key'];
  967. }
  968. return thisvalue;
  969. }
  970. }]
  971. },{
  972. display : '保供电任务时间',
  973. columns : [{
  974. display : '开始日期',
  975. name : 'GPS_START_DATE_618',
  976. align : 'center',
  977. width : 180,
  978. showTitle:true
  979. },{
  980. display : '结束日期',
  981. name : 'GPS_END_DATE_618',
  982. align : 'center',
  983. width : 180,
  984. showTitle:true
  985. },{
  986. display : '持续时间/天',
  987. name : 'GPS_CONTINUED_TIME_618',
  988. align : 'center',
  989. width : 180,
  990. showTitle:true
  991. }]
  992. }],
  993. url : $.pathname() + '/ws/crud/CRUDService/queryQui',
  994. params :loadParams1,
  995. sortOrder : 'desc', // 排序方式
  996. rownumbers : true,
  997. usePager: true,
  998. checkbox : false,
  999. height:"500px",
  1000. percentWidthMode : true,
  1001. sortName : 'UPDATEDATE_618',
  1002. onAfterShowData:function(rowdata){
  1003. if(!(rowdata.rows && rowdata.rows.length>0)){
  1004. var dom = $("#dataGrid_sbxx").find(".l-grid2").find(".l-grid-body2");
  1005. var $div = $("<div class='nonedata'>此列表暂无记录!</div>");
  1006. dom.append($div);
  1007. }
  1008. setifheight();
  1009. }
  1010. });
  1011. $("body").eq(0).hideLoading();
  1012. /*****************************保供电用户信息****************************************************************/
  1013. }else if(idd=="fxzb"){
  1014. /*****************************保供电风险指标评估****************************************************************/
  1015. var fengxiantype = "1";
  1016. loadGridData("1",fengxiantype);
  1017. var suoShuName = "保供电风险评估指标";
  1018. var gridId = "dataGrid_fxzb";
  1019. var grid_fxzb;
  1020. initgrid(taskJson1,grid_fxzb,suoShuName,gridId);
  1021. /*****************************保供电风险指标评估****************************************************************/
  1022. }else if(idd=="fxbg"){
  1023. /*****************************保供电风险报告评估****************************************************************/
  1024. var fengxiantype = "2";
  1025. loadGridData("1",fengxiantype);
  1026. var suoShuName = "保供电风险评估报告";
  1027. var gridId = "dataGrid_fxbg";
  1028. var grid_fxbg;
  1029. initgrid(taskJson1,grid_fxbg,suoShuName,gridId);
  1030. /*****************************保供电风险报告评估****************************************************************/
  1031. }else if(idd=="fa"){
  1032. /*****************************保供电方案****************************************************************/
  1033. loadGridData("2");
  1034. var suoShuName = "保供电方案";
  1035. var gridId = "dataGrid_fa";
  1036. var grid_fa;
  1037. initgrid(taskJson1,grid_fa,suoShuName,gridId);
  1038. /*****************************保供电方案****************************************************************/
  1039. }else if(idd=="zb"){
  1040. /*****************************保供电值班信息****************************************************************/
  1041. var loadParams4 = {
  1042. listId : '632',
  1043. condition : "is_del=0 ",
  1044. "TASK_ID_632":fd_id
  1045. };
  1046. var grid1 = $("#dataGrid_zb").quiGrid({
  1047. columns : [{
  1048. display : '开始时间',
  1049. name : 'START_TIME_632',
  1050. align : 'center',
  1051. width : "2%",
  1052. showTitle:true
  1053. }, {
  1054. display : '结束时间',
  1055. name : 'END_TIME_632',
  1056. align : 'center',
  1057. width : "20%",
  1058. showTitle:true
  1059. }, {
  1060. display : '值班领导',
  1061. name : 'LEADER_632',
  1062. align : 'center',
  1063. width : "10%",
  1064. isSort : true
  1065. }, {
  1066. display : '领导电话',
  1067. name : 'LEADER_TEL_632',
  1068. align : 'center',
  1069. width : "15%",
  1070. showTitle:true
  1071. }, {
  1072. display : '值班方式',
  1073. name : 'LEADER_DUTY_MODE_632',
  1074. align : 'center',
  1075. width : "10%",
  1076. render:function(rowdata,rowindex,value,column){
  1077. if(value==0){
  1078. value = "在岗值班";
  1079. }else if(value==1){
  1080. value = "电话值班";
  1081. }else if(value==2){
  1082. value = "应急指挥中心值班";
  1083. }
  1084. return value;
  1085. }
  1086. }, {
  1087. display : '值班人员',
  1088. name : 'WATCH_MAN_632',
  1089. align : 'center',
  1090. width : "10%",
  1091. showTitle:true
  1092. }, {
  1093. display : '值班人电话',
  1094. name : 'WATCH_TEL_632',
  1095. align : 'center',
  1096. width : "15%"
  1097. }, {
  1098. display : '值班方式',
  1099. name : 'DUTY_MODE_632',
  1100. align : 'center',
  1101. width : "10%",
  1102. render:function(rowdata,rowindex,value,column){
  1103. if(value==0){
  1104. value = "在岗值班";
  1105. }else if(value==1){
  1106. value = "电话值班";
  1107. }else if(value==2){
  1108. value = "应急指挥中心值班";
  1109. }
  1110. return value;
  1111. }
  1112. }],
  1113. url : $.pathname() + '/ws/crud/CRUDService/queryQui',
  1114. params :loadParams4,
  1115. sortOrder : 'desc', // 排序方式
  1116. rownumbers : true,
  1117. checkbox : false,
  1118. usePager: false,
  1119. percentWidthMode : true,
  1120. sortName : 'UPDATEDATE_632',
  1121. onAfterShowData:function(rowdata){
  1122. if(!(rowdata.rows && rowdata.rows.length>0)){
  1123. var dom = $("#dataGrid_zb").find(".l-grid2").find(".l-grid-body2");
  1124. var $div = $("<div class='nonedata'>此列表暂无记录!</div>");
  1125. dom.append($div);
  1126. }
  1127. setifheight();
  1128. }
  1129. });
  1130. $("body").eq(0).hideLoading();
  1131. /*****************************保供电值班信息****************************************************************/
  1132. }else if(idd=="bb"){
  1133. /*****************************保供电报表****************************************************************/
  1134. // 列表加载参数
  1135. var params6= {
  1136. listId : '620',
  1137. condition : "is_del=0 and TASK_ID='"+fd_id+"' ",
  1138. "FD_TASK_620":fd_id
  1139. };
  1140. /** grid载入数据* */
  1141. var grid6 = $("#dataGrid_bb").quiGrid({
  1142. columns : [{
  1143. display : '保供电任务编号',
  1144. name : 'GPS_TASK_NUMBER_620',
  1145. align : 'center',
  1146. width : 150,
  1147. showTitle:true
  1148. }, {
  1149. display : '保供电资源投入',
  1150. columns :[{
  1151. display : '应急发电车(UPS电源)',
  1152. columns :[{
  1153. display : '单日最大用量/台',
  1154. name : 'GPS_TASK_FDC_DAY_620',
  1155. showTitle : true,
  1156. width : 150
  1157. }, {
  1158. display : '投入总量/台次',
  1159. name : 'GPS_TASK__FDC_TOTAL_620',
  1160. showTitle : true,
  1161. width : 150
  1162. }]
  1163. }, {
  1164. display : '应急发电机(UPS电源)',
  1165. columns :[{
  1166. display : '单日最大用量/台',
  1167. name : 'GPS_TASK_FDJ_DAY_620',
  1168. showTitle : true,
  1169. width : 150
  1170. }, {
  1171. display : '投入总量/台次',
  1172. name : 'GPS_TASK_FDJ_TOTAL_620',
  1173. showTitle : true,
  1174. width : 150
  1175. }]
  1176. }, {
  1177. display : '车辆/辆次',
  1178. name : 'GPS_TASK_CAR_620',
  1179. showTitle : true,
  1180. width : 150
  1181. }]
  1182. }, {
  1183. display : '保供电人员投入',
  1184. columns :[{
  1185. display : '值班指挥管理人员/人日',
  1186. name : 'GPS_TASK_ZBZHGLRY_620',
  1187. showTitle : true,
  1188. width : 150
  1189. }, {
  1190. display : '本单位班组人员/人日',
  1191. name : 'GPS_TASK_BDWBZRY_620',
  1192. showTitle : true,
  1193. width : 150
  1194. }, {
  1195. display : '安保人员/人日',
  1196. name : 'GPS_TASK_ABRY_620',
  1197. showTitle : true,
  1198. width : 150
  1199. }, {
  1200. display : '外委生产人员/人日',
  1201. name : 'GPS_TASK_WWSCRY_620',
  1202. showTitle : true,
  1203. width : 150
  1204. }]
  1205. },{
  1206. display : '保供电任务时间',
  1207. columns : [{
  1208. display : '开始日期',
  1209. name : 'START_TIME_620',
  1210. align : 'center',
  1211. width : 220,
  1212. showTitle:true
  1213. },{
  1214. display : '结束日期',
  1215. name : 'END_TIME_620',
  1216. align : 'center',
  1217. width : 180,
  1218. showTitle:true
  1219. },{
  1220. display : '持续时间/天',
  1221. name : 'GPS_CONTINATION_TIME_620',
  1222. align : 'center',
  1223. width : 180,
  1224. showTitle:true
  1225. }]
  1226. }],
  1227. url : $.pathname() + '/ws/crud/CRUDService/queryQui',
  1228. params :params6,
  1229. sortOrder : 'desc', // 排序方式
  1230. rownumbers : true,
  1231. checkbox : false,
  1232. usePager: true,
  1233. height:"500px",
  1234. percentWidthMode : true,
  1235. sortName : 'UPDATEDATE_620',
  1236. onAfterShowData:function(rowdata){
  1237. if(!(rowdata.rows && rowdata.rows.length>0)){
  1238. var dom = $("#dataGrid_bb").find(".l-grid2").find(".l-grid-body2");
  1239. var $div = $("<div class='nonedata'>此列表暂无记录!</div>");
  1240. dom.append($div);
  1241. }
  1242. setifheight();
  1243. }
  1244. });
  1245. $("body").eq(0).hideLoading();
  1246. /*****************************保供电报表****************************************************************/
  1247. }else if(idd=="gzjb"){
  1248. /*****************************保供电工作简报****************************************************************/
  1249. loadGridData("3");
  1250. var suoShuName = "保供电工作简报";
  1251. var gridId = "dataGrid_gzjb";
  1252. var grid_gzjb;
  1253. initgrid(taskJson1,grid_gzjb,suoShuName,gridId);
  1254. /*****************************保供电工作简报****************************************************************/
  1255. }else if(idd=="zjbg"){
  1256. /*****************************保供电总结报告****************************************************************/
  1257. loadGridData("4");
  1258. var suoShuName = "保供电报告总结";
  1259. var gridId = "dataGrid_zjbg";
  1260. var grid_zjbg;
  1261. initgrid(taskJson1,grid_zjbg,suoShuName,gridId);
  1262. /*****************************保供电总结报告****************************************************************/
  1263. }
  1264. };
  1265. window.onload = function(){
  1266. setifheight();
  1267. }
  1268. </script>
  1269. <script type="text/javascript" src="/nwyj/scripts/business/gps/taskManagement/setIframeHeight.js"></script>
  1270. </head>
  1271. <body style="background-color: #fff;padding-left: 5px;">
  1272. <div style="height: 50px;background: #F8F8F8;" align="center"><a href="javascript:;"><img align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="goBack();"></img></a><font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="titleShow">保供电任务信息</font></div>
  1273. <div id="a1" style="width : 99.2%">
  1274. <div class="bgd_title bgd_show" id="title_rwxx">保供电任务信息</div>
  1275. <hr/>
  1276. <div id="content_rwxx" style="Width:100%;">
  1277. <fieldset class="fieldset3">
  1278. <legend class="legend">基本信息:</legend>
  1279. <table class="tableStyle" >
  1280. <tr>
  1281. <td width="20%" align="right" >任务名称:</td>
  1282. <td width="30%" ><div name="PROGRAM_NAME_610" id="PROGRAM_NAME_610" ></td>
  1283. <td width="20%" align="right">任务性质:</td>
  1284. <td width="30%" ><div id="GPS_TASK_PROPERTY_610_SHOW" name="GPS_TASK_PROPERTY_610_SHOW"></div></td>
  1285. </tr>
  1286. <tr>
  1287. <td align="right" >任务编号:</td>
  1288. <td ><div name="GPS_TASK_NUMBER_610" id="GPS_TASK_NUMBER_610"></td>
  1289. <td align="right">任务级别:</td>
  1290. <td ><div id="GPS_LEVEL_610_SHOW" name="GPS_LEVEL_610_SHOW" ></div></td>
  1291. </tr>
  1292. <tr>
  1293. <td align="right" >保供电区域:</td>
  1294. <td ><div name="GPS_AREA_CITY_610" id="GPS_AREA_CITY_610" ></td>
  1295. <td align="right">任务类别:</td>
  1296. <td ><div id="GPS_TASK_TYPE_610_SHOW" name="GPS_TASK_TYPE_610_SHOW" ></div></td>
  1297. </tr>
  1298. <tr>
  1299. <td align="right">任务计划性:</td>
  1300. <td ><div id="GPS_TASK_PLAN_TYPE_610_SHOW" name="GPS_TASK_PLAN_TYPE_610_SHOW" ></div></td>
  1301. <td align="right">任务来源:</td>
  1302. <td ><div id="GPS_SIREL_610_SHOW" name="GPS_SIREL_610_SHOW" ></div></td>
  1303. </tr>
  1304. <tr>
  1305. <td align="right">开始日期:</td>
  1306. <td ><div id="START_TIME_610" readOnly="readOnly" name="START_TIME_610" ></div></td>
  1307. <td align="right">结束日期:</td>
  1308. <td ><div id="END_TIME_610" readOnly="readOnly" name="END_TIME_610" ></div></td>
  1309. </tr>
  1310. <tr>
  1311. <td align="right">保供电实施单位:</td>
  1312. <td colspan="3" ><div id="GPS_AREA_NAME_610" style='word-wrap:break-word; word-break:break-all;display:block;width:97%;' ></div></td>
  1313. </tr>
  1314. </table>
  1315. </fieldset>
  1316. <!-- <fieldset class="fieldset3">
  1317. <legend class="legend">保供电资源投入:</legend>
  1318. <fieldset class="fieldset4">
  1319. <legend class="legend">应急发电车(UPS电源):</legend>
  1320. <table class="tableStyle" >
  1321. <tr>
  1322. <td width="20%" align="right">单日最大用量/台:</td>
  1323. <td width="30%" ><div name="GPS_TASK_FDC_DAY_610" id="GPS_TASK_FDC_DAY_610"></div></td>
  1324. <td width="20%" align="right">投入总量/台次:</td>
  1325. <td width="30%" ><div name="GPS_TASK__FDC_TOTAL_610" id="GPS_TASK__FDC_TOTAL_610"></div></td>
  1326. </tr>
  1327. </table>
  1328. </fieldset>
  1329. <fieldset class="fieldset4">
  1330. <legend class="legend">应急发电机(UPS电源):</legend>
  1331. <table class="tableStyle" >
  1332. <tr>
  1333. <td width="20%" align="right">单日最大用量/台:</td>
  1334. <td width="30%" ><div name="GPS_TASK_FDJ_DAY_610" id="GPS_TASK_FDJ_DAY_610"></div></td>
  1335. <td width="20%" align="right">投入总量/台次:</td>
  1336. <td width="30%" ><div name="GPS_TASK_FDJ_TOTAL_610" id="GPS_TASK_FDJ_TOTAL_610"></div></td>
  1337. </tr>
  1338. </table>
  1339. </fieldset>
  1340. <table class="tableStyle" >
  1341. <tr>
  1342. <td width="20%" align="right">车辆/辆次:</td>
  1343. <td colspan="3" ><div name="GPS_TASK_CAR_610" id="GPS_TASK_CAR_610"></div></td>
  1344. </tr>
  1345. </table>
  1346. </fieldset>
  1347. <fieldset class="fieldset3">
  1348. <legend class="legend">保供电人员投入:</legend>
  1349. <table class="tableStyle" >
  1350. <tr>
  1351. <td width="20%" align="right">值班指挥管理人员/人日:</td>
  1352. <td width="30%" ><div name="GPS_TASK_ZBZHGLRY_610" id="GPS_TASK_ZBZHGLRY_610"></div></td>
  1353. <td width="20%" align="right">本单位班组人员/人日:</td>
  1354. <td width="30%" ><div name="GPS_TASK_BDWBZRY_610" id="GPS_TASK_BDWBZRY_610"></div></td>
  1355. </tr>
  1356. <tr>
  1357. <td align="right">安保人员/人日:</td>
  1358. <td ><div name="GPS_TASK_ABRY_610" id="GPS_TASK_ABRY_610"></div></td>
  1359. <td align="right">外委生产人员/人日:</td>
  1360. <td ><div name="GPS_TASK_WWSCRY_610" id="GPS_TASK_WWSCRY_610"></div></td>
  1361. </tr>
  1362. </table>
  1363. </fieldset> -->
  1364. <fieldset class="fieldset3">
  1365. <legend class="legend">保供电来源文件:</legend>
  1366. <table class="add_table_style file_table" >
  1367. <tr>
  1368. <td width="120px" align="right"><span class="td-font">附件:</span></td>
  1369. <td width="680px" colspan="3" ><div style="width:100%" id="fileDiv" name="fileDiv" ></div></td>
  1370. </tr>
  1371. </table>
  1372. </fieldset>
  1373. <fieldset class="fieldset3">
  1374. <legend class="legend">录入人信息:</legend>
  1375. <table class="tableStyle" >
  1376. <tr>
  1377. <td width="20%" align="right">填报单位:</td>
  1378. <!-- <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" > -->
  1379. <td width="30%"><div name="INPUT_UNIT_NAME_610" id="INPUT_UNIT_NAME_610" style="width:90%"></div></td>
  1380. <td width="20%" align="right">填报人:</td>
  1381. <!-- <td width="80%"><div disabled="disabled" name="REPORT_TYPE_610" id="REPORT_TYPE_610" prompt="请选择" selWidth="720" > -->
  1382. <td width="30%"><div name="INPUT_NAME_610" id="INPUT_NAME_610" style="width:90%"></div></td>
  1383. </tr>
  1384. <tr>
  1385. <td align="right">填报时间:</td>
  1386. <td colspan="3"><div name="INPUT_TIME_610" id="INPUT_TIME_610" style="width:90%"></div></td>
  1387. </tr>
  1388. </table>
  1389. </fieldset>
  1390. </div>
  1391. <hr/>
  1392. </div>
  1393. </div>
  1394. <!-- <div id="a2" style="width : 99.2%">
  1395. <div class="bgd_title bgd_hide" id="title_fw">保供电实施单位</div>
  1396. <hr/>
  1397. <div id="content_fw" style="Width:100%;display: none;" >
  1398. <div id="tree-1" class="ztree" align="center"></div>
  1399. <hr/>
  1400. </div>
  1401. </div> -->
  1402. <div id="a3" style="width : 99.2%">
  1403. <div class="bgd_title bgd_hide" id="title_yhxx">保供电用户信息</div>
  1404. <hr/>
  1405. <div id="content_yhxx" style="Width:100%;display: none;">
  1406. <div id="dataGrid_yhxx"></div>
  1407. <hr/>
  1408. </div>
  1409. </div>
  1410. <div id="a11" style="width : 99.2%">
  1411. <div class="bgd_title bgd_hide" id="title_csxx">保供电场所信息</div>
  1412. <hr/>
  1413. <div id="content_csxx" style="Width:100%;display: none;">
  1414. <div id="dataGrid_csxx"></div>
  1415. <hr/>
  1416. </div>
  1417. </div>
  1418. <div id="a12" style="width : 99.2%">
  1419. <div class="bgd_title bgd_hide" id="title_sbxx">保供电设备信息</div>
  1420. <hr/>
  1421. <div id="content_sbxx" style="Width:100%;display: none;">
  1422. <div id="dataGrid_sbxx"></div>
  1423. <hr/>
  1424. </div>
  1425. </div>
  1426. <div id="a4" style="width : 99.2%">
  1427. <div class="bgd_title bgd_hide" id="title_fxzb">保供电风险指标信息</div>
  1428. <hr/>
  1429. <div id="content_fxzb" style="Width:100%;display: none;">
  1430. <div id="dataGrid_fxzb"></div>
  1431. <hr/>
  1432. </div>
  1433. </div>
  1434. <div id="a5" style="width : 99.2%">
  1435. <div class="bgd_title bgd_hide" id="title_fxbg">保供电风险报告信息</div>
  1436. <hr/>
  1437. <div id="content_fxbg" style="Width:100%;display: none;">
  1438. <div id="dataGrid_fxbg"></div>
  1439. <hr/>
  1440. </div>
  1441. </div>
  1442. <div id="a6" style="width : 99.2%">
  1443. <div class="bgd_title bgd_hide" id="title_fa">保供电方案</div>
  1444. <hr/>
  1445. <div id="content_fa" style="Width:100%;display: none;">
  1446. <div id="dataGrid_fa"></div>
  1447. <hr/>
  1448. </div>
  1449. </div>
  1450. <div id="a7" style="width : 99.2%">
  1451. <div class="bgd_title bgd_hide" id="title_zb">保供电值班</div>
  1452. <hr/>
  1453. <div id="content_zb" style="Width:100%;display: none;">
  1454. <div id="dataGrid_zb"></div>
  1455. <hr/>
  1456. </div>
  1457. </div>
  1458. <div id="a8" style="width : 99.2%">
  1459. <div class="bgd_title bgd_hide" id="title_bb">保供电报表</div>
  1460. <hr/>
  1461. <div id="content_bb" style="Width:100%;display: none;">
  1462. <div id="dataGrid_bb"></div>
  1463. <hr/>
  1464. </div>
  1465. </div>
  1466. <div id="a9" style="width : 99.2%">
  1467. <div class="bgd_title bgd_hide" id="title_gzjb">保供电工作简报</div>
  1468. <hr/>
  1469. <div id="content_gzjb" style="Width:100%;display: none;">
  1470. <div id="dataGrid_gzjb"></div>
  1471. <hr/>
  1472. </div>
  1473. </div>
  1474. <div id="a10" style="width : 99.2%">
  1475. <div class="bgd_title bgd_hide" id="title_zjbg">保供电总结报告</div>
  1476. <hr/>
  1477. <div id="content_zjbg" style="Width:100%;display: none;">
  1478. <div id="dataGrid_zjbg"></div>
  1479. <hr/>
  1480. </div>
  1481. </div>
  1482. </body>
  1483. </html>