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
a0735b9a
Commit
a0735b9a
authored
Jan 18, 2018
by
liuna
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/moly' into liuna
parents
6a337c26
d4188a14
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
6 deletions
+33
-6
CreateDiagosis.jsp
.../webapp/WEB-INF/views/MonitorOperation/CreateDiagosis.jsp
+8
-3
UpdateAnaInfo.jsp
...n/webapp/WEB-INF/views/MonitorOperation/UpdateAnaInfo.jsp
+25
-3
No files found.
src/main/webapp/WEB-INF/views/MonitorOperation/CreateDiagosis.jsp
View file @
a0735b9a
...
...
@@ -527,6 +527,7 @@
//渠道 复选框 点击 事件
function
channelRadioClick
()
{
$
(
"#businessActivedListTd"
).
empty
();
$
(
"#dimKpiListTd"
).
empty
();
var
channelId
=
$
(
"input[name='channelRadio']:checked"
).
val
();
var
dataSourceId
=
$
(
"input[name='dataSourceRadio']:checked"
).
val
();
...
...
@@ -577,6 +578,8 @@
$
(
"#businessActivedListTd"
).
empty
();
$
(
"#dimKpiListTd"
).
empty
();
var
channelId
=
$
(
"input[name='channelRadio']:checked"
).
val
();
var
dataSourceId
=
$
(
"input[name='dataSourceRadio']:checked"
).
val
();
...
...
@@ -626,14 +629,16 @@
// 重置 指标 一栏 筛选保留原有的 和已选择的 指标
$
(
"input[name='dimKpiCheck']"
).
each
(
function
(
e
)
{
/*
$("input[name='dimKpiCheck']").each(function (e) {
if (!$(this).attr("checked")) {
$(this).next().remove();
$(this).remove();
}
});
});
*/
// 清空 指标 一栏 所有 指标
$
(
"#dimKpiListTd"
).
empty
();
//获取选择的 业务
var
businessSelectedArr
=
[];
...
...
@@ -756,7 +761,7 @@
kpiWeightTdVal
=
parseFloat
(
Number
(
kpiWeightTdVal
).
toFixed
(
2
));
for
(
var
i
=
0
;
i
<
arrDimKpiidAndNameChecked
.
length
;
i
++
)
{
var
id_name
=
arrDimKpiidAndNameChecked
[
i
];
var
addRow
=
$
(
"<tr class='"
+
id_name
.
split
(
"&"
)[
0
]
+
"_"
+
kpiWeightTdVal
+
"'><td title="
+
id_name
.
split
(
"&"
)[
2
]
+
">"
+
id_name
.
split
(
"&"
)[
1
]
+
"</td><td style='display:none;'>"
+
kpiWeightTdVal
+
"</td><td><a href='javascript:;'
title='"
+
id_name
.
split
(
"_"
)[
0
]
+
"' onclick='deleteRow(this)'>删除</a> </td></tr>"
);
//
<
a
href
=
'javascript:;'
onclick
=
'updateRow(this)'
>
修改
<
/a
>
var
addRow
=
$
(
"<tr class='"
+
id_name
.
split
(
"&"
)[
0
]
+
"_"
+
kpiWeightTdVal
+
"'><td title="
+
id_name
.
split
(
"&"
)[
2
]
+
">"
+
id_name
.
split
(
"&"
)[
1
]
+
"</td><td style='display:none;'>"
+
kpiWeightTdVal
+
"</td><td><a href='javascript:;'
onclick='deleteRow(this)'>删除</a> </td></tr>"
);
//
<
a
href
=
'javascript:;'
onclick
=
'updateRow(this)'
>
修改
<
/a>/
*
title
=
'" + id_name.split("&")[0] + "'
////. */
$
(
"#addTr"
).
append
(
addRow
);
dimKpiSelected
.
push
(
Number
(
id_name
.
split
(
"&"
)[
0
]));
}
...
...
src/main/webapp/WEB-INF/views/MonitorOperation/UpdateAnaInfo.jsp
View file @
a0735b9a
...
...
@@ -154,7 +154,7 @@
</c:if>
</c:forEach>
<td><a
href=
'javascript:void(0);'
id=
"deleteRow"
title=
'${dimKpi.kpiId}'
onclick=
'deleteRow(this)'
>
删除
</a>
</td><
%
--
<
a
href=
'javascript:;'
onclick=
'updateRow(this)'
>
修改
</a>
--%>
<td><a
href=
'javascript:void(0);'
id=
"deleteRow"
<%
--title=
'${dimKpi.kpiId}'
--
%
>
onclick='deleteRow(this)'>删除
</a>
</td><
%
--
<
a
href=
'javascript:;'
onclick=
'updateRow(this)'
>
修改
</a>
--%>
</tr>
</c:forEach>
...
...
@@ -504,6 +504,8 @@
}
function
BusinessCheckClick
()
{
// 清空 指标 一栏 所有 指标
$
(
"#dimKpiListTd"
).
empty
();
//$("#dimKpiListTd").empty();
//获取选择的 业务
...
...
@@ -527,13 +529,14 @@
});
// 重置 指标 一栏 筛选保留原有的 指标
$
(
"input[name='dimKpiCheck']"
).
each
(
function
(
e
)
{
/*
$("input[name='dimKpiCheck']").each(function (e) {
if (!$(this).attr("checked")) {
$(this).next().remove();
$(this).remove();
}
});
});*/
var
arrdimKpiChecked
=
getValueOfNamedimKpiCheck
();
...
...
@@ -603,6 +606,16 @@
function
channelRadioClick
()
{
$
(
"#businessActivedListTd"
).
empty
();
$
(
"#dimKpiListTd"
).
empty
();
// 重置 指标 一栏 筛选保留原有的 和已选择的 指标
/*$("input[name='dimKpiCheck']").each(function (e) {
if (!$(this).attr("checked")) {
$(this).next().remove();
$(this).remove();
}
});*/
//渠道选择值
var
channelArray
=
new
Array
();
// 存放 所选 频道
$
(
"input[name='channelRadio']:checked"
).
each
(
function
(
e
)
{
...
...
@@ -646,6 +659,15 @@
$
(
"#businessActivedListTd"
).
empty
();
$
(
"#dimKpiListTd"
).
empty
();
// 重置 指标 一栏 筛选保留原有的 和已选择的 指标
/*$("input[name='dimKpiCheck']").each(function (e) {
if (!$(this).attr("checked")) {
$(this).next().remove();
$(this).remove();
}
});*/
//渠道选择值
var
channelArray
=
new
Array
();
// 存放 所选 频道
$
(
"input[name='channelRadio']:checked"
).
each
(
function
(
e
)
{
...
...
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