f9408d38f48ffb7222b922ff5888dc06d3f01f96.svn-base 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  2. var role_id = top.com.sinosoft.lz.system.user.LoginInfo.getRoleids();
  3. $(function(){
  4. //fileShare();
  5. $searchOne111 = $("#searchOne111");//查询图标绑定查询事件
  6. $searchOne111.bind('click', function(){
  7. searchHandler();
  8. });
  9. /** 绑定更多的按钮点击事件 */
  10. $more = $("#more"); // 更多按钮
  11. $more.bind('click', function() {
  12. more();
  13. });
  14. $searchButt = $("#searchButt");// 更多查询按钮
  15. $searchButt.live('click', function() {
  16. searchHandler();
  17. });
  18. //清空条件
  19. $("#emptyCondition").bind("click",function(){
  20. $("#PLAN_NAME_214").val("");
  21. var $selConditions = $("#selectConditions");
  22. var $selCon = $selConditions.find(".selectCondi");
  23. for(var i=0;i<$selCon.length;i++){
  24. $selCon[i].click();
  25. }
  26. });
  27. });
  28. var BUSINE_ID1 ="";
  29. var BUSINE_ID ="";
  30. var temp1 = new Array();
  31. var temp = new Array();
  32. function fileShare(){
  33. var url = $.pathname() + '/ws/PlanHuiZong/ContingencyPlanHuiZong/fileShare/';
  34. var params = {
  35. units : deptId,
  36. receiveMan:role_id,
  37. type:"3"
  38. };
  39. $.ajax({
  40. url : url,
  41. type : 'post',
  42. timeout : 60000,
  43. data : params,
  44. dataType : 'json',
  45. success : function(data){
  46. if(JSON.stringify(data).length>11){
  47. BUSINE_ID1 = data.rows[0].BUSINE_ID;//取业务ID
  48. BUSINE_ID=BUSINE_ID1.substring(0,BUSINE_ID1.length-1);
  49. temp = BUSINE_ID.split(",");
  50. for(var i=0; i<temp.length;i++){
  51. temp1.push("'" + temp[i] +"'");
  52. }
  53. }
  54. if(temp1.length>0){
  55. initComplete111();
  56. }else{
  57. temp1="'0'";
  58. initComplete111();
  59. }
  60. },
  61. error : function(e){
  62. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  63. }
  64. });
  65. }
  66. var g;
  67. /**定义变量**/
  68. var getUser_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id()+""; //登录人ID
  69. //var condition = "IS_DEL='0' and (PLAN_STAT='1' or PLAN_STAT1='1' or REMARK1='"+ getUser_id +"') and (UNITS='"+deptId+"' or UNITS IN(SELECT A.ID FROM EMC_AM_ORG_DEPARTMENT_TEST A WHERE A.PARENT_ID='"+deptId+"'))";
  70. //列表加载参数
  71. var condition = "IS_DEL='0' and Plan_share='1'";
  72. var loadParams = {
  73. "listId" : '214',
  74. "condition" : condition,
  75. direction:'DESC',
  76. sort: 'UPDATEDATE'
  77. };
  78. function initComplete(){
  79. $("body").eq(0).showLoading();
  80. /**
  81. * 工具条
  82. */
  83. var roleCons = roleButtonArr();
  84. var toolBarOpt1 = {
  85. items:[
  86. //{text: '下载', click: "onDownload", iconClass: 'download_tem',id:"10007"}
  87. ],
  88. roleCons:roleCons
  89. };
  90. /**
  91. * 树形列
  92. */
  93. var grid_option1 = {
  94. columns: [
  95. { display: '预案名称', name: 'PLAN_NAME_214', align: 'left', width: "10%",isPrimaryKey:true,
  96. render : function(rowdata, value) {
  97. return '<a href="javascript:void(0)" '
  98. +'title='+rowdata.PLAN_NAME_214
  99. + ' onclick=jumpPage("'
  100. + rowdata.FD_OBJECTID214+'","'+rowdata.PLAN_BIAOZHI_214+'","'+ rowdata.PLAN_REFINE_CATEGORY_214
  101. +'")>'+ rowdata.PLAN_NAME_214 +'</a>';
  102. }
  103. },
  104. { display: '预案编码', name: 'PLAN_NO_214', align: 'center', width: '10%',showTitle:true},
  105. { display: '预案类型', name: 'PLAN_TYPE_214_SHOW', align: 'center', width: '10%',showTitle:true},
  106. { display: '业务分类', name: 'BYSUNESS_TYPE_214_SHOW', align: 'center', width: '10%',showTitle:true},
  107. { display: '变更说明', name: 'CHANGE_EXPLAIN_214', align: 'center', width: '10%',showTitle:true},
  108. { display: '变更类别', name: 'CHANGE_TYPE_214_SHOW', align: 'center' , width: '10%',showTitle:true},
  109. { display: '适用范围', name: 'SYFW_214', align: 'center', width: '10%',showTitle:true},
  110. { display: '编制部门', name: 'INS_UNITS_214_SHOW', align: 'center', width: '10%',showTitle:true},
  111. { display: '生效日期', name: 'TAKE_DATE_214', align: 'center' , width: '10%' ,showTitle:true},
  112. { display: '所属单位', name: 'UNITS_214_SHOW', align: 'center', width: '10%' ,showTitle:true}
  113. ],
  114. rownumbers : true,
  115. checkbox : true,
  116. pageSize : 10,
  117. percentWidthMode : true
  118. };
  119. var options1={
  120. url :'/nwyj/ws/crud/CRUDService/queryQui',
  121. params:loadParams,
  122. height: '100%',
  123. width:"100%",
  124. gridOptions:grid_option1,
  125. singleRecodeOptions:{a:"aa"},
  126. paperOpration:{showInput:"true"},
  127. toolBarOptions:toolBarOpt1
  128. };
  129. g=gridAndSingleRecode=$("#maingrid").quickgridAndSingleRecode(options1);
  130. $("body").eq(0).hideLoading();
  131. }
  132. //分享功能page\business\am\public\readDept.jsp
  133. function publicShare(){
  134. var rows = g.getSelectedRows();
  135. var rowsLength = rows.length;
  136. if (rowsLength == 0) {
  137. top.Dialog.alert("请选中要分享的记录!");
  138. return;
  139. }
  140. var REMARK1 = rows[0].REMARK1_214;
  141. if(REMARK1!=getUser_id){
  142. top.Dialog.alert("只能分享自己上传的预案!");
  143. return;
  144. }
  145. var ids = "";
  146. var sturtssb = "";
  147. for ( var i = 0; i < rowsLength; i++) {
  148. ids += rows[i].FD_OBJECTID214 + ",";
  149. sturtssb += rows[i].PLAN_STAT_214 + ",";
  150. if(rows[i].PLAN_STAT_214!="1"){
  151. if(rowsLength==1){
  152. top.Dialog.alert("您选中的记录未发布!");
  153. }else{
  154. top.Dialog.alert("您选中的记录有未发布的!");
  155. }
  156. return;
  157. }
  158. }
  159. $("#BUSINE_ID_217").val(ids);
  160. var diag = new top.Dialog();
  161. diag.Title = "文件共享";
  162. diag.URL = $.pathname() + '/page/business/am/public/readDept.jsp';
  163. diag.Width = 700;
  164. diag.Height = 500;
  165. diag.Top = "80%";
  166. diag.Left = "50%";
  167. diag.ShowButtonRow=true;
  168. diag.ButtonAlign = 'center';
  169. diag.OkButtonText="确 定";
  170. diag.OKEvent = function(){
  171. Validate(diag);
  172. };
  173. diag.show();
  174. }
  175. function Validate(diag){
  176. var zhh="";//总指挥
  177. var fzhh="";//副总指挥
  178. var yjbzr="";//应急办主任
  179. var yjbfzr="";//应急办副主任
  180. var yjbcy="";//应急办副成员
  181. var zyglry="";//专业部门管理人员
  182. var getUser_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id()+""; //登录人ID
  183. //分享单位的ID deptId
  184. var time1=diag.innerFrame.contentWindow.$("#time1").val();
  185. var time2=diag.innerFrame.contentWindow.$("#time2").val();
  186. //获取应急角色被勾选的值
  187. if(diag.innerFrame.contentWindow.document.getElementById("football-1").checked){
  188. //选中取值(可以取到这个值)
  189. zhh = "R002105430201";
  190. }else{
  191. zhh = "";
  192. }
  193. if(diag.innerFrame.contentWindow.document.getElementById("football-2").checked){
  194. //选中取值(可以取到这个值)
  195. fzhh = "R002105430202";
  196. }else{
  197. zyglry = "";
  198. }
  199. if(diag.innerFrame.contentWindow.document.getElementById("football-3").checked){
  200. //选中取值(可以取到这个值)
  201. yjbzr = "R002105430203";
  202. }else{
  203. yjbzr = "";
  204. }
  205. if(diag.innerFrame.contentWindow.document.getElementById("football-4").checked){
  206. //选中取值(可以取到这个值)
  207. yjbfzr = "R002105430204";
  208. }else{
  209. yjbfzr = "";
  210. }
  211. if(diag.innerFrame.contentWindow.document.getElementById("football-5").checked){
  212. //选中取值(可以取到这个值)
  213. yjbcy = "R002105430205";
  214. }else{
  215. yjbcy = "";
  216. }
  217. if(diag.innerFrame.contentWindow.document.getElementById("football-6").checked){
  218. //选中取值(可以取到这个值)
  219. zyglry = "R002105430206";
  220. }else{
  221. zyglry = "";
  222. }
  223. //被分享查看的人
  224. var RECEIVE_MAN = zhh + "||" + fzhh + "||" + yjbzr + "||" + yjbfzr + "||" + yjbcy + "||" + zyglry;
  225. //分享的单位 deptId
  226. //获取zTree对象
  227. var zTree = diag.innerFrame.contentWindow.$.fn.zTree.getZTreeObj("tree-1");
  228. //得到选中的数据集
  229. var checkedNodes = zTree.getCheckedNodes(true);
  230. if(time1==""||time2==""){
  231. $.messager.alert('请选择分享的起始时间!');
  232. return;
  233. }
  234. if(time1>time2){
  235. $.messager.alert('请选择正确的分享起始时间!');
  236. return;
  237. }
  238. if(checkedNodes==""){
  239. $.messager.alert('请选择要申请查看的单位!');
  240. return;
  241. }
  242. var compValue="";
  243. //var compValue2="";
  244. for(var i = 0; i < checkedNodes.length; i++){
  245. //机构名称
  246. compValue += checkedNodes[i].id + ",";
  247. //compValue2 += checkedNodes[i].name+",";
  248. }
  249. var compid = compValue.substring(0,compValue.length-1);
  250. //var compname = compValue2.substring(0,compValue2.length-1);
  251. //给第二个form的字段设置值
  252. $("#SHARE_MAN_217").val(getUser_id); //SHARE_MAN_217 分享人
  253. $("#SHARE_UNITS_217").val(deptId); //SHARE_UNITS_217分享单位
  254. $("#RECEIVE_UNITS_217").val(compid); //RECEIVE_UNITS_217 被分享单位
  255. //SHARE_TYPE_217分享的业务类型 写死3
  256. $("#SHARE_START_TIME_217").val(time1); //SHARE_START_TIME_217开始时间
  257. $("#SHARE_END_TIME_217").val(time2); //SHARE_END_TIME_217结束时间
  258. //BUSINE_ID_217业务ID 点击分享的时候已经赋值给页面了
  259. $("#RECEIVE_MAN_217").val(RECEIVE_MAN); //RECEIVE_MAN_217接收的人
  260. var $form = $('#fillForm1');
  261. var url = $.pathname() + '/ws/crud/CRUDService/create';
  262. $.ajax({
  263. url : url,
  264. type : 'post',
  265. data : $form.serialize(),
  266. dataType : 'text',
  267. timeout : 60000,
  268. success : function(data){
  269. $.messager.alert("共享成功",null,null,null,-1);
  270. },
  271. error : function(){
  272. $.messager.alert('操作失败');
  273. }
  274. });
  275. top.Dialog.close();//关闭新增窗口
  276. }
  277. // 更多
  278. function more() {
  279. $('#moreDiv').toggle();
  280. $(parent.document.body).find("#frmright").height($(window.document.body).height());
  281. }
  282. //高级查询
  283. function searchHandler(){
  284. $queryForm = $("#queryForm");
  285. if($("#PLAN_NAME_214").val()=="预案名称"){
  286. $("#PLAN_NAME_214").val("");
  287. }
  288. $queryForm.serialize();
  289. //获取选中的值
  290. var searchCondition = getSelectCon(conditionData);
  291. var queryParams = getQueryFormParams($queryForm);
  292. var params=$.extend({},loadParams,queryParams);
  293. //与之前参数条件拼接
  294. params.condition = searchCondition.condition + params.condition;
  295. g.setOptions(params);
  296. //加载数据
  297. g.rend();
  298. }
  299. //下载
  300. function onDownload(){
  301. var FD_OBJECTID = "";
  302. var rows = g.getSelectedRows();
  303. var rowsLength = rows.length;
  304. if (rowsLength == 0) {
  305. top.Dialog.alert("请选中要下载的文件!");
  306. return;
  307. }
  308. for (var i = 0; i < rows.length; i++) {
  309. var FD_OBJECTID1= rows[i].FD_OBJECTID214;//预案的主键
  310. var PLAN_BIAOZHI1 =rows[i].PLAN_BIAOZHI_214;//预案的标识位(新的预案还是旧的预案)
  311. var UPLOAND_FLAG1 =rows[i].UPLOAND_FLAG_214;//上传标识
  312. var PLAN_VERSION_REMAR1 =rows[i].PLAN_VERSION_REMARK_214;//修改预案后新增预案的情况,也必有附件
  313. //新增预案,控制必传附件 纯新增
  314. if(PLAN_BIAOZHI1=="0"&&PLAN_VERSION_REMAR1=="0"&&UPLOAND_FLAG1=="1"){
  315. //getFileList(fd_id,1);
  316. FD_OBJECTID += "'"+FD_OBJECTID1 +"'"+ ",";//预案的主键
  317. }
  318. //修改预案后新增预案的情况,也必有附件 纯修编
  319. if(PLAN_BIAOZHI1!="0"&&PLAN_VERSION_REMAR1!="0"&&UPLOAND_FLAG1=="1"){
  320. //getFileList(fd_bojectid,1);
  321. FD_OBJECTID += "'"+FD_OBJECTID1+"'" + ",";//预案的主键
  322. }
  323. //纯修改
  324. if(PLAN_BIAOZHI1=="0"&&PLAN_VERSION_REMAR1!="0"&&UPLOAND_FLAG1=="0"){
  325. //getFileList(PLAN_VERSION_REMARK,1);
  326. FD_OBJECTID += "'"+PLAN_VERSION_REMAR1+"'" + ",";//预案的主键
  327. }
  328. //修编修改
  329. if(PLAN_BIAOZHI1!="0"&&PLAN_VERSION_REMAR1!="0"&&UPLOAND_FLAG1=="0"){
  330. //getFileList(PLAN_VERSION_REMARK,1);
  331. FD_OBJECTID += "'"+PLAN_VERSION_REMAR1+"'" + ",";//预案的主键
  332. }
  333. }
  334. var temp = FD_OBJECTID.substring(0,FD_OBJECTID.length-1);
  335. //发送请求,获取文件名的集合。
  336. var url = $.pathname() + '/ws/PlanHuiZong/ContingencyPlanHuiZong/getPlanFile/';
  337. var params = {
  338. fileId : temp
  339. };
  340. var SAVENAME1="";
  341. var NAME1 = "";
  342. var FILEEXT1="";
  343. $.ajax({
  344. url : url,
  345. type : 'post',
  346. timeout : 60000,
  347. data : params,
  348. dataType : 'json',
  349. success : function(data){
  350. var dataLenth = data.rows.length;
  351. var filenames="";
  352. var downfilename = "";
  353. for (var i = 0; i < dataLenth; i++) {
  354. SAVENAME1= data.rows[i].SAVENAME;
  355. NAME1= data.rows[i].NAME;
  356. FILEEXT1= data.rows[i].FILEEXT;
  357. filenames +=SAVENAME1 + "." + FILEEXT1 + ";";
  358. downfilename+=NAME1 + "." + FILEEXT1 + ";";
  359. }
  360. var filenames1 = filenames.substring(0,filenames.length-1);
  361. filenames = decodeURI(filenames1);
  362. var downfilename1 = downfilename.substring(0,downfilename.length-1);
  363. downfilename = decodeURI(downfilename1);
  364. showFile(filenames1,downfilename1);
  365. //alert(downfilename1+"============"+filenames1);
  366. //返回回调打包下载的函数,拼传给回调函数的filenames,downfilename
  367. },
  368. error : function(e){
  369. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  370. }
  371. });
  372. }
  373. function showFile(downfilename,filenames){
  374. var url = "/nwyj/page/business/am/org/query/getZipFile.jsp?downfilename="+downfilename+"&filenames="+filenames;
  375. window.open(url);
  376. }
  377. //点击查看
  378. function jumpPage(fd_id,PLAN_BIAOZHI,BM_YAXHLB,PLAN_REFINE_CATEGORY){
  379. window.location.href="/nwyj/page/business/am/public/planview.jsp?"+fd_id;
  380. /*if(PLAN_REFINE_CATEGORY=="17"){//网络与信息安全
  381. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusTFQT.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  382. }else if(PLAN_REFINE_CATEGORY=="4"){//人身事故
  383. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusRSSG.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  384. }else if(PLAN_REFINE_CATEGORY=="5"){//大面积停电事件
  385. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusDMJTD.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  386. }else if(PLAN_REFINE_CATEGORY=="6"){//设备事故
  387. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusSBSG.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  388. }else if(PLAN_REFINE_CATEGORY=="7"){//电厂大坝厂房事故
  389. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusDCDB.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  390. }else if(PLAN_REFINE_CATEGORY=="8"){//环境污染
  391. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusHJWR.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  392. }else if(PLAN_REFINE_CATEGORY=="9"){//防风防汛
  393. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexus.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  394. }else if(PLAN_REFINE_CATEGORY=="10"){//地震灾害
  395. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusDZZH.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  396. }else if(PLAN_REFINE_CATEGORY=="11"){//低温雨雪冰冻灾害
  397. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusDWBD.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  398. }else if(PLAN_REFINE_CATEGORY=="12"){//电力供应及客户服务PlanNexusDLGY.jsp
  399. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusDLGY.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  400. }else if(PLAN_REFINE_CATEGORY=="13"){//生产场所防恐怖袭击
  401. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusKBXJ.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  402. }else if(PLAN_REFINE_CATEGORY=="14"){//突发性群体事件
  403. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusTFQT.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  404. }else if(PLAN_REFINE_CATEGORY=="15"){//突发新闻事件
  405. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusTFQT.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  406. }else if(PLAN_REFINE_CATEGORY=="16"){//涉外突发事件
  407. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusTFQT.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  408. }else if(PLAN_REFINE_CATEGORY=="18"){//突发公共卫生
  409. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanOnViewNexus/PlanNexusGGWS.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  410. }else{
  411. window.location.href="/nwyj/page/business/am/contingencyPlan/PlanNexus.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  412. }*/
  413. }
  414. function onView(){
  415. //根据预案类型分别跳转不同的预案绑定的页面
  416. var rows = g.getSelectedRows();
  417. if(rows.length==0){
  418. top.Dialog.alert("请选择一条记录");
  419. return;
  420. }
  421. if(rows.length>1){
  422. top.Dialog.alert("只能选择一条记录");
  423. return;
  424. }
  425. /**
  426. * 如果是地震预案,跳转到地震对应的预案.
  427. * 传给子页面的值:
  428. * 1、主键
  429. * 2、 版本(初次版本为0;方便日后修订预案后将原有预案的绑定条件带出来。避免用户再次录入绑定条件)
  430. * 3、预案具体业务分类,方便分别找到对应的报表填报计划页面
  431. *
  432. * **/
  433. var fd_id = rows[0].FD_OBJECTID214;
  434. var PLAN_BIAOZHI = rows[0].PLAN_BIAOZHI_214;
  435. var PLAN_REFINE_CATEGORY = rows[0].PLAN_REFINE_CATEGORY_214;
  436. var BM_YAXHLB = rows[0].PLAN_REFINE_CATEGORY_214;
  437. if(PLAN_REFINE_CATEGORY=="17"){//网络与信息安全
  438. window.location.href="PlanOnViewNexus/PlanNexusTFQT.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  439. }else if(PLAN_REFINE_CATEGORY=="4"){//人身事故
  440. window.location.href="PlanOnViewNexus/PlanNexusRSSG.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  441. }else if(PLAN_REFINE_CATEGORY=="5"){//大面积停电事件
  442. window.location.href="PlanOnViewNexus/PlanNexusDMJTD.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  443. }else if(PLAN_REFINE_CATEGORY=="6"){//设备事故
  444. window.location.href="PlanOnViewNexus/PlanNexusSBSG.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  445. }else if(PLAN_REFINE_CATEGORY=="7"){//电厂大坝厂房事故
  446. window.location.href="PlanOnViewNexus/PlanNexusDCDB.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  447. }else if(PLAN_REFINE_CATEGORY=="8"){//环境污染
  448. window.location.href="PlanOnViewNexus/PlanNexusHJWR.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  449. }else if(PLAN_REFINE_CATEGORY=="9"){//防风防汛
  450. window.location.href="PlanOnViewNexus/PlanNexus.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  451. }else if(PLAN_REFINE_CATEGORY=="10"){//地震灾害
  452. window.location.href="PlanOnViewNexus/PlanNexusDZZH.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  453. }else if(PLAN_REFINE_CATEGORY=="11"){//低温雨雪冰冻灾害
  454. window.location.href="PlanOnViewNexus/PlanNexusDWBD.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  455. }else if(PLAN_REFINE_CATEGORY=="12"){//电力供应及客户服务PlanNexusDLGY.jsp
  456. window.location.href="PlanOnViewNexus/PlanNexusDLGY.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  457. }else if(PLAN_REFINE_CATEGORY=="13"){//生产场所防恐怖袭击
  458. window.location.href="PlanOnViewNexus/PlanNexusKBXJ.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  459. }else if(PLAN_REFINE_CATEGORY=="14"){//突发性群体事件
  460. window.location.href="PlanOnViewNexus/PlanNexusTFQT.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  461. }else if(PLAN_REFINE_CATEGORY=="15"){//突发新闻事件
  462. window.location.href="PlanOnViewNexus/PlanNexusTFQT.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  463. }else if(PLAN_REFINE_CATEGORY=="16"){//涉外突发事件
  464. window.location.href="PlanOnViewNexus/PlanNexusTFQT.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  465. }else if(PLAN_REFINE_CATEGORY=="18"){//突发公共卫生
  466. window.location.href="PlanOnViewNexus/PlanNexusGGWS.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  467. }else{
  468. window.location.href="PlanNexus.jsp?"+fd_id+"?"+PLAN_BIAOZHI+"?" + BM_YAXHLB;
  469. }
  470. }
  471. $.messager=top.Dialog;