Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cmszMonitorAnalysis
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuna
cmszMonitorAnalysis
Commits
e683dced
Commit
e683dced
authored
Dec 10, 2017
by
胡斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
智能分析平台备份
parent
196722b8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
92 additions
and
51 deletions
+92
-51
workspace.xml
.idea/workspace.xml
+0
-0
PageURLController.class
...p/WEB-INF/classes/com/hp/cmsz/web/PageURLController.class
+0
-0
header.jsp
src/main/webapp/WEB-INF/layouts/header.jsp
+14
-14
FilterRuleResult.jsp
...webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp
+2
-1
RunTaskForm.jsp
src/main/webapp/WEB-INF/views/TaskManage/RunTaskForm.jsp
+37
-29
RunTaskListTable.jsp
...main/webapp/WEB-INF/views/TaskManage/RunTaskListTable.jsp
+32
-4
xcdWarningTable.js
src/main/webapp/static/js/xcdWarningTable.js
+7
-3
No files found.
.idea/workspace.xml
View file @
e683dced
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/classes/com/hp/cmsz/web/PageURLController.class
View file @
e683dced
No preview for this file type
src/main/webapp/WEB-INF/layouts/header.jsp
View file @
e683dced
...
...
@@ -102,7 +102,7 @@
</li>
</shiro:hasPermission>
<shiro:hasPermission name="预分析与建模:数据预分析 or 预分析与建模:数据模型管理 or 预分析与建模:数据模型验证 or 预分析与建模:数据沙盒 ">
<shiro:hasPermission name="预分析与建模:数据预分析 or 预分析与建模:数据模型管理 or 预分析与建模:数据模型验证 or 预分析与建模:数据沙盒
or 预分析与建模:数据质量核查
">
<li class="titleLine"></li>
<li class="dropdown">
<a class="dropdonw-toggle" data-toggle="dropdown" role="button" href="#"><span
...
...
@@ -147,6 +147,17 @@
</ul>
</li>
</shiro:hasPermission>
<shiro:hasPermission name="预分析与建模:数据质量核查">
<li class="dropdown-submenu">
<a href="#">数据质量核查</a>
<ul class="dropdown-menu">
<li><a href="${ctx}/AnalysisSupport/QualityRuleResult">数据质量规则维护</a></li>
<li><a href="${ctx}/AnalysisSupport/QualityRuleOperation/home?selectTab=focus">数据质量运营</a></li>
<li><a href="${ctx}/AnalysisSupport/QualityRuleReport">数据质量报告</a></li>
<li><a href="${ctx}/AnalysisSupport/FilterRuleResult">过滤规则维护</a></li>
</ul>
</li>
</shiro:hasPermission>
</ul>
</li>
</shiro:hasPermission>
...
...
@@ -202,8 +213,7 @@
</li>
</shiro:hasPermission>
<shiro:hasPermission
name="运营支撑:配置项分析 or 运营支撑:集成商分析 or 运营支撑:竞品分析 or 运营支撑:业务热点分析 or 运营支撑:投诉文本分析 or 运营支撑:数据质量核查 ">
<shiro:hasPermission name="运营支撑:配置项分析 or 运营支撑:集成商分析 or 运营支撑:竞品分析 or 运营支撑:业务热点分析 or 运营支撑:投诉文本分析 ">
<li class="titleLine"></li>
<li class="dropdown">
<a class="dropdonw-toggle" data-toggle="dropdown" role="button" href="#"><span
...
...
@@ -268,17 +278,7 @@
</ul>
</li>
</shiro:hasPermission>
<shiro:hasPermission name="运营支撑:数据质量核查">
<li class="dropdown-submenu">
<a href="#">数据质量核查</a>
<ul class="dropdown-menu">
<li><a href="${ctx}/AnalysisSupport/QualityRuleResult">数据质量规则维护</a></li>
<li><a href="${ctx}/AnalysisSupport/QualityRuleOperation/home?selectTab=focus">数据质量运营</a></li>
<li><a href="${ctx}/AnalysisSupport/QualityRuleReport">数据质量报告</a></li>
<li><a href="${ctx}/AnalysisSupport/FilterRuleResult">过滤规则维护</a></li>
</ul>
</li>
</shiro:hasPermission>
</ul>
</li>
</shiro:hasPermission>
...
...
src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp
View file @
e683dced
...
...
@@ -26,7 +26,8 @@
<div
class=
"tab-bar-bt"
>
<ul
class=
"nav nav-tabs"
>
<li><a
href=
"${ctx}/AnalysisSupport/QualityRuleResult"
>
数据质量规则维护
</a></li>
<li><a
href=
"${ctx}/AnalysisSupport/QualityRuleOperation"
>
数据质量运营
</a></li>
<li><a
href=
"${ctx}/AnalysisSupport/QualityRuleOperation/home?selectTab=focus"
>
数据质量运营
</a></li>
<li><a
href=
"${ctx}/AnalysisSupport/QualityRuleReport"
>
数据质量报告
</a></li>
<li
class=
"active"
><a
href=
"#home"
data-toggle=
"tab"
>
过滤规则维护
</a></li>
</ul>
</div>
...
...
src/main/webapp/WEB-INF/views/TaskManage/RunTaskForm.jsp
View file @
e683dced
...
...
@@ -26,33 +26,51 @@
</style>
<script
type=
"text/javascript"
src=
"${ctx}/static/js/validation.js"
></script>
<script
language=
"javascript"
type=
"text/javascript"
>
var
sandboxOptions
=
new
Array
()
;
var
recoverOptions
=
new
Array
()
;
var
dataModelOptions
=
new
Array
()
;
var
minuteOption
=
new
Array
()
;
var
hourOption
=
new
Array
()
;
var
dayOption
=
new
Array
()
;
var
monthOption
=
new
Array
()
;
var
provinceOptions
=
new
Array
()
;
var
datasourceOptions
=
new
Array
()
;
var
channelOptions
=
new
Array
()
;
var
businessOptions
=
new
Array
()
;
var
kpiOptions
=
new
Array
()
;
var
sandboxOptions
=
[]
;
var
recoverOptions
=
[]
;
var
dataModelOptions
=
[]
;
var
minuteOption
=
[]
;
var
hourOption
=
[]
;
var
dayOption
=
[]
;
var
monthOption
=
[]
;
var
provinceOptions
=
[]
;
var
datasourceOptions
=
[]
;
var
channelOptions
=
[]
;
var
businessOptions
=
[]
;
var
kpiOptions
=
[]
;
$
(
document
).
ready
(
function
()
{
if
(
"${useType}"
!==
"new"
){
var
$provinceId
=
$
(
"#provinceId"
);
var
$datasourceViewId
=
$
(
"#datasourceViewId"
);
var
$channelId
=
$
(
"#channelId"
);
var
$businessId
=
$
(
"#businessId"
);
var
$KPIViewId
=
$
(
"#KPIViewId"
);
$provinceId
.
empty
();
$datasourceViewId
.
empty
();
$channelId
.
empty
();
$businessId
.
empty
();
$KPIViewId
.
empty
();
$provinceId
.
append
(
new
Option
(
"${runTask.provinceView.provinceName}"
,
"${runTask.provinceView.provinceId}"
))
$datasourceViewId
.
append
(
new
Option
(
"${runTask.dataSourceView.dataSourceName}"
,
"${runTask.dataSourceView.dataSourceId}"
))
$channelId
.
append
(
new
Option
(
"${runTask.channelView.channelName}"
,
"${runTask.channelView.channelId}"
))
$businessId
.
append
(
new
Option
(
"${runTask.businessView.businessName}"
,
"${runTask.businessView.businessId}"
))
$KPIViewId
.
append
(
new
Option
(
"${runTask.dimKpiView.name}"
,
"${runTask.dimKpiView.kpiId}"
))
}
else
{
changeInputStatus
(
'parallelFlg'
,
'parallelNums'
);
changeInputStatus
(
'sendmailFlg'
,
'mailAddress'
);
<
c
:
forEach
items
=
"${sanboxList}"
var
=
"taskDetail"
>
var
option
=
new
Option
(
'${taskDetail.name}'
,
'${taskDetail.taskInfoId}'
);
sandboxOptions
.
push
(
option
);
<
/c:forEach
>
<
c
:
forEach
items
=
"${recoverList}"
var
=
"taskDetail"
>
var
option
=
new
Option
(
'${taskDetail.name}'
,
'${taskDetail.taskInfoId}'
);
recoverOptions
.
push
(
option
);
<
/c:forEach
>
<
c
:
forEach
items
=
"${dataModelList}"
var
=
"dataModel"
>
<
c
:
if
test
=
"${dataModel.modelStatus != 0}"
>
var
option
=
new
Option
(
'${dataModel.dataModelName}'
,
'${dataModel.dataModelId}'
);
...
...
@@ -60,13 +78,11 @@ var kpiOptions = new Array();
<
/c:if
>
<
/c:forEach
>
$
(
'#modelId'
).
append
(
dataModelOptions
);
<
c
:
forEach
items
=
"${provinceList}"
var
=
"province"
>
var
option
=
new
Option
(
'${province.provinceName}'
,
'${province.provinceId}'
);
provinceOptions
.
push
(
option
);
<
/c:forEach
>
$
(
'#provinceId'
).
append
(
provinceOptions
);
<
c
:
forEach
items
=
"${datasourceList}"
var
=
"datasource"
varStatus
=
"status"
>
var
option
=
new
Option
(
'${datasource.dataSourceName}'
,
'${datasource.dataSourceId}'
);
datasourceOptions
.
push
(
option
);
...
...
@@ -88,7 +104,6 @@ var kpiOptions = new Array();
<
/c:forEach
>
$
(
'#datasourceViewId'
).
append
(
datasourceOptions
);
$
(
'#channelId'
).
append
(
channelOptions
);
function
changeBusinessData
(){
$
(
'#businessId'
).
empty
();
businessOptions
=
[];
...
...
@@ -134,22 +149,18 @@ var kpiOptions = new Array();
changeTaskType
();
$
(
'#modelId'
).
val
(
'${runTask.dataModelView.dataModelId}'
);
$
(
'#detailSelect'
).
val
(
'${runTask.taskDetail.taskInfoId}'
);
for
(
var
i
=
1
;
i
<=
60
;
i
++
)
{
var
option
=
new
Option
(
i
,
i
);
minuteOption
.
push
(
option
);
}
for
(
var
i
=
1
;
i
<=
12
;
i
++
)
{
var
option
=
new
Option
(
i
,
i
);
hourOption
.
push
(
option
);
}
for
(
var
i
=
1
;
i
<=
31
;
i
++
)
{
var
option
=
new
Option
(
i
,
i
);
dayOption
.
push
(
option
);
}
for
(
var
i
=
1
;
i
<=
12
;
i
++
)
{
var
option
=
new
Option
(
i
,
i
);
monthOption
.
push
(
option
);
...
...
@@ -158,7 +169,6 @@ var kpiOptions = new Array();
if
(
$
(
'#frequencyValueHidden'
).
val
())
{
$
(
'#frequencyValue'
).
val
(
$
(
'#frequencyValueHidden'
).
val
());
}
$
(
'#modelId'
).
change
(
function
(){
var
modelId
=
$
(
'#modelId'
).
val
();
$
.
ajax
({
...
...
@@ -177,7 +187,6 @@ var kpiOptions = new Array();
}
});
});
$
(
'#datasourceViewId'
).
change
(
function
(){
$
(
"#channelId"
).
empty
();
channelOptions
=
[];
...
...
@@ -200,11 +209,13 @@ var kpiOptions = new Array();
$
(
'#channelId'
).
change
(
function
(){
changeBusinessData
();
changeKPIData
()
})
});
$
(
'#businessId'
).
change
(
function
(){
changeKPIData
()
})
});
}
});
...
...
@@ -213,7 +224,6 @@ var kpiOptions = new Array();
$
(
'#'
+
objId
).
attr
(
'disabled'
,
!
$
(
'#'
+
eleId
).
attr
(
'checked'
));
}
function
submitForm
()
{
var
url
=
'${ctx}/BaseManage/TaskManage/checkNameAndCode'
;
var
data
=
'name='
+
$
(
'#name'
).
val
()
+
"&code="
+
$
(
'#code'
).
val
()
+
"&id="
+
$
(
'#taskId'
).
val
()
+
"&defaultTaskType="
+
$
(
'#defaultTaskType'
).
val
()
;
...
...
@@ -384,8 +394,6 @@ var kpiOptions = new Array();
}
}
function
abandonTask
(){
$
.
ajax
({
type
:
"GET"
,
...
...
src/main/webapp/WEB-INF/views/TaskManage/RunTaskListTable.jsp
View file @
e683dced
...
...
@@ -46,10 +46,38 @@
<tr>
<td><input type="radio" name="taskId" id="taskId" value="${runTask.taskId}" onclick="choseTask()" /></td>
<c:if test="${runTask.taskType.tasktypeId == '1' || runTask.taskType.tasktypeId == '5' }">
<td>${runTask.provinceView.provinceName}</td>
<td>${runTask.channelView.channelName}</td>
<td>${runTask.businessView.businessName}</td>
<td>${runTask.dimKpiView.name}</td>
<td>
<c:if test="${runTask.provinceView.provinceName == null}">
全国
</c:if>
<c:if test="${runTask.provinceView.provinceName != null}">
${runTask.provinceView.provinceName}
</c:if>
</td>
<td>
<c:if test="${runTask.channelView.channelName == null}">
全部渠道
</c:if>
<c:if test="${runTask.channelView.channelName != null}">
${runTask.channelView.channelName}
</c:if>
</td>
<td>
<c:if test="${runTask.businessView.businessName == null}">
全部业务
</c:if>
<c:if test="${runTask.businessView.businessName != null}">
${runTask.businessView.businessName}
</c:if>
</td>
<td>
<c:if test="${runTask.dimKpiView.name == null}">
全部指标
</c:if>
<c:if test="${runTask.dimKpiView.name != null}">
${runTask.dimKpiView.name}
</c:if>
</td>
<td>${runTask.evaluationResult}</td>
</c:if>
<td>${runTask.name}</td>
...
...
src/main/webapp/static/js/xcdWarningTable.js
View file @
e683dced
...
...
@@ -323,14 +323,18 @@ table_pagging.prototype = {
if
(
tdContext
!=
" "
){
tdContext
=
df
.
format
(
new
Date
(
tdContext
));
}
}
else
if
(
k
==
11
){
}
if
(
k
==
11
){
if
(
tdContext
!=
" "
){
tdContext
=
df
.
format
(
new
Date
(
tdContext
));
}
else
if
(
k
==
12
){
}
}
if
(
k
==
12
){
if
(
tdContext
!=
" "
){
tdContext
=
df
.
format
(
new
Date
(
tdContext
));
}
}
else
if
(
k
==
16
){
}
if
(
k
==
16
){
if
(
tdContext
==
"已确认"
){
tr
.
className
=
"green-tr"
;
}
else
if
(
tdContext
==
"已关联协查单"
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment