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
c341df48
Commit
c341df48
authored
Dec 21, 2017
by
liuna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2017年12月21日 智能分析平台提交内容
--新增质量质量规则修改
parent
7959a444
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
QualityRuleResult.jsp
...ebapp/WEB-INF/views/AnalysisSupport/QualityRuleResult.jsp
+21
-9
No files found.
src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleResult.jsp
View file @
c341df48
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<div
class=
"slideMenu"
id=
"cbp-spmenu-s2"
style=
""
>
<div
class=
"slideMenu"
id=
"cbp-spmenu-s2"
style=
""
>
<div
class=
"form"
>
<div
class=
"form"
>
<tags:Public
_ProvinceTag
/>
<tags:GJFX
_datasource_channle_business
/>
<tags:GJFX
_datasource_channle_business
/>
<button
id=
"submit"
class=
"btn btn-primary"
onclick=
"ruleResultSubmit()"
>
提交
</button>
<button
id=
"submit"
class=
"btn btn-primary"
onclick=
"ruleResultSubmit()"
>
提交
</button>
...
@@ -113,15 +113,13 @@ $("#createRule").click(function(){
...
@@ -113,15 +113,13 @@ $("#createRule").click(function(){
var
dataSource
=
getStatsDataSourceCheckedValuesString
();
var
dataSource
=
getStatsDataSourceCheckedValuesString
();
var
chnnal
=
getStatsChannelCheckedValuesString
();
var
chnnal
=
getStatsChannelCheckedValuesString
();
var
bussines
=
getStatsBusinessCheckedValuesString
();
var
bussines
=
getStatsBusinessCheckedValuesString
();
var
province
=
getProvinceCheckedValuesString
();
if
(
dataSource
==
""
){
if
(
dataSource
==
""
){
$
.
alert
(
"数据来源的选择不能为空"
);
$
.
alert
(
"数据来源的选择不能为空"
);
}
else
if
(
chnnal
===
""
){
}
else
if
(
chnnal
===
""
){
$
.
alert
(
"渠道的选择不能为空"
);
$
.
alert
(
"渠道的选择不能为空"
);
}
else
if
(
bussines
===
""
){
}
else
if
(
bussines
===
""
){
$
.
alert
(
"业务的选择不能为空"
);
$
.
alert
(
"业务的选择不能为空"
);
}
else
if
(
province
===
""
){
$
.
alert
(
"省份的选择不能为空"
);
}
else
{
}
else
{
toggleMenu
(
'slidePushMenus'
);
//隐藏筛选项
toggleMenu
(
'slidePushMenus'
);
//隐藏筛选项
//数据来源标签
//数据来源标签
...
@@ -133,13 +131,11 @@ $("#createRule").click(function(){
...
@@ -133,13 +131,11 @@ $("#createRule").click(function(){
//业务标签
//业务标签
$
(
'#BusinessTag'
).
text
(
"业务"
).
append
(
$
(
"<span class='badge'></span>"
).
text
(
getStatsBusinessCheckedValues
().
length
)).
attr
(
'data-original-title'
,
getStatsBusinessCheckedTitlesString
()).
tooltip
();
$
(
'#BusinessTag'
).
text
(
"业务"
).
append
(
$
(
"<span class='badge'></span>"
).
text
(
getStatsBusinessCheckedValues
().
length
)).
attr
(
'data-original-title'
,
getStatsBusinessCheckedTitlesString
()).
tooltip
();
//省份标签
$
(
'#ProvinceTag'
).
text
(
"省份"
).
append
(
$
(
"<span class='badge'></span>"
).
text
(
getProvinceCheckedValues
().
length
)).
attr
(
'data-original-title'
,
getProvinceCheckedTitles
()).
tooltip
();
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
contentType
:
'application/json'
,
contentType
:
'application/json'
,
url
:
"${ctx}/AnalysisSupport/QualityRuleResult/ruleTableChange?
province="
+
province
+
"&
dataSource="
+
dataSource
+
"&chnnal="
+
chnnal
+
"&bussines="
+
bussines
,
url
:
"${ctx}/AnalysisSupport/QualityRuleResult/ruleTableChange?dataSource="
+
dataSource
+
"&chnnal="
+
chnnal
+
"&bussines="
+
bussines
,
dataType
:
'text'
,
dataType
:
'text'
,
async
:
false
,
async
:
false
,
beforeSend
:
function
(
data
)
{
beforeSend
:
function
(
data
)
{
...
@@ -158,7 +154,7 @@ $("#createRule").click(function(){
...
@@ -158,7 +154,7 @@ $("#createRule").click(function(){
}
}
function
ruleResultReset
(){
function
ruleResultReset
(){
ProvinceReset
();
statsDataSourceReset
();
//三级联动重置
statsDataSourceReset
();
//三级联动重置
}
}
$
(
"#updateRule"
).
click
(
function
(){
$
(
"#updateRule"
).
click
(
function
(){
...
@@ -168,7 +164,23 @@ $("#updateRule").click(function(){
...
@@ -168,7 +164,23 @@ $("#updateRule").click(function(){
$
(
"#deleteRule"
).
click
(
function
(){
$
(
"#deleteRule"
).
click
(
function
(){
var
pageNum
=
$
(
"#goPageNo"
).
val
();
var
pageNum
=
$
(
"#goPageNo"
).
val
();
location
.
href
=
"${ctx}/AnalysisSupport/RuleDelete?qualityRuleId="
+
qualityRuleId
;
$
.
dialog
({
title
:
"提醒"
,
content
:
"确定删除质量规则?"
,
ok
:
function
(){
$
.
ajax
({
type
:
'get'
,
url
:
"${ctx}/AnalysisSupport/QualityRuleResult/deleteOneRule?qualityRuleId="
+
qualityRuleId
,
success
:
function
(){
window
.
location
.
href
=
"${ctx}/AnalysisSupport/QualityRuleResult"
}
});
},
okValue
:
"确定"
,
cancel
:
function
(){},
cancelValue
:
"取消"
,
lock
:
true
});
});
});
</script>
</script>
...
...
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