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
692d4a4a
Commit
692d4a4a
authored
Dec 21, 2017
by
胡斌
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/liuna'
parents
ad141bc5
c341df48
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 @
692d4a4a
...
...
@@ -41,7 +41,7 @@
<div
class=
"slideMenu"
id=
"cbp-spmenu-s2"
style=
""
>
<div
class=
"form"
>
<tags:Public
_ProvinceTag
/>
<tags:GJFX
_datasource_channle_business
/>
<button
id=
"submit"
class=
"btn btn-primary"
onclick=
"ruleResultSubmit()"
>
提交
</button>
...
...
@@ -113,15 +113,13 @@ $("#createRule").click(function(){
var
dataSource
=
getStatsDataSourceCheckedValuesString
();
var
chnnal
=
getStatsChannelCheckedValuesString
();
var
bussines
=
getStatsBusinessCheckedValuesString
();
var
province
=
getProvinceCheckedValuesString
();
if
(
dataSource
==
""
){
$
.
alert
(
"数据来源的选择不能为空"
);
}
else
if
(
chnnal
===
""
){
$
.
alert
(
"渠道的选择不能为空"
);
}
else
if
(
bussines
===
""
){
$
.
alert
(
"业务的选择不能为空"
);
}
else
if
(
province
===
""
){
$
.
alert
(
"省份的选择不能为空"
);
}
else
{
toggleMenu
(
'slidePushMenus'
);
//隐藏筛选项
//数据来源标签
...
...
@@ -133,13 +131,11 @@ $("#createRule").click(function(){
//业务标签
$
(
'#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
({
type
:
'GET'
,
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'
,
async
:
false
,
beforeSend
:
function
(
data
)
{
...
...
@@ -158,7 +154,7 @@ $("#createRule").click(function(){
}
function
ruleResultReset
(){
ProvinceReset
();
statsDataSourceReset
();
//三级联动重置
}
$
(
"#updateRule"
).
click
(
function
(){
...
...
@@ -168,7 +164,23 @@ $("#updateRule").click(function(){
$
(
"#deleteRule"
).
click
(
function
(){
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>
...
...
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