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
78f0632f
Commit
78f0632f
authored
Oct 15, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.文档库页面,默认不加载
parent
3a69bad2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
16 deletions
+19
-16
HGWD001.js
src/main/webapp/HG/WD/HGWD001.js
+8
-7
HGWD001.jsp
src/main/webapp/HG/WD/HGWD001.jsp
+11
-9
No files found.
src/main/webapp/HG/WD/HGWD001.js
View file @
78f0632f
...
@@ -6,17 +6,14 @@ $(function () {
...
@@ -6,17 +6,14 @@ $(function () {
$
(
"#HGWD001"
).
css
(
"padding-bottom"
,
"8px"
)
$
(
"#HGWD001"
).
css
(
"padding-bottom"
,
"8px"
)
sessionStorage
.
removeItem
(
"__user_id__"
)
sessionStorage
.
removeItem
(
"__user_id__"
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
resultGrid
.
dataSource
.
page
(
1
);
// 显示授权按钮
// 显示授权按钮
showAuthButton
();
showAuthButton
();
},
1000
);
},
1000
);
// 查询
// 查询
$
(
"#QUERY"
).
on
(
"click"
,
function
(
e
)
{
$
(
"#QUERY"
).
on
(
"click"
,
query
);
resultGrid
.
dataSource
.
page
(
1
);
});
$
(
"#QUERY1"
).
on
(
"click"
,
query1
);
$
(
"#QUERY1"
).
on
(
"click"
,
function
(
e
)
{
result1Grid
.
dataSource
.
page
(
1
);
});
$
(
"#QUERY2"
).
on
(
"click"
,
function
(
e
)
{
$
(
"#QUERY2"
).
on
(
"click"
,
function
(
e
)
{
result2Grid
.
dataSource
.
page
(
1
);
result2Grid
.
dataSource
.
page
(
1
);
});
});
...
@@ -528,6 +525,10 @@ let query = function () {
...
@@ -528,6 +525,10 @@ let query = function () {
resultGrid
.
dataSource
.
page
(
1
);
resultGrid
.
dataSource
.
page
(
1
);
}
}
let
query1
=
function
()
{
result1Grid
.
dataSource
.
page
(
1
);
}
/**
/**
* 新增组织机构回调
* 新增组织机构回调
*/
*/
...
...
src/main/webapp/HG/WD/HGWD001.jsp
View file @
78f0632f
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
fitHeight=
"true"
>
<EF:EFRegion
id=
"result"
title=
"明细信息"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
showCount=
"true"
height=
"74vh"
sort=
"all"
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
autoBind=
"false"
showCount=
"true"
height=
"74vh"
sort=
"all"
serviceName=
"HGWD099"
queryMethod=
"query"
deleteMethod=
"delete"
>
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=
"180"
hidden=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"文件ID"
enable=
"false"
width=
"180"
hidden=
"true"
/>
...
@@ -126,16 +126,17 @@
...
@@ -126,16 +126,17 @@
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result1"
title=
"明细信息"
>
<EF:EFRegion
id=
"result1"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result1"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
queryMethod=
"query1"
>
<EF:EFGrid
blockId=
"result1"
autoDraw=
"override"
autoBind=
"false"
isFloat=
"true"
checkMode=
"row"
queryMethod=
"query1"
>
<EF:EFColumn
ename=
"id"
primaryKey=
"true"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
primaryKey=
"true"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentId"
cname=
"上级ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentId"
cname=
"上级ID"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"projCode"
cname=
"项目名称"
blockName=
"proj_record_block_id"
<EF:EFComboColumn
ename=
"projCode"
cname=
"项目名称"
blockName=
"proj_record_block_id"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
textField=
"textField"
valueField=
"valueField"
textField=
"textField"
valueField=
"valueField"
maxLength=
"16"
readonly=
"true"
width=
"200"
required=
"true"
maxLength=
"16"
readonly=
"true"
width=
"200"
required=
"true"
align=
"left"
filter=
"contains"
sort=
"true"
/>
align=
"left"
filter=
"contains"
sort=
"true"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"160"
enable=
"true"
readonly=
"true"
align=
"left"
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"160"
enable=
"true"
readonly=
"true"
align=
"left"
required=
"true"
hidden=
"true"
/>
required=
"true"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"fileType"
cname=
"目录类型"
width=
"100"
align=
"center"
readonly=
"false"
required=
"true"
<EF:EFComboColumn
ename=
"fileType"
cname=
"目录类型"
width=
"100"
align=
"center"
readonly=
"false"
required=
"true"
defaultValue=
"20"
>
defaultValue=
"20"
>
<EF:EFCodeOption
codeName=
"hggp.hgwd.fileType"
/>
<EF:EFCodeOption
codeName=
"hggp.hgwd.fileType"
/>
...
@@ -157,11 +158,12 @@
...
@@ -157,11 +158,12 @@
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result2"
title=
"明细信息"
>
<EF:EFRegion
id=
"result2"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result2"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"single"
queryMethod=
"query2"
>
<EF:EFGrid
blockId=
"result2"
autoDraw=
"override"
autoBind=
"false"
isFloat=
"true"
checkMode=
"single"
queryMethod=
"query2"
>
<EF:EFColumn
ename=
"id"
primaryKey=
"true"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
primaryKey=
"true"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentId"
cname=
"上级ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentId"
cname=
"上级ID"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"projCode"
cname=
"项目名称"
blockName=
"proj_record_block_id"
<EF:EFComboColumn
ename=
"projCode"
cname=
"项目名称"
blockName=
"proj_record_block_id"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
textField=
"textField"
valueField=
"valueField"
textField=
"textField"
valueField=
"valueField"
maxLength=
"16"
readonly=
"true"
width=
"200"
required=
"true"
maxLength=
"16"
readonly=
"true"
width=
"200"
required=
"true"
align=
"left"
filter=
"contains"
sort=
"true"
/>
align=
"left"
filter=
"contains"
sort=
"true"
/>
...
...
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