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
499337df
Commit
499337df
authored
Dec 09, 2017
by
胡斌
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/moly'
parents
0483eed8
72f8079e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ModelParameterConfiguration.jsp
...WEB-INF/views/ModelManage/ModelParameterConfiguration.jsp
+3
-0
No files found.
src/main/webapp/WEB-INF/views/ModelManage/ModelParameterConfiguration.jsp
View file @
499337df
...
@@ -285,6 +285,8 @@
...
@@ -285,6 +285,8 @@
$
.
alert
(
"参数名不能为空"
);
$
.
alert
(
"参数名不能为空"
);
}
else
if
(
paramCode
==
""
){
}
else
if
(
paramCode
==
""
){
$
.
alert
(
"参数编码不能为空"
);
$
.
alert
(
"参数编码不能为空"
);
}
else
if
(
paramValue
==
""
){
$
.
alert
(
"参数值不能为空"
);
}
else
{
}
else
{
if
(
$
(
"#addTr"
).
find
(
"tr.orange-tr"
).
html
()
==
null
){
if
(
$
(
"#addTr"
).
find
(
"tr.orange-tr"
).
html
()
==
null
){
var
addRow
=
$
(
"<tr class='row mx-0'><td class='col-3'>"
+
paramName
+
"</td><td class='col-3'>"
+
paramCode
+
"</td><td class='col-3'>"
+
paramValue
+
"</td><td class='col-3'>"
+
paramDataType
+
"</td><td class='col-3'><a href='javascript:;' title='' onclick='deleteRow(this,
\"\"
)'>删除</a><a href='javascript:;' onclick='updateRow(this)'>修改</a></td></tr>"
);
var
addRow
=
$
(
"<tr class='row mx-0'><td class='col-3'>"
+
paramName
+
"</td><td class='col-3'>"
+
paramCode
+
"</td><td class='col-3'>"
+
paramValue
+
"</td><td class='col-3'>"
+
paramDataType
+
"</td><td class='col-3'><a href='javascript:;' title='' onclick='deleteRow(this,
\"\"
)'>删除</a><a href='javascript:;' onclick='updateRow(this)'>修改</a></td></tr>"
);
...
@@ -299,6 +301,7 @@
...
@@ -299,6 +301,7 @@
$
(
findTr
).
find
(
"td"
).
eq
(
2
).
html
(
paramValue
);
$
(
findTr
).
find
(
"td"
).
eq
(
2
).
html
(
paramValue
);
$
(
findTr
).
find
(
"td"
).
eq
(
3
).
html
(
paramDataType
);
$
(
findTr
).
find
(
"td"
).
eq
(
3
).
html
(
paramDataType
);
$
(
"#addTr"
).
find
(
"tr"
).
removeClass
();
$
(
"#addTr"
).
find
(
"tr"
).
removeClass
();
$
(
"#addTr"
).
find
(
"tr"
).
addClass
(
'row mx-0'
);
$
(
"#addParam"
).
text
(
"添加参数"
);
$
(
"#addParam"
).
text
(
"添加参数"
);
$
(
"#paramName"
).
attr
(
"value"
,
""
);
$
(
"#paramName"
).
attr
(
"value"
,
""
);
$
(
"#paramCode"
).
attr
(
"value"
,
""
);
$
(
"#paramCode"
).
attr
(
"value"
,
""
);
...
...
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