artificialJudgment.jsp 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/webpage/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>项目经理人工判断页面</title>
  6. <meta name="decorator" content="ani"/>
  7. <!-- SUMMERNOTE -->
  8. <%@include file="/webpage/include/summernote.jsp" %>
  9. <script type="text/javascript">
  10. $(document).ready(function () {
  11. var a = $("#percondition").val();
  12. if (a!="undefined"&&a!=null&&a!="") {
  13. $("#no").css("display", "none");
  14. }
  15. $("#agree").click(function () {
  16. var cValue ="";//定义一个数组
  17. var flag1 = false;//代表是否选择了设计变更/行政政处/农村民事政处的状态,false为未选择,true为选择
  18. var flag2 = false;//代表是否选择了项目关闭的状态,false为未选择,true为选择
  19. var nValue = $('input[name="favorite"]:checked');
  20. $('input[name="favorite"]:checked').each(function(){//遍历每一个名字为interest的复选框,其中选中的执行函数
  21. //判断选取的值如果时pass2,flag2为true,代表选择了项目关闭,选取的值不为pass2,flag1为true代表其它类型被选择
  22. if ("pass2" == $(this).val()) {
  23. flag2 = true;
  24. }else {
  25. flag1 = true;
  26. }
  27. cValue=cValue+";"+($(this).val());//将选中的值添加到数组chk_value中
  28. });
  29. if (nValue == null || nValue.size() <= 0) {
  30. jp.error("请选择问题类型");
  31. } else if(flag1==true&&flag2==true){
  32. jp.error("项目关闭与其它类型问题不可同时发起");
  33. }else {
  34. jp.prompt(" 审批意见", function (message) {
  35. jp.post("${ctx}/act/task/artificialTask",
  36. {
  37. "taskId":"${construction.act.taskId}",
  38. "taskName":"${construction.act.taskName}",
  39. "taskDefKey":"${construction.act.taskDefKey}",
  40. "procInsId":"${construction.act.procInsId}",
  41. "procDefId":"${construction.act.procDefId}",
  42. "flag":cValue,
  43. "projectName":"${fns:unescapeHtml(construction.projectName)}",
  44. "comment":window.encodeURI(message)
  45. },
  46. function (data) {
  47. if(data.success){
  48. jp.success(data.msg);
  49. jp.go("${ctx}/act/task/todo")
  50. }
  51. })
  52. });
  53. }
  54. });
  55. $("#no").click(function () {
  56. jp.prompt("没有问题,完成交底", function (message) {
  57. jp.post("${ctx}/act/task/artificialTask",
  58. {
  59. "taskId":"${construction.act.taskId}",
  60. "taskName":"${construction.act.taskName}",
  61. "taskDefKey":"${construction.act.taskDefKey}",
  62. "procInsId":"${construction.act.procInsId}",
  63. "procDefId":"${construction.act.procDefId}",
  64. "flag":"pass4",
  65. "projectName":"${fns:unescapeHtml(construction.projectName)}",
  66. "comment":window.encodeURI(message)
  67. },
  68. function (data) {
  69. if(data.success){
  70. jp.success(data.msg);
  71. jp.go("${ctx}/act/task/todo")
  72. }
  73. })
  74. })
  75. });
  76. })
  77. </script>
  78. </head>
  79. <body>
  80. <div class="wrapper wrapper-content">
  81. <div class="row">
  82. <div class="col-md-12">
  83. <div class="panel panel-primary">
  84. <div class="panel-heading">
  85. <h3 class="panel-title">
  86. <a class="panelButton" href="#" onclick="history.go(-1)"><i class="ti-angle-left"></i> 返回</a>
  87. </h3>
  88. </div>
  89. <div class="panel-body">
  90. <form:form id="inputForm" modelAttribute="construction" action="${ctx}/managementcenter/divide/save" method="post" class="form-horizontal">
  91. <form:hidden path="id"/>
  92. <input id="procInsId" type="hidden" value="${fns:unescapeHtml(construction.procInsId)}">
  93. <input id="projectName" type="hidden" value="${fns:unescapeHtml(construction.projectName)}">
  94. <input type="hidden" value="${fns:unescapeHtml(construction.id)}">
  95. <input id="percondition" type="hidden" value="${construction.disclose.precondition}">
  96. <table class="table table-bordered">
  97. <tbody>
  98. <tr>
  99. <td class="width-15 active"><label class="pull-right">问题类型:</label></td>
  100. <td class="width-35">
  101. <%-- <input type="checkbox" name="favorite" value="pass1"> 设计变更 &nbsp;
  102. <input type="checkbox" name="favorite" value="pass2"> 项目关闭 &nbsp;
  103. <input type="checkbox" name="favorite" value="pass3"> 行政政处(城区道路)
  104. <input type="checkbox" name="favorite" value="pass5"> 农村政处
  105. <input type="checkbox" name="favorite" value="pass6"> 民事政处/行政政处(公路/水利)
  106. --%> <input type="checkbox" name="favorite" value="pass8" <c:if test="${pass_construction7=='0'}">checked="checked"</c:if>/> 无问题 &nbsp;
  107. <input type="checkbox" name="favorite" value="pass1" <c:if test="${pass_construction2=='0'}">checked="checked"</c:if>/> 设计变更 &nbsp;
  108. <input type="checkbox" name="favorite" value="pass2" <c:if test="${pass_construction1=='0'}">checked="checked"</c:if>/> 项目关闭 &nbsp;
  109. <input type="checkbox" name="favorite" value="pass3" <c:if test="${pass_construction5=='0'}">checked="checked"</c:if>/> 行政政处(城区道路)
  110. <input type="checkbox" name="favorite" value="pass5" <c:if test="${pass_construction3=='0'}">checked="checked"</c:if>/> 农村政处
  111. <input type="checkbox" name="favorite" value="pass6" <c:if test="${pass_construction4=='0'}">checked="checked"</c:if>/> 民事政处/行政政处(公路/水利)
  112. </td>
  113. </tr>
  114. <tr>
  115. <td class="width-15 active"><label class="pull-right">项目号:</label></td>
  116. <td class="width-35">
  117. ${fns:unescapeHtml(construction.projectId)}
  118. </td>
  119. <td class="width-15 active"><label class="pull-right">项目名称:</label></td>
  120. <td class="width-35">
  121. ${fns:unescapeHtml(construction.projectName)}
  122. </td>
  123. </tr>
  124. <tr>
  125. <td class="width-15 active"><label class="pull-right">接收图纸时间:</label></td>
  126. <td class="width-35">
  127. <fmt:formatDate value="${construction.acceptDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
  128. </td>
  129. </tr>
  130. <tr>
  131. <td class="width-15 active"><label class="pull-right">停电线路:</label></td>
  132. <td class="width-35">
  133. ${fns:unescapeHtml(construction.powerLine)}
  134. </td>
  135. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>停电范围(中间统一用中文分号):</label></td>
  136. <td class="width-35">
  137. ${fns:unescapeHtml(construction.blackoutArea)}
  138. </td>
  139. </tr>
  140. <tr>
  141. <td class="width-15 active"><label class="pull-right">项目类型:</label></td>
  142. <td class="width-35">
  143. ${fns:unescapeHtml(construction.projectType)}
  144. </td>
  145. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>政处初步判断:</label></td>
  146. <td class="width-35">
  147. ${fns:unescapeHtml(construction.preliminaryJudgment)}
  148. </td>
  149. </tr>
  150. <tr>
  151. <td class="width-15 active"><label class="pull-right">是否含土建(不含钢管杆):</label></td>
  152. <td class="width-35">
  153. ${fns:unescapeHtml(construction.civilEngineering)}
  154. </td>
  155. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>钢管杆基础类型:</label></td>
  156. <td class="width-35">
  157. ${fns:unescapeHtml(construction.baseType)}
  158. </td>
  159. </tr>
  160. <tr>
  161. <td class="width-15 active"><label class="pull-right">是否需要规划报批(150米及以上土建):</label></td>
  162. <td class="width-35">
  163. ${fns:unescapeHtml(construction.planApproval)}
  164. </td>
  165. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>设备改造类型:</label></td>
  166. <td class="width-35">
  167. ${fns:unescapeHtml(construction.transformationType)}
  168. </td>
  169. </tr>
  170. <tr>
  171. <td class="width-15 active"><label class="pull-right">改造设备尺寸及间隔数:</label></td>
  172. <td class="width-35">
  173. ${fns:unescapeHtml(construction.transformationEquipment)}
  174. </td>
  175. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>是否含新设备命名:</label></td>
  176. <td class="width-35">
  177. ${fns:unescapeHtml(construction.newNamed)}
  178. </td>
  179. </tr>
  180. <tr>
  181. <td class="width-15 active"><label class="pull-right">是否含变电站新间隔投运:</label></td>
  182. <td class="width-35">
  183. ${fns:unescapeHtml(construction.putInto)}
  184. </td>
  185. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>是否含非涉电电气施工:</label></td>
  186. <td class="width-35">
  187. ${fns:unescapeHtml(construction.electricalConstruction)}
  188. </td>
  189. </tr>
  190. <tr>
  191. <td class="width-15 active"><label class="pull-right">图纸标注的带电作业情况:</label></td>
  192. <td class="width-35">
  193. ${fns:unescapeHtml(construction.theAssignment)}
  194. </td>
  195. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>是否含自动化:</label></td>
  196. <td class="width-35">
  197. ${fns:unescapeHtml(construction.automation)}
  198. </td>
  199. </tr>
  200. <tr>
  201. <td class="width-15 active"><label class="pull-right">二遥或三遥:</label></td>
  202. <td class="width-35">
  203. ${fns:unescapeHtml(construction.remote)}
  204. </td>
  205. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>通信方式:</label></td>
  206. <td class="width-35">
  207. ${fns:unescapeHtml(construction.communicationMode)}
  208. </td>
  209. </tr>
  210. <tr>
  211. <td class="width-15 active"><label class="pull-right">柱开集中或就地:</label></td>
  212. <td class="width-35">
  213. ${fns:unescapeHtml(construction.inSitu)}
  214. </td>
  215. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>环网柜DTU户外或户内:</label></td>
  216. <td class="width-35">
  217. ${fns:unescapeHtml(construction.networkCabinet)}
  218. </td>
  219. </tr>
  220. <tr>
  221. <td class="width-15 active"><label class="pull-right">站房DTU:</label></td>
  222. <td class="width-35">
  223. ${fns:unescapeHtml(construction.station)}
  224. </td>
  225. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>是否为停电打包项目:</label></td>
  226. <td class="width-35">
  227. ${fns:unescapeHtml(construction.powerFailure)}
  228. </td>
  229. </tr>
  230. <tr>
  231. <td class="width-15 active"><label class="pull-right">施工通道:</label></td>
  232. <td class="width-35">
  233. ${construction.disclose.channel}
  234. </td>
  235. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>设备基础是否可以扩容:</label></td>
  236. <td class="width-35">
  237. ${construction.disclose.capacity}
  238. </td>
  239. </tr>
  240. <tr>
  241. <td class="width-15 active"><label class="pull-right">现场设备尺寸:</label></td>
  242. <td class="width-35">
  243. ${construction.disclose.sceneSize}
  244. </td>
  245. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>最多可扩容尺寸:</label></td>
  246. <td class="width-35">
  247. ${construction.disclose.capacitySize}
  248. </td>
  249. </tr>
  250. <tr>
  251. <td class="width-15 active"><label class="pull-right">方案安全隐患:</label></td>
  252. <td class="width-35">
  253. ${construction.disclose.hiddenDanger}
  254. </td>
  255. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>是否存在低压或通信线等影响施工:</label></td>
  256. <td class="width-35">
  257. ${construction.disclose.influenceConstruction}
  258. </td>
  259. </tr>
  260. <tr>
  261. <td class="width-15 active"><label class="pull-right">立项重复:</label></td>
  262. <td class="width-35">
  263. ${construction.disclose.projectRepetition}
  264. </td>
  265. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>是否已实施:</label></td>
  266. <td class="width-35">
  267. ${construction.disclose.implemented}
  268. </td>
  269. </tr>
  270. <tr>
  271. <td class="width-15 active"><label class="pull-right">变压器无负荷:</label></td>
  272. <td class="width-35">
  273. ${construction.disclose.transformer}
  274. </td>
  275. <td class="width-15 active"><label class="pull-right">项目实施必要性描述</label></td>
  276. <td class="width-35">
  277. ${construction.disclose.explanationOfNecessity}
  278. </td>
  279. </tr>
  280. <tr>
  281. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>线路名称一致性:</label></td>
  282. <td class="width-35">
  283. ${construction.disclose.lineName}
  284. </td>
  285. <td class="width-15 active"><label class="pull-right">工程量是否一致:</label></td>
  286. <td class="width-35">
  287. ${construction.disclose.quantities}
  288. </td>
  289. </tr>
  290. <tr>
  291. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>设备、开关、杆号一致性:</label></td>
  292. <td class="width-35">
  293. ${construction.disclose.rodNumber}
  294. </td>
  295. <td class="width-15 active"><label class="pull-right"> 图纸现场不一致描述:</label></td>
  296. <td class="width-35">
  297. ${construction.disclose.inconsistentDescription}
  298. </td>
  299. </tr>
  300. <tr>
  301. <td class="width-15 active"><label class="pull-right">政处类型:</label></td>
  302. <td class="width-35">
  303. ${construction.disclose.administrationType}
  304. </td>
  305. <td class="width-15 active"><label class="pull-right">前置条件:</label></td>
  306. <td class="width-35">
  307. ${construction.disclose.precondition}
  308. </td>
  309. </tr>
  310. <tr>
  311. <td class="width-15 active"><label class="pull-right">政策处理描述:</label></td>
  312. <td class="width-35">
  313. ${construction.disclose.policyHandlingInstructions}
  314. </td>
  315. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>DTU安放方式核查:</label></td>
  316. <td class="width-35">
  317. ${construction.disclose.placementMode}
  318. </td>
  319. </tr>
  320. <tr>
  321. <td class="width-15 active"><label class="pull-right">核查环网柜生产日期:</label></td>
  322. <td class="width-35">
  323. ${construction.disclose.productionDate}
  324. </td>
  325. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>二次是否是集成模块:</label></td>
  326. <td class="width-35">
  327. ${construction.disclose.integrateModule}
  328. </td>
  329. </tr>
  330. <tr>
  331. <td class="width-15 active"><label class="pull-right">PT是否需要更换:</label></td>
  332. <td class="width-35">
  333. ${construction.disclose.needReplace}
  334. </td>
  335. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>设备是否有整体改造的必要:</label></td>
  336. <td class="width-35">
  337. ${construction.disclose.overallTransformation}
  338. </td>
  339. </tr>
  340. </tbody>
  341. </table>
  342. </form:form>
  343. <div class="row">
  344. <div class="col-sm-3"></div>
  345. <div class="col-sm-6">
  346. <div class="form-group text-center">
  347. <input id="agree" class="btn btn-primary btn-lg btn-parsley" type="submit" value="确认判断结果" />&nbsp;
  348. <input id="no" class="btn btn-primary btn-lg btn-danger" type="submit" value="驳回" />
  349. </div>
  350. </div>
  351. </div>
  352. <c:if test="${not empty construction.id}">
  353. <act:flowChart procInsId="${construction.act.procInsId}"/>
  354. <act:histoicFlow procInsId="${construction.act.procInsId}" />
  355. </c:if>
  356. </div>
  357. </div>
  358. </div>
  359. </div>
  360. </div>
  361. </body>
  362. </html>