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
3904c37b
Commit
3904c37b
authored
Sep 03, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-09-02 文档库新增修改后刷新目录
parent
c1f3fe4f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
15 deletions
+19
-15
HGWD001.js
src/main/webapp/HG/WD/HGWD001.js
+11
-7
HGWD001.jsp
src/main/webapp/HG/WD/HGWD001.jsp
+4
-4
HGWD001E.js
src/main/webapp/HG/WD/HGWD001E.js
+2
-2
HGWD001F.js
src/main/webapp/HG/WD/HGWD001F.js
+2
-2
No files found.
src/main/webapp/HG/WD/HGWD001.js
View file @
3904c37b
...
@@ -254,7 +254,7 @@ $(function () {
...
@@ -254,7 +254,7 @@ $(function () {
IPLAT
.
NotificationUtil
(
ei
.
getMsg
(),
"success"
)
IPLAT
.
NotificationUtil
(
ei
.
getMsg
(),
"success"
)
$
(
"#deleteOrgWindow"
).
data
(
"kendoWindow"
).
close
();
$
(
"#deleteOrgWindow"
).
data
(
"kendoWindow"
).
close
();
const
tree
=
$
(
'#categoryTree'
).
data
(
'kendoTreeView'
);
const
tree
=
$
(
'#categoryTree'
).
data
(
'kendoTreeView'
);
const
parentId
=
$
(
"#inqu_status
3
-0-orgParentId"
).
val
();
const
parentId
=
$
(
"#inqu_status-0-orgParentId"
).
val
();
// 刷新树节点
// 刷新树节点
tree
.
reload
(
parentId
);
tree
.
reload
(
parentId
);
// 展开树
// 展开树
...
@@ -322,7 +322,6 @@ $(function () {
...
@@ -322,7 +322,6 @@ $(function () {
callbackName: addCallback
callbackName: addCallback
});
});
}*/
}*/
})
})
$
(
"#categoryTree"
).
mousedown
(
function
(
e
)
{
$
(
"#categoryTree"
).
mousedown
(
function
(
e
)
{
...
@@ -511,9 +510,9 @@ let query = function () {
...
@@ -511,9 +510,9 @@ let query = function () {
/**
/**
* 新增组织机构回调
* 新增组织机构回调
*/
*/
let
addCallback
=
function
(
parent
Org
Id
)
{
let
addCallback
=
function
(
parentId
)
{
// 回填父级ID
// 回填父级ID
$
(
"#inqu_status
2-0-parentId"
).
val
(
parentOrg
Id
);
$
(
"#inqu_status
-0-orgParentId"
).
val
(
parent
Id
);
refreshTree
();
refreshTree
();
}
}
...
@@ -522,7 +521,7 @@ let addCallback = function (parentOrgId) {
...
@@ -522,7 +521,7 @@ let addCallback = function (parentOrgId) {
*/
*/
let
editCallback
=
function
(
parentOrgId
)
{
let
editCallback
=
function
(
parentOrgId
)
{
// 回填父级ID
// 回填父级ID
$
(
"#inqu_status2-0-p
arentId"
).
val
(
parentOrgId
);
//$("#inqu_status-0-orgP
arentId").val(parentOrgId);
refreshTree
();
refreshTree
();
}
}
...
@@ -549,7 +548,7 @@ let refreshTree = function () {
...
@@ -549,7 +548,7 @@ let refreshTree = function () {
}
}
// 刷新树节点
// 刷新树节点
const
tree
=
$
(
"#categoryTree"
).
data
(
"kendoTreeView"
);
const
tree
=
$
(
"#categoryTree"
).
data
(
"kendoTreeView"
);
const
treeOrgId
=
$
(
"#inqu_status
2-0-p
arentId"
).
val
()
const
treeOrgId
=
$
(
"#inqu_status
-0-orgP
arentId"
).
val
()
tree
.
reload
(
treeOrgId
)
tree
.
reload
(
treeOrgId
)
expandTreeNode
(
tree
,
treeOrgId
)
expandTreeNode
(
tree
,
treeOrgId
)
// tree.expandPath(treeOrgId)
// tree.expandPath(treeOrgId)
...
@@ -834,6 +833,11 @@ function uploadFile() {
...
@@ -834,6 +833,11 @@ function uploadFile() {
});
});
}
}
/**
* 文件变更
* @param docId 文件标识
* @param bizId 业务标识
*/
function
changeFile
(
docId
,
bizId
)
{
function
changeFile
(
docId
,
bizId
)
{
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
"HGWD099A?methodName=initLoad&inqu_status-0-bizType=WD"
+
href
:
"HGWD099A?methodName=initLoad&inqu_status-0-bizType=WD"
+
...
@@ -944,7 +948,7 @@ let showAuthButton = function () {
...
@@ -944,7 +948,7 @@ let showAuthButton = function () {
}
}
/**
/**
*
文件上传
*
变更记录
*/
*/
function
changeResord
()
{
function
changeResord
()
{
let
leafType
=
IPLATUI
.
EFTree
.
categoryTree
.
selectTreeNode
.
leafLevel
;
let
leafType
=
IPLATUI
.
EFTree
.
categoryTree
.
selectTreeNode
.
leafLevel
;
...
...
src/main/webapp/HG/WD/HGWD001.jsp
View file @
3904c37b
...
@@ -66,14 +66,14 @@
...
@@ -66,14 +66,14 @@
<EF:EFRegion
id=
"result"
title=
"附件详情"
fitHeight=
"true"
>
<EF:EFRegion
id=
"result"
title=
"附件详情"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
personal=
"true"
serviceName=
"HGWD099"
queryMethod=
"query"
deleteMethod=
"delete"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
personal=
"true"
serviceName=
"HGWD099"
queryMethod=
"query"
deleteMethod=
"delete"
>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"文件ID"
enable=
"false"
width=
"1
5
0"
/>
<EF:EFColumn
ename=
"docId"
cname=
"文件ID"
enable=
"false"
width=
"1
8
0"
/>
<EF:EFColumn
ename=
"docName"
cname=
"文件名称"
enable=
"false"
width=
"1
5
0"
/>
<EF:EFColumn
ename=
"docName"
cname=
"文件名称"
enable=
"false"
width=
"1
8
0"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
enable=
"false"
width=
"1
2
0"
align=
"center"
defaultValue=
"0"
hidden=
"false"
>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
enable=
"false"
width=
"1
0
0"
align=
"center"
defaultValue=
"0"
hidden=
"false"
>
<EF:EFCodeOption
codeName=
"hggp.hgwd.status"
/>
<EF:EFCodeOption
codeName=
"hggp.hgwd.status"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
enable=
"false"
width=
"
20
0"
align=
"center"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
enable=
"false"
width=
"
14
0"
align=
"center"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
</div>
</div>
...
...
src/main/webapp/HG/WD/HGWD001E.js
View file @
3904c37b
...
@@ -181,8 +181,8 @@ let save = function (btnNode) {
...
@@ -181,8 +181,8 @@ let save = function (btnNode) {
function
(
e
)
{
function
(
e
)
{
var
status
=
e
.
status
;
var
status
=
e
.
status
;
if
(
status
!==
-
1
)
{
if
(
status
!==
-
1
)
{
let
parent
OrgId
=
$
(
"#inqu_status-0-parentOrg
Id"
).
val
();
let
parent
Id
=
$
(
"#inqu_status-0-parent
Id"
).
val
();
parent
.
JSColorbox
.
setValueCallback
(
parent
Org
Id
);
parent
.
JSColorbox
.
setValueCallback
(
parentId
);
}
}
});
});
btnNode
.
attr
(
"disabled"
,
false
);
btnNode
.
attr
(
"disabled"
,
false
);
...
...
src/main/webapp/HG/WD/HGWD001F.js
View file @
3904c37b
...
@@ -149,8 +149,8 @@ let save = function (btnNode) {
...
@@ -149,8 +149,8 @@ let save = function (btnNode) {
function
(
e
)
{
function
(
e
)
{
var
status
=
e
.
status
;
var
status
=
e
.
status
;
if
(
status
!==
-
1
)
{
if
(
status
!==
-
1
)
{
let
parentOrgId
=
$
(
"#inqu_status-0-parentOrg
Id"
).
val
();
let
fileId
=
$
(
"#inqu_status-0-file
Id"
).
val
();
parent
.
JSColorbox
.
setValueCallback
(
parentOrg
Id
);
parent
.
JSColorbox
.
setValueCallback
(
file
Id
);
}
}
}
}
);
);
...
...
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