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
b3b3b124
Commit
b3b3b124
authored
Oct 30, 2024
by
江和松
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
1471df14
c6a22c3a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
+13
-8
ServiceHGCW014.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW014.java
+1
-1
HGCW014.js
src/main/webapp/HG/CW/HGCW014.js
+1
-1
HGWD001.js
src/main/webapp/HG/WD/HGWD001.js
+3
-1
HGWD001H.js
src/main/webapp/HG/WD/HGWD001H.js
+8
-5
No files found.
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW014.java
View file @
b3b3b124
...
...
@@ -292,7 +292,7 @@ public class ServiceHGCW014 extends ServiceBase {
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HGCW014
HGCW014
=
new
HGCW014
();
HGCW014
.
fromMap
(
resultRows
.
get
(
i
));
if
(
!
HGCW014
.
getReviewStatus
().
equals
(
ReviewStatusEnum
.
UNREVIEWED
.
getCode
())){
if
(
HGCW014
.
getReviewStatus
().
equals
(
ReviewStatusEnum
.
UNREVIEWED
.
getCode
())){
throw
new
RuntimeException
(
"当前状态为未审核提交,请先审核提交!"
);
}
HGCW014
.
setCancelStatus
(
2
);
...
...
src/main/webapp/HG/CW/HGCW014.js
View file @
b3b3b124
...
...
@@ -177,7 +177,7 @@ function submitFunc() {
message
(
"选中的第"
+
(
index
+
1
)
+
"行未保存的数据,请先保存!"
);
flag
=
false
;
}
if
(
row
.
reviewStatus
==
"
3
"
)
{
if
(
row
.
reviewStatus
==
"
1
"
)
{
message
(
"勾选的数据中有已经提交的单据!"
);
flag
=
false
;
return
;
...
...
src/main/webapp/HG/WD/HGWD001.js
View file @
b3b3b124
...
...
@@ -308,7 +308,9 @@ $(function () {
title
:
"<div style='text-align: center;'>文档权限管理</div>"
,
width
:
"90%"
,
height
:
"90%"
,
callbackName
:
editCallback
callbackName
:
function
()
{
editCallback
(
$
(
"#inqu_status-0-orgParentId"
).
val
());
}
});
})
...
...
src/main/webapp/HG/WD/HGWD001H.js
View file @
b3b3b124
...
...
@@ -64,8 +64,7 @@ let save = function () {
function
(
e
)
{
var
status
=
e
.
status
;
if
(
status
!==
-
1
)
{
let
fileId
=
$
(
"#inqu_status-0-fileId"
).
val
();
parent
.
JSColorbox
.
setValueCallback
(
fileId
);
parent
.
JSColorbox
.
setValueCallback
();
}
});
}
...
...
@@ -98,8 +97,7 @@ let auth = function () {
* 授权回调
*/
let
authCallback
=
function
(
res
)
{
let
fileId
=
$
(
"#inqu_status-0-fileId"
).
val
();
parent
.
JSColorbox
.
setValueCallback
(
fileId
);
parent
.
JSColorbox
.
setValueCallback
();
// 刷新页面
query
();
...
...
@@ -120,7 +118,12 @@ let removeUser = function () {
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
取消授权用户
\"
操作? "
,
{
ok
:
function
()
{
JSUtils
.
submitGridsData
(
"result"
,
"HGWD003"
,
"removeUser"
,
true
true
,
function
(
e
)
{
var
status
=
e
.
status
;
if
(
status
!==
-
1
)
{
parent
.
JSColorbox
.
setValueCallback
();
}
}
);
}
});
...
...
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