Commit 620e6ff0 authored by afe's avatar afe

2017年11月02提交内容

--实现自定义协查单告警描述和内部协查单页面
parent 0897f6b5
......@@ -7,19 +7,21 @@
</component>
<component name="ChangeListManager">
<list default="true" readonly="true" id="729f43c8-1bb9-40d5-9567-47c5307fe3f5" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ModelDataType.tag" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/WarningFilter.tag" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcd.java" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/InsideXcd.jsp" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/main/webapp/static/js/insideXcdWarningTable.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/entity/XcdWorkingOrderInfo.class" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/entity/XcdWorkingOrderInfo.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/web/PageURLController.class" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/web/PageURLController.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/web/monitoroperation/WorkingOrderCreateController.class" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/web/monitoroperation/WorkingOrderCreateController.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/XcdWorkingOrderInfo.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/XcdWorkingOrderInfo.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/PageURLController.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/PageURLController.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderCreateController.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderCreateController.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderManageControll.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderManageControll.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/layouts/header.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/layouts/header.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/XCD_RelStatus.tag" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/XCD_RelStatus.tag" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/ModelManage/ModelResult.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/ModelManage/ModelResult.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderCreate.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderCreate.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WarnAnalysis.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WarnAnalysis.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WarnAnalysisDetail.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WarnAnalysisDetail.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskListTable.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskListTable.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/static/js/modelResultDetailTable.js" afterPath="$PROJECT_DIR$/src/main/webapp/static/js/modelResultDetailTable.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/static/js/xcdWarningTable.js" afterPath="$PROJECT_DIR$/src/main/webapp/static/js/xcdWarningTable.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderReasult.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderReasult.jsp" />
</list>
<ignored path="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
......@@ -34,20 +36,14 @@
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="WorkingOrderManage.jsp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp">
<file leaf-file-name="InsideXcd.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcd.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="386">
<caret line="1244" column="77" lean-forward="false" selection-start-line="1244" selection-start-column="59" selection-end-line="1244" selection-end-column="77" />
<state relative-caret-position="16">
<caret line="32" column="52" lean-forward="false" selection-start-line="32" selection-start-column="25" selection-end-line="32" selection-end-column="52" />
<folding>
<element signature="e#53244#53432#0#HTML" expanded="false" />
<element signature="e#53475#53674#0#HTML" expanded="false" />
<element signature="e#53717#53915#0#HTML" expanded="false" />
<element signature="e#53958#54162#0#HTML" expanded="false" />
<element signature="e#54182#54239#0#HTML" expanded="false" />
<marker date="1509280248843" expanded="true" signature="41326:41384" ph="..." />
<marker date="1509280248843" expanded="true" signature="47047:47103" ph="..." />
<marker date="1509280248843" expanded="true" signature="47326:47337" ph="..." />
<element signature="n#!!doc" expanded="true" />
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
......@@ -57,42 +53,157 @@
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderCreate.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="319" column="91" lean-forward="false" selection-start-line="319" selection-start-column="81" selection-end-line="319" selection-end-column="91" />
<caret line="305" column="91" lean-forward="false" selection-start-line="305" selection-start-column="73" selection-end-line="305" selection-end-column="91" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="WorkingOrderCreateController.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderCreateController.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="241">
<caret line="337" column="44" lean-forward="false" selection-start-line="337" selection-start-column="44" selection-end-line="337" selection-end-column="44" />
<folding>
<element signature="n#style#0;n#a#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="e#22919#22927#0" expanded="true" />
<element signature="e#25229#25237#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="WorkingOrderCreateController.java" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderCreateController.java">
<file leaf-file-name="GjfxWarningInfoDao.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/GjfxWarningInfoDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="304">
<caret line="80" column="67" lean-forward="false" selection-start-line="80" selection-start-column="52" selection-end-line="80" selection-end-column="67" />
<folding>
<marker date="1486961122000" expanded="true" signature="5360:6184" ph="select to_ch... " />
<marker date="1486961122000" expanded="true" signature="6258:7254" ph="select to_ch... " />
<marker date="1486961122000" expanded="true" signature="7825:8319" ph="select DATE_... " />
<marker date="1486961122000" expanded="true" signature="8408:9406" ph="select DATE_... " />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="XcdWorkingOrderInfoDao.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/XcdWorkingOrderInfoDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194">
<caret line="28" column="83" lean-forward="false" selection-start-line="28" selection-start-column="83" selection-end-line="28" selection-end-column="83" />
<folding>
<marker date="1486961122000" expanded="true" signature="5458:5690" ph="select worki... xcd_working_order_info_t" />
<marker date="1486961122000" expanded="true" signature="5603:5689" ph="select relev... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="5842:10196" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="5939:6897" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="6036:6709" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="6198:6703" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="6358:6448" ph="select kpi_i... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="6718:6860" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="6908:7881" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="7005:7694" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="7167:7688" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="7327:7422" ph="select busin... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="7702:7844" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="7892:9009" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="7991:8822" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="8154:8816" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="8405:8522" ph="select kpi_i... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="8830:8972" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="9020:10160" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="9119:9975" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="9282:9969" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="9553:9674" ph="select busin... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="9983:10123" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="11027:12741" ph="select disti... working_order_code" />
<marker date="1486961122000" expanded="true" signature="11135:12706" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="11240:12518" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="11406:12512" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="11844:11956" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="12525:12669" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="12915:13001" ph="update XCD_W... " />
<marker date="1486961122000" expanded="true" signature="13145:13210" ph="delete from " />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="XcdWorkingOrderInfoService.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/monitoroperation/XcdWorkingOrderInfoService.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="135">
<caret line="774" column="40" lean-forward="true" selection-start-line="774" selection-start-column="40" selection-end-line="774" selection-end-column="40" />
<state relative-caret-position="175">
<caret line="159" column="49" lean-forward="true" selection-start-line="159" selection-start-column="49" selection-end-line="159" selection-end-column="49" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="XcdWorkingOrderInfo.java" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/XcdWorkingOrderInfo.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="66">
<caret line="69" column="4" lean-forward="true" selection-start-line="69" selection-start-column="4" selection-end-line="69" selection-end-column="4" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="InsideXcd.jsp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/InsideXcd.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="311">
<caret line="163" column="56" lean-forward="false" selection-start-line="163" selection-start-column="41" selection-end-line="163" selection-end-column="56" />
<folding>
<element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="false" />
<marker date="1509529535732" expanded="true" signature="26866:26922" ph="..." />
<marker date="1509529535732" expanded="true" signature="27145:27156" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="insideXcdWarningTable.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/insideXcdWarningTable.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="138" column="0" lean-forward="false" selection-start-line="138" selection-start-column="0" selection-end-line="138" selection-end-column="0" />
<folding>
<marker date="1509530101705" expanded="true" signature="11623:11635" ph="..." />
<marker date="1509530101705" expanded="true" signature="17440:17450" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="WorkingOrderReasult.jsp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderReasult.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="354">
<caret line="143" column="31" lean-forward="false" selection-start-line="143" selection-start-column="31" selection-end-line="143" selection-end-column="31" />
<folding>
<element signature="e#1410#4756#0#HTML" expanded="false" />
<element signature="n#div#0;n#div#1;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="false" />
<element signature="n#div#1;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="false" />
<element signature="n#style#0;n#input#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#1;n#div#1;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#script#0;n#body#0;n#html#0;n#!!top" expanded="false" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Jsp File" />
<option value="Class" />
</list>
</option>
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>warningSourceId</find>
<find>dialog</find>
<find>opendialog</find>
<find>&lt;hr&gt;</find>
<find>\n</find>
<find>\</find>
<find>openDialog</find>
<find>$(&quot;#create&quot;).attr(&quot;disabled&quot;, false);</find>
<find>$(&quot;#preview&quot;).attr(&quot;disabled&quot;, true);</find>
<find>事件所属系统类型</find>
<find>$(&quot;#create&quot;).attr(&quot;disabled&quot;, true);</find>
<find>生成协查单</find>
<find>createWorkingDetail</find>
<find>create</find>
<find>xcdWarningJsonId</find>
<find>open</find>
<find>ids</find>
......@@ -101,14 +212,28 @@
<find>checkRel</find>
<find>relStatus</find>
<find>投诉文本分析</find>
<find>preview</find>
<find>warningIdTwo</find>
<find>WorkingOrderCreate</find>
<find>export</find>
<find>home</find>
<find>exportWord</find>
<find>alarm</find>
<find>home</find>
<find>home/pentaho/pic</find>
<find>WorkingOrderCreate</find>
<find>msgA</find>
<find>alarmMsgArr</find>
<find>alarmMsg</find>
<find>export</find>
<find>WorkingOrderManage</find>
<find>location</find>
<find>back</find>
<find>preview</find>
<find>toggleMenu</find>
<find>slidePushMenus2</find>
<find>xcdFindTable</find>
<find>xcdJsonId</find>
<find>modelIds</find>
<find>confirmId</find>
<find>saveXcdWorkingOrderInfo</find>
<find>create</find>
</findStrings>
</component>
<component name="Git.Settings">
......@@ -134,9 +259,17 @@
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/Model_DataType" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/ModelManage/ModelResult.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskListTable.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/layouts/header.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderCreateController.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WarnAnalysis.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WarnAnalysisDetail.jsp" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/PageURLController.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcd.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/layouts/header.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderReasult.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/InsideXcd.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/static/js/insideXcdWarningTable.js" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/XcdWorkingOrderInfo.java" />
</list>
</option>
</component>
......@@ -154,10 +287,10 @@
<option name="CUSTOM_FILTER" />
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="-4" />
<option name="y" value="-6" />
<option name="width" value="1376" />
<option name="height" value="780" />
<option name="x" value="-8" />
<option name="y" value="-8" />
<option name="width" value="1370" />
<option name="height" value="744" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectView">
......@@ -175,8 +308,9 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="PackagesPane" />
<pane id="Scope" />
<pane id="AndroidView" />
<pane id="PackagesPane" />
<pane id="Scratches" />
<pane id="ProjectPane">
<subPane>
......@@ -209,6 +343,23 @@
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="webapp" type="462c0819:PsiDirectoryNode" />
<item name="static" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="trunk" type="b2602c69:ProjectViewProjectNode" />
<item name="trunk" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="webapp" type="462c0819:PsiDirectoryNode" />
<item name="static" type="462c0819:PsiDirectoryNode" />
<item name="js" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="trunk" type="b2602c69:ProjectViewProjectNode" />
<item name="trunk" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="webapp" type="462c0819:PsiDirectoryNode" />
<item name="WEB-INF" type="462c0819:PsiDirectoryNode" />
</path>
<path>
......@@ -234,7 +385,6 @@
<select />
</subPane>
</pane>
<pane id="AndroidView" />
</panes>
</component>
<component name="PropertiesComponent">
......@@ -243,9 +393,15 @@
<property name="project.structure.last.edited" value="Artifacts" />
<property name="project.structure.proportion" value="0.15" />
<property name="project.structure.side.proportion" value="0.2" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="settings.editor.selected.configurable" value="reference.settingsdialog.IDE.editor.colors.Color Scheme Font" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../../../大屏后台/cm/IntegratedOperationPlatformBackStage" />
<property name="settings.editor.selected.configurable" value="fileTemplates" />
<property name="ignore_missing_gitignore" value="true" />
<property name="SearchEverywhereHistoryKey" value="hea&#9;FILE&#9;file://D:/代码/智能分析平台/CmszMonitorAnalysis/trunk/src/main/webapp/WEB-INF/layouts/header.jsp" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="D:\代码\智能分析平台\CmszMonitorAnalysis\trunk\src\main\webapp\static\js" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
......@@ -457,7 +613,10 @@
<workItem from="1508377544056" duration="24000" />
<workItem from="1508899490498" duration="11000" />
<workItem from="1508984208384" duration="3899000" />
<workItem from="1509068199920" duration="12642000" />
<workItem from="1509068199920" duration="13385000" />
<workItem from="1509348249358" duration="1710000" />
<workItem from="1509499604530" duration="8139000" />
<workItem from="1509520276635" duration="10658000" />
</task>
<task id="LOCAL-00001" summary="first commit">
<created>1507828551888</created>
......@@ -487,48 +646,55 @@
<option name="project" value="LOCAL" />
<updated>1508309038723</updated>
</task>
<option name="localTasksCounter" value="5" />
<task id="LOCAL-00005" summary="2017年10月29提交内容&#10; --实现预警与隐患维护的协查单预览与下发">
<created>1509281491763</created>
<option name="number" value="00005" />
<option name="presentableId" value="LOCAL-00005" />
<option name="project" value="LOCAL" />
<updated>1509281491763</updated>
</task>
<option name="localTasksCounter" value="6" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="71862000" />
<option name="totallyTimeSpent" value="93112000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1616" height="876" extended-state="6" />
<frame x="-8" y="-8" width="1380" height="744" extended-state="6" />
<layout>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32730263" sideWeight="0.50454545" order="13" side_tool="true" content_ui="tabs" />
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="24" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.58388156" sideWeight="0.5060606" order="8" side_tool="true" content_ui="tabs" />
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="15" side_tool="false" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="IvyIDEA" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="16" side_tool="false" content_ui="tabs" />
<window_info id="IvyIDEA" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39901477" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32837838" sideWeight="0.5" order="17" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39901477" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32730263" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
<window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="14" side_tool="false" content_ui="tabs" />
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.42837837" sideWeight="0.4969697" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32730263" sideWeight="0.49545455" order="18" side_tool="false" content_ui="tabs" />
<window_info id="Spring" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="20" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="22" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.33354756" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.46381578" sideWeight="0.4939394" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39802632" sideWeight="0.49545455" order="12" side_tool="false" content_ui="tabs" />
<window_info id="Spring" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="13" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="14" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.17121212" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Bean Validation" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32954547" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32954547" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="true" content_ui="tabs" />
<window_info id="SVN Repositories" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="true" content_ui="tabs" />
<window_info id="SVN Repositories" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
</layout>
</component>
......@@ -579,7 +745,8 @@
<option name="CHECK_NEW_TODO" value="false" />
<MESSAGE value="first commit" />
<MESSAGE value="2017年10月18日提交记录&#10;--预警与隐患维护页面列表上方增加结果预览按钮&#10;--告警详细页面用列表的方式展示选中的多个协查单信息&#10;--告警详细页面给每个协查单添加告警描述,可编辑&#10;--生成协查单页面增加生成内部协查单按钮(功能未实现)" />
<option name="LAST_COMMIT_MESSAGE" value="2017年10月18日提交记录&#10;--预警与隐患维护页面列表上方增加结果预览按钮&#10;--告警详细页面用列表的方式展示选中的多个协查单信息&#10;--告警详细页面给每个协查单添加告警描述,可编辑&#10;--生成协查单页面增加生成内部协查单按钮(功能未实现)" />
<MESSAGE value="2017年10月29提交内容&#10; --实现预警与隐患维护的协查单预览与下发" />
<option name="LAST_COMMIT_MESSAGE" value="2017年10月29提交内容&#10; --实现预警与隐患维护的协查单预览与下发" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
......@@ -608,97 +775,6 @@
</buildFile>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/TSWBAnalysisHome.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="30" column="101" lean-forward="false" selection-start-line="30" selection-start-column="89" selection-end-line="30" selection-end-column="101" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/TswbYzTemplate.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330">
<caret line="54" column="64" lean-forward="false" selection-start-line="54" selection-start-column="64" selection-end-line="54" selection-end-column="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/TswbYzDetail.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="264">
<caret line="28" column="21" lean-forward="false" selection-start-line="28" selection-start-column="21" selection-end-line="28" selection-end-column="21" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/TswbFocusDataTable.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="473">
<caret line="32" column="29" lean-forward="false" selection-start-line="32" selection-start-column="29" selection-end-line="32" selection-end-column="29" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/TSWB_YZFocusData.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="141">
<caret line="9" column="0" lean-forward="true" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/TSWB_YZFocusDataDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="12" column="27" lean-forward="false" selection-start-line="12" selection-start-column="27" selection-end-line="12" selection-end-column="27" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/TSWBAnalysisService.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2178">
<caret line="119" column="47" lean-forward="false" selection-start-line="119" selection-start-column="47" selection-end-line="119" selection-end-column="47" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/error/500.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="171">
<caret line="16" column="7" lean-forward="true" selection-start-line="16" selection-start-column="7" selection-end-line="16" selection-end-column="7" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/TswbYzfocus.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="946">
<caret line="43" column="34" lean-forward="false" selection-start-line="43" selection-start-column="34" selection-end-line="43" selection-end-column="34" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/TswbYzFocusDataTable.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<caret line="23" column="57" lean-forward="false" selection-start-line="23" selection-start-column="57" selection-end-line="23" selection-end-column="57" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/TSWBAnalysisController.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<caret line="191" column="0" lean-forward="false" selection-start-line="191" selection-start-column="0" selection-end-line="191" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/pom.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="88">
<caret line="4" column="35" lean-forward="false" selection-start-line="4" selection-start-column="16" selection-end-line="4" selection-end-column="35" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/commons/filter/SSOFilter.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<caret line="47" column="5" lean-forward="false" selection-start-line="47" selection-start-column="5" selection-end-line="47" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/RiskEarlyWarning.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="172">
......@@ -727,13 +803,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/monitoroperation/XcdWorkingOrderInfoService.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<caret line="50" column="26" lean-forward="false" selection-start-line="50" selection-start-column="26" selection-end-line="50" selection-end-column="26" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.classpath">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
......@@ -776,13 +845,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderDetail.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-858">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/gson-2.2.4.jar!/com/google/gson/Gson.class">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194">
......@@ -804,13 +866,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/GjfxWarningInfoDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194">
<caret line="71" column="30" lean-forward="false" selection-start-line="71" selection-start-column="30" selection-end-line="71" selection-end-column="30" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="107">
......@@ -818,19 +873,10 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderManageControll.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2386">
<caret line="398" column="62" lean-forward="false" selection-start-line="398" selection-start-column="62" selection-end-line="398" selection-end-column="62" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/XCD_RelStatus.tag">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="8" column="32" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="31" selection-end-column="9" />
<folding />
</state>
</provider>
</entry>
......@@ -845,7 +891,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -853,7 +898,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="132">
<caret line="6" column="11" lean-forward="true" selection-start-line="6" selection-start-column="11" selection-end-line="6" selection-end-column="11" />
<folding />
</state>
</provider>
</entry>
......@@ -861,7 +905,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="19" selection-end-column="9" />
<folding />
</state>
</provider>
</entry>
......@@ -869,7 +912,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="46" column="51" lean-forward="true" selection-start-line="46" selection-start-column="51" selection-end-line="46" selection-end-column="51" />
<folding />
</state>
</provider>
</entry>
......@@ -877,7 +919,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<caret line="10" column="17" lean-forward="true" selection-start-line="10" selection-start-column="17" selection-end-line="10" selection-end-column="17" />
<folding />
</state>
</provider>
</entry>
......@@ -885,10 +926,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1188">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<marker date="1486961647819" expanded="true" signature="9495:9501" ph="&amp;nbsp;" />
<marker date="1486961647819" expanded="true" signature="9501:9507" ph="&amp;nbsp;" />
</folding>
</state>
</provider>
</entry>
......@@ -903,7 +940,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1986">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -925,7 +961,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-198">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -936,67 +971,265 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/commons/utils/ExportWordUtil.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-598">
<caret line="280" column="23" lean-forward="false" selection-start-line="280" selection-start-column="23" selection-end-line="280" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderManageControll.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<caret line="163" column="52" lean-forward="false" selection-start-line="163" selection-start-column="34" selection-end-line="163" selection-end-column="52" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WarnAnalysis.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="41" column="91" lean-forward="true" selection-start-line="41" selection-start-column="41" selection-end-line="41" selection-end-column="91" />
<folding>
<marker date="1509527058211" expanded="true" signature="12232:12257" ph="..." />
<marker date="1509527058211" expanded="true" signature="40404:40452" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WarnAnalysisDetail.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="52" column="48" lean-forward="true" selection-start-line="52" selection-start-column="48" selection-end-line="52" selection-end-column="48" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/PageURLController.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="242">
<caret line="131" column="34" lean-forward="false" selection-start-line="131" selection-start-column="25" selection-end-line="131" selection-end-column="34" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/layouts/header.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="282">
<caret line="145" column="34" lean-forward="false" selection-start-line="145" selection-start-column="34" selection-end-line="145" selection-end-column="34" />
<state relative-caret-position="238">
<caret line="143" column="75" lean-forward="false" selection-start-line="143" selection-start-column="75" selection-end-line="143" selection-end-column="75" />
<folding>
<marker date="1508987890292" expanded="true" signature="20616:20640" ph="..." />
<marker date="1508987890292" expanded="true" signature="20853:20867" ph="..." />
<marker date="1508987890292" expanded="true" signature="21134:21148" ph="..." />
<marker date="1508987890292" expanded="true" signature="21417:21431" ph="..." />
<marker date="1508987890292" expanded="true" signature="21589:21606" ph="..." />
<marker date="1509527903527" expanded="true" signature="20637:20661" ph="..." />
<marker date="1509527903527" expanded="true" signature="20874:20888" ph="..." />
<marker date="1509527903527" expanded="true" signature="21155:21169" ph="..." />
<marker date="1509527903527" expanded="true" signature="21438:21452" ph="..." />
<marker date="1509527903527" expanded="true" signature="21610:21627" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/index.jsp">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<state relative-caret-position="269">
<caret line="533" column="0" lean-forward="true" selection-start-line="533" selection-start-column="0" selection-end-line="533" selection-end-column="0" />
<folding>
<element signature="e#1740#18408#0#HTML" expanded="false" />
<element signature="e#16534#18294#0#HTML" expanded="false" />
<element signature="e#18716#19810#0#HTML" expanded="false" />
<marker date="1509527058360" expanded="true" signature="41550:41608" ph="..." />
<marker date="1509527058360" expanded="true" signature="47271:47327" ph="..." />
<marker date="1509527058360" expanded="true" signature="47550:47561" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/commonutils.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="186">
<caret line="29" column="11" lean-forward="false" selection-start-line="29" selection-start-column="11" selection-end-line="29" selection-end-column="11" />
<folding>
<marker date="1486961690000" expanded="true" signature="6595:6607" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderDetail.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-3564">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<marker date="1505461372749" expanded="true" signature="24226:24239" ph="..." />
<marker date="1505461372749" expanded="true" signature="26170:26183" ph="..." />
<marker date="1505461372749" expanded="true" signature="30315:30373" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderUpdate.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-5874">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderCreate.jsp">
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/xcdResultTable.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="319" column="91" lean-forward="false" selection-start-line="319" selection-start-column="81" selection-end-line="319" selection-end-column="91" />
<state relative-caret-position="304">
<caret line="144" column="33" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="564" selection-end-column="0" />
<folding>
<element signature="n#style#0;n#a#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
<marker date="1486961690000" expanded="true" signature="10426:10438" ph="..." />
<marker date="1486961690000" expanded="true" signature="14908:14918" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp">
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/insideXcdWarningTable.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="386">
<caret line="1244" column="77" lean-forward="false" selection-start-line="1244" selection-start-column="59" selection-end-line="1244" selection-end-column="77" />
<state relative-caret-position="153">
<caret line="138" column="0" lean-forward="false" selection-start-line="138" selection-start-column="0" selection-end-line="138" selection-end-column="0" />
<folding>
<element signature="e#53244#53432#0#HTML" expanded="false" />
<element signature="e#53475#53674#0#HTML" expanded="false" />
<element signature="e#53717#53915#0#HTML" expanded="false" />
<element signature="e#53958#54162#0#HTML" expanded="false" />
<element signature="e#54182#54239#0#HTML" expanded="false" />
<marker date="1509280248843" expanded="true" signature="41326:41384" ph="..." />
<marker date="1509280248843" expanded="true" signature="47047:47103" ph="..." />
<marker date="1509280248843" expanded="true" signature="47326:47337" ph="..." />
<marker date="1509530101705" expanded="true" signature="11623:11635" ph="..." />
<marker date="1509530101705" expanded="true" signature="17440:17450" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/commons/utils/ExportWordUtil.java">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderReasult.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-554">
<caret line="280" column="23" lean-forward="false" selection-start-line="280" selection-start-column="23" selection-end-line="280" selection-end-column="23" />
<state relative-caret-position="354">
<caret line="143" column="31" lean-forward="false" selection-start-line="143" selection-start-column="31" selection-end-line="143" selection-end-column="31" />
<folding>
<element signature="e#1410#4756#0#HTML" expanded="false" />
<element signature="n#div#0;n#div#1;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="false" />
<element signature="n#div#1;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="false" />
<element signature="n#style#0;n#input#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#1;n#div#1;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#script#0;n#body#0;n#html#0;n#!!top" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/InsideXcd.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="311">
<caret line="163" column="56" lean-forward="false" selection-start-line="163" selection-start-column="41" selection-end-line="163" selection-end-column="56" />
<folding>
<element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#div#2;n#body#0;n#html#0;n#!!top" expanded="false" />
<marker date="1509529535732" expanded="true" signature="26866:26922" ph="..." />
<marker date="1509529535732" expanded="true" signature="27145:27156" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcd.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="16">
<caret line="32" column="52" lean-forward="false" selection-start-line="32" selection-start-column="25" selection-end-line="32" selection-end-column="52" />
<folding>
<element signature="n#!!doc" expanded="true" />
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/spring-data-commons-1.5.1.RELEASE.jar!/org/springframework/data/repository/CrudRepository.class">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="8" column="20" lean-forward="false" selection-start-line="8" selection-start-column="20" selection-end-line="8" selection-end-column="20" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/XcdWorkingOrderInfoDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194">
<caret line="28" column="83" lean-forward="false" selection-start-line="28" selection-start-column="83" selection-end-line="28" selection-end-column="83" />
<folding>
<marker date="1486961122000" expanded="true" signature="5458:5690" ph="select worki... xcd_working_order_info_t" />
<marker date="1486961122000" expanded="true" signature="5603:5689" ph="select relev... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="5842:10196" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="5939:6897" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="6036:6709" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="6198:6703" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="6358:6448" ph="select kpi_i... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="6718:6860" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="6908:7881" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="7005:7694" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="7167:7688" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="7327:7422" ph="select busin... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="7702:7844" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="7892:9009" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="7991:8822" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="8154:8816" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="8405:8522" ph="select kpi_i... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="8830:8972" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="9020:10160" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="9119:9975" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="9282:9969" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="9553:9674" ph="select busin... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="9983:10123" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="11027:12741" ph="select disti... working_order_code" />
<marker date="1486961122000" expanded="true" signature="11135:12706" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="11240:12518" ph="select worki... working_order_code" />
<marker date="1486961122000" expanded="true" signature="11406:12512" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="11844:11956" ph="select disti... gjfx_warning_info_t" />
<marker date="1486961122000" expanded="true" signature="12525:12669" ph="select cast(... dim_system_parameter_info_t" />
<marker date="1486961122000" expanded="true" signature="12915:13001" ph="update XCD_W... " />
<marker date="1486961122000" expanded="true" signature="13145:13210" ph="delete from " />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderCreate.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="305" column="91" lean-forward="false" selection-start-line="305" selection-start-column="73" selection-end-line="305" selection-end-column="91" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/GjfxWarningInfoDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="304">
<caret line="80" column="67" lean-forward="false" selection-start-line="80" selection-start-column="52" selection-end-line="80" selection-end-column="67" />
<folding>
<marker date="1486961122000" expanded="true" signature="5360:6184" ph="select to_ch... " />
<marker date="1486961122000" expanded="true" signature="6258:7254" ph="select to_ch... " />
<marker date="1486961122000" expanded="true" signature="7825:8319" ph="select DATE_... " />
<marker date="1486961122000" expanded="true" signature="8408:9406" ph="select DATE_... " />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/monitoroperation/XcdWorkingOrderInfoService.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="159" column="49" lean-forward="true" selection-start-line="159" selection-start-column="49" selection-end-line="159" selection-end-column="49" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderCreateController.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="135">
<caret line="774" column="40" lean-forward="true" selection-start-line="774" selection-start-column="40" selection-end-line="774" selection-end-column="40" />
<state relative-caret-position="241">
<caret line="337" column="44" lean-forward="false" selection-start-line="337" selection-start-column="44" selection-end-line="337" selection-end-column="44" />
<folding>
<element signature="e#22919#22927#0" expanded="true" />
<element signature="e#25229#25237#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/XcdWorkingOrderInfo.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="66">
<caret line="69" column="4" lean-forward="true" selection-start-line="69" selection-start-column="4" selection-end-line="69" selection-end-column="4" />
<folding />
</state>
</provider>
......
......@@ -79,6 +79,7 @@ public class XcdWorkingOrderInfo implements Serializable{
public Long getWorkingOrderId() {
return workingOrderId;
}
public void setWorkingOrderId(Long workingOrderId) {
this.workingOrderId = workingOrderId;
}
......
......@@ -125,6 +125,16 @@ public class PageURLController {
//监控运营下的协查单管理
//WorkingOrderManage映射到WEB-INF/views下的MonitorOperation/WorkingOrderUpdate.jsp页面
public static String WorkingOrderUpdate="MonitorOperation/WorkingOrderUpdate";
//监控运营下的内部协查单管理
//WorkingOrderManage映射到WEB-INF/views下的MonitorOperation/WorkingOrderUpdate.jsp页面
public static String InsideXcd="MonitorOperation/InsideXcd";
//配置项分析
//PzxAnalysis映射到WEB-INF/views下的AnalysisSupport/PzxAnalysis.jsp页面
public static String PzxAnalysis="AnalysisSupport/PzxAnalysis";
......
/**
* Created by IntelliJ IDEA.
*User: afe
*Date: 2017/11/1
*Time: 17:06
*/
package com.hp.cmsz.web.monitoroperation;
import javax.servlet.ServletRequest;
import javax.servlet.http.HttpSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import com.hp.cmsz.web.PageURLController;
import java.util.Map;
/**
* WorkingOrderCreateControll类负责对协查单生成页面进行控制
*
* @author afe
*
*/
@Controller
@RequestMapping(value = "/MonitorOperation/InsideXcd")
public class InsideXcd {
private static Logger logger = LoggerFactory.getLogger(WorkingOrderCreateController.class);
//内部协查单列表页面
@RequestMapping(method = RequestMethod.GET)
public String WorkingOrderCreate( Map model,
ServletRequest request, HttpSession session) {
return PageURLController.InsideXcd;
}
}
......@@ -142,8 +142,13 @@ public class WorkingOrderCreateController {
@RequestMapping(method = RequestMethod.GET)
public String WorkingOrderCreate(@RequestParam(value = "warningId") String warningIds,@RequestParam(value = "msg") String msg, Map model,
ServletRequest request, HttpSession session) {
// System.out.println(warningIds.split(",").length);
alarmMsg = msg;
warningIdTwo = warningIds;
String[] warningid = warningIds.split(",");
List<String> wid = changeStrToList(warningid);
List<XcdWarningInfoView> xcdwarningdeattilinfo = xcdWarningInfoViewDao.findByWarningIdIn(wid);
......@@ -699,9 +704,13 @@ public class WorkingOrderCreateController {
int year = cal.get(Calendar.YEAR);//获取年份
int month = cal.get(Calendar.MONTH) + 1;//获取月份
System.out.println("@@@@@@@@@@@@@@@@@@@@"+alarmMsg);
String [] alarmMsgArr = alarmMsg.split("|");
String [] alarmMsgArr = alarmMsg.split(",");
String[] warningids = warningIdTwo.split(",|,");
System.out.println(alarmMsgArr.length);
List<String> ids = changeStrToList(warningids);
List<XcdWarningInfoView> xcdWarningInfoViews = xcdWarningInfoViewDao.findByWarningIdIn(ids);
......@@ -896,12 +905,60 @@ public class WorkingOrderCreateController {
wordMLPackage.getMainDocumentPart().addObject(p1);
//create by afe 01/11/2017 --添加告警描述↓
System.out.println(alarmMsgArr[i]);
P p3 = factory.createP();//创建段落P
// 创建默认的段落属性,并加入到段落对象中去
p3.setPPr(ppr);//段落属性PPr添加到P
R run12 = factory.createR();//创建文本段R
Text t12 = factory.createText();//创建文本段内容Text
t12.setValue("告警描述:");
run12.getRunContent().add(t12);//Text添加到R
run12.setRPr(rpr);//设置文本段R属性
p3.getParagraphContent().add(run12);//R添加到P
R run13 = factory.createR();//创建文本段R
Text t13 = factory.createText();//创建文本段内容Text
System.out.println(alarmMsgArr[i]);
//如果alarmsMsg是$占位符 就默认为空
if("$".equals(alarmMsgArr[i])){
t13.setValue(""); //告警描述
}else{
t13.setValue(alarmMsgArr[i]); //告警描述
}
run13.getRunContent().add(t13);//Text添加到R
run13.setRPr(rpr1);//设置文本段R属性
p3.getParagraphContent().add(run13);//R添加到P
wordMLPackage.getMainDocumentPart().addObject(p3);
//create by afe 01/11/2017 --添加告警描述↑
P p2 = factory.createP();//创建段落P
// 创建默认的段落属性,并加入到段落对象中去
p2.setPPr(ppr);//段落属性PPr添加到P
R run10 = factory.createR();//创建文本段R
Text t10 = factory.createText();//创建文本段内容Text
t10.setValue("涉及品牌:");
run10.getRunContent().add(t10);//Text添加到R
run10.setRPr(rpr);//设置文本段R属性
......@@ -977,19 +1034,24 @@ public class WorkingOrderCreateController {
for (int n = 0; n < solutions.size(); n++) {
if (solutions.get(n) != null) {
Object[] o = solutions.get(n);
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100, String.valueOf(n + 1) + "> "
+ (String) o[0], true, 22, "000000");
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100,
String.valueOf(n + 1) + "> " + (String) o[0], true, 22,
"000000");
// ExportWordUtil.addLineBreak(wordMLPackage,factory);//换行
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100, "协查单:" + (String) o[1], false,
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100,
"协查单:" + (String) o[1], false,
22, "000000");
// ExportWordUtil.addLineBreak(wordMLPackage,factory);
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100,
"时间:" + formatDate.format(o[2]), false, 22, "000000");
// ExportWordUtil.addLineBreak(wordMLPackage,factory);
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100, "详细原因:" + (String) o[3],
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100,
"详细原因:" + (String) o[3],
false, 22, "000000");
// ExportWordUtil.addLineBreak(wordMLPackage,factory);
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100, "建议解决方案:" + (String) o[4],
ExportWordUtil.setParaContent(wordMLPackage, factory, "Normal", 93, 100,
"建议解决方案:" + (String) o[4],
false, 22, "000000");
}
}
......
......@@ -140,8 +140,8 @@
<li><a href="${ctx}/MonitorOperation/WorkingOrderManage">预警和隐患维护</a></li>
<li><a href="${ctx}/MonitorOperation/WarnAnalysis">告警统计</a></li>
<li><a href="${ctx}/MonitorOperation/WarnAnalysisDetail">告警明细</a></li>
<%--create by hubin 2017-10-26 功能未实现 --%>
<li><a href="${ctx}/">内部协查单管理</a></li>
<%--create by hubin 2017-10-26 --%>
<li><a href="${ctx}/MonitorOperation/InsideXcd">内部协查单管理</a></li>
</ul>
</li>
......
<%--
Created by IntelliJ IDEA.
User: afe
Date: 2017/11/1
Time: 16:52
To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!-- add by wang feng -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>监控运营</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/css/demo.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/css/component.css" />
<script type="text/javascript" src="${ctx}/static/js/insideXcdWarningTable.js"></script>
<script src="${ctx}/static/js/modernizr.custom.js"></script>
<script type="text/javascript" src="${ctx}/static/js/classie.js"></script>
<script src="${ctx}/static/artDialog4.1.7/artDialog.source.js?skin=default"></script>
<script src="${ctx}/static/artDialog4.1.7/plugins/iframeTools.source.js"></script>
<script type = "text/javascript">
$(function(){
xcdFindTable();
//初始化
});
</script>
</head>
<body>
<div id="sticky-wrap"> </div>
<div>
<div class="container">
<ol class="breadcrumb">
<li><a href="${ctx}/index">首页</a></li>
<li>监控运营</li>
<li class="active">告警监控</li>
</ol>
</div>
</div>
<div id="main-container main-tab-container">
<div id="content" class="container">
<div class="tab-bar-bt">
<ul class="nav nav-tabs">
<li ><a id="a_home" href="${ctx}/MonitorOperation/WorkingOrderManage">预警和隐患维护</a></li>
<li><a id="a_home1" href="${ctx}/MonitorOperation/WarnAnalysis">告警统计</a> </li>
<li><a id="a_profile" href="${ctx}/MonitorOperation/WarnAnalysisDetail">告警明细</a> </li>
<li class="active"><a id="a_insideXcd" href="#home" data-toggle="tab">内部协查单管理</a> </li>
</ul>
</div>
<div class="section">
<div class="tab-content">
<!-- ------------------------------------------------ 内部协查单查询结果页面 ---------------------------------------------------------------- -->
<div class="tab-pane fade in active" id="home">
<div class="row me-row">
<div id="slidePushMenus" class="cbp-spmenu-push" >
<div class="slideMenu" id="cbp-spmenu-s1" >
<div class="form">
<%-- 筛选项--%>
<tags:GZFX_Period_stats/>
<tags:JCS_datasource_channle/>
<tags:XCD_WarningSource />
<tags:Public_ImportanceLevelTag/>
<tags:GJFX_Provider_Province />
<!-- tag:XCD_IfClosed /> -->
<div id="workingOrderIDDiv" class="slide-menu-option">
<label for="">协查单编号</label>&nbsp;&nbsp;
<input id="workingOrderID" class="form-control" type="text" style="width:250px;" onFocus="">
</div>
<button id="submit2" class="btn btn-primary">提交</button>
<button id="reset" class="btn btn-warning" onclick="Reset()" >重置</button>
</div>
</div>
<div class="main col-xs-12">
<div id="mainm2" class="mainm" ></div>
<div class="content clearfix">
<div class="block clearfix">
<button id="showLeftPush2" class="menu-trigger btn btn-default" onclick="toggleMenu('slidePushMenus')">
<span class="glyphicon glyphicon-list"></span>
</button>
<div class="slide-menu-tags">
<span id="warningSource2" class="label label-info" data-placement="bottom"></span>
<span id="PeriodTag3" class="label label-info" data-placement="bottom"></span>
<span id="ProviderTag" class="label label-info" data-placement="bottom"></span>
<span id="ProvinceTag" class="label label-info" data-placement="bottom"></span>
<span id="DataSourceTag" class="label label-info" data-placement="bottom" ></span>
<span id="ChannelTag3" class="label label-info" data-placement="bottom"></span>
<span id="ImportanceLevelTag" class="label label-info" data-placement="bottom"></span>
<span id="suboriginTag" class="label label-info" data-placement="bottom"></span>
<span id="xcdcodeid" class="label label-info" data-placement="bottom"></span>
<span id="IfClosedTag3" data-placement="bottom">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
</div>
<div class="bt-list-import">
<a href="#" id="upload" class=""> <span
class="glyphicon glyphicon-import"></span> <span
class="glyphicon-class">导出Excel</span> </a>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="table-header">协查单列表
<shiro:hasAnyRoles name="admin,dataAnalysis,businessAnalysis">
<div class="bt-list-import" >
<input type="button" id="updateButton"class="btn btn-primary" style="margin-right:13px;" value="更新协查单" disabled=true onclick="updateWorkingOrder()">
</div>
</shiro:hasAnyRoles>
</div>
<table id="xcdResultTable" class="table table-hover table-striped"></table>
</div>
</div>
<!-- 刷新分页 tags:WorkingOrader_pagination page="${xcdWorkingOrderInfoS}"
paginationSize="${pageSize}" /> -->
</div>
</div>
</div>
</div>
</div>
<form action="#" method="get" id="listForm"></form>
<input type="hidden" id="checkRelXcdJson" value="">
</div>
</div>
</div>
</div>
<script type="text/javascript"> //add by Wang Feng
/*
//筛选控件提交1
function Submit() {
disable();
}
//筛选控件提交2
function Submit2() {
alert(getStatsPeriodStr());
alert(getChannel2CheckedValuesString());
alert(getWarningSource());
alert(getImportantLevel());
alert(getProvince2CheckedValues());
alert(getIfClosed());
disable2();
}
*/
$(function(){
xcdFindWarningTable();
var upLoadExcel="${ctx}/MonitorOperation/WorkingOrderManage/uploadexcel?period="+"-1"
+"&warningSource="+"-1"
+"&risk="+"-1"
+"&dataSource="+"-1"
+"&chnnal="+"-1"
+"&bussines="+"-1"
+"&provider="+"-1"
+"&level="+"-1"
+"&province="+"-1"
+"&status="+"-1"
+"&relStatus="+"-1"
+"&code="+"-1";
$("#submit").click(function(){
var inputs = document.getElementById("xcdWarningTable").getElementsByTagName("input");
for(var i = 0; i < inputs.length; i++) {
if (inputs[i].type === 'checkbox') {
inputs[i].checked=false;
}
}
ids.splice(0,ids.length);
if (ids.length > 0) {
$("#preview").attr("disabled", false);
$("#create").attr("disabled", false);
$("#closeButton").attr("disabled", false);
$("#confirmButton").attr("disabled", false);
} else {
$("#preview").attr("disabled", true);
$("#create").attr("disabled", true);
$("#closeButton").attr("disabled", true);
$("#confirmButton").attr("disabled", true);
}
var period=getPeriodStr();
var warningSource=getWarningSourceIds();
var risk=getRiskEarlyWarningTypeIds();
var dataSource=getStatsDataSourceCheckedValuesString();
var chnnal=getStatsChannelCheckedValuesString();
var bussines=getStatsBusinessCheckedValuesString();
var provider=getStatsProviderCheckedValuesString();
var level=getImportanceLevelCheckedValuesString();
var province=getProvinceCheckedValuesString();
var status=getCloseStaus();
var relStatus=getRelStatus();
var code=$.trim(document.getElementById("workingOrderID").value);
var earlyWarnId = $.trim(document.getElementById("earlyWarningID").value);
if(code==="" && earlyWarnId===""){
if(dataSource==""){
$.alert("数据来源的选择不能为空");
}else if(chnnal===""){
$.alert("渠道的选择不能为空");
}else if(bussines===""){
$.alert("业务的选择不能为空");
}else if(provider===""){
$.alert("集成商的选择不能为空");
}else if(level===""){
$.alert("告警级别的选择不能为空");
}else if(province===""){
$.alert("省份的选择不能为空");
}else{
toggleMenu('slidePushMenus');//隐藏筛选项
//时间标签
$('#PeriodTag').text("时间范围").attr('data-original-title',getPeriodStr()).tooltip();
//数据来源标签
$('#DataSourceTag').text("数据来源").append($("<span class='badge'></span>").text(getStatsDataSourceCheckedValues().length)).attr('data-original-title',getStatsDataSourceCheckedTitles()).tooltip();
//渠道标签
$('#ChannelTag').text("渠道").append($("<span class='badge'></span>").text(getStatsChannelCheckedValues().length)).attr('data-original-title',getStatsChannelCheckedTitles()).tooltip();
//业务标签
$('#BusinessTag').text("业务").append($("<span class='badge'></span>").text(getStatsBusinessCheckedValues().length)).attr('data-original-title',getStatsBusinessCheckedTitlesString()).tooltip();
//集成商标签
$('#ProviderTag').text("集成商").append($("<span class='badge'></span>").text(getStatsProviderCheckedValues().length)).attr('data-original-title',getStatsProviderCheckedTitles()).tooltip();
//告警级别标签
$('#ImportanceLevelTag').text("告警级别").append($("<span class='badge'></span>").text(getImportanceLevelCheckedValues().length)).attr('data-original-title',getImportanceLevelCheckedTitles()).tooltip();
//省份标签
$('#ProvinceTag').text("省份").append($("<span class='badge'></span>").text(getProvinceCheckedValues().length)).attr('data-original-title',getProvinceCheckedTitles()).tooltip();
//关闭状态
// $("#warningStausTag").text(getCloseStausName());
$('#warningStausTag').text('关闭状态').attr('data-original-title',getCloseStausName()).tooltip();
//告警状态
// $("#relStausTag").text(getRelStatusName());
$('#relStausTag').text('关联状态').attr('data-original-title',getRelStatusName()).tooltip();
href="${ctx}/MonitorOperation/WorkingOrderManage/changeTable?warningSource="+warningSource
// +"&period="+period
+"&risk="+risk
+"&dataSource="+dataSource
+"&chnnal="+chnnal
+"&bussines="+bussines
+"&provider="+provider
+"&level="+level
+"&province="+province
+"&status="+status
+"&relStatus="+relStatus
+"&code="+"0"
+"&earlyWarningId="+"0";
upLoadExcel="${ctx}/MonitorOperation/WorkingOrderManage/uploadexcel?warningSource="+warningSource
+"&period="+period
+"&risk="+risk
+"&dataSource="+dataSource
+"&chnnal="+chnnal
+"&bussines="+bussines
+"&provider="+provider
+"&level="+level
+"&province="+province
+"&status="+status
+"&relStatus="+relStatus
+"&code="+"0"
+"&earlyWarningId="+"0";
$.ajax({
type : 'POST',
contentType : 'application/json',
url: encodeURI(encodeURI(href))+"&period="+period,
dataType : 'text',
beforeSend: function(data) {
},
success: function(data) {
$("#xcdWarningJsonId").val(data);
xcdFindWarningTable();
}
});
}
}else{
if(code!=="" && earlyWarnId===""){
$("#PeriodTag").empty();
$("#workingOrderIDTag").text(code);
href="${ctx}/MonitorOperation/WorkingOrderManage/changeTable?warningSource="+warningSource
// +"&period="+period
+"&risk="+risk
+"&dataSource="+dataSource
+"&chnnal="+chnnal
+"&bussines="+bussines
+"&provider="+provider
+"&level="+level
+"&province="+province
+"&status="+status
+"&relStatus="+relStatus
+"&code="+code
+"&earlyWarningId="+"0";
upLoadExcel="${ctx}/MonitorOperation/WorkingOrderManage/uploadexcel?warningSource="+warningSource
+"&period="+period
+"&warningSource="+warningSource
+"&risk="+risk
+"&dataSource="+dataSource
+"&chnnal="+chnnal
+"&bussines="+bussines
+"&provider="+provider
+"&level="+level
+"&province="+province
+"&status="+status
+"&relStatus="+relStatus
+"&code="+code
+"&earlyWarningId="+"0";
}else{
$("#PeriodTag").empty();
$("#workingOrderIDTag").empty();
$("#earlyWarningIDTag").text(code);
href="${ctx}/MonitorOperation/WorkingOrderManage/changeTable?warningSource="+warningSource
// +"&period="+period
+"&risk="+risk
+"&dataSource="+dataSource
+"&chnnal="+chnnal
+"&bussines="+bussines
+"&provider="+provider
+"&level="+level
+"&province="+province
+"&status="+status
+"&relStatus="+relStatus
+"&code="+"0"
+"&earlyWarningId="+earlyWarnId;
upLoadExcel="${ctx}/MonitorOperation/WorkingOrderManage/uploadexcel?warningSource="+warningSource
+"&period="+period
+"&warningSource="+warningSource
+"&risk="+risk
+"&dataSource="+dataSource
+"&chnnal="+chnnal
+"&bussines="+bussines
+"&provider="+provider
+"&level="+level
+"&province="+province
+"&status="+status
+"&relStatus="+relStatus
+"&code="+"0"
+"&earlyWarningId="+earlyWarnId;
}
$.ajax({
type : 'POST',
contentType : 'application/json',
url: encodeURI(encodeURI(href)+"&period="+period), //日期不需要转码
dataType : 'text',
beforeSend: function(data) {
},
success: function(data) {
$("#xcdWarningJsonId").val(data);
xcdFindWarningTable();
toggleMenu('slidePushMenus');//隐藏筛选项
}
});
}
});
//把预警或隐患列表导出为Excel格式
$("#upload").click(function(){
// if(warlen==0){
// $.alert("查询结果为空,无法导出!");
// }else{
var listForm=$("#listForm");
listForm.attr("method","post");
listForm.attr("action",upLoadExcel);
listForm.submit();
listForm.attr("action","#");
// }
});
//筛选项重置按钮
$("#reset").click(function(){
var $riskEarlyWarningType = $('#riskEarlyWarningType')
$riskEarlyWarningType.empty();
$riskEarlyWarningType.append("<option value='1,2,3,4,5,6,7,8' selected><a href='#'>全部</a></option>");
$('#warningSource')[0].selectedIndex = 0;
statsDataSourceReset();//三级联动重置
initDate();//预警或隐患查询页面的时间初始化
CloseStausReset();
$('#relStatus')[0].selectedIndex = 0;
ProvinceReset();
statsProviderReset();
importantlevelReset();
$("#workingOrderID").attr("value",'');
$("#earlyWarningID").attr("value",'');
});
function getUrlParams() {
//获取当前URL地址
var search = window.location.search;
//从search中抽取从 1 开始到search.length字符,并以&分割获取写入字符串
var tmparray = search.substr(1, search.length).split("&");
var paramsArray = new Array;
if (tmparray != null) {
for (var i = 0; i < tmparray.length; i++) {
// 用=进行拆分,但不包括==
var reg = /[=|^==]/;
//用&替换reg
var set1 = tmparray[i].replace(reg, '&');
//以&分割获取
var tmpStr2 = set1.split('&');
var array = new Array;
array[tmpStr2[0]] = tmpStr2[1];
// 将array添加到paramsArray中,并返回长度
paramsArray.push(array);
}
}
// 返回参数数组
return paramsArray;
}
//根据参数名称获取参数值
function getParamValue(name) {
var paramsArray = getUrlParams();
if (paramsArray != null) {
for (var i = 0 ; i < paramsArray.length ; i++) {
for (var j in paramsArray[i]) {
if (j == name) {
return paramsArray[i][j];
}
}
}
}
return null;
}
var currentpage2;
currentpage2=getParamValue("currentpage");
if(currentpage2>0){
$("#goPageNo2").val(currentpage2);
// alert(currentpage2);
//alert(document.getElementById("goPageNo2").value);
$("#jumpbutton").trigger("click");
}
var returninfo2;
returninfo2=getParamValue("returninfo");
if(returninfo2!=null){
$.alert(decodeURIComponent(returninfo2));
}
});
//add by Eric 2014-05-15 17:52 end */
//change by Eric 2014-08-10 18:49
function getCol(json,name){return (json[name]!=null)?json[name]:'';}//防止空值时出现undefined
//链接至告警明细相关信息页面
/*function openDialog(i) {
console.log(i)
var data = JSON.parse($('#xcdWarningJsonId').val())[i];
$.dialog({
title:'告警明细相关信息页面 告警ID:'+data['warningId'],
content:"<div class='dialog-p'style='max-height: 560px; overflow-y: scroll; overflow-x: hidden;'>"
+ "<div class='col-xs-12'><div class='panel panel-default'><div class='panel-heading'>告警明细</div><div class='panel-body'><table class='table table-vertical'><tr><td>告警标题</td><td colspan='5'>"+getCol(data,'warningTitle')+"</td><td>告警ID</td><td>"+getCol(data,'warningId')+"</td></tr><tr><td width='10%'>省份</td><td>"+getCol(data,'provinceName')+"</td><td width='10%'>数据来源</td><td>"+getCol(data,'dataSourceName')+"</td><td width='10%'>业务</td><td>"+getCol(data,'businessName')+"</td><td width='10%'>渠道</td><td>"+getCol(data,'channelName')+"</td></tr><tr><td>指标编码</td><td>"+getCol(data,'kpiCode')+"</td><td>指标名称</td><td>"+getCol(data,'kpiName')+"</td><td>相关集成商</td><td>"+getCol(data,'providerName')+"</td><td>告警级别</td><td>"+getCol(data,'importanceLevelName')+"</td></tr><tr><td>配置项编码</td><td>"+getCol(data,'ciCode')+"</td><td>配置项名称</td><td>"+getCol(data,'ciName')+"</td><td>关闭类型</td><td>"+getCol(data,'closestatus')+"</td><td>告警状态</td><td>"+getCol(data,'warningstatus')+"</td></tr><tr><td>发生时间</td><td>"+((data['occurTime']!=null)?df.format(new Date(data['occurTime'])):"")+"</td><td>结束时间</td><td>"+((data['closeTime']!=null)?df.format(new Date(data['closeTime'])):"")+"</td><td>协查单号</td><td>"+getCol(data,'workingOrderCode')+"</td><td>故障单号</td><td>"+getCol(data,'relevantFailureId')+"</td></tr><tr><td>模型名称</td><td>"+getCol(data,'dataModelName')+"</td><td width='10%'>模型类型</td><td>"+getCol(data,'dataModelTypeName')+"</td><td width='10%'>告警来源</td><td>"+getCol(data,'warningSourceName')+"</td><td>告警类型</td><td>"+getCol(data,'riskEarlyWarningTypeName')+"</td></tr></table> </div> </div> </div>"
+ ((getCol(data,'warningSourceId')==2)?"<div class='dialog-p'><div name='loading' class='loading' style='top:270px;height:300px'><img src='${ctx}/static/images/loading.gif'/></div><iframe id='ewarningIf' style='height:300px;padding: 7px;' scrolling='no' src='${biserver_config}&path=MonitorOperation/WarnAnalysis&action=GJFX_DETAIL_RELATED_EWARN.xaction&wrapper=false&height=272&WarningID="+getCol(data,'warningId')+"&WarningSourceTag="+getCol(data,'warningSourceId')+"&ctx=${ctx}"/!*+"&DataSourceTag="+ getCol(data,'dataSourceId')+"&ChannelTag="+ getCol(data,'channelId')+"&BusinessTag="+ getCol(data,'businessId')+"&KPITag="+ getCol(data,'kpiId')+"&ConfigItemTag="+ getCol(data,'configItemId')+"&ProvinceTag="+ getCol(data,'provinceId')+"&occurTimeTag="+((getCol(data,'occurTime')!='')?getCol(data,'occurTime'):"2014-01-01 00:00:00") *!/+"'></iframe></div><br/>":"")//当为预警时显示iframe,110:35
+ ((getCol(data,'warningSourceId')==3)?"<div class='dialog-p'><div name='loading' class='loading' style='top:270px;height:560px'><img src='${ctx}/static/images/loading.gif'/></div><iframe id='ewarningIf' style='height:560px;padding: 7px;' scrolling='no' src='${biserver_config}&path=MonitorOperation/WarnAnalysis&action=GJFX_DETAIL_RELATED_EWARN.xaction&wrapper=false&height=534&WarningID="+getCol(data,'warningId')+"&WarningSourceTag="+getCol(data,'warningSourceId')+"&ctx=${ctx}"/!*+"&DataSourceTag="+ getCol(data,'dataSourceId')+"&ChannelTag="+ getCol(data,'channelId')+"&BusinessTag="+ getCol(data,'businessId')+"&KPITag="+ getCol(data,'kpiId')+"&ConfigItemTag="+ getCol(data,'configItemId')+"&ProvinceTag="+ getCol(data,'provinceId')+"&occurTimeTag="+((getCol(data,'occurTime')!='')?getCol(data,'occurTime'):"2014-01-01 00:00:00")*!/ +"'></iframe></div><br/>":"")//当为隐患时显示iframe,8:5
+"</div>",
lock: true,
initialize:function(){
$('#ewarningIf').load( function(){
$(this).parent().find('.loading').fadeOut("fast");
//if(getCol(data,'warningSourceId')==2){ saveReportImg([[data['warningId'],$(this)[0]]],0,0); }
});
var ajax_url='${ctx}/MonitorOperation/WarnAnalysisDetail/getWorkingOrderInfo/'+data['warningId']+'/'+((getCol(data,'warningstatus')=='已关联协查单')?'null':getCol(data,'riskEarlyWarningTypeId'))+'/';//当已关联协查单时为null,输出关联的协查单;其他情况传入分析模型id继续查找协查单并输出
$.ajax({
type : 'GET',
contentType : 'application/json',
url: ajax_url,
dataType : 'text',
beforeSend: function(data) {},
success: function(data) {
var obj = JSON.parse(data), //由JSON字符串转换为JSON对象
a_link=" target='_blank' href='${ctx}/MonitorOperation/WorkingOrderDetail?xcdCode=";
for(var j=0;j<obj.length&&j<$('#xcdList tbody').length;j++){
for(var i=0;i<obj[j].length;i++){
$('#xcdList tbody').eq(j).append($("<tr></tr>")
.append((String(obj[j][i][0]).length<27)?//当字数多于两行时隐藏用省略号,协查单时需添加链接
(j==0)?$("<td></td>").append($("<a"+a_link+obj[j][i][0]+"'></a>").html(obj[j][i][0])):$("<td></td>").html(obj[j][i][0]):
(j==0)?$("<td></td>").attr('title',obj[j][i][0]).append($("<a"+a_link+obj[j][i][0]+"'></a>").html(obj[j][i][0].substring(0,26)+'..')):$("<td></td>").attr('title',obj[j][i][0]).html(obj[j][i][0].substring(0,26)+'..'))
.append((String(obj[j][i][1]).length<27)?
$("<td></td>").html(obj[j][i][1]):
$("<td></td>").attr('title',obj[j][i][1]).html(obj[j][i][1].substring(0,26)+'..'))
.append("<td>"+((obj[j][i][2]!=null&&obj[j][i][2]!='')?formatDate(obj[j][i][2],"yyyy-MM-dd HH:mm:ss"):"")+"</td>")
.append("<td>"+((obj[j][i][3]!=null&&obj[j][i][3]!='')?formatDate(obj[j][i][3],"yyyy-MM-dd HH:mm:ss"):"")+"</td>"));
}
}
}
});
}
});
}*/
var showIds=[];
function batchOpenDialog(ids) {
if(ids.length>10){
$.alert("批量结果预览最多展示10条数据");
return
}
var data = JSON.parse($('#xcdWarningJsonId').val());
if(typeof ids === "number"){
ids = [data[ids].warningId]
}
showIds=ids;
var content ="<div class='dialog-p' style='max-height: 560px; overflow-y: scroll; overflow-x: auto;'>" +
" <div class='col-xs-12'>" +
" <div class='panel panel-default'>" +
" <div class='panel-heading'>告警明细<input onclick='createWorkingDetail()' id='createWorkingDetail' style='float:right' type='button' class='btn btn-primary' value='生成协查单'></div>" +
" <div class='panel-body'>"+
" <table class='table table-vertical'>";
ids.forEach(function (t) {
// showIds.push(t);
data.forEach(function (t1) {
if(t1.warningId === t){
content= content+"<tr><td>";
content = content +"<table class='table table-vertical'>" +
" <tr>" +
" <td>告警标题</td>" +
" <td colspan='5'>"+getCol(t1,'warningTitle')+"</td>" +
" <td> 告警ID</td>" +
" <td>"+getCol(t1,'warningId')+"</td>" +
" </tr>" +
" <tr>" +
" <td width='10%'>省份</td>" +
" <td>"+getCol(t1,'provinceName')+"</td>" +
" <td width='10%'>数据来源</td>" +
" <td>"+getCol(t1,'dataSourceName')+"</td>" +
" <td width='10%'>业务</td>" +
" <td>"+getCol(t1,'businessName')+"</td>" +
" <td width='10%'>渠道</td>" +
" <td>"+getCol(t1,'channelName')+"</td>" +
" </tr>" +
" <tr>" +
" <td>指标编码</td>" +
" <td>"+getCol(t1,'kpiCode')+"</td>" +
" <td>指标名称</td>" +
" <td>"+getCol(t1,'kpiName')+"</td>" +
" <td>相关集成商</td>" +
" <td>"+getCol(t1,'providerName')+"</td>" +
" <td>告警级别</td>" +
" <td>"+getCol(t1,'importanceLevelName')+"</td>" +
" </tr>" +
" <tr>" +
" <td>配置项编码</td>" +
" <td>"+getCol(t1,'ciCode')+"</td>" +
" <td>配置项名称</td>" +
" <td>"+getCol(t1,'ciName')+"</td>" +
" <td>关闭类型</td>" +
" <td>"+getCol(t1,'closestatus')+"</td>" +
" <td>告警状态</td>" +
" <td>"+getCol(t1,'warningstatus')+"</td>" +
" </tr>" +
" <tr>" +
" <td>发生时间</td>" +
" <td>"+((t1['occurTime']!=null)?df.format(new Date(t1['occurTime'])):"")+"</td>" +
" <td>结束时间</td>" +
" <td>"+((t1['closeTime']!=null)?df.format(new Date(t1['closeTime'])):"")+"</td>" +
" <td>协查单号</td>" +
" <td>"+getCol(t1,'workingOrderCode')+"</td>" +
" <td>故障单号</td>" +
" <td>"+getCol(t1,'relevantFailureId')+"</td>" +
" </tr>" +
" <tr>" +
" <td>模型名称</td>" +
" <td>"+getCol(t1,'dataModelName')+"</td>" +
" <td width='10%'>模型类型</td>" +
" <td>"+getCol(t1,'dataModelTypeName')+"</td>" +
" <td width='10%'>告警来源</td>" +
" <td>"+getCol(t1,'warningSourceName')+"</td>" +
" <td>告警类型</td>" +
" <td>"+getCol(t1,'riskEarlyWarningTypeName')+"</td>" +
" </tr>" +
" <tr>" +
" <td>告警描述</td>" +
" <td colspan='7'><input class='alarmMsg' type='text' class='form-control'></td>" +
" </tr>" +
" <tr>" +
" <td colspan='8' align='center'>图表展示</td>" +
" </tr>" +
" <tr>" +
" <td colspan='8'>" +
" <div class=''>" +
" <iframe id='ewarningIf' style='height:560px;padding: 7px;' scrolling='no' src='${biserver_config}&path=MonitorOperation/WarnAnalysis&action=GJFX_DETAIL_RELATED_EWARN.xaction&wrapper=false&height=534&WarningID="+getCol(data, 'warningId ')+ "&WarningSourceTag="+getCol(data, 'warningSourceId ')+ "&ctx=${ctx}" +"'>" +
" </iframe>" +
" </div>" +
" </td>" +
" </tr>" +
"</table>";
<%--" <iframe id='ewarningIf' style='height:560px;padding: 7px;' scrolling='no' src='${biserver_config}&path=MonitorOperation/WarnAnalysis&action=GJFX_DETAIL_RELATED_EWARN.xaction&wrapper=false&height=534&WarningID="+getCol(data, 'warningId ')+ "&WarningSourceTag="+getCol(data, 'warningSourceId ')+ "&ctx=${ctx}" +"'>" +--%>
content= content+"</td></tr><tr><td><br></td></tr>";
}
})
});
content = content+"</table></div></div></div>";
$.dialog({
title:'告警明细相关信息页面 告警ID:'+ids,
content:content,
lock: true
});
}
function createWorkingDetail() {
var warningIds="";
for(var i=0;i<showIds.length;i++){
if(i<showIds.length-1){
warningIds+=showIds[i]+",";
}else{
warningIds+=showIds[i];
}
}
// alert(warningIds)
var k=0;
var m=0;
var n=0;
var x=0;
var href="${ctx}/MonitorOperation/WorkingOrderManage/checkRel?warningId="+showIds;
$.ajax({
type : 'GET',
contentType : 'application/json',
url: href,
dataType : 'text',
beforeSend: function(data) {
},
success: function(data) {
var json=JSON.parse(data);
for(var i=0;i<json.length;i++){
if(json[i].warningStatus==2){
// alert(json[i].relevantWorkingOrderId);
k++;
}
}
for(var i=0;i<json.length;i++){
for(var j=i+1;j<json.length;j++){
if(json[i].provinceId!=json[j].provinceId){
m++;
}
}
}
for(var p=0;p<json.length;p++){
for(var q=p+1;q<json.length;q++){
if(json[p].channelId!==json[q].channelId){
n++;
}
}
}
for(var y=0;y<json.length;y++){
for(var z=y+1;z<json.length;z++){
if(json[y].dataSourceId!==json[z].dataSourceId){
x++;
}
}
}
if(k>0){
$.alert("已关联协查单, 请重新选择");
}
else{
if(m>0||n>0||x>0){
$.alert("请选择同一省份同一渠道同一数据来源的告警来创建协查单!");
}else{
var msgArr = document.getElementsByClassName("alarmMsg");
var msg = "";
for(var i=0;i<msgArr.length;i++){
if(i===msgArr.length-1){
msg = msg+(msgArr[i].value===""?"$":msgArr[i].value)
}else{
msg = msg+ (msgArr[i].value===""?"$":msgArr[i].value)+","
}
}
window.open("${ctx}/MonitorOperation/WorkingOrderCreate?warningId="+warningIds+"&msg="+msg);
}
}
}
});
}
//end change by eric 2014-08-10 18:50
</script>
</body>
</html>
......@@ -42,6 +42,8 @@ h3{font-size: 15px;}
<li ><a id="a_home1" href="${ctx}/MonitorOperation/WorkingOrderManage">预警和隐患维护</a></li>
<li class="active"><a id="a_home" href="#home" data-toggle="tab">告警统计</a> </li>
<li><a id="a_profile" href="${ctx}/MonitorOperation/WarnAnalysisDetail">告警明细</a> </li>
<li><a id="a_insideXcd" href="${ctx}/MonitorOperation/InsideXcd">内部协查单管理</a> </li>
</ul>
</div>
<div class="section">
......
......@@ -57,6 +57,7 @@ th{
<li ><a id="a_home1" href="${ctx}/MonitorOperation/WorkingOrderManage">预警和隐患维护</a></li>
<li><a id="a_home" href="${ctx}/MonitorOperation/WarnAnalysis">告警统计</a> </li>
<li class="active"><a id="a_profile" href="#profile" data-toggle="tab">告警明细</a> </li>
<li ><a id="a_insideXcd" href="${ctx}/MonitorOperation/InsideXcd">内部协查单管理</a> </li>
</ul>
</div>
<div class="section">
......
......@@ -366,11 +366,16 @@
//点击生成协查单按钮,跳转到生成协查单页面,并将相应的告警id传给生成协查单页面
$("#create").click(function(){
var warningIds="";
var msg =""
for(var i=0;i<ids.length;i++){
var ll ="$";//$作为一个占位符,防止后台无法识别数据
if(i<ids.length-1){
warningIds+=ids[i]+",";
msg+=ll+","
}else{
warningIds+=ids[i];
msg+=ll;
}
}
var k=0;
......@@ -427,7 +432,8 @@
$.alert("请选择同一省份同一渠道同一数据来源的告警来创建协查单!");
}else{
location.href="${ctx}/MonitorOperation/WorkingOrderCreate?warningId="+warningIds;
window.open("${ctx}/MonitorOperation/WorkingOrderCreate?warningId="+warningIds+"&msg="+msg);
}
}
......@@ -436,6 +442,7 @@
});
$("#preview").click(function () {
batchOpenDialog(ids)
});
......@@ -523,6 +530,8 @@ th{
<li class="active"><a id="a_home" href="#home" data-toggle="tab">预警和隐患维护</a></li>
<li><a id="a_home1" href="${ctx}/MonitorOperation/WarnAnalysis">告警统计</a> </li>
<li><a id="a_profile" href="${ctx}/MonitorOperation/WarnAnalysisDetail">告警明细</a> </li>
<li ><a id="a_insideXcd" href="${ctx}/MonitorOperation/InsideXcd">内部协查单管理</a> </li>
</ul>
</div>
<div class="section">
......@@ -1229,20 +1238,18 @@ function createWorkingDetail() {
}else{
var msgArr = document.getElementsByClassName("alarmMsg");
var msg = "";
for(var i=0;i<msgArr.length;i++){
if(i===msgArr.length-1){
msg = msg+msgArr[i].value
msg = msg+(msgArr[i].value===""?"$":msgArr[i].value)
}else{
msg = msg+ msgArr[i].value+"|"
msg = msg+ (msgArr[i].value===""?"$":msgArr[i].value)+","
}
}
console.log(msg)
location.href="${ctx}/MonitorOperation/WorkingOrderCreate?warningId="+warningIds+"&msg="+msg;
window.open("${ctx}/MonitorOperation/WorkingOrderCreate?warningId="+warningIds+"&msg="+msg);
}
}
......
//格式化日期
function Format(){
this.jsjava_class="jsjava.text.Format";
}
function DateFormat(){
this.jsjava_class="jsjava.text.DateFormat";
}
DateFormat.prototype=new Format();
DateFormat.prototype.constructor=DateFormat;
DateFormat.zh_cn_month2=["01","02","03","04","05","06","07","08","09","10","11","12"];
DateFormat.zh_cn_month3=["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708",];
DateFormat.zh_cn_month4=["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708",];
DateFormat.en_us_month4=["Janu","Febr","Marc","Apri","May","Juhn","July","Augu","Sept","Octo","Nove","Dece"];
DateFormat.en_us_month3=["Jan","Feb","Mar","Apr","May","Juh","Jul","Aug","Sep","Oct","Nov","Dec"];
DateFormat.en_us_month2=["01","02","03","04","05","06","07","08","09","10","11","12"];
DateFormat.zh_cn_week=["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"];
DateFormat.zh_cn_am="\u4e0b\u5348";
DateFormat.zh_cn_pm="\u4e0a\u5348";
DateFormat.language=(navigator.userLanguage==undefined?navigator.language:navigator.userLanguage).replace("-","_").toLowerCase();
DateFormat.prototype.format=function(date){
var year4=date.getFullYear();
var year2=year4.toString().substring(2);
var pattern=this.pattern;
pattern=pattern.replace(/yyyy/,year4);
pattern=pattern.replace(/yy/,year2);
var month=date.getMonth();
pattern=pattern.replace(/MMMM/,eval("DateFormat."+DateFormat.language+"_month4[month]"));
pattern=pattern.replace(/MMM/,eval("DateFormat."+DateFormat.language+"_month3[month]"));
pattern=pattern.replace(/MM/,eval("DateFormat."+DateFormat.language+"_month2[month]"));
var dayOfMonth=date.getDate();
var dayOfMonth2=dayOfMonth;
var dayOfMonthLength=dayOfMonth.toString().length;
if(dayOfMonthLength==1){
dayOfMonth2="0"+dayOfMonth;
}
pattern=pattern.replace(/dd/,dayOfMonth2);
pattern=pattern.replace(/d/,dayOfMonth);
var hours=date.getHours();
var hours2=hours;
var hoursLength=hours.toString().length;
if(hoursLength==1){
hours2="0"+hours;
}
pattern=pattern.replace(/HH/,hours2);
pattern=pattern.replace(/H/,hours);
var minutes=date.getMinutes();
var minutes2=minutes;
var minutesLength=minutes.toString().length;
if(minutesLength==1){
minutes2="0"+minutes;
}
pattern=pattern.replace(/mm/,minutes2);
pattern=pattern.replace(/m/,minutes);
var seconds=date.getSeconds();
var seconds2=seconds;
var secondsLength=seconds.toString().length;
if(secondsLength==1){
seconds2="0"+seconds;
}
pattern=pattern.replace(/ss/,seconds2);
pattern=pattern.replace(/s/,seconds);
var milliSeconds=date.getMilliseconds();
pattern=pattern.replace(/S+/,milliSeconds);
var day=date.getDay();
// pattern=pattern.replace(/E+/,eval("DateFormat."+DateFormat.language+"_week[day]"));
if(hours>12){
pattern=pattern.replace(/a+/,eval("DateFormat."+DateFormat.language+"_am"));
}else{
pattern=pattern.replace(/a+/,eval("DateFormat."+DateFormat.language+"_pm"));
}
var kHours=hours;
if(kHours==0){
kHours=24;
}
var kHours2=kHours;
var kHoursLength=kHours.toString().length;
if(kHoursLength==1){
kHours2="0"+kHours;
}
pattern=pattern.replace(/kk/,kHours2);
pattern=pattern.replace(/k/,kHours);
var KHours=hours;
if(hours>11){
KHours=hours-12;
}
var KHours2=KHours;
var KHoursLength=KHours.toString().length;
if(KHoursLength==1){
KHours2="0"+KHours;
}
pattern=pattern.replace(/KK/,KHours2);
pattern=pattern.replace(/K/,KHours);
var hHours=KHours;
if(hHours==0){
hHours=12;
}
var hHours2=hHours;
var hHoursLength=hHours.toString().length;
if(KHoursLength==1){
hHours2="0"+hHours;
}
pattern=pattern.replace(/hh/,hHours2);
pattern=pattern.replace(/h/,hHours);
return pattern;
};
function SimpleDateFormat(){
this.jsjava_class="jsjava.text.SimpleDateFormat";
}
SimpleDateFormat.prototype=new DateFormat();
SimpleDateFormat.prototype.constructor=SimpleDateFormat;
SimpleDateFormat.prototype.applyPattern=function(pattern){
this.pattern=pattern;
};
var df=new SimpleDateFormat();
df.applyPattern("yyyy-MM-dd HH:mm:ss");
//
var xcdId;
var xcdlen;
function xcdFindTable(){
console.log("@@@@@@@@@@@@")
jsonData=document.getElementById('checkRelXcdJson').value;
var header = new Array();
header[0] = ["","<input type='radio' name='update'id='update' onclick='javascript:radioChoose(this);'/>","1%",""];
header[1] = ["编号","workingOrderCode","4%",""];
header[2] = ["协查单标题","workingOrderTitle","8%","15"];
header[3] = ["协查单描述","workingOrderDescription","10%","18"];
header[4] = ["省份","provinceName","4%",""];
// header[5] = ["渠道","channelName","4%",""];
// header[6] = ["重要级别","importanceLevelName","5%",""];
// header[7] = ["告警来源","warningSourceName","5%",""];
header[5] = ["事件发生时间","eventHappenTime","7%",""];
// header[12]=["详细","","4%",""];
window.pagging = new table_pagging({limit:12,tableId:'xcdResultTable',header:header});
pagging.pagging(jsonData);
}
var table_pagging = function() {
this.init.apply(this, arguments);
}
table_pagging.prototype = {
init : function(s) {
// 从第几个数据开始获取,缺省状态下从0开始显示
if (s.start) {
this.start = parseInt(s.start);
} else {
this.start = 0;
}
// limit是指从start开始一共要用几条数据,缺省状态下显示10条
if (s.limit) {
this.limit = parseInt(s.limit);
} else {
this.limit = 10;
}
// cellStep表示每行要显示的行数.缺省状态下为1,一行一条记录.
if (s.cellStep) {
this.cellStep = parseInt(s.cellStep);
} else {
this.cellStep = 1;
}
// 要执行的表的名字
if (s.tableId) {
this.tableObj = document.getElementById(s.tableId);
} else {
alert("missing table id~");
}
// 头部的样式编码
if (s.headTrClassName) {
this.headTrClassName = s.headTrClassName;
} else {
this.headTrClassName = "";
}
if (s.trClassName) {
this.trClassName = s.trClassName;
} else {
this.trClassName = "";
}
// 定义头部信息
if (this.checkHeadersIsArray(s.header)) {
this.header = s.header;
} else {
alert("header is wrong~");
}
// 初始化头部
this.createTableHeader();
},
cloumnModel : function() {
},
pagging : function(objectJson) {
this.objectlist = eval('(' + objectJson + ')');
if (this.start + this.limit >= this.objectlist.length) {
this.end = this.objectlist.length;
} else {
this.end = this.start + this.limit;
}
this.clearSearchTable();
this.createTableBodyTd();
},
checkHeadersIsArray : function(header) {
if (!(header instanceof Array)) {
return false;
}
for ( var i = 0; i < header.length; i++) {
if (!(header[i] instanceof Array) || header[i].length < 4) {
return false;
}
}
return true;
},
// 清空表格数据
clearSearchTable : function() {
for ( var i = this.tableObj.rows.length; i > 1; i--) {
this.tableObj.deleteRow(i - 1);
}
},
// 创建头部
createTableHeader : function() {
var tr = this.tableObj.insertRow(this.tableObj.rows.length);
if (this.headTrClassName) {
tr.className = this.headTrClassName;
}
var rowLength = this.header.length;
for ( var i = 0; i < rowLength; i++) {
var td = tr.insertCell(i);
td.innerHTML = this.header[i][0];
if (this.header[i][2]) {
td.width = this.header[i][2];
}
}
},
// 创建table的数据区域
createTableBodyTd : function() {
this.clearSearchTable();
if (this.start > this.objectlist.length) {
return;
}
if (this.start > this.end) {
return;
}
if (this.end > this.objectlist.length) {
this.end = this.objectlist.length;
}
xcdlen=this.objectlist.length;
var rowLength = this.header.length;
// alert(rowLength);
for ( var i = this.start; i < this.end; i++) {
var tr = this.tableObj.insertRow(this.tableObj.rows.length);
if (this.trClassName) {
tr.className = this.trClassName;
}
for ( var j = 0; j < this.cellStep; j++) {
for ( var k = 0; k < rowLength; k++) {
var td = tr.insertCell(rowLength * j + k);
var tdContext = "&nbsp;";
var tdTitle = "";
if (this.header[k][1]) {
var reg = /\%\{([\d\w.]+)\}\%/g;
if (k != 0) {
if (result = reg.exec(this.header[k][1])) {
// var result = reg.exec(this.header[k][1]);
var context = this.header[k][1];
while (reg.lastIndex != 0) {
var value = this.getData(
this.objectlist[i], result[1]);
context = context.replace(
/\%\{[\d\w.]+\}\%/, value);
result = reg.exec(this.header[k][1]);
}
tdContext = context;
} else {
tdContext = this.getData(this.objectlist[i],
this.header[k][1]);
if(tdContext==null){
tdContext = "&nbsp;";
}
// if(k==12){ //显示协查单的详细列表
// tdContext= "<a target='_blank' href='/CmszMonitorAnalysis/MonitorOperation/WorkingOrderReasult?xcdId="+this.getData(this.objectlist[i],this.header[k][1])+"'>"+ tdContext+"</a>"
if(k==1){
tdContext= "<a target='_blank' href='/CmszMonitorAnalysis/MonitorOperation/WorkingOrderDetail?xcdCode="+this.getData(this.objectlist[i],this.header[k][1])+"'>"+ tdContext+"</a>";
}
if(k==5){
if(tdContext!="&nbsp;"){
tdContext = df.format(new Date(tdContext));
}
}
if(k==6){
if(tdContext!="&nbsp;"){
tdContext = df.format(new Date(tdContext));
}
}
}
} else {
tdContext=this.header[k][1]+"<span style='display:none'>"+i+"</span>";
// tdContext=this.header[k][1];
}
} else {
tdContext = "&nbsp;";
}
if (tdContext instanceof Object) {
tdContext = this.formateDate(tdContext);
}
if (!tdTitle) {
tdTitle = tdContext;
}
if (this.header[k][3] && !(tdContext == "&nbsp;")) {
td.title = tdTitle;
tdContext = tdContext + "";
if (tdContext.length > parseInt(this.header[k][3])) {
tdContext = tdContext.substring(0,
this.header[k][3])
+ "..";
}
}
td.innerHTML = tdContext;
// alert(tdContext+"----i:"+i+",j:"+j+",k:"+k);
}
i = i + j;
if (i >= this.start + this.limit) {
break;
}
}
if (i >= this.start + this.limit) {
break;
}
}
this.createPageTr();
},
// 从json获取数据,其中key如果带有.这个符号,说明需要获取的数据是多维数组(也可以看成对象)
getData : function(arrayObj, key) {
if (key.indexOf(".") > 0) {
var keys = key.split(".");
var obj;
for ( var c = 0; c < keys.length; c++) {
if (c == keys.length - 1) {
return obj[keys[c]];
}
if (!arrayObj[keys[c]]) {
return "&nbsp;"
} else {
obj = arrayObj[keys[c]]
}
}
} else {
return arrayObj[key];
}
},
// 格式化Date数据
formateDate : function(dateObj) {
if (dateObj.month) {
return parseInt(dateObj.month) + 1 + "-" + dateObj.date + " "
+ dateObj.hours + ":" + dateObj.minutes + ":"
+ dateObj.seconds;
} else {
return dateObj;
}
},
operator : function(_start, _end) {
this.start = _start;
this.end = _end;
this.createTableBodyTd();
},
// 获取当前对象名
getObjectName : function() {
for ( var a in window) {
if (window[a] == this) {
return a;
}
}
},
// 创建尾部,上一页,下一页,当前页之类信息
createPageTr : function() {
var objectName = this.getObjectName();
var tr = this.tableObj.insertRow(this.tableObj.rows.length);
td = tr.insertCell(0);
td.colSpan = this.header.length + '';
var totalPage = Math.ceil(this.objectlist.length / this.limit);
var currentPage = Math.ceil(this.start / this.limit);
var tableName = objectName + "assrotCurrentIndexTable";
td.innerHTML = "<table id='" + tableName + "' width='100%'></table>";
var tableObj = document.getElementById(tableName);
var tr = tableObj.insertRow(0);
var td1 = tr.insertCell(0);
td1.width = "15%";
td1.align = "center";
if (this.start >= this.limit) {
td1.innerHTML = "<a href='javascript:" + objectName
+ ".operator(0," + this.limit + ")'>首页</a>";
} else {
td1.innerHTML = "<a>首页</a>";
}
var td2 = tr.insertCell(1);
td2.width = "15%";
td2.align = "center";
if (this.start >= this.limit) {
td2.innerHTML = "<a href='javascript:" + objectName + ".operator("
+ (this.start - this.limit) + "," + this.start
+ ")'>上一页</a>";
} else {
td2.innerHTML = "<a>上一页</a>";
}
var td3 = tr.insertCell(2);
td3.width = "25%";
td3.align = "center";
// td3.innerHTML = "Page <input id='table_pagging_page_input_id'
// type='text' size='1' id='currentIndex' value='"+(currentPage+1)+"'
// >of&nbsp;"+totalPage;
td3.innerHTML = "<div class='col-sm-4'><input class=\"form-control\" type=\"text\" id=\"goPageNo\" value=\""
+ (currentPage + 1)
+ "\" size=\"3\" /></div><div class='col-sm-5'><input class=\"form-control\" type=\"button\" value=\"跳转\" onclick=\"javascript:"
+ objectName + ".jump2PageNum()\" /></div>";
var td4 = tr.insertCell(3);
td4.width = "15%";
td4.align = "center";
if (this.end >= this.objectlist.length) {
td4.innerHTML = "<a>下一页<a>";
} else {
if ((this.end + this.limit) > this.objectlist.length) {
td4.innerHTML = "<a href='javascript:" + objectName
+ ".operator(" + this.end + ","
+ this.objectlist.length + ")'>下一页<a>";
} else {
td4.innerHTML = "<a href='javascript:" + objectName
+ ".operator(" + this.end + ","
+ (this.end + this.limit) + ")'>下一页<a>";
}
}
var td5 = tr.insertCell(4);
td5.width = "15%";
td5.align = "center";
if (this.end >= this.objectlist.length) {
td5.innerHTML = "<a>末页</a>";
} else {
td5.innerHTML = "<a href='javascript:" + objectName + ".operator("
+ this.limit * (totalPage - 1) + ","
+ this.objectlist.length + ")'>末页</a>";
}
var td6 = tr.insertCell(5);
td6.align = 'right';
td6.width = "25%";
// td6.innerHTML =
// "显示第"+this.start+"到第"+this.end+"记录,共"+this.objectlist.length+"条记录";
td6.innerHTML = "页数:<span style='color:blue'>" + (currentPage + 1)
+ "</span>/" + totalPage;
},
// 点击跳转,未开发
jump2PageNum : function() {
var re = /^[1-9]+[0-9]*]*$/;
if (!re.test(document.getElementById('goPageNo').value)) {
alert("请输入正整数");
} else {
if (parseInt(document.getElementById('goPageNo').value) > Math
.ceil(this.objectlist.length / this.limit)) {
alert("你输入的数值过大!");
} else {
this
.operator(
this.limit
* (parseInt(document
.getElementById('goPageNo').value) - 1),
(this.limit
* (parseInt(document
.getElementById('goPageNo').value) - 1) + this.limit));
}
}
},
test : function() {
alert(this.start);
alert(this.step);
alert(this.cellStep);
alert(this.tablename);
}
}
function checkChoose(clickObj){
var obj = eval('(' + jsonStr + ')');
if(clickObj.checked){
ids.push(parseInt(obj[parseInt(clickObj.nextSibling.innerHTML)].changeOrderId));
}else{
var index=-1;
for (var i = 0; i < ids.length; i++) {
if (ids[i] == parseInt(obj[parseInt(clickObj.nextSibling.innerHTML)].changeOrderId)) {
index=i;
}
}
if (index > -1) {
ids.splice(index, 1);}
}
}
function radioChoose(clickObj){
var obj = eval("(" + jsonData + ")");
//alert(obj);
if(clickObj.checked){
//alert(clickObj);
//alert(clickObj.nextSibling.innerHTML);
$("#updateButton").attr("disabled", false);
xcdId=parseInt(obj[parseInt(clickObj.nextSibling.innerHTML)].workingOrderId);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment