artificialJudgment.jsp 16 KB

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