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
6659c47e
Commit
6659c47e
authored
Sep 04, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.调整列表展示
parent
069a1be1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
29 deletions
+42
-29
HGWD001B.jsp
src/main/webapp/HG/WD/HGWD001B.jsp
+10
-5
HGWD001C.jsp
src/main/webapp/HG/WD/HGWD001C.jsp
+10
-5
HGWD002.js
src/main/webapp/HG/WD/HGWD002.js
+4
-6
HGWD002.jsp
src/main/webapp/HG/WD/HGWD002.jsp
+18
-13
No files found.
src/main/webapp/HG/WD/HGWD001B.jsp
View file @
6659c47e
...
...
@@ -10,11 +10,16 @@
<EF:EFInput
cname=
"文件ID"
ename=
"fileId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
cname=
"附件ID"
ename=
"docId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<div
class=
"row"
>
<EF:EFInput
cname=
"公司名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"文件名称"
ename=
"fileName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFSelect
cname=
"文件类型"
ename=
"fileType"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
optionLabel=
""
defultValue=
""
readonly=
"true"
>
<EF:EFInput
cname=
"公司名称"
ename=
"companyName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
readonly=
"true"
/>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
cname=
"文件名称"
ename=
"fileName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
readonly=
"true"
/>
<EF:EFSelect
cname=
"文件类型"
ename=
"fileType"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
optionLabel=
""
defultValue=
""
readonly=
"true"
>
<EF:EFCodeOption
codeName=
"hggp.hgwd.fileType"
/>
</EF:EFSelect>
</div>
...
...
src/main/webapp/HG/WD/HGWD001C.jsp
View file @
6659c47e
...
...
@@ -10,11 +10,16 @@
<EF:EFInput
cname=
"文件ID"
ename=
"fileId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
cname=
"附件ID"
ename=
"docId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<div
class=
"row"
>
<EF:EFInput
cname=
"公司名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"文件名称"
ename=
"fileName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFSelect
cname=
"文件类型"
ename=
"fileType"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
optionLabel=
""
defultValue=
""
readonly=
"true"
>
<EF:EFInput
cname=
"公司名称"
ename=
"companyName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
readonly=
"true"
/>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
cname=
"文件名称"
ename=
"fileName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
readonly=
"true"
/>
<EF:EFSelect
cname=
"文件类型"
ename=
"fileType"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
optionLabel=
""
defultValue=
""
readonly=
"true"
>
<EF:EFCodeOption
codeName=
"hggp.hgwd.fileType"
/>
</EF:EFSelect>
</div>
...
...
src/main/webapp/HG/WD/HGWD002.js
View file @
6659c47e
...
...
@@ -180,14 +180,13 @@ $(function () {
},
{
field
:
"docVersion"
,
template
:
function
(
model
)
{
return
"
V
"
+
model
.
docVersion
;
return
"
v
"
+
model
.
docVersion
;
}
},
{
field
:
"docType"
,
title
:
"文件类型"
,
template
:
function
(
row
)
{
if
(
!
isBlank
(
row
.
docType
)
)
{
return
row
.
docType
.
substring
(
1
)
.
toUpperCase
()
;
if
(
!
isBlank
(
row
.
docType
)
&&
row
.
docType
.
startsWith
(
"."
))
{
return
row
.
docType
.
substring
(
1
);
}
return
row
.
docType
==
null
?
""
:
row
.
docType
;
}
...
...
@@ -334,4 +333,4 @@ let showAuthButton = function () {
$
(
"#PREVIEW"
).
attr
(
"disabled"
,
true
);
$
(
"#DOWNLOAD"
).
attr
(
"disabled"
,
true
);
}
}
\ No newline at end of file
}
src/main/webapp/HG/WD/HGWD002.jsp
View file @
6659c47e
...
...
@@ -11,8 +11,8 @@
<EF:EFRegion
title=
"文档目录树"
id=
"tree"
fitHeight=
"true"
>
<div
id=
"menu"
style=
"margin-top: 12px; margin-bottom: 8px"
>
<EF:EFTree
bindId=
"docTree"
ename=
"tree_name"
textField=
"text"
valueField=
"label"
hasChildren=
"leaf"
pid=
"parentId
"
serviceName=
"HGWD001D"
methodName=
"query
"
>
hasChildren=
"leaf"
pid=
"parentId"
serviceName=
"HGWD001D"
methodName=
"query
"
expandLevel=
"1
"
>
</EF:EFTree>
</div>
</EF:EFRegion>
...
...
@@ -28,30 +28,35 @@
<EF:EFInput
cname=
"层级"
ename=
"leafLevel"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库名称"
ename=
"fileName"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"业务类型"
ename=
"bizType"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
value=
"WD"
/>
<EF:EFSelect
blockId=
"inqu_status"
row=
"0"
ename=
"fileType"
cname=
"文件类型"
colWidth=
"3"
filter=
"contains"
>
<EF:EFSelect
blockId=
"inqu_status"
row=
"0"
ename=
"fileType"
cname=
"文件分类"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hggp.hgwd.fileType"
/>
</EF:EFSelect>
<EF:EFInput
cname=
"文件名称"
ename=
"docName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"文件名称"
ename=
"docName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFDatePicker
blockId=
"inqu_status"
row=
"0"
ename=
"createdTime"
cname=
"上传时间"
role=
"date"
format=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"3"
/>
format=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"3"
/>
</div>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
queryMethod=
"query"
sort=
"s
ingle
"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
queryMethod=
"query"
sort=
"s
etted
"
>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"fileId"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"文件ID"
enable=
"false"
width=
"180"
sort=
"false"
/>
<EF:EFColumn
ename=
"docName"
cname=
"文件名称"
enable=
"false"
width=
"150"
sort=
"false"
/>
<EF:EFColumn
ename=
"docType"
cname=
"文件类型"
enable=
"false"
width=
"150"
align=
"center"
sort=
"false"
/>
<EF:EFColumn
ename=
"docVersion"
cname=
"版本号"
enable=
"false"
width=
"100"
align=
"center"
sort=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"文件ID"
enable=
"false"
width=
"200"
align=
"center"
sort=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
enable=
"false"
width=
"140"
align=
"center"
sort=
"false"
/>
<EF:EFComboColumn
ename=
"fileType"
cname=
"文件分类"
enable=
"false"
width=
"90"
align=
"center"
>
<EF:EFCodeOption
codeName=
"hggp.hgwd.fileType"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"docName"
cname=
"文件名称"
enable=
"false"
width=
"220"
sort=
"true"
/>
<EF:EFColumn
ename=
"docType"
cname=
"文件后缀"
enable=
"false"
width=
"100"
align=
"center"
sort=
"true"
/>
<EF:EFColumn
ename=
"docVersion"
cname=
"版本号"
enable=
"false"
width=
"90"
align=
"center"
sort=
"true"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"上传时间"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
align=
"center"
width=
"140"
readonly=
"true"
required=
"fals
e"
enable=
"false"
sort=
"true"
/>
dateFormat=
"yyyy-MM-dd HH:mm:ss"
align=
"center"
width=
"140"
readonly=
"tru
e"
required=
"false"
enable=
"false"
sort=
"true"
/>
<EF:EFColumn
ename=
"previewNum"
cname=
"预览次数"
enable=
"false"
width=
"100"
align=
"right"
sort=
"true"
/>
<EF:EFColumn
ename=
"downloadNum"
cname=
"下载次数"
enable=
"false"
width=
"100"
align=
"right"
sort=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
enable=
"false"
width=
"200"
align=
"center"
sort=
"false"
/>
</EF:EFGrid>
</EF:EFRegion>
</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