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
eb4ea8a8
Commit
eb4ea8a8
authored
Oct 29, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.文档库添加文档权限文件状态回显
parent
56e5b50c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
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/webapp/HG/WD/HGWD001.js
View file @
eb4ea8a8
...
@@ -308,7 +308,9 @@ $(function () {
...
@@ -308,7 +308,9 @@ $(function () {
title
:
"<div style='text-align: center;'>文档权限管理</div>"
,
title
:
"<div style='text-align: center;'>文档权限管理</div>"
,
width
:
"90%"
,
width
:
"90%"
,
height
:
"90%"
,
height
:
"90%"
,
callbackName
:
editCallback
callbackName
:
function
()
{
editCallback
(
$
(
"#inqu_status-0-orgParentId"
).
val
());
}
});
});
})
})
...
...
src/main/webapp/HG/WD/HGWD001H.js
View file @
eb4ea8a8
...
@@ -64,8 +64,7 @@ let save = function () {
...
@@ -64,8 +64,7 @@ let save = function () {
function
(
e
)
{
function
(
e
)
{
var
status
=
e
.
status
;
var
status
=
e
.
status
;
if
(
status
!==
-
1
)
{
if
(
status
!==
-
1
)
{
let
fileId
=
$
(
"#inqu_status-0-fileId"
).
val
();
parent
.
JSColorbox
.
setValueCallback
();
parent
.
JSColorbox
.
setValueCallback
(
fileId
);
}
}
});
});
}
}
...
@@ -98,8 +97,7 @@ let auth = function () {
...
@@ -98,8 +97,7 @@ let auth = function () {
* 授权回调
* 授权回调
*/
*/
let
authCallback
=
function
(
res
)
{
let
authCallback
=
function
(
res
)
{
let
fileId
=
$
(
"#inqu_status-0-fileId"
).
val
();
parent
.
JSColorbox
.
setValueCallback
();
parent
.
JSColorbox
.
setValueCallback
(
fileId
);
// 刷新页面
// 刷新页面
query
();
query
();
...
@@ -120,7 +118,12 @@ let removeUser = function () {
...
@@ -120,7 +118,12 @@ let removeUser = function () {
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
取消授权用户
\"
操作? "
,
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
取消授权用户
\"
操作? "
,
{
ok
:
function
()
{
ok
:
function
()
{
JSUtils
.
submitGridsData
(
"result"
,
"HGWD003"
,
"removeUser"
,
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