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
9fbc71c5
Commit
9fbc71c5
authored
Oct 11, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-11 文档管理按钮线上优化
parent
bbefcccd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
ServiceHGWD001.java
.../java/com/baosight/hggp/hg/wd/service/ServiceHGWD001.java
+3
-0
HGWD099.xml
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD099.xml
+2
-1
HGWD001.js
src/main/webapp/HG/WD/HGWD001.js
+5
-5
No files found.
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD001.java
View file @
9fbc71c5
...
@@ -208,6 +208,9 @@ public class ServiceHGWD001 extends ServiceEPBase {
...
@@ -208,6 +208,9 @@ public class ServiceHGWD001 extends ServiceEPBase {
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
HGWD099
hgwd099
=
new
HGWD099
();
HGWD099
hgwd099
=
new
HGWD099
();
hgwd099
.
fromMap
(
map
);
hgwd099
.
fromMap
(
map
);
if
(
hgwd099
.
getOperStatus
()
==
0
){
hgwd099
.
setDocVersion
(
hgwd099
.
getDocVersion
()
+
1
);
}
hgwd099
.
setStatus
(
HgWdConstant
.
FileStatus
.
S_1
);
hgwd099
.
setStatus
(
HgWdConstant
.
FileStatus
.
S_1
);
hgwd099
.
setReleaseDate
(
DateUtils
.
shortDateTime
());
hgwd099
.
setReleaseDate
(
DateUtils
.
shortDateTime
());
hgwd099
.
setOperStatus
(
HgWdConstant
.
OperStatus
.
S_0
);
hgwd099
.
setOperStatus
(
HgWdConstant
.
OperStatus
.
S_0
);
...
...
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD099.xml
View file @
9fbc71c5
...
@@ -171,6 +171,7 @@
...
@@ -171,6 +171,7 @@
DOC_NAME = #docName#,
<!-- 文件名称 -->
DOC_NAME = #docName#,
<!-- 文件名称 -->
DOC_TYPE = #docType#,
<!-- 文件类型 -->
DOC_TYPE = #docType#,
<!-- 文件类型 -->
STATUS = #status#,
STATUS = #status#,
DOC_VERSION = DOC_VERSION + 1,
<!--版本号-->
RELEASE_DATE = #releaseDate#,
<!--发布时间-->
RELEASE_DATE = #releaseDate#,
<!--发布时间-->
OPER_STATUS = #operStatus#,
OPER_STATUS = #operStatus#,
UPDATED_BY = #updatedBy#,
<!-- 修改人 -->
UPDATED_BY = #updatedBy#,
<!-- 修改人 -->
...
@@ -193,7 +194,7 @@
...
@@ -193,7 +194,7 @@
UPDATE ${hggpSchema}.HGWD099
UPDATE ${hggpSchema}.HGWD099
SET
SET
RELEASE_DATE = #releaseDate#,
<!--发布时间-->
RELEASE_DATE = #releaseDate#,
<!--发布时间-->
DOC_VERSION =
DOC_VERSION + 1
,
<!--版本号-->
DOC_VERSION =
#docVersion#
,
<!--版本号-->
STATUS = #status#,
<!-- 状态 -->
STATUS = #status#,
<!-- 状态 -->
OPER_STATUS = #operStatus#,
OPER_STATUS = #operStatus#,
<include
refid=
"SqlBase.updateRevise"
/>
<include
refid=
"SqlBase.updateRevise"
/>
...
...
src/main/webapp/HG/WD/HGWD001.js
View file @
9fbc71c5
...
@@ -811,20 +811,20 @@ let showAuthButton = function () {
...
@@ -811,20 +811,20 @@ let showAuthButton = function () {
let
leafType
=
IPLATUI
.
EFTree
.
categoryTree
.
selectTreeNode
.
leafType
;
let
leafType
=
IPLATUI
.
EFTree
.
categoryTree
.
selectTreeNode
.
leafType
;
let
parentId
=
IPLATUI
.
EFTree
.
categoryTree
.
selectTreeNode
.
fileId
;
let
parentId
=
IPLATUI
.
EFTree
.
categoryTree
.
selectTreeNode
.
fileId
;
let
leafLevel
=
IPLATUI
.
EFTree
.
categoryTree
.
selectTreeNode
.
leafLevel
let
leafLevel
=
IPLATUI
.
EFTree
.
categoryTree
.
selectTreeNode
.
leafLevel
let
changeRecord
=
$
(
"#CHANGE_RECORD"
).
hide
();
if
(
!
isBlank
(
leafLevel
)
&&
leafLevel
==
0
){
changeRecord
.
show
();
}
// C:目录
// C:目录
if
(
isBlank
(
leafType
)
||
leafType
!=
"C"
)
{
if
(
isBlank
(
leafType
)
||
leafType
!=
"C"
)
{
let
changeRecord
=
$
(
"#CHANGE_RECORD"
);
$
(
"#RELEASE"
).
hide
();
$
(
"#RELEASE"
).
hide
();
$
(
"#UPLOAD_FILE"
).
hide
();
$
(
"#UPLOAD_FILE"
).
hide
();
changeRecord
.
hide
();
$
(
"#COPY_FILE"
).
hide
();
$
(
"#COPY_FILE"
).
hide
();
$
(
"#COPY_PROT_FILE"
).
hide
();
$
(
"#COPY_PROT_FILE"
).
hide
();
$
(
"#PREVIEW"
).
hide
();
$
(
"#PREVIEW"
).
hide
();
$
(
"#BATCH_DOWNLOAD"
).
hide
();
$
(
"#BATCH_DOWNLOAD"
).
hide
();
if
(
!
isBlank
(
leafLevel
)
&&
leafLevel
==
0
){
changeRecord
.
show
();
}
return
return
}
}
isProjectManager
(
parentId
);
isProjectManager
(
parentId
);
...
...
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