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
72f8079e
Commit
72f8079e
authored
Dec 08, 2017
by
莫林毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'模型修改界面'
1点击 '修改'按钮 样式失调bug 2 增加 '参数值'比填控制
parent
6f6f5639
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 @
72f8079e
...
...
@@ -285,6 +285,8 @@
$
.
alert
(
"参数名不能为空"
);
}
else
if
(
paramCode
==
""
){
$
.
alert
(
"参数编码不能为空"
);
}
else
if
(
paramValue
==
""
){
$
.
alert
(
"参数值不能为空"
);
}
else
{
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>"
);
...
...
@@ -299,6 +301,7 @@
$
(
findTr
).
find
(
"td"
).
eq
(
2
).
html
(
paramValue
);
$
(
findTr
).
find
(
"td"
).
eq
(
3
).
html
(
paramDataType
);
$
(
"#addTr"
).
find
(
"tr"
).
removeClass
();
$
(
"#addTr"
).
find
(
"tr"
).
addClass
(
'row mx-0'
);
$
(
"#addParam"
).
text
(
"添加参数"
);
$
(
"#paramName"
).
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