|
@@ -6,19 +6,65 @@
|
|
|
<meta name="decorator" content="ani"/>
|
|
|
<!-- SUMMERNOTE -->
|
|
|
<%@include file="/webpage/include/summernote.jsp" %>
|
|
|
- <%@include file="divideForm.js" %>
|
|
|
+ <style type="text/css">
|
|
|
+ input::-webkit-input-placeholder {
|
|
|
+ color: red !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ input::-moz-placeholder { /* Mozilla Firefox 19+ */
|
|
|
+ color: red !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
|
|
|
+ color: red !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ input:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
|
+ color: red !important;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
<script type="text/javascript">
|
|
|
- $(document).ready(function() {
|
|
|
+ $(document).ready(function () {
|
|
|
$('#beginDate').datetimepicker({
|
|
|
format: "YYYY-MM-DD HH:mm:ss"
|
|
|
});
|
|
|
$('#endDate').datetimepicker({
|
|
|
format: "YYYY-MM-DD HH:mm:ss"
|
|
|
});
|
|
|
+ $('select').change(function () {
|
|
|
+ var hiddenDanger = $('#hiddenDanger').val();
|
|
|
+ var influenceConstruction = $('#influenceConstruction').val();
|
|
|
+ var projectRepetition = $('#projectRepetition').val();
|
|
|
+ var implemented = $('#implemented').val();
|
|
|
+ var transformer = $('#transformer').val();
|
|
|
+ if (hiddenDanger == '有' || influenceConstruction == '是' || projectRepetition == '是' || implemented == '是' || transformer == '无') {
|
|
|
+ $('#explanationOfNecessity').attr('placeholder', '项目实施必要性描述不能为空');
|
|
|
+ } else if (hiddenDanger == '无' && influenceConstruction == '否' && projectRepetition == '否' && implemented == '否' && transformer == '有') {
|
|
|
+ $('#explanationOfNecessity').removeAttr('placeholder');
|
|
|
+ }
|
|
|
+
|
|
|
+ var lineName = $('#lineName').val();
|
|
|
+ var quantities = $('#quantities').val();
|
|
|
+ if (lineName == '不一致' || quantities == '否') {
|
|
|
+ $('#inconsistentDescription').attr('placeholder', '项目实施必要性描述不能为空');
|
|
|
+ } else if (lineName == '一致' && quantities == '是') {
|
|
|
+ $('#inconsistentDescription').removeAttr('placeholder');
|
|
|
+ }
|
|
|
+
|
|
|
+ var administrationType = $('#administrationType').val();
|
|
|
+ if (administrationType != '1.无') {
|
|
|
+ $('#policyHandlingInstructions').attr('placeholder', '项目实施必要性描述不能为空');
|
|
|
+ } else {
|
|
|
+ $('#policyHandlingInstructions').removeAttr('placeholder');
|
|
|
+ }
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
});
|
|
|
+
|
|
|
function save() {
|
|
|
jp.loading();
|
|
|
- jp.post("${ctx}/managementcenter/activiti/editConSave",$("#inputForm").serialize(),function (data) {
|
|
|
+ jp.post("${ctx}/managementcenter/activiti/editConSave", $("#inputForm").serialize(), function (data) {
|
|
|
if (data.success) {
|
|
|
jp.getParent().refresh();
|
|
|
var dialogIndex = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
|
@@ -59,154 +105,152 @@
|
|
|
<tr>
|
|
|
<td class="width-15 active"><label class="pull-right">现场设备尺寸:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:input path="disclose.sceneSize" cssClass="form-control"/>
|
|
|
+ <form:input path="disclose.sceneSize" cssClass="form-control"/>
|
|
|
</td>
|
|
|
<td class="width-15 active"><label class="pull-right"> 最多可扩容尺寸:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:input path="disclose.capacitySize" cssClass="form-control"/>
|
|
|
+ <form:input path="disclose.capacitySize" cssClass="form-control"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="width-15 active"><label class="pull-right">方案安全隐患:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.hiddenDanger" cssClass="form-control">
|
|
|
- <form:option value="无"/>
|
|
|
- <form:option value="有"/>
|
|
|
- </form:select>
|
|
|
+ <form:select id="hiddenDanger" path="disclose.hiddenDanger" cssClass="form-control">
|
|
|
+ <form:option value="无"/>
|
|
|
+ <form:option value="有"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
<td class="width-15 active"><label class="pull-right"> 是否存在低压或通信线等影响施工:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.influenceConstruction" cssClass="form-control">
|
|
|
- <form:option value="否"/>
|
|
|
- <form:option value="是"/>
|
|
|
- </form:select>
|
|
|
+ <form:select id="influenceConstruction" path="disclose.influenceConstruction"
|
|
|
+ cssClass="form-control">
|
|
|
+ <form:option value="否"/>
|
|
|
+ <form:option value="是"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="width-15 active"><label class="pull-right">立项重复:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.projectRepetition" cssClass="form-control">
|
|
|
- <form:option value="否"/>
|
|
|
- <form:option value="是"/>
|
|
|
- </form:select>
|
|
|
+ <form:select id="projectRepetition" path="disclose.projectRepetition"
|
|
|
+ cssClass="form-control">
|
|
|
+ <form:option value="否"/>
|
|
|
+ <form:option value="是"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
<td class="width-15 active"><label class="pull-right"> 是否已实施:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.implemented" cssClass="form-control">
|
|
|
- <form:option value="否"/>
|
|
|
- <form:option value="是"/>
|
|
|
- </form:select>
|
|
|
+ <form:select id="implemented" path="disclose.implemented" cssClass="form-control">
|
|
|
+ <form:option value="否"/>
|
|
|
+ <form:option value="是"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="width-15 active"><label class="pull-right">变压器无负荷:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.transformer" cssClass="form-control">
|
|
|
- <form:option value="有"/>
|
|
|
- <form:option value="无"/>
|
|
|
- </form:select>
|
|
|
+ <form:select id="transformer" path="disclose.transformer" cssClass="form-control">
|
|
|
+ <form:option value="有"/>
|
|
|
+ <form:option value="无"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
<td class="width-15 active"><label class="pull-right">项目实施必要性描述</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:input path="disclose.explanationOfNecessity" cssClass="form-control"/>
|
|
|
+ <form:input id="explanationOfNecessity" path="disclose.explanationOfNecessity"
|
|
|
+ cssClass="form-control"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td class="width-15 active"><label class="pull-right"> 线路名称一致性:</label></td>
|
|
|
+ <td class="width-15 active"><label class="pull-right"> 线路、设备、开关、杆号一致性:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.lineName" cssClass="form-control">
|
|
|
- <form:option value="一致"/>
|
|
|
- <form:option value="不一致"/>
|
|
|
- </form:select>
|
|
|
+ <form:select id="lineName" path="disclose.lineName" cssClass="form-control">
|
|
|
+ <form:option value="一致"/>
|
|
|
+ <form:option value="不一致"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
<td class="width-15 active"><label class="pull-right">工程量是否一致:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.quantities" cssClass="form-control">
|
|
|
- <form:option value="是"/>
|
|
|
- <form:option value="否"/>
|
|
|
- </form:select>
|
|
|
+ <form:select id="quantities" path="disclose.quantities" cssClass="form-control">
|
|
|
+ <form:option value="是"/>
|
|
|
+ <form:option value="否"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td class="width-15 active"><label class="pull-right"> 设备、开关、杆号一致性:</label></td>
|
|
|
+ <td class="width-15 active"><label class="pull-right"> 图纸现场不一致描述:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.rodNumber" cssClass="form-control">
|
|
|
- <form:option value="一致"/>
|
|
|
- <form:option value="不一致"/>
|
|
|
- </form:select>
|
|
|
+ <form:input id="inconsistentDescription" path="disclose.inconsistentDescription"
|
|
|
+ cssClass="form-control"/>
|
|
|
</td>
|
|
|
- <td class="width-15 active"><label class="pull-right"> 图纸现场不一致描述:</label></td>
|
|
|
+ <td class="width-15 active"><label class="pull-right">政处类型:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:input path="disclose.inconsistentDescription" cssClass="form-control"/>
|
|
|
+ <form:select id="administrationType" path="disclose.administrationType"
|
|
|
+ cssClass="form-control">
|
|
|
+ <form:option value="1.无"/>
|
|
|
+ <form:option value="2.农村政处"/>
|
|
|
+ <form:option value="3.民事政处/行政政处(公路/水利)"/>
|
|
|
+ <form:option value="4.行政政处(城区道路)"/>
|
|
|
+ <form:option value="5.农村政处;民事政处/行政政处(公路/水利)"/>
|
|
|
+ <form:option value="6.农村政处;行政政处(城区道路)"/>
|
|
|
+ <form:option value="7.民事政处/行政政处(公路/水利);行政政处(城区道路)"/>
|
|
|
+ <form:option value="8.农村政处;民事政处/行政政处(公路/水利);行政政处(城区道路)"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td class="width-15 active"><label class="pull-right">政处类型:</label></td>
|
|
|
+ <td class="width-15 active"><label class="pull-right">政策处理描述:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.administrationType" cssClass="form-control">
|
|
|
- <form:option value="1.无"/>
|
|
|
- <form:option value="2.农村政处"/>
|
|
|
- <form:option value="3.民事政处/行政政处(公路/水利)"/>
|
|
|
- <form:option value="4.行政政处(城区道路)"/>
|
|
|
- <form:option value="5.农村政处;民事政处/行政政处(公路/水利)"/>
|
|
|
- <form:option value="6.农村政处;行政政处(城区道路)"/>
|
|
|
- <form:option value="7.民事政处/行政政处(公路/水利);行政政处(城区道路)"/>
|
|
|
- <form:option value="8.农村政处;民事政处/行政政处(公路/水利);行政政处(城区道路)"/>
|
|
|
- </form:select>
|
|
|
+ <form:input id="policyHandlingInstructions"
|
|
|
+ path="disclose.policyHandlingInstructions" cssClass="form-control"/>
|
|
|
</td>
|
|
|
<td class="width-15 active"><label class="pull-right">前置条件:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:input path="disclose.precondition" cssClass="form-control"/>
|
|
|
+ <form:input id="precondition" path="disclose.precondition" cssClass="form-control"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td class="width-15 active"><label class="pull-right">政策处理描述:</label></td>
|
|
|
- <td class="width-35">
|
|
|
- <form:input path="disclose.policyHandlingInstructions" cssClass="form-control"/>
|
|
|
- </td>
|
|
|
<td class="width-15 active"><label class="pull-right"> DTU安放方式核查:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.placementMode" cssClass="form-control">
|
|
|
- <form:option value="无"/>
|
|
|
- <form:option value="户内"/>
|
|
|
- <form:option value="户外"/>
|
|
|
- </form:select>
|
|
|
+ <form:select path="disclose.placementMode" cssClass="form-control">
|
|
|
+ <form:option value="无"/>
|
|
|
+ <form:option value="户内"/>
|
|
|
+ <form:option value="户外"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
<td class="width-15 active"><label class="pull-right">核查环网柜生产日期:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:input path="disclose.productionDate" cssClass="form-control"/>
|
|
|
+ <form:input path="disclose.productionDate" cssClass="form-control"/>
|
|
|
</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+
|
|
|
<td class="width-15 active"><label class="pull-right"> 二次是否是集成模块:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.integrateModule" cssClass="form-control">
|
|
|
- <form:option value="否"/>
|
|
|
- <form:option value="是"/>
|
|
|
- </form:select>
|
|
|
+ <form:select path="disclose.integrateModule" cssClass="form-control">
|
|
|
+ <form:option value="否"/>
|
|
|
+ <form:option value="是"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
-
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
<td class="width-15 active"><label class="pull-right">PT是否需要更换:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.needReplace" cssClass="form-control">
|
|
|
- <form:option value="否"/>
|
|
|
- <form:option value="是"/>
|
|
|
- </form:select>
|
|
|
+ <form:select path="disclose.needReplace" cssClass="form-control">
|
|
|
+ <form:option value="否"/>
|
|
|
+ <form:option value="是"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+
|
|
|
<td class="width-15 active"><label class="pull-right"> 设备是否有整体改造的必要:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:select path="disclose.overallTransformation" cssClass="form-control">
|
|
|
- <form:option value="否"/>
|
|
|
- <form:option value="是"/>
|
|
|
- </form:select>
|
|
|
+ <form:select path="disclose.overallTransformation" cssClass="form-control">
|
|
|
+ <form:option value="否"/>
|
|
|
+ <form:option value="是"/>
|
|
|
+ </form:select>
|
|
|
</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
<td class="width-15 active"><label class="pull-right">其它问题类型:</label></td>
|
|
|
<td class="width-35">
|
|
|
- <form:input path="disclose.otherProblem" cssClass="form-control"/>
|
|
|
+ <form:input id="otherProblem" path="disclose.otherProblem" cssClass="form-control"/>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
@@ -218,4 +262,4 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</body>
|
|
|
-</html>
|
|
|
+</html>
|