Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
bd77b46a
Commit
bd77b46a
authored
May 11, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目立项修改BUGFIX;
parent
942399c4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
HGSC001.js
src/main/webapp/HG/SC/HGSC001.js
+5
-5
common.js
src/main/webapp/common/js/common.js
+1
-1
No files found.
src/main/webapp/HG/SC/HGSC001.js
View file @
bd77b46a
...
...
@@ -92,11 +92,11 @@ function create() {
function
update
()
{
let
rows
=
resultGrid
.
getCheckedRows
()
if
(
rows
.
length
<
1
||
rows
.
length
>
1
)
{
message
(
"请选择一条需要修改的数据"
);
message
2
(
"修改"
,
"请选择一条需要修改的数据"
);
return
;
}
if
(
rows
[
0
].
approvalStatus
>
0
){
message
(
"项目已提交不可修改!"
);
message
(
"
修改"
,
"
项目已提交不可修改!"
);
return
;
}
let
id
=
rows
[
0
].
id
;
...
...
@@ -111,7 +111,7 @@ function update() {
function
remove
()
{
let
rows
=
resultGrid
.
getCheckedRows
()
if
(
rows
.
length
<
1
)
{
message
(
"删除"
,
"没有选中的行"
);
message
2
(
"删除"
,
"没有选中的行"
);
return
;
}
IPLAT
.
confirm
({
...
...
@@ -142,7 +142,7 @@ function remove() {
function
complete
()
{
let
rows
=
resultGrid
.
getCheckedRows
()
if
(
rows
.
length
<
1
)
{
message
(
"完工"
,
"没有选中的行"
);
message
2
(
"完工"
,
"没有选中的行"
);
return
;
}
IPLAT
.
confirm
({
...
...
@@ -173,7 +173,7 @@ function complete() {
function
commit
()
{
let
rows
=
resultGrid
.
getCheckedRows
()
if
(
rows
.
length
<
1
)
{
message
(
"提交"
,
"没有选中的行"
);
message
2
(
"提交"
,
"没有选中的行"
);
return
;
}
IPLAT
.
confirm
({
...
...
src/main/webapp/common/js/common.js
View file @
bd77b46a
...
...
@@ -85,7 +85,7 @@ function message(msg) {
* @param title
* @param msg
*/
function
message
(
title
,
msg
)
{
function
message
2
(
title
,
msg
)
{
WindowUtil
({
title
:
title
,
content
:
"<div class='kendo-del-message'>"
+
msg
+
"</div>"
...
...
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