blank2.jsp 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. <!DOCTYPE HTML>
  2. <%@ page language="java" pageEncoding="UTF-8" import="java.util.*"
  3. contentType="text/html; charset=UTF-8"%>
  4. <%@ page import="cn.sinobest.framework.comm.iface.IOperator"%>
  5. <%@ page import="cn.sinobest.sysmngr.comm.ConVar"%>
  6. <%@ page import="cn.sinobest.framework.util.Util"%>
  7. <%@ page import="java.util.Date"%>
  8. <%@ include file="/jsp/framework/head.jsp"%>
  9. <%@ taglib uri="/WEB-INF/hnisi.tld" prefix="hnisi"%>
  10. <%@ include file="./taglib.jsp"%>
  11. <%@ page import="cn.sinobest.appcomm.service.sy.AppcommSyService"%>
  12. <%@ page import="java.util.Map"%>
  13. <script src="/web/js/comm/fw/wf.js" type="text/javascript"></script>
  14. <%
  15. response.setHeader("Pragma", "No-cache");
  16. response.setHeader("Cache-Control", "no-cache");
  17. response.setDateHeader("Expires", 0);
  18. Object obj = request.getSession().getAttribute(
  19. ConVar.LOGIN_SESSION_ID);
  20. String OperID = "";
  21. String wherebgr = " 1=2 ";
  22. String wherebgw = " 1=2 ";
  23. String whereCh = " 1=2 ";
  24. String UnitID="";
  25. String BAE001="";
  26. if (obj != null) {
  27. IOperator Operator = (IOperator) obj;
  28. OperID = Operator.getOperID();
  29. UnitID=Operator.getOperUnitID();
  30. BAE001 = Operator.getBAE001();
  31. //撤回至人个待办 :上一个环节是自己,且当前环节不是自己
  32. whereCh = " c.operid = '" + OperID+"' AND PARENTINSID IS NULL and v.operid<>'" + OperID+"' and c.ACTION_DEF_NAME<>'窗口受理' ";
  33. wherebgr = " operid = '" + OperID + "' AND PARENTINSID IS NULL";
  34. wherebgw = " operid is null"
  35. + " and bae006 like '"
  36. + BAE001
  37. + "%'"
  38. + " and exists (select 1 from fw_operator2right a, fw_right b where a.rightid = b.rightid and a.AAE100 = b.AAE100 and a.AUTHTYPE='1' and a.AAE100 ='1' and b.action_def_id = v.action_def_id and a.operid ='"
  39. + OperID + "' AND PARENTINSID IS NULL)";
  40. }
  41. String orderBy = " order by BSTART_TIME, BAE007";
  42. String chOrderBy=" order by v.BSTART_TIME, v.BAE007";
  43. //提交完后需要返回首页
  44. String rtnURL=request.getContextPath()+"/jsp/framework/blank2.jsp?RightID=blank";
  45. //个人经办效能获取
  46. AppcommSyService appcommSyService = (AppcommSyService)Util.getBean("appcommSyService");
  47. Map<String, Object> rMap = appcommSyService.getGrywltjByOperid(OperID);
  48. String xnall=rMap.get("20") == null?"0":(String)rMap.get("20");
  49. String xnyear=rMap.get("21") == null?"0":(String)rMap.get("21");
  50. String xnmonth=rMap.get("22") == null?"0":(String)rMap.get("22");
  51. String xnweek=rMap.get("23") == null?"0":(String)rMap.get("23");
  52. String xnck=rMap.get("24") == null?"0":(String)rMap.get("24");
  53. String xnws=rMap.get("25") == null?"0":(String)rMap.get("25");
  54. String xnapp=rMap.get("26") == null?"0":(String)rMap.get("26");
  55. String xnzd=rMap.get("27") == null?"0":(String)rMap.get("27");
  56. //辅助功能菜单获取
  57. String fzgnhtml = "";
  58. String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath();
  59. List<Map<String, Object>> rightlist = appcommSyService.getFzgnrightByOperid(OperID);
  60. if(rightlist !=null && !rightlist.isEmpty()){
  61. for(int i = 0; i<rightlist.size() ;i++){
  62. fzgnhtml +="<a class='assist-item' href='"+path+rightlist.get(i).get("URL")+"'>";
  63. fzgnhtml +="<div class='assist-item-icon'><img src='"+path+"/themes/zjrs/images/"+rightlist.get(i).get("ATTR2")+"'></div>";
  64. fzgnhtml +="<div class='assist-item-text'>"+rightlist.get(i).get("RIGHTNAME")+"</div> </a>";
  65. }
  66. }
  67. //常见问题
  68. String normalProblemsHtml = "<ul>";
  69. List<Map<String, Object>> normalProblemsList = appcommSyService.getNormalProblems();
  70. if(normalProblemsList !=null && !normalProblemsList.isEmpty()){
  71. for(int i = 0; i<normalProblemsList.size() ;i++){
  72. normalProblemsHtml +="<li><a href='";
  73. normalProblemsHtml +=path+"/appcomm/web/cjwt/cjwtwh!toAddOrUpdate.do?WHATTODO=VIEW&USERTYPE=KS&RS_CJWT_LSH="+normalProblemsList.get(i).get("RS_CJWT_LSH");
  74. normalProblemsHtml +="' >"+normalProblemsList.get(i).get("WTMS")+"</a></li>";
  75. }
  76. }
  77. normalProblemsHtml +="</ul>";
  78. //默认TAB页
  79. String deTab = request.getParameter("deTab");
  80. //网办业务申请状态
  81. String sqzt = request.getParameter("sqzt") == null ? "1":request.getParameter("sqzt");
  82. int n=0;
  83. if(!(deTab==null||"".equals(deTab))){
  84. n = Integer.parseInt(deTab);
  85. }
  86. String json = "";
  87. json = "{cache:false,selected:"+ n +"}";
  88. %>
  89. <html>
  90. <head lang="zh-cn">
  91. <style>
  92. #attach{
  93. backgound:#ffffff !important;
  94. margin:0 1%;
  95. }
  96. </style>
  97. <meta charset="utf-8">
  98. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  99. <meta name="viewport" content="width=device-width,initial-scale=1">
  100. <title>科室待办首页</title>
  101. </head>
  102. <body >
  103. <div id="root">
  104. <!-- 第二行 -->
  105. <div class="row" style="margin-bottom:10px">
  106. <div class="col col-6">
  107. <div class="section">
  108. <div class="section-title">
  109. <img class="title-icon" src="${ctx}/themes/zjrs/images/title-icon.png" />
  110. <span class="section-title-text">个人业务经办量统计</span>
  111. <span class="section-title-extra"></span>
  112. </div>
  113. <div class="section-content handing-content">
  114. <div class="handing-item2">
  115. <div class="handing-item-inbox">
  116. <div class="handing-item-content handing-part3">
  117. <div class="count-item2 count-item-0">
  118. <img class="count-item-pic" src="${ctx}/themes/zjrs/images/ico01.png" />
  119. <div class="count-item-info2">
  120. <h2 class="ad_color1"><%=xnweek %></h2>
  121. <p>本周业务量</p>
  122. </div>
  123. </div>
  124. <div class="count-item2 count-item-00">
  125. <img class="count-item-pic" src="${ctx}/themes/zjrs/images/ico02.png" />
  126. <div class="count-item-info2">
  127. <h2 class="ad_color2"><%=xnapp %></h2>
  128. <p>移动端受理</p>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. <div class="handing-item2">
  135. <div class="handing-item-inbox">
  136. <div class="handing-item-content handing-part3">
  137. <div class="count-item2 count-item-3">
  138. <img class="count-item-pic" src="${ctx}/themes/zjrs/images/ico03.png" />
  139. <div class="count-item-info2">
  140. <h2 class="ad_color3"><%=xnmonth %></h2>
  141. <p>月度业务经办</p>
  142. </div>
  143. </div>
  144. <div class="count-item2 count-item-4">
  145. <img class="count-item-pic" src="${ctx}/themes/zjrs/images/ico04.png" />
  146. <div class="count-item-info2">
  147. <h2 class="ad_color4"><%=xnws %></h2>
  148. <p>公共服务受理</p>
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. <div class="handing-item2">
  155. <div class="handing-item-inbox">
  156. <div class="handing-item-content handing-part3">
  157. <div class="count-item2 count-item-5">
  158. <img class="count-item-pic" src="${ctx}/themes/zjrs/images/ico05.png" />
  159. <div class="count-item-info2">
  160. <h2 class="ad_color5"><%=xnyear %></h2>
  161. <p>年度业务量</p>
  162. </div>
  163. </div>
  164. <div class="count-item2 count-item-6">
  165. <img class="count-item-pic" src="${ctx}/themes/zjrs/images/ico06.png" />
  166. <div class="count-item-info2">
  167. <h2 class="ad_color6"><%=xnzd %></h2>
  168. <p>自助机受理</p>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. <div class="handing-item2">
  175. <div class="handing-item-inbox">
  176. <div class="handing-item-content handing-part3">
  177. <div class="count-item2 count-item-7" style="border:0;">
  178. <img class="count-item-pic" src="${ctx}/themes/zjrs/images/ico07.png" />
  179. <div class="count-item-info2">
  180. <h2 class="ad_color7"><%=xnall %></h2>
  181. <p>累计业务经办</p>
  182. </div>
  183. </div>
  184. <div class="count-item2 count-item-8" style="border:0;">
  185. <img class="count-item-pic" src="${ctx}/themes/zjrs/images/ico08.png" />
  186. <div class="count-item-info2">
  187. <h2 class="ad_color8"><%=xnck %></h2>
  188. <p>经办柜台受理</p>
  189. </div>
  190. </div>
  191. </div>
  192. </div>
  193. </div>
  194. </div>
  195. </div>
  196. </div>
  197. <div class="col col-6">
  198. <div class="row">
  199. <div class="col col-6">
  200. <div class="section">
  201. <div class="section-title">
  202. <img class="title-icon" src="${ctx}/themes/zjrs/images/title-icon.png" />
  203. <span class="section-title-text">辅助功能</span>
  204. <span class="section-title-extra"></span>
  205. </div>
  206. <div class="section-content assist-content">
  207. <div class="assist-items" id="fzgndiv"></div>
  208. </div>
  209. </div>
  210. </div>
  211. <div class="col col-6">
  212. <div class="section">
  213. <div class="section-title">
  214. <img class="title-icon" src="${ctx}/themes/zjrs/images/title-icon.png" />
  215. <span class="section-title-text">常见问题</span>
  216. <span class="section-title-extra">
  217. <span class="more-link" onclick="getMoreNormalProblems();" >更多</span>
  218. </span>
  219. </div>
  220. <div class="question_box1"><!-- 常见问题内容 -->
  221. <div class="section-content question-content" id="normalProblems">
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  226. </div>
  227. </div>
  228. </div>
  229. <!-- 第三行 -->
  230. <div class="row">
  231. <div class="col col-12">
  232. <div class="section">
  233. <div class="section-title">
  234. <img class="title-icon" src="${ctx}/themes/zjrs/images/title-icon.png" />
  235. <span class="section-title-text">待签领事项</span>
  236. <span class="section-title-extra">
  237. <span class="show-label todo-case">
  238. <span class="label-text">个人待办</span>
  239. <span class="label-count" id='showdb'></span>
  240. </span>
  241. <span class="show-label todo-case">
  242. <span class="label-text" >岗位待办</span>
  243. <span class="label-count" id='showdq'></span>
  244. </span>
  245. <span class="show-label todo-case">
  246. <span class="label-text" >网办业务办理</span>
  247. <span class="label-count" id='showwb'></span>
  248. </span>
  249. </span>
  250. </div>
  251. <div class="section-content case-content">
  252. <form name="aForm">
  253. <div class="index_input_box">
  254. <hnisi:gt id="appcomm_wf_q" hasTitle="false" hasBorder="false"></hnisi:gt>
  255. </div>
  256. </form>
  257. <div class="index_height"><!-- 首页待签事项高度 -->
  258. <hnisi:tabPanel id="test_tab" attr1="abcd" attr2="def" init="<%=json %>">
  259. <hnisi:tab title="个人待办" id="grdb">
  260. <hnisi:glt id="appcomm_wf_grdb_list" pageSize="10" height="auto" hasTitle="false" whereCls="<%=wherebgr+orderBy%>" />
  261. </hnisi:tab>
  262. <hnisi:tab title="岗位待办" id="gwdb">
  263. <hnisi:glt id="appcomm_wf_gwdb_list" pageSize="10" height="auto" hasTitle="false" whereCls="<%=wherebgw+orderBy%>" />
  264. </hnisi:tab>
  265. <hnisi:tab title="撤回至个人待办" id="chdb">
  266. <hnisi:glt id="appcomm_wf_chzgrdb_list" pageSize="10" height="auto" hasTitle="false" whereCls="<%=whereCh+chOrderBy%>" />
  267. </hnisi:tab>
  268. <hnisi:tab title="网办业务办理" id="wbjs">
  269. <form name="wbsqztForm">
  270. <hnisi:gt id="ck_wbywysl_tab_q" hasTitle="false" hasBorder="false">
  271. <hnisi:gtWhere whereCls=" aaa100='RS_WB_BJ_SQZT' and aaa102 in('0','1','2','5') " id="dyndict_wbsqzt"></hnisi:gtWhere>
  272. </hnisi:gt>
  273. </form>
  274. <hnisi:glt id="ck_ywsl_wbywysl_tab_list" pageSize="10" height="auto" hasTitle="false" whereCls=" 1=2 " />
  275. </hnisi:tab>
  276. </hnisi:tabPanel>
  277. </div>
  278. </div>
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283. <!-- <div class="div_wf" id="div_wf" sizset="0" sizcache="6"> -->
  284. <form name="chForm" action="/web/CommSave.do" method="post" sizset="0" sizcache="6">
  285. <input name="_commDo" type="hidden" value="workflowProxyService.doWork"/>
  286. <input name="_rtnURL" id="chForm_rtnURL" type="hidden" value="<%=rtnURL%>"/>
  287. <input name="pid" id="chForm_pid" type="hidden"/>
  288. <input name="wid" id="chForm_wid" type="hidden"/>
  289. <input name="_wfState" id="chForm_wfState" type="hidden" value="data"/>
  290. <input name="_isWfStart" id="chForm_isWfStart" type="hidden" value="false"/>
  291. <input name="_processDefId" title="流程定义ID" id="chForm_processDefId" type="hidden"/>
  292. <input name="_curActDefId" title="当前环节定义ID" id="chForm_curActDefId" type="hidden"/>
  293. <input name="_curActDefName" title="当前环节定义名称" id="chForm_curActDefName" type="hidden"/>
  294. <input name="_nextActDefId" title="下一环节定义ID" id="chForm_nextActDefId" type="hidden"/>
  295. <input name="_nextActDefName" title="下一环节定义名称" id="chForm_nextActDefName" type="hidden"/>
  296. <input name="_keyData" title="关键信息" id="chForm_keyData" type="hidden"/>
  297. <input name="_toApplyOpr" title="回退给原提交人" id="chForm_toApplyOpr" type="hidden" value="true"/>
  298. <input name="_operId" title="经办人" id="chForm_operId" type="hidden" value="<%=OperID%>"/>
  299. <input name="_unitId" title="经办单位" id="chForm_unitId" type="hidden" value="<%=UnitID%>"/>
  300. <input name="_accepterId" title="接收人" id="chForm_accepter" type="hidden" value="<%=OperID%>"/>
  301. <input name="_comment" title="办理意见" type="hidden"/>
  302. </form>
  303. <%--常见问题查看 --%>
  304. <form name ="cjwtform" action="${ctx}/appcomm/web/cjwt/cjwtwh!syToMore.do" method="post">
  305. </form>
  306. <form name="jdform" action="${ctx}/ck/web/ywsl/ywsl!toMulti.do"
  307. method="post">
  308. <input type="hidden" name="sllsh" />
  309. <input type="hidden" name="status" />
  310. </form>
  311. <form name="wbblform" action="${ctx}/ck/web/wbywysl/wbywysl!toMulti.do"
  312. method="post">
  313. <input type="hidden" name="rs_wb_bj_lsh" />
  314. <input type="hidden" name="wbid" />
  315. <input type="hidden" name="status" />
  316. <input type="hidden" name="sllsh" />
  317. <input type="hidden" name="returnURL" value="jsp/framework/blank2.jsp?RightID=blank&deTab=3"/>
  318. <input type="hidden" name="RightID" value="blank"/>
  319. </form>
  320. <!-- </div> -->
  321. </body>
  322. <script type="text/javascript">
  323. //初始化
  324. $(function(){
  325. //辅助功能菜单初始化
  326. var fzgndiv = document.getElementById("fzgndiv");
  327. var innerstr = "<%=fzgnhtml%>";
  328. fzgndiv.innerHTML="";
  329. fzgndiv.innerHTML=innerstr;
  330. //统计待办待签
  331. getShowDbDqAjaxData();
  332. //常见问题
  333. var fzgndiv = document.getElementById("normalProblems");
  334. var normalProblemsHtml = "<%=normalProblemsHtml%>";
  335. fzgndiv.innerHTML="";
  336. fzgndiv.innerHTML=normalProblemsHtml;
  337. //网办业务受理,默认待接收
  338. wbsqztForm.SQZT.value="<%=sqzt%>";
  339. wbQueryList("<%=sqzt%>");
  340. });
  341. function queryRw(){
  342. var datas=CFW.oGt.fnGetForm (aForm);
  343. var whereCls1 = "<%=wherebgr.toString()%>";
  344. var whereCls2 = "<%=wherebgw.toString()%>";
  345. //撤回至人个待办
  346. var whereCh = "<%=whereCh%>";
  347. if(datas.YWGJC!=null && datas.YWGJC!='' && datas.YWGJC!=undefined){
  348. whereCls1 +=" and PROCESS_KEY_INFO LIKE '%" + datas.YWGJC + "%'";
  349. whereCls2 +=" and PROCESS_KEY_INFO LIKE '%" + datas.YWGJC + "%'";
  350. whereCh +=" and v.PROCESS_KEY_INFO LIKE '%" + datas.YWGJC + "%'";
  351. }
  352. if(datas.YWDY!=null && datas.YWDY!='' && datas.YWDY!=undefined){
  353. whereCls1 +=" and SXMC LIKE '" + datas._DIC_YWDY + "%'";
  354. whereCls2 +=" and SXMC LIKE '" + datas._DIC_YWDY + "%'";
  355. whereCh +=" and v.SXMC LIKE '" + datas._DIC_YWDY + "%'";
  356. }
  357. whereCls1 += " <%=orderBy%>";
  358. whereCls2 += " <%=orderBy%>";
  359. whereCh += "<%=chOrderBy%>";
  360. CFW.oGlt.fnGetData('appcomm_wf_grdb_list',whereCls1);
  361. CFW.oGlt.fnGetData('appcomm_wf_gwdb_list',whereCls2);
  362. CFW.oGlt.fnGetData('appcomm_wf_chzgrdb_list',whereCh);
  363. //刷新网办接收列表
  364. wbQueryList(wbsqztForm.SQZT.value);
  365. }
  366. function clearFrom(from){
  367. CFW.oGt.fnClear(from);
  368. }
  369. function jieShou(workid) {
  370. var datas=CFW.oGt.fnGetForm (aForm);
  371. var wheregr = "<%=wherebgr.toString()%>";
  372. var wheregw = "<%=wherebgw.toString()%>";
  373. if(datas.YWGJC!=null && datas.YWGJC!='' && datas.YWGJC!=undefined){
  374. wheregr +=" and PROCESS_KEY_INFO LIKE '%" + datas.YWGJC + "%'";
  375. wheregw +=" and PROCESS_KEY_INFO LIKE '%" + datas.YWGJC + "%'";
  376. }
  377. if(datas.YWDY!=null && datas.YWDY!='' && datas.YWDY!=undefined){
  378. wheregr +=" and SXMC LIKE '" + datas._DIC_YWDY + "%'";
  379. wheregw +=" and SXMC LIKE '" + datas._DIC_YWDY + "%'";
  380. }
  381. wheregr += " <%=orderBy%>";
  382. wheregw += " <%=orderBy%>";
  383. var operid = '<%=OperID%>' ;
  384. new Service().appendQuery({
  385. configId:'WF.WF_WORK_ITE_U1',
  386. parameters:{OPERID:operid,WORK_ITEM_ID:workid},
  387. transform:'firstRow'/*只取第一条*/
  388. }).sentAjax('传值',function(data){
  389. CFW.oGlt.fnGetData('appcomm_wf_grdb_list',wheregr);
  390. CFW.oGlt.fnGetData('appcomm_wf_gwdb_list',wheregw);
  391. getShowDbDqAjaxData();
  392. });
  393. }
  394. function cheXiao(workid) {
  395. var datas=CFW.oGt.fnGetForm (aForm);
  396. var wheregr = "<%=wherebgr.toString()%>";
  397. var wheregw = "<%=wherebgw.toString()%>";
  398. if(datas.YWGJC!=null && datas.YWGJC!='' && datas.YWGJC!=undefined){
  399. wheregr +=" and PROCESS_KEY_INFO LIKE '%" + datas.YWGJC + "%'";
  400. wheregw +=" and PROCESS_KEY_INFO LIKE '%" + datas.YWGJC + "%'";
  401. }
  402. if(datas.YWDY!=null && datas.YWDY!='' && datas.YWDY!=undefined){
  403. wheregr +=" and SXMC LIKE '" + datas._DIC_YWDY + "%'";
  404. wheregw +=" and SXMC LIKE '" + datas._DIC_YWDY + "%'";
  405. }
  406. wheregr += " <%=orderBy%>";
  407. wheregw += " <%=orderBy%>";
  408. var operid = "<%=OperID%>";
  409. new Service().appendQuery({
  410. configId : 'WF.WF_WORK_ITE_U2',
  411. parameters : {
  412. OPERID : operid,
  413. WORK_ITEM_ID : workid
  414. },
  415. transform : 'firstRow'/*只取第一条*/
  416. }).sentAjax('传值', function(data) {
  417. CFW.oGlt.fnGetData('appcomm_wf_grdb_list', wheregr);
  418. CFW.oGlt.fnGetData('appcomm_wf_gwdb_list', wheregw);
  419. getShowDbDqAjaxData();
  420. });
  421. }
  422. function detail(pid) {
  423. var url = "blank_todolist_detail2.jsp?pid=" + pid + "&_t="+ new Date().getTime();
  424. var position = "resizable:1;status:0;help:0;scroll:1;center:1;dialogWidth:850px;dialogHeight:380px";
  425. window.hasOpenWindow = true;
  426. if(position) var position = position.replace(/(dialog)|(px)/ig,"").replace(/;/g,',').replace(/\:/g,"=");
  427. position = "left=280,top=100," + position;
  428. window.myNewWindow = window.open(url,"_blank",position);
  429. }
  430. function chzgrdb(process_def_id,bae007,work_item_id,naction_def_id,naction_def_name,jaction_def_id,jaction_def_name){
  431. chForm.pid.value=bae007;
  432. chForm.wid.value=work_item_id;
  433. chForm._processDefId.value=process_def_id;
  434. chForm._curActDefId.value=naction_def_id;
  435. chForm._curActDefName.value=naction_def_name;
  436. chForm._nextActDefId.value=jaction_def_id;
  437. chForm._nextActDefName.value=jaction_def_name;
  438. chForm._comment.value="撤回";//办理意见
  439. $("#chForm_accepterId").val("<%=OperID%>");
  440. $("#chForm_nextActDefId").val(jaction_def_id);
  441. $("#chForm_nextActDefName").val(jaction_def_name);
  442. $("#chForm_wfState").val("all");
  443. if (!_wfJY('chForm',jaction_def_name)) {
  444. return;
  445. }
  446. document.chForm.submit();
  447. }
  448. /**
  449. * 待办,待签
  450. */
  451. function getShowDbDqAjaxData(){
  452. var mParams = {
  453. "OPERID":"<%=OperID%>",
  454. "BAE001":"<%=BAE001%>"
  455. };
  456. // 加载待办,待签
  457. CFW.oAJax.doService("appcommSyService.getDbDq", mParams, "", function(data) {
  458. var result = data[0];
  459. document.getElementById("showdb").innerText=result.DBCNT;
  460. document.getElementById("showdq").innerText=result.DQCNT;
  461. document.getElementById("showwb").innerText=result.WBCNT;
  462. }, function(Msg) {
  463. CFW.oWin.fnAlert(Msg);
  464. }, true);
  465. }
  466. //常见问题-更多
  467. function getMoreNormalProblems(){
  468. cjwtform.submit();
  469. }
  470. //窗口保存,个人待办,办理
  471. function updateJd(sllsh){
  472. jdform.status.value = '1';
  473. jdform.sllsh.value = sllsh;
  474. jdform.submit();
  475. }
  476. //网办接收
  477. function intoBl(rs_wb_bj_lsh){
  478. wbblform.rs_wb_bj_lsh.value = rs_wb_bj_lsh;
  479. wbblform.submit();
  480. }
  481. //网办查看
  482. function intoView(sllsh,rs_wb_bj_lsh){
  483. wbblform.status.value = "0";
  484. wbblform.sllsh.value = sllsh;
  485. wbblform.wbid.value = rs_wb_bj_lsh;
  486. wbblform.returnURL.value = "jsp/framework/blank2.jsp?RightID=blank&deTab=3"+"&sqzt="+wbsqztForm.SQZT.value;
  487. if(CFW.oValid.fnIsNull(sllsh)){
  488. wbblform.action="${ctx}/appcomm/web/wf/wf!toWbTab.do";
  489. }
  490. wbblform.submit();
  491. }
  492. //网办接收响应过滤
  493. function SQZT_onchange(){
  494. wbQueryList(wbsqztForm.SQZT.value);
  495. }
  496. //网办接收,刷新列表
  497. function wbQueryList(sqzt){
  498. //网办业务处理tab
  499. var whereWbtab = " exists(select 1 from RS_OPERATOR2SXCONFIG f, rs_sx_config g where f.sxbm=g.sxbm and f.SXBM=b.sbsx and f.operid='<%=OperID%>') ";
  500. if(sqzt == 0){
  501. whereWbtab += " and b.SQZT in('1','2','3','4','5') ";
  502. }else if(sqzt == 1){
  503. whereWbtab += " and b.SQZT in('1') ";
  504. }else if(sqzt == 2){
  505. whereWbtab += " and b.SQZT in('2','3','4') ";
  506. }else{
  507. whereWbtab += " and (b.SQZT in ('5') or (b.SQZT in ('0') and shyj is not null)) ";
  508. }
  509. if(!CFW.oValid.fnIsNull(aForm.YWDY.value)){
  510. whereWbtab += " and b.sbsx = '"+aForm.YWDY.value+"'";
  511. }
  512. if(sqzt == 2 || sqzt == 5){
  513. whereWbtab += " and b.TS_YXBZ='1' order by a.jbsj desc nulls last,b.RS_WB_BJ_LSH";
  514. }else{
  515. whereWbtab += " and b.TS_YXBZ='1' order by b.SQZT,b.SQSJ desc";
  516. }
  517. CFW.oGlt.fnGetData('ck_ywsl_wbywysl_tab_list',whereWbtab);
  518. }
  519. </script>
  520. <script>
  521. parent.mLoadStatus.workspace = true;
  522. </script>
  523. </html>