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
898d58ea
Commit
898d58ea
authored
7 years ago
by
莫林毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整 输入框 '权值' 的步长
parent
38b6a97b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
CreateDiagosis.jsp
.../webapp/WEB-INF/views/MonitorOperation/CreateDiagosis.jsp
+3
-2
UpdateAnaInfo.jsp
...n/webapp/WEB-INF/views/MonitorOperation/UpdateAnaInfo.jsp
+1
-1
No files found.
src/main/webapp/WEB-INF/views/MonitorOperation/CreateDiagosis.jsp
View file @
898d58ea
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
<tr>
<tr>
<td>
权重(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
权重(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><input
type=
"number"
class=
"form-control"
name=
"descTd"
id=
"kpiWeightTd"
value=
"1.00"
style=
"display: inline;"
/>
<td><input
type=
"number"
step=
"0.01"
class=
"form-control"
name=
"descTd"
id=
"kpiWeightTd"
value=
"1.00"
style=
"display: inline;"
/>
<span
id=
"writeWarningInfTd"
style=
"color:red;display: inline;padding-left:10px;"
></span></td>
<span
id=
"writeWarningInfTd"
style=
"color:red;display: inline;padding-left:10px;"
></span></td>
</tr>
</tr>
...
@@ -670,12 +670,13 @@
...
@@ -670,12 +670,13 @@
if
(
kpiWeightTdVal
<
0
){
if
(
kpiWeightTdVal
<
0
){
$
.
alert
(
"权重不能为负"
);
$
.
alert
(
"权重不能为负"
);
var
mmm
=
(
1
-
Number
(
sumkpiWeightTdVal
)).
toFixed
(
2
);
var
mmm
=
(
1
-
Number
(
sumkpiWeightTdVal
)).
toFixed
(
2
);
$
.
alert
(
mmm
);
$
(
"#kpiWeightTd"
).
val
(
mmm
);
$
(
"#kpiWeightTd"
).
val
(
mmm
);
return
;
return
;
}
}
if
(
kpiWeightTdVal
>
1.00
){
if
(
kpiWeightTdVal
>
1.00
){
$
.
alert
(
"权重超值 1"
);
$
.
alert
(
"权重超值 1"
);
var
mmmm
=
(
1
-
Number
(
sumkpiWeightTdVal
)).
toFixed
(
2
);
$
(
"#kpiWeightTd"
).
val
(
mmmm
);
return
;
return
;
}
}
var
tt
=
0.00
;
var
tt
=
0.00
;
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/views/MonitorOperation/UpdateAnaInfo.jsp
View file @
898d58ea
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
</tr>
</tr>
<tr
id=
"tr_id_weight"
>
<tr
id=
"tr_id_weight"
>
<td>
权重(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
权重(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><input
type=
"number"
class=
"form-control"
name=
"descTd"
id=
"kpiWeightTd"
style=
"display: inline;"
/>
<td><input
type=
"number"
step=
"0.01"
class=
"form-control"
name=
"descTd"
id=
"kpiWeightTd"
style=
"display: inline;"
/>
<span
id=
"writeWarningInfTd"
style=
"color:red;display: inline;padding-left:10px;"
></span></td>
<span
id=
"writeWarningInfTd"
style=
"color:red;display: inline;padding-left:10px;"
></span></td>
</tr>
</tr>
...
...
This diff is collapsed.
Click to expand it.
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