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
38fffe2d
Commit
38fffe2d
authored
Oct 10, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-sx' of
http://git.pseer.com:8800/platform/hg-smart
into dev
parents
916b7bf6
5070c837
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
144 additions
and
415 deletions
+144
-415
ServiceHGWD001E.java
...java/com/baosight/hggp/hg/wd/service/ServiceHGWD001E.java
+19
-0
foot.jsp
...n/resources/META-INF/resources/WEB-INF/fragments/foot.jsp
+5
-0
HGSC101.js
src/main/webapp/HG/SC/HGSC101.js
+2
-2
HGWD001.js
src/main/webapp/HG/WD/HGWD001.js
+6
-37
HGWD001.jsp
src/main/webapp/HG/WD/HGWD001.jsp
+2
-29
HGWD001A.js
src/main/webapp/HG/WD/HGWD001A.js
+4
-16
HGWD001A.jsp
src/main/webapp/HG/WD/HGWD001A.jsp
+3
-14
HGWD001B.js
src/main/webapp/HG/WD/HGWD001B.js
+2
-2
HGWD001B.jsp
src/main/webapp/HG/WD/HGWD001B.jsp
+2
-4
HGWD001C.js
src/main/webapp/HG/WD/HGWD001C.js
+1
-1
HGWD001C.jsp
src/main/webapp/HG/WD/HGWD001C.jsp
+2
-4
HGWD001E.js
src/main/webapp/HG/WD/HGWD001E.js
+21
-83
HGWD001E.jsp
src/main/webapp/HG/WD/HGWD001E.jsp
+8
-18
HGWD001F.js
src/main/webapp/HG/WD/HGWD001F.js
+19
-68
HGWD001F.jsp
src/main/webapp/HG/WD/HGWD001F.jsp
+3
-13
HGWD001G.js
src/main/webapp/HG/WD/HGWD001G.js
+7
-70
HGWD001G.jsp
src/main/webapp/HG/WD/HGWD001G.jsp
+3
-12
HGWD002.js
src/main/webapp/HG/WD/HGWD002.js
+1
-2
HGWD002.jsp
src/main/webapp/HG/WD/HGWD002.jsp
+3
-3
HGWD003.js
src/main/webapp/HG/WD/HGWD003.js
+4
-0
HGWD003.jsp
src/main/webapp/HG/WD/HGWD003.jsp
+2
-2
HGWD003A.js
src/main/webapp/HG/WD/HGWD003A.js
+2
-2
HGWD003A.jsp
src/main/webapp/HG/WD/HGWD003A.jsp
+1
-1
HGWD003B.js
src/main/webapp/HG/WD/HGWD003B.js
+2
-2
HGWD003B.jsp
src/main/webapp/HG/WD/HGWD003B.jsp
+1
-1
HGWD004.js
src/main/webapp/HG/WD/HGWD004.js
+7
-9
HGWD004.jsp
src/main/webapp/HG/WD/HGWD004.jsp
+3
-15
HGWD009.js
src/main/webapp/HG/WD/HGWD009.js
+4
-0
HGWD009.jsp
src/main/webapp/HG/WD/HGWD009.jsp
+2
-2
HGWD009A.js
src/main/webapp/HG/WD/HGWD009A.js
+2
-2
HGWD009A.jsp
src/main/webapp/HG/WD/HGWD009A.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD001E.java
View file @
38fffe2d
...
@@ -8,12 +8,15 @@ import com.baosight.hggp.core.dao.DaoUtils;
...
@@ -8,12 +8,15 @@ import com.baosight.hggp.core.dao.DaoUtils;
import
com.baosight.hggp.core.enums.OrgTypeEnum
;
import
com.baosight.hggp.core.enums.OrgTypeEnum
;
import
com.baosight.hggp.core.tools.Iplat4jTools
;
import
com.baosight.hggp.core.tools.Iplat4jTools
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.sc.domain.HGSC001
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.hg.wd.constant.HgWdConstant
;
import
com.baosight.hggp.hg.wd.constant.HgWdConstant
;
import
com.baosight.hggp.hg.wd.domain.HGWD001
;
import
com.baosight.hggp.hg.wd.domain.HGWD001
;
import
com.baosight.hggp.hg.wd.domain.HGWD001A
;
import
com.baosight.hggp.hg.wd.domain.HGWD001A
;
import
com.baosight.hggp.hg.wd.domain.HGWD005
;
import
com.baosight.hggp.hg.wd.domain.HGWD005
;
import
com.baosight.hggp.hg.wd.tools.HGWDTools
;
import
com.baosight.hggp.hg.wd.tools.HGWDTools
;
import
com.baosight.hggp.hg.xs.domain.Org
;
import
com.baosight.hggp.hg.xs.domain.Org
;
import
com.baosight.hggp.util.AssertUtils
;
import
com.baosight.hggp.util.CommonMethod
;
import
com.baosight.hggp.util.CommonMethod
;
import
com.baosight.hggp.util.LogUtils
;
import
com.baosight.hggp.util.LogUtils
;
import
com.baosight.hggp.util.contants.ACConstants
;
import
com.baosight.hggp.util.contants.ACConstants
;
...
@@ -74,6 +77,8 @@ public class ServiceHGWD001E extends ServiceEPBase {
...
@@ -74,6 +77,8 @@ public class ServiceHGWD001E extends ServiceEPBase {
HGWD001
hgwd001
=
new
HGWD001
();
HGWD001
hgwd001
=
new
HGWD001
();
hgwd001
.
fromMap
(
resultRow
);
hgwd001
.
fromMap
(
resultRow
);
hgwd001
.
setStatus
(
HgWdConstant
.
FileStatus
.
S_0
);
hgwd001
.
setStatus
(
HgWdConstant
.
FileStatus
.
S_0
);
// 设置项目信息
this
.
setProjectInfo
(
hgwd001
);
if
(
hgwd001
.
getId
()
==
null
||
hgwd001
.
getId
()
==
0
)
{
if
(
hgwd001
.
getId
()
==
null
||
hgwd001
.
getId
()
==
0
)
{
this
.
add
(
hgwd001
);
this
.
add
(
hgwd001
);
}
else
{
}
else
{
...
@@ -147,4 +152,18 @@ public class ServiceHGWD001E extends ServiceEPBase {
...
@@ -147,4 +152,18 @@ public class ServiceHGWD001E extends ServiceEPBase {
inInfo
.
addBlock
(
productBlock
);
inInfo
.
addBlock
(
productBlock
);
return
inInfo
;
return
inInfo
;
}
}
/**
* 设置项目信息
*
* @param fWd001
*/
private
void
setProjectInfo
(
HGWD001
fWd001
)
{
AssertUtils
.
isEmpty
(
fWd001
.
getProjCode
(),
"项目不能为空"
);
HGSC001
dbSc001
=
HGSCTools
.
Hgsc001
.
queryByCode
(
fWd001
.
getProjCode
());
AssertUtils
.
isNull
(
dbSc001
,
String
.
format
(
"项目【%s】不存在"
,
fWd001
.
getProjCode
()));
fWd001
.
setProjName
(
dbSc001
.
getProjName
());
fWd001
.
setProjType
(
dbSc001
.
getProjType
());
}
}
}
src/main/resources/META-INF/resources/WEB-INF/fragments/foot.jsp
View file @
38fffe2d
...
@@ -25,3 +25,8 @@
...
@@ -25,3 +25,8 @@
<script src="${ctx}/common/js/common.js"></script>
<script src="${ctx}/common/js/common.js"></script>
<script src="${ctx}/common/js/jsUtils.js"></script>
<script src="${ctx}/common/js/jsUtils.js"></script>
<EF:EFInput cname="parentFormEname" ename="efParentFormEname" type="hidden"/>
<EF:EFInput cname="parentFormEname" ename="efParentFormEname" type="hidden"/>
<style>
.k-pager-sm .k-pager-info {
display: inline;
}
</style>
src/main/webapp/HG/SC/HGSC101.js
View file @
38fffe2d
...
@@ -4,8 +4,8 @@ $(function () {
...
@@ -4,8 +4,8 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
100
,
250
,
500
],
pageSizes
:
[
20
,
50
,
100
,
250
,
500
],
},
},
columns
:
[{
columns
:
[{
field
:
"operator"
,
field
:
"operator"
,
...
...
src/main/webapp/HG/WD/HGWD001.js
View file @
38fffe2d
$
(
function
()
{
$
(
function
()
{
var
companyCodeBox
=
__eiInfo
.
getBlock
(
"companyBox_block_id"
).
getMappedRows
();
var
projCodeBox
=
__eiInfo
.
getBlock
(
"proj_record_block_id"
).
getMappedRows
();
var
projCodeBox
=
__eiInfo
.
getBlock
(
"proj_record_block_id"
).
getMappedRows
();
const
init
=
()
=>
{
const
init
=
()
=>
{
...
@@ -107,7 +106,6 @@ $(function () {
...
@@ -107,7 +106,6 @@ $(function () {
$
(
"[name = 'inqu_status-0-fileId']"
).
val
(
eNameValue
);
$
(
"[name = 'inqu_status-0-fileId']"
).
val
(
eNameValue
);
$
(
"[name = 'inqu_status-0-leafLevel']"
).
val
(
_data
.
leafLevel
==
null
?
0
:
_data
.
leafLevel
);
$
(
"[name = 'inqu_status-0-leafLevel']"
).
val
(
_data
.
leafLevel
==
null
?
0
:
_data
.
leafLevel
);
$
(
"[name = 'inqu_status-0-projCode']"
).
val
(
_data
.
projCode
);
$
(
"[name = 'inqu_status-0-projCode']"
).
val
(
_data
.
projCode
);
$
(
"[name = 'inqu_status-0-companyCode']"
).
val
(
_data
.
companyCode
);
$
(
"[name = 'inqu_status-0-type']"
).
val
(
typeValue
);
$
(
"[name = 'inqu_status-0-type']"
).
val
(
typeValue
);
$
(
"[name = 'inqu_status-0-fileName']"
).
val
(
_data
.
text
);
$
(
"[name = 'inqu_status-0-fileName']"
).
val
(
_data
.
text
);
$
(
"[name = 'inqu_status-0-leafType']"
).
val
(
_data
.
leafType
);
$
(
"[name = 'inqu_status-0-leafType']"
).
val
(
_data
.
leafType
);
...
@@ -204,32 +202,19 @@ $(function () {
...
@@ -204,32 +202,19 @@ $(function () {
$
(
"#add"
).
on
(
"click"
,
()
=>
{
$
(
"#add"
).
on
(
"click"
,
()
=>
{
const
parentId
=
$
(
"#inqu_status-0-parentId"
).
val
();
const
parentId
=
$
(
"#inqu_status-0-parentId"
).
val
();
let
projCode
=
$
(
"#inqu_status-0-projCode"
).
val
();
let
projCode
=
$
(
"#inqu_status-0-projCode"
).
val
();
let
companyCode
=
$
(
"#inqu_status-0-companyCode"
).
val
();
let
leafLevel
=
parseInt
(
$
(
"#inqu_status-0-leafLevel"
).
val
())
+
1
;
let
leafLevel
=
parseInt
(
$
(
"#inqu_status-0-leafLevel"
).
val
())
+
1
;
let
type
=
$
(
"#inqu_status-0-type"
).
val
();
let
type
=
$
(
"#inqu_status-0-type"
).
val
();
if
(
null
==
parentId
||
""
===
parentId
)
{
if
(
null
==
parentId
||
""
===
parentId
)
{
message
(
"请在文档目录树选择任意节点后新增文档目录"
);
message
(
"请在文档目录树选择任意节点后新增文档目录"
);
return
return
}
}
/*if (type == "company"){
let params = "&inqu_status-0-parentId=" + parentId+"&inqu_status-0-companyCode="+companyCode+"" +
"&inqu_status-0-projCode="+projCode+"&inqu_status-0-leafLevel="+leafLevel;
JSColorbox.open({
href: "HGWD001G?methodName=initLoad" + params,
title: "<div style='text-align: center;'>新增项目</div>",
width: "70%",
height: "70%",
callbackName: addCallback
});
}*/
let
params
=
"&inqu_status-0-parentId="
+
parentId
+
""
+
let
params
=
"&inqu_status-0-parentId="
+
parentId
+
""
+
"&inqu_status-0-companyCode="
+
companyCode
+
""
+
"&inqu_status-0-projCode="
+
projCode
+
"&inqu_status-0-leafLevel="
+
leafLevel
;
"&inqu_status-0-projCode="
+
projCode
+
"&inqu_status-0-leafLevel="
+
leafLevel
;
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
"HGWD001E?methodName=initLoad"
+
params
,
href
:
"HGWD001E?methodName=initLoad"
+
params
,
title
:
"<div style='text-align: center;'>新增文件</div>"
,
title
:
"<div style='text-align: center;'>新增文件</div>"
,
width
:
"
70
%"
,
width
:
"
85
%"
,
height
:
"
70
%"
,
height
:
"
85
%"
,
callbackName
:
addCallback
callbackName
:
addCallback
});
});
...
@@ -299,7 +284,6 @@ $(function () {
...
@@ -299,7 +284,6 @@ $(function () {
$
(
"#edit"
).
on
(
"click"
,
()
=>
{
$
(
"#edit"
).
on
(
"click"
,
()
=>
{
const
orgId
=
$
(
"#inqu_status-0-parentId"
).
val
();
const
orgId
=
$
(
"#inqu_status-0-parentId"
).
val
();
let
projCode
=
$
(
"#inqu_status-0-projCode"
).
val
();
let
projCode
=
$
(
"#inqu_status-0-projCode"
).
val
();
let
companyCode
=
$
(
"#inqu_status-0-companyCode"
).
val
();
let
leafLevel
=
parseInt
(
$
(
"#inqu_status-0-leafLevel"
).
val
())
+
1
;
let
leafLevel
=
parseInt
(
$
(
"#inqu_status-0-leafLevel"
).
val
())
+
1
;
let
type
=
$
(
"#inqu_status-0-type"
).
val
();
let
type
=
$
(
"#inqu_status-0-type"
).
val
();
if
(
null
==
orgId
||
""
===
orgId
||
"root"
===
orgId
)
{
if
(
null
==
orgId
||
""
===
orgId
||
"root"
===
orgId
)
{
...
@@ -310,7 +294,7 @@ $(function () {
...
@@ -310,7 +294,7 @@ $(function () {
message2
(
"提示"
,
"项目无法编辑!"
);
message2
(
"提示"
,
"项目无法编辑!"
);
return
return
}
}
let
params
=
"&inqu_status-0-fileId="
+
orgId
+
"&inqu_status-0-
companyCode="
+
companyCode
+
"&inqu_status-0-
projCode="
+
projCode
;
let
params
=
"&inqu_status-0-fileId="
+
orgId
+
"&inqu_status-0-projCode="
+
projCode
;
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
"HGWD001F?methodName=initLoad"
+
params
,
href
:
"HGWD001F?methodName=initLoad"
+
params
,
title
:
"<div style='text-align: center;'>编辑文件</div>"
,
title
:
"<div style='text-align: center;'>编辑文件</div>"
,
...
@@ -318,16 +302,6 @@ $(function () {
...
@@ -318,16 +302,6 @@ $(function () {
height
:
"70%"
,
height
:
"70%"
,
callbackName
:
editCallback
callbackName
:
editCallback
});
});
/*if (leafLevel == "2"){
let params = "&inqu_status-0-fileId="+orgId+"&inqu_status-0-companyCode="+companyCode+"&inqu_status-0-projCode="+projCode;
JSColorbox.open({
href: "HGWD001G?methodName=initLoad" + params,
title: "<div style='text-align: center;'>编辑项目</div>",
width: "70%",
height: "70%",
callbackName: addCallback
});
}*/
})
})
$
(
"#categoryTree"
).
mousedown
(
function
(
e
)
{
$
(
"#categoryTree"
).
mousedown
(
function
(
e
)
{
...
@@ -358,7 +332,6 @@ $(function () {
...
@@ -358,7 +332,6 @@ $(function () {
// 设置当前选中的节点信息
// 设置当前选中的节点信息
$
(
"[name = 'inqu_status-0-parentId']"
).
val
(
orgId
);
$
(
"[name = 'inqu_status-0-parentId']"
).
val
(
orgId
);
$
(
"[name = 'inqu_status-0-projCode']"
).
val
(
data
.
projCode
);
$
(
"[name = 'inqu_status-0-projCode']"
).
val
(
data
.
projCode
);
$
(
"[name = 'inqu_status-0-companyCode']"
).
val
(
data
.
companyCode
);
$
(
"[name = 'inqu_status-0-type']"
).
val
(
data
.
type
);
$
(
"[name = 'inqu_status-0-type']"
).
val
(
data
.
type
);
/*$("[name = 'inqu_status-0-fileId']").val(data.ename);*/
/*$("[name = 'inqu_status-0-fileId']").val(data.ename);*/
$
(
"[name = 'inqu_status-0-fileName']"
).
val
(
data
.
text
);
$
(
"[name = 'inqu_status-0-fileName']"
).
val
(
data
.
text
);
...
@@ -401,12 +374,11 @@ $(function () {
...
@@ -401,12 +374,11 @@ $(function () {
}
}
};
};
IPLATUI
.
EFGrid
=
{
IPLATUI
.
EFGrid
=
{
"result"
:
{
"result"
:
{
exportGrid
:
false
,
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
},
},
loadComplete
:
function
(
grid
)
{
loadComplete
:
function
(
grid
)
{
...
@@ -912,7 +884,6 @@ function saveFunc() {
...
@@ -912,7 +884,6 @@ function saveFunc() {
if
(
ei
.
getStatus
()
>=
0
)
{
if
(
ei
.
getStatus
()
>=
0
)
{
try
{
try
{
$
(
"#selectOrgWindow"
).
data
(
"kendoWindow"
).
close
()
$
(
"#selectOrgWindow"
).
data
(
"kendoWindow"
).
close
()
$
(
"#inqu_status1-0-companyCode"
).
val
(
''
);
$
(
"#inqu_status1-0-projName"
).
val
(
''
);
$
(
"#inqu_status1-0-projName"
).
val
(
''
);
$
(
"#inqu_status1-0-fileType"
).
val
(
''
);
$
(
"#inqu_status1-0-fileType"
).
val
(
''
);
$
(
"#inqu_status1-0-fileName"
).
val
(
''
);
$
(
"#inqu_status1-0-fileName"
).
val
(
''
);
...
@@ -964,7 +935,6 @@ function saveProtFunc() {
...
@@ -964,7 +935,6 @@ function saveProtFunc() {
if
(
ei
.
getStatus
()
>=
0
)
{
if
(
ei
.
getStatus
()
>=
0
)
{
try
{
try
{
$
(
"#selectProjWindow"
).
data
(
"kendoWindow"
).
close
()
$
(
"#selectProjWindow"
).
data
(
"kendoWindow"
).
close
()
$
(
"#inqu_status2-0-companyCode"
).
val
(
''
);
$
(
"#inqu_status2-0-projName"
).
val
(
''
);
$
(
"#inqu_status2-0-projName"
).
val
(
''
);
const
tree
=
$
(
'#categoryTree'
).
data
(
'kendoTreeView'
);
const
tree
=
$
(
'#categoryTree'
).
data
(
'kendoTreeView'
);
// 刷新树节点
// 刷新树节点
...
@@ -1032,4 +1002,4 @@ let isProjectManager = function (parentId) {
...
@@ -1032,4 +1002,4 @@ let isProjectManager = function (parentId) {
},
{
},
{
async
:
false
async
:
false
})
})
}
}
\ No newline at end of file
src/main/webapp/HG/WD/HGWD001.jsp
View file @
38fffe2d
...
@@ -51,7 +51,6 @@
...
@@ -51,7 +51,6 @@
<div
id=
"right-pane"
class=
"i-fit-height"
>
<div
id=
"right-pane"
class=
"i-fit-height"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"公司代码"
ename=
"companyCode"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"项目代码"
ename=
"projCode"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"项目代码"
ename=
"projCode"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库id"
ename=
"parentId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库id"
ename=
"parentId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库id"
ename=
"fileId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库id"
ename=
"fileId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
...
@@ -68,8 +67,8 @@
...
@@ -68,8 +67,8 @@
</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"
personal=
"true"
sort=
"all"
serviceName=
"HGWD099"
queryMethod=
"query
"
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
showCount=
"true"
height=
"74vh"
sort=
"all
"
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"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
enable=
"false"
width=
"140"
align=
"center"
sort=
"false"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
enable=
"false"
width=
"140"
align=
"center"
sort=
"false"
/>
...
@@ -108,10 +107,6 @@
...
@@ -108,10 +107,6 @@
<EF:EFWindow
id=
"selectOrgWindow"
width=
"70%"
height=
"70%"
title=
"选择文档"
>
<EF:EFWindow
id=
"selectOrgWindow"
width=
"70%"
height=
"70%"
title=
"选择文档"
>
<EF:EFRegion
id=
"inqu1"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu1"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFSelect
blockId=
"inqu_status1"
row=
"0"
ename=
"companyCode"
cname=
"公司名称"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"companyBox_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFInput
blockId=
"inqu_status1"
row=
"0"
ename=
"projName"
cname=
"项目名称"
colWidth=
"3"
placeholder=
"模糊查询项目名称"
/>
<EF:EFInput
blockId=
"inqu_status1"
row=
"0"
ename=
"projName"
cname=
"项目名称"
colWidth=
"3"
placeholder=
"模糊查询项目名称"
/>
<EF:EFSelect
blockId=
"inqu_status1"
row=
"0"
ename=
"fileType"
cname=
"文件类型"
colWidth=
"3"
filter=
"contains"
>
<EF:EFSelect
blockId=
"inqu_status1"
row=
"0"
ename=
"fileType"
cname=
"文件类型"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
...
@@ -124,15 +119,6 @@
...
@@ -124,15 +119,6 @@
<EF:EFGrid
blockId=
"result1"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
queryMethod=
"query1"
>
<EF:EFGrid
blockId=
"result1"
autoDraw=
"override"
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=
"companyCode"
cname=
"公司名称"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
textField=
"textField"
valueField=
"valueField"
maxLength=
"16"
readonly=
"true"
width=
"160"
required=
"true"
align=
"center"
filter=
"contains"
sort=
"true"
>
<EF:EFOptions
blockId=
"companyBox_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
width=
"160"
enable=
"true"
readonly=
"true"
align=
"center"
required=
"true"
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"
...
@@ -156,10 +142,6 @@
...
@@ -156,10 +142,6 @@
<EF:EFWindow
id=
"selectProjWindow"
width=
"70%"
height=
"70%"
title=
"选择文档"
>
<EF:EFWindow
id=
"selectProjWindow"
width=
"70%"
height=
"70%"
title=
"选择文档"
>
<EF:EFRegion
id=
"inqu2"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu2"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFSelect
blockId=
"inqu_status2"
row=
"0"
ename=
"companyCode"
cname=
"公司名称"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"companyBox_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFInput
blockId=
"inqu_status2"
row=
"0"
ename=
"projName"
cname=
"项目名称"
colWidth=
"3"
placeholder=
"模糊查询项目名称"
/>
<EF:EFInput
blockId=
"inqu_status2"
row=
"0"
ename=
"projName"
cname=
"项目名称"
colWidth=
"3"
placeholder=
"模糊查询项目名称"
/>
</div>
</div>
...
@@ -168,15 +150,6 @@
...
@@ -168,15 +150,6 @@
<EF:EFGrid
blockId=
"result2"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"single"
queryMethod=
"query2"
>
<EF:EFGrid
blockId=
"result2"
autoDraw=
"override"
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=
"companyCode"
cname=
"公司名称"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
textField=
"textField"
valueField=
"valueField"
maxLength=
"16"
readonly=
"true"
width=
"160"
required=
"true"
align=
"center"
filter=
"contains"
sort=
"true"
>
<EF:EFOptions
blockId=
"companyBox_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
width=
"160"
enable=
"true"
readonly=
"true"
align=
"center"
required=
"true"
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"
...
...
src/main/webapp/HG/WD/HGWD001A.js
View file @
38fffe2d
...
@@ -4,21 +4,10 @@ $(function () {
...
@@ -4,21 +4,10 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
1
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
50
,
100
,
2
0
0
,
500
],
pageSizes
:
[
20
,
50
,
100
,
2
5
0
,
500
],
},
},
columns
:
[
/*{
columns
:
[{
field: "operator",
title: "操作",
template: function (model) {
let template = '';
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+ 'onclick="showQueryRecord(\'' + model.fileId + '\')" >预览记录</a>';
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+ 'onclick="showDownloadRecord(\'' + model.fileId + '\')" >下载记录</a>';
return template;
}
}, */
{
field
:
"changeStart"
,
field
:
"changeStart"
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
let
template
=
item
[
"changeStart"
]
let
template
=
item
[
"changeStart"
]
...
@@ -55,4 +44,4 @@ $(function () {
...
@@ -55,4 +44,4 @@ $(function () {
*/
*/
let
query
=
function
()
{
let
query
=
function
()
{
resultGrid
.
dataSource
.
page
(
1
);
resultGrid
.
dataSource
.
page
(
1
);
}
}
\ No newline at end of file
src/main/webapp/HG/WD/HGWD001A.jsp
View file @
38fffe2d
...
@@ -20,10 +20,6 @@
...
@@ -20,10 +20,6 @@
<EF:EFPage title="变更记录">
<EF:EFPage title="变更记录">
<EF:EFRegion id="inqu" title="查询条件">
<EF:EFRegion id="inqu" title="查询条件">
<div class="row">
<div class="row">
<EF:EFSelect blockId="inqu_status" row="0" ename="companyCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="companyBox_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
<EF:EFSelect blockId="inqu_status" row="0" ename="projCode" cname="项目名称" colWidth="3" filter="contains" readonly="true">
<EF:EFSelect blockId="inqu_status" row="0" ename="projCode" cname="项目名称" colWidth="3" filter="contains" readonly="true">
<EF:EFOption label="全部" value=""/>
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="proj_record_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="proj_record_block_id" textField="textField" valueField="valueField"/>
...
@@ -39,16 +35,9 @@
...
@@ -39,16 +35,9 @@
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion id="result" title="明细信息">
<EF:EFRegion id="result" title="明细信息" fitHeight="true">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true">
<EF:EFGrid blockId="result" autoDraw="override" showCount="true" height="73vh" isFloat="true">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFComboColumn ename="companyCode" cname="公司名称"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" readonly="false" width="160" required="false"
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="companyBox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
<EF:EFColumn ename="projName" cname="所属项目" width="160" enable="true" readonly="false" align="center" required="false"/>
<EF:EFColumn ename="projName" cname="所属项目" width="160" enable="true" readonly="false" align="center" required="false"/>
<%-- <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#"
...
...
src/main/webapp/HG/WD/HGWD001B.js
View file @
38fffe2d
...
@@ -4,8 +4,8 @@ $(function () {
...
@@ -4,8 +4,8 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
50
,
100
,
2
0
0
,
500
],
pageSizes
:
[
20
,
50
,
100
,
2
5
0
,
500
],
},
},
columns
:
[],
columns
:
[],
loadComplete
:
function
(
grid
)
{
loadComplete
:
function
(
grid
)
{
...
...
src/main/webapp/HG/WD/HGWD001B.jsp
View file @
38fffe2d
...
@@ -10,8 +10,6 @@
...
@@ -10,8 +10,6 @@
<EF:EFInput
cname=
"文件ID"
ename=
"fileId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<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"
/>
<EF:EFInput
cname=
"附件ID"
ename=
"docId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<div
class=
"row"
>
<div
class=
"row"
>
<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"
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
readonly=
"true"
/>
readonly=
"true"
/>
</div>
</div>
...
@@ -25,8 +23,8 @@
...
@@ -25,8 +23,8 @@
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFRegion
id=
"result"
title=
"明细信息"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
showCount=
"true"
height=
"73vh"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"fileId"
cname=
"文件ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"fileId"
cname=
"文件ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"附件ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"附件ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
...
...
src/main/webapp/HG/WD/HGWD001C.js
View file @
38fffe2d
...
@@ -4,7 +4,7 @@ $(function () {
...
@@ -4,7 +4,7 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
},
},
columns
:
[],
columns
:
[],
...
...
src/main/webapp/HG/WD/HGWD001C.jsp
View file @
38fffe2d
...
@@ -10,8 +10,6 @@
...
@@ -10,8 +10,6 @@
<EF:EFInput
cname=
"文件ID"
ename=
"fileId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<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"
/>
<EF:EFInput
cname=
"附件ID"
ename=
"docId"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<div
class=
"row"
>
<div
class=
"row"
>
<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"
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"6"
ratio=
"2:10"
readonly=
"true"
/>
readonly=
"true"
/>
</div>
</div>
...
@@ -25,8 +23,8 @@
...
@@ -25,8 +23,8 @@
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFRegion
id=
"result"
title=
"明细信息"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
showCount=
"true"
height=
"73vh"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"fileId"
cname=
"文件ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"fileId"
cname=
"文件ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"附件ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"附件ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
...
...
src/main/webapp/HG/WD/HGWD001E.js
View file @
38fffe2d
$
(
function
()
{
$
(
function
()
{
var
companyCodeBox
=
__eiInfo
.
getBlock
(
"companyBox_block_id"
).
getMappedRows
();
var
projCodeBox
=
__eiInfo
.
getBlock
(
"proj_record_block_id"
).
getMappedRows
();
var
projCodeBox
=
__eiInfo
.
getBlock
(
"proj_record_block_id"
).
getMappedRows
();
$
(
"#QUERY"
).
on
(
"click"
,
query
);
$
(
"#QUERY"
).
on
(
"click"
,
query
);
IPLATUI
.
EFGrid
=
{
IPLATUI
.
EFGrid
=
{
"result"
:
{
"result"
:
{
pageable
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageSize
:
10
,
pageable
:
{
pageSizes
:
[
10
,
20
,
50
,
100
],
pageSize
:
500
,
},
pageSizes
:
[
20
,
50
,
100
,
250
,
500
],
columns
:
[
},
/*{
columns
:
[{
field: "operator",
field
:
"projCode"
,
title: "操作",
title
:
"所属项目"
,
template: function (item) {
template
:
function
(
dataItem
)
{
let auditStatus = item.deviceStatus;
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
let template = '';
if
(
projCodeBox
[
i
][
'valueField'
]
===
dataItem
[
'projCode'
])
{
if (item.id) {
dataItem
[
'projName'
]
=
projCodeBox
[
i
][
'textField'
]
/!*template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
return
projCodeBox
[
i
][
'textField'
];
+ 'onclick="uploadFile(' + item.id + ')" >附件上传</a>';*!/
}
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
}
+ 'onclick="showDetail(' + item.id + ',\''+item.companyCode+'\')" >变更记录</a>';
return
dataItem
[
"projCode"
];
}
}
return template;
},
{
}
},*/
{
field
:
"companyCode"
,
title
:
"公司名称"
,
filter
:
function
(
option
)
{
return
_
.
filter
(
option
.
values
,
function
(
item
)
{
return
item
[
"param1Field"
]
!=
"root"
;
})
},
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
companyCodeBox
.
length
;
i
++
)
{
if
(
companyCodeBox
[
i
][
'valueField'
]
===
dataItem
[
'companyCode'
]){
dataItem
[
'companyName'
]
=
companyCodeBox
[
i
][
'textField'
]
return
companyCodeBox
[
i
][
'textField'
];
}
}
return
dataItem
[
"companyCode"
];
}
},
{
field
:
"projCode"
,
title
:
"所属项目"
,
filter
:
function
(
option
)
{
let
companyCode
=
option
[
'companyCode'
];
if
(
companyCode
){
return
_
.
filter
(
option
.
values
,
function
(
item
)
{
return
item
[
"param1Field"
]
=
companyCode
;
})
}
return
option
.
values
;
},
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
if
(
projCodeBox
[
i
][
'valueField'
]
===
dataItem
[
'projCode'
]){
dataItem
[
'projName'
]
=
projCodeBox
[
i
][
'textField'
]
return
projCodeBox
[
i
][
'textField'
];
}
}
return
dataItem
[
"projCode"
];
}
},
{
field
:
"fileName"
,
field
:
"fileName"
,
editor
:
function
(
container
,
options
)
{
editor
:
function
(
container
,
options
)
{
var
grid
=
container
.
closest
(
".k-grid"
).
data
(
"kendoGrid"
);
var
grid
=
container
.
closest
(
".k-grid"
).
data
(
"kendoGrid"
);
...
@@ -119,16 +78,6 @@ $(function () {
...
@@ -119,16 +78,6 @@ $(function () {
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
if
(
projCodeBox
[
i
][
"valueField"
]
===
item
[
"projCode"
])
{
if
(
projCodeBox
[
i
][
"valueField"
]
===
item
[
"projCode"
])
{
resultGrid
.
setCellValue
(
item
,
'projName'
,
projCodeBox
[
i
][
"textField"
]);
resultGrid
.
setCellValue
(
item
,
'projName'
,
projCodeBox
[
i
][
"textField"
]);
if
(
isBlank
(
item
[
"companyCode"
]))
{
resultGrid
.
setCellValue
(
item
,
'companyCode'
,
projCodeBox
[
i
][
"param1Field"
]
==
"null"
?
""
:
projCodeBox
[
i
][
"param1Field"
]
);
resultGrid
.
setCellValue
(
item
,
'companyName'
,
projCodeBox
[
i
][
"param2Field"
]
==
"null"
?
""
:
projCodeBox
[
i
][
"param2Field"
]
);
}
break
;
break
;
}
}
}
}
...
@@ -137,11 +86,7 @@ $(function () {
...
@@ -137,11 +86,7 @@ $(function () {
},
},
onAdd
:
function
(
e
)
{
onAdd
:
function
(
e
)
{
$
.
each
(
e
.
items
,
function
(
index
,
item
)
{
$
.
each
(
e
.
items
,
function
(
index
,
item
)
{
let
companyCode
=
$
(
"#inqu_status-0-companyCode"
).
val
();
let
projCode
=
$
(
"#inqu_status-0-projCode"
).
val
();
let
projCode
=
$
(
"#inqu_status-0-projCode"
).
val
();
if
(
!
isBlank
(
companyCode
)){
item
[
'companyCode'
]
=
companyCode
;
}
if
(
!
isBlank
(
projCode
)){
if
(
!
isBlank
(
projCode
)){
item
[
'projCode'
]
=
projCode
;
item
[
'projCode'
]
=
projCode
;
}
}
...
@@ -195,13 +140,7 @@ let save = function (btnNode) {
...
@@ -195,13 +140,7 @@ let save = function (btnNode) {
}
}
let
flag
=
true
;
let
flag
=
true
;
$
.
each
(
rows
,
function
(
index
,
item
)
{
$
.
each
(
rows
,
function
(
index
,
item
)
{
let
companyCode
=
item
.
get
(
"companyCode"
);
let
projCode
=
item
.
get
(
"projCode"
);
let
projCode
=
item
.
get
(
"projCode"
);
if
(
isBlank
(
companyCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
公司
\"
,不能为空!"
);
flag
=
false
;
return
false
;
}
if
(
isBlank
(
projCode
)){
if
(
isBlank
(
projCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
所属项目
\"
,不能为空!"
);
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
所属项目
\"
,不能为空!"
);
flag
=
false
;
flag
=
false
;
...
@@ -229,12 +168,12 @@ let save = function (btnNode) {
...
@@ -229,12 +168,12 @@ let save = function (btnNode) {
/**
/**
* 显示详情
* 显示详情
*/
*/
function
showDetail
(
id
,
companyCode
)
{
function
showDetail
(
id
)
{
let
url
=
"HGWD001A?methodName=initLoad&inqu_status-0-matId="
+
id
+
"&inqu_status-0-companyCode="
+
companyCode
;
let
url
=
"HGWD001A?methodName=initLoad&inqu_status-0-matId="
+
id
;
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
url
,
href
:
url
,
title
:
"<div style='text-align: center;'>变更记录</div>"
,
title
:
"<div style='text-align: center;'>变更记录</div>"
,
width
:
"75%"
,
width
:
"75%"
,
height
:
"95%"
,
height
:
"95%"
,
});
});
}
}
\ No newline at end of file
src/main/webapp/HG/WD/HGWD001E.jsp
View file @
38fffe2d
...
@@ -22,33 +22,23 @@
...
@@ -22,33 +22,23 @@
<div class="row">
<div class="row">
<EF:EFInput cname="上级组织Id" blockId="inqu_status" ename="parentId" row="0" type="hidden"/>
<EF:EFInput cname="上级组织Id" blockId="inqu_status" ename="parentId" row="0" type="hidden"/>
<EF:EFInput cname="上级组织编码" blockId="inqu_status" ename="fileId" row="0" type="hidden"/>
<EF:EFInput cname="上级组织编码" blockId="inqu_status" ename="fileId" row="0" type="hidden"/>
<EF:EFInput cname="公司代码" blockId="inqu_status" ename="companyCode" row="0" type="hidden"/>
<EF:EFInput cname="项目代码" blockId="inqu_status" ename="projCode" row="0" type="hidden"/>
<EF:EFInput cname="项目代码" blockId="inqu_status" ename="projCode" row="0" type="hidden"/>
<EF:EFInput cname="层级" blockId="inqu_status" ename="leafLevel" row="0" type="hidden"/>
<EF:EFInput cname="层级" blockId="inqu_status" ename="leafLevel" row="0" type="hidden"/>
<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:EFOption label="全部" value=""/>
<EF:EFCodeOption codeName="hggp.hgwd.fileType"/>
<EF:EFCodeOption codeName="hggp.hgwd.fileType"/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFInput blockId="inqu_status" row="0" ename="fileName" cname="
文件
名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="fileName" cname="
目录
名称" placeholder="模糊查询" colWidth="3"/>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion id="result" title="明细信息">
<EF:EFRegion id="result" title="明细信息"
fitHeight="true"
>
<EF:EFGrid blockId="result" autoDraw="override
" isFloat="true" checkMode="row">
<EF:EFGrid blockId="result" autoDraw="override" showCount="true" height="73vh
" isFloat="true" checkMode="row">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<%--<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="160" align="center"/>--%>
<%--<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="160" align="center"/>--%>
<EF:EFColumn ename="parentId" cname="上级ID" hidden="true"/>
<EF:EFColumn ename="parentId" cname="上级ID" hidden="true"/>
<EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center" defaultValue="0" hidden="true">
<EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center" defaultValue="0" hidden="true">
<EF:EFCodeOption codeName="hggp.hgwd.status"/>
<EF:EFCodeOption codeName="hggp.hgwd.status"/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFComboColumn ename="companyCode" cname="公司名称"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" readonly="true" width="160" required="true"
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="companyBox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
<EF:EFColumn ename="companyName" cname="公司名称" width="160" enable="true" readonly="true" align="center"
required="true" 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"
...
@@ -56,13 +46,13 @@
...
@@ -56,13 +46,13 @@
align="left" filter="contains" sort="true"/>
align="left" filter="contains" sort="true"/>
<EF:EFColumn ename="projName" cname="所属项目" width="160" enable="true" readonly="true" align="center"
<EF:EFColumn ename="projName" cname="所属项目" width="160" enable="true" readonly="true" align="center"
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"/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn ename="fileName" cname="
文件
名称" width="160" enable="true" readonly="false" align="left"
<EF:EFColumn ename="fileName" cname="
目录
名称" width="160" enable="true" readonly="false" align="left"
required="true"/>
required="true"/>
<EF:EFColumn ename="fileId" cname="
文件
号" width="100" enable="false" readonly="true" align="center"
<EF:EFColumn ename="fileId" cname="
目录
号" width="100" enable="false" readonly="true" align="center"
required="false"/>
required="false"/>
<EF:EFColumn ename="createdName" cname="创建人" align="center" width="100" readonly="true" required="false"
<EF:EFColumn ename="createdName" cname="创建人" align="center" width="100" readonly="true" required="false"
enable="false"/>
enable="false"/>
...
...
src/main/webapp/HG/WD/HGWD001F.js
View file @
38fffe2d
$
(
function
()
{
$
(
function
()
{
var
companyCodeBox
=
__eiInfo
.
getBlock
(
"companyBox_block_id"
).
getMappedRows
();
var
projCodeBox
=
__eiInfo
.
getBlock
(
"proj_record_block_id"
).
getMappedRows
();
var
projCodeBox
=
__eiInfo
.
getBlock
(
"proj_record_block_id"
).
getMappedRows
();
$
(
"#QUERY"
).
on
(
"click"
,
query
);
$
(
"#QUERY"
).
on
(
"click"
,
query
);
IPLATUI
.
EFGrid
=
{
IPLATUI
.
EFGrid
=
{
"result"
:
{
"result"
:
{
pageable
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageSize
:
10
,
pageable
:
{
pageSizes
:
[
10
,
20
,
50
,
100
],
pageSize
:
500
,
},
pageSizes
:
[
20
,
50
,
100
,
250
,
500
],
columns
:
[
},
/*{
columns
:
[{
field: "operator",
field
:
"fileName"
,
title: "操作",
editor
:
function
(
container
,
options
)
{
template: function (item) {
var
grid
=
container
.
closest
(
".k-grid"
).
data
(
"kendoGrid"
);
let auditStatus = item.deviceStatus;
var
cellIndex
=
grid
.
cellIndex
(
container
);
let template = '';
var
input
=
$
(
'<input />'
);
if (item.id) {
input
.
attr
(
"name"
,
options
.
field
);
/!*template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
input
.
attr
(
"id"
,
options
.
field
);
+ 'onclick="uploadFile(' + item.id + ')" >附件上传</a>';*!/
input
.
appendTo
(
container
);
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
let
eiInfo
=
new
EiInfo
();
+ 'onclick="showDetail(' + item.id + ',\''+item.companyCode+'\')" >变更记录</a>';
var
eiblock
=
new
EiBlock
(
"result"
);
}
return template;
}
},*/
{
field
:
"companyCode"
,
title
:
"公司名称"
,
filter
:
function
(
option
)
{
return
_
.
filter
(
option
.
values
,
function
(
item
)
{
return
item
[
"param1Field"
]
!=
"root"
;
})
},
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
companyCodeBox
.
length
;
i
++
)
{
if
(
companyCodeBox
[
i
][
'valueField'
]
===
dataItem
[
'companyCode'
]){
dataItem
[
'companyName'
]
=
companyCodeBox
[
i
][
'textField'
]
return
companyCodeBox
[
i
][
'textField'
];
}
}
return
dataItem
[
"companyCode"
];
}
},
{
field
:
"fileName"
,
editor
:
function
(
container
,
options
)
{
var
grid
=
container
.
closest
(
".k-grid"
).
data
(
"kendoGrid"
);
var
cellIndex
=
grid
.
cellIndex
(
container
);
var
input
=
$
(
'<input />'
);
input
.
attr
(
"name"
,
options
.
field
);
input
.
attr
(
"id"
,
options
.
field
);
input
.
appendTo
(
container
);
let
eiInfo
=
new
EiInfo
();
var
eiblock
=
new
EiBlock
(
"result"
);
eiblock
.
set
(
EiConstant
.
LIMIT
,
-
999999
);
eiblock
.
set
(
EiConstant
.
LIMIT
,
-
999999
);
eiblock
.
set
(
EiConstant
.
OFFSET
,
0
);
eiblock
.
set
(
EiConstant
.
OFFSET
,
0
);
eiInfo
.
addBlock
(
eiblock
);
eiInfo
.
addBlock
(
eiblock
);
...
@@ -99,16 +67,6 @@ $(function () {
...
@@ -99,16 +67,6 @@ $(function () {
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
if
(
projCodeBox
[
i
][
"valueField"
]
===
item
[
"projCode"
])
{
if
(
projCodeBox
[
i
][
"valueField"
]
===
item
[
"projCode"
])
{
resultGrid
.
setCellValue
(
item
,
'projName'
,
projCodeBox
[
i
][
"textField"
]);
resultGrid
.
setCellValue
(
item
,
'projName'
,
projCodeBox
[
i
][
"textField"
]);
if
(
isBlank
(
item
[
"companyCode"
]))
{
resultGrid
.
setCellValue
(
item
,
'companyCode'
,
projCodeBox
[
i
][
"param1Field"
]
==
"null"
?
""
:
projCodeBox
[
i
][
"param1Field"
]
);
resultGrid
.
setCellValue
(
item
,
'companyName'
,
projCodeBox
[
i
][
"param2Field"
]
==
"null"
?
""
:
projCodeBox
[
i
][
"param2Field"
]
);
}
break
;
break
;
}
}
}
}
...
@@ -163,13 +121,7 @@ let save = function (btnNode) {
...
@@ -163,13 +121,7 @@ let save = function (btnNode) {
}
}
let
flag
=
true
;
let
flag
=
true
;
$
.
each
(
rows
,
function
(
index
,
item
)
{
$
.
each
(
rows
,
function
(
index
,
item
)
{
let
companyCode
=
item
.
get
(
"companyCode"
);
let
projCode
=
item
.
get
(
"projName"
);
let
projCode
=
item
.
get
(
"projName"
);
if
(
isBlank
(
companyCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
公司
\"
,不能为空!"
);
flag
=
false
;
return
false
;
}
if
(
isBlank
(
projCode
)){
if
(
isBlank
(
projCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
所属项目
\"
,不能为空!"
);
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
所属项目
\"
,不能为空!"
);
flag
=
false
;
flag
=
false
;
...
@@ -226,12 +178,12 @@ function updateRelease() {
...
@@ -226,12 +178,12 @@ function updateRelease() {
/**
/**
* 显示详情
* 显示详情
*/
*/
function
showDetail
(
id
,
companyCode
)
{
function
showDetail
(
id
)
{
let
url
=
"HGWD001A?methodName=initLoad&inqu_status-0-matId="
+
id
+
"&inqu_status-0-companyCode="
+
companyCode
;
let
url
=
"HGWD001A?methodName=initLoad&inqu_status-0-matId="
+
id
;
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
url
,
href
:
url
,
title
:
"<div style='text-align: center;'>变更记录</div>"
,
title
:
"<div style='text-align: center;'>变更记录</div>"
,
width
:
"75%"
,
width
:
"75%"
,
height
:
"95%"
,
height
:
"95%"
,
});
});
}
}
\ No newline at end of file
src/main/webapp/HG/WD/HGWD001F.jsp
View file @
38fffe2d
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
<div class="row">
<div class="row">
<EF:EFInput cname="上级组织编码" blockId="inqu_status" ename="parentId" row="0" type="hidden"/>
<EF:EFInput cname="上级组织编码" blockId="inqu_status" ename="parentId" row="0" type="hidden"/>
<EF:EFInput cname="组织编码" blockId="inqu_status" ename="fileId" row="0" type="hidden"/>
<EF:EFInput cname="组织编码" blockId="inqu_status" ename="fileId" row="0" type="hidden"/>
<EF:EFInput cname="公司代码" blockId="inqu_status" ename="companyCode" row="0" type="hidden"/>
<EF:EFInput cname="项目代码" blockId="inqu_status" ename="projCode" row="0" type="hidden"/>
<EF:EFInput cname="项目代码" blockId="inqu_status" ename="projCode" row="0" type="hidden"/>
<EF:EFInput cname="层级" blockId="inqu_status" ename="leafLevel" row="0" type="hidden"/>
<EF:EFInput cname="层级" blockId="inqu_status" ename="leafLevel" row="0" type="hidden"/>
<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">
...
@@ -32,22 +31,13 @@
...
@@ -32,22 +31,13 @@
<EF:EFInput blockId="inqu_status" row="0" ename="fileName" cname="文件名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="fileName" cname="文件名称" placeholder="模糊查询" colWidth="3"/>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion id="result" title="明细信息">
<EF:EFRegion id="result" title="明细信息"
fitHeight="true"
>
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row
">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row" showCount="true" height="73vh
">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<%--<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="160" align="center"/>
<%--<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="160" align="center"/>
<EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center" defaultValue="0">
<EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center" defaultValue="0">
<EF:EFCodeOption codeName="hggp.hgwd.status"/>
<EF:EFCodeOption codeName="hggp.hgwd.status"/>
</EF:EFComboColumn>--%>
</EF:EFComboColumn>--%>
<EF:EFComboColumn ename="companyCode" cname="公司名称"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" readonly="true" width="160" required="true"
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="companyBox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
<EF:EFColumn ename="companyName" cname="所属项目" width="160" enable="true" readonly="true" align="center"
required="true" 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"
...
...
src/main/webapp/HG/WD/HGWD001G.js
View file @
38fffe2d
$
(
function
()
{
$
(
function
()
{
var
companyCodeBox
=
__eiInfo
.
getBlock
(
"companyBox_block_id"
).
getMappedRows
();
var
projCodeBox
=
__eiInfo
.
getBlock
(
"proj_record_block_id"
).
getMappedRows
();
var
projCodeBox
=
__eiInfo
.
getBlock
(
"proj_record_block_id"
).
getMappedRows
();
$
(
"#QUERY"
).
on
(
"click"
,
query
);
$
(
"#QUERY"
).
on
(
"click"
,
query
);
IPLATUI
.
EFGrid
=
{
IPLATUI
.
EFGrid
=
{
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
1
0
,
pageSize
:
50
0
,
pageSizes
:
[
10
,
20
,
50
,
1
00
],
pageSizes
:
[
20
,
50
,
100
,
250
,
5
00
],
},
},
columns
:
[
columns
:
[{
/*{
field: "operator",
title: "操作",
template: function (item) {
let auditStatus = item.deviceStatus;
let template = '';
if (item.id) {
/!*template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+ 'onclick="uploadFile(' + item.id + ')" >附件上传</a>';*!/
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+ 'onclick="showDetail(' + item.id + ',\''+item.companyCode+'\')" >变更记录</a>';
}
return template;
}
},*/
{
field
:
"companyCode"
,
title
:
"公司名称"
,
filter
:
function
(
option
)
{
return
_
.
filter
(
option
.
values
,
function
(
item
)
{
return
item
[
"param1Field"
]
!=
"root"
;
})
},
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
companyCodeBox
.
length
;
i
++
)
{
if
(
companyCodeBox
[
i
][
'valueField'
]
===
dataItem
[
'companyCode'
]){
dataItem
[
'companyName'
]
=
companyCodeBox
[
i
][
'textField'
]
return
companyCodeBox
[
i
][
'textField'
];
}
}
return
dataItem
[
"companyCode"
];
}
},
{
field
:
"projCode"
,
field
:
"projCode"
,
title
:
"所属项目"
,
filter
:
function
(
option
)
{
let
companyCode
=
option
[
'companyCode'
];
if
(
companyCode
){
return
_
.
filter
(
option
.
values
,
function
(
item
)
{
return
item
[
"param1Field"
]
=
companyCode
;
})
}
return
option
.
values
;
},
template
:
function
(
dataItem
)
{
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
if
(
projCodeBox
[
i
][
'valueField'
]
===
dataItem
[
'projCode'
]){
if
(
projCodeBox
[
i
][
'valueField'
]
===
dataItem
[
'projCode'
]){
...
@@ -86,16 +44,6 @@ $(function () {
...
@@ -86,16 +44,6 @@ $(function () {
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
projCodeBox
.
length
;
i
++
)
{
if
(
projCodeBox
[
i
][
"valueField"
]
===
item
[
"projCode"
])
{
if
(
projCodeBox
[
i
][
"valueField"
]
===
item
[
"projCode"
])
{
resultGrid
.
setCellValue
(
item
,
'projName'
,
projCodeBox
[
i
][
"textField"
]);
resultGrid
.
setCellValue
(
item
,
'projName'
,
projCodeBox
[
i
][
"textField"
]);
if
(
isBlank
(
item
[
"companyCode"
]))
{
resultGrid
.
setCellValue
(
item
,
'companyCode'
,
projCodeBox
[
i
][
"param1Field"
]
==
"null"
?
""
:
projCodeBox
[
i
][
"param1Field"
]
);
resultGrid
.
setCellValue
(
item
,
'companyName'
,
projCodeBox
[
i
][
"param2Field"
]
==
"null"
?
""
:
projCodeBox
[
i
][
"param2Field"
]
);
}
break
;
break
;
}
}
}
}
...
@@ -104,11 +52,7 @@ $(function () {
...
@@ -104,11 +52,7 @@ $(function () {
},
},
onAdd
:
function
(
e
)
{
onAdd
:
function
(
e
)
{
$
.
each
(
e
.
items
,
function
(
index
,
item
)
{
$
.
each
(
e
.
items
,
function
(
index
,
item
)
{
let
companyCode
=
$
(
"#inqu_status-0-companyCode"
).
val
();
let
projCode
=
$
(
"#inqu_status-0-projCode"
).
val
();
let
projCode
=
$
(
"#inqu_status-0-projCode"
).
val
();
if
(
!
isBlank
(
companyCode
)){
item
[
'companyCode'
]
=
companyCode
;
}
if
(
!
isBlank
(
projCode
)){
if
(
!
isBlank
(
projCode
)){
item
[
'projCode'
]
=
projCode
;
item
[
'projCode'
]
=
projCode
;
}
}
...
@@ -162,13 +106,7 @@ let save = function (btnNode) {
...
@@ -162,13 +106,7 @@ let save = function (btnNode) {
}
}
let
flag
=
true
;
let
flag
=
true
;
$
.
each
(
rows
,
function
(
index
,
item
)
{
$
.
each
(
rows
,
function
(
index
,
item
)
{
let
companyCode
=
item
.
get
(
"companyCode"
);
let
projCode
=
item
.
get
(
"projCode"
);
let
projCode
=
item
.
get
(
"projCode"
);
if
(
isBlank
(
companyCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
公司
\"
,不能为空!"
);
flag
=
false
;
return
false
;
}
if
(
isBlank
(
projCode
)){
if
(
isBlank
(
projCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
所属项目
\"
,不能为空!"
);
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
所属项目
\"
,不能为空!"
);
flag
=
false
;
flag
=
false
;
...
@@ -217,12 +155,12 @@ function updateRelease() {
...
@@ -217,12 +155,12 @@ function updateRelease() {
/**
/**
* 显示详情
* 显示详情
*/
*/
function
showDetail
(
id
,
companyCode
)
{
function
showDetail
(
id
)
{
let
url
=
"HGWD001A?methodName=initLoad&inqu_status-0-matId="
+
id
+
"&inqu_status-0-companyCode="
+
companyCode
;
let
url
=
"HGWD001A?methodName=initLoad&inqu_status-0-matId="
+
id
;
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
url
,
href
:
url
,
title
:
"<div style='text-align: center;'>变更记录</div>"
,
title
:
"<div style='text-align: center;'>变更记录</div>"
,
width
:
"75%"
,
width
:
"75%"
,
height
:
"95%"
,
height
:
"95%"
,
});
});
}
}
\ No newline at end of file
src/main/webapp/HG/WD/HGWD001G.jsp
View file @
38fffe2d
...
@@ -22,28 +22,19 @@
...
@@ -22,28 +22,19 @@
<div class="row">
<div class="row">
<EF:EFInput cname="上级组织Id" blockId="inqu_status" ename="parentId" row="0" type="hidden"/>
<EF:EFInput cname="上级组织Id" blockId="inqu_status" ename="parentId" row="0" type="hidden"/>
<EF:EFInput cname="上级组织编码" blockId="inqu_status" ename="fileId" row="0" type="hidden"/>
<EF:EFInput cname="上级组织编码" blockId="inqu_status" ename="fileId" row="0" type="hidden"/>
<EF:EFInput cname="公司代码" blockId="inqu_status" ename="companyCode" row="0" type="hidden"/>
<EF:EFInput cname="项目名称" blockId="inqu_status" ename="projName" row="0" placeholder="模糊查询项目"/>
<EF:EFInput cname="项目名称" blockId="inqu_status" ename="projName" row="0" placeholder="模糊查询项目"/>
<EF:EFInput cname="层级" blockId="inqu_status" ename="leafLevel" row="0" type="hidden"/>
<EF:EFInput cname="层级" blockId="inqu_status" ename="leafLevel" row="0" type="hidden"/>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion id="result" title="明细信息">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row">
<EF:EFRegion id="result" title="明细信息" fitHeight="true">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row" showCount="true" height="73vh">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<%--<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="160" align="center"/>--%>
<%--<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="160" align="center"/>--%>
<EF:EFColumn ename="parentId" cname="上级ID" hidden="true"/>
<EF:EFColumn ename="parentId" cname="上级ID" hidden="true"/>
<EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center" defaultValue="0" hidden="true">
<EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center" defaultValue="0" hidden="true">
<EF:EFCodeOption codeName="hggp.hgwd.status"/>
<EF:EFCodeOption codeName="hggp.hgwd.status"/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFComboColumn ename="companyCode" cname="公司名称"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" readonly="true" width="160" required="true"
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="companyBox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
<EF:EFColumn ename="companyName" cname="所属项目" width="160" enable="true" readonly="true" align="center"
required="true" 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"
...
...
src/main/webapp/HG/WD/HGWD002.js
View file @
38fffe2d
...
@@ -101,7 +101,6 @@ $(function () {
...
@@ -101,7 +101,6 @@ $(function () {
$
(
"[name = 'inqu_status-0-fileId']"
).
val
(
_data
.
id
);
$
(
"[name = 'inqu_status-0-fileId']"
).
val
(
_data
.
id
);
$
(
"[name = 'inqu_status-0-leafLevel']"
).
val
(
_data
.
leafLevel
==
null
?
0
:
_data
.
leafLevel
);
$
(
"[name = 'inqu_status-0-leafLevel']"
).
val
(
_data
.
leafLevel
==
null
?
0
:
_data
.
leafLevel
);
$
(
"[name = 'inqu_status-0-projCode']"
).
val
(
_data
.
projCode
);
$
(
"[name = 'inqu_status-0-projCode']"
).
val
(
_data
.
projCode
);
$
(
"[name = 'inqu_status-0-companyCode']"
).
val
(
_data
.
companyCode
);
$
(
"[name = 'inqu_status-0-type']"
).
val
(
typeValue
);
$
(
"[name = 'inqu_status-0-type']"
).
val
(
typeValue
);
$
(
"[name = 'inqu_status-0-fileName']"
).
val
(
_data
.
text
);
$
(
"[name = 'inqu_status-0-fileName']"
).
val
(
_data
.
text
);
resultGrid
.
dataSource
.
page
(
1
);
resultGrid
.
dataSource
.
page
(
1
);
...
@@ -162,7 +161,7 @@ $(function () {
...
@@ -162,7 +161,7 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
5
0
,
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
},
},
columns
:
[{
columns
:
[{
...
...
src/main/webapp/HG/WD/HGWD002.jsp
View file @
38fffe2d
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
<div
id=
"right-pane"
class=
"i-fit-height"
>
<div
id=
"right-pane"
class=
"i-fit-height"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"公司代码"
ename=
"companyCode"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"项目代码"
ename=
"projCode"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"项目代码"
ename=
"projCode"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库id"
ename=
"parentId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库id"
ename=
"parentId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库id"
ename=
"fileId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"文档库id"
ename=
"fileId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
...
@@ -39,8 +38,9 @@
...
@@ -39,8 +38,9 @@
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFRegion
id=
"result"
title=
"明细信息"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
queryMethod=
"query"
sort=
"setted"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
showCount=
"true"
height=
"73vh"
queryMethod=
"query"
sort=
"setted"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"fileId"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"fileId"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"docId"
cname=
"文件ID"
enable=
"false"
width=
"200"
align=
"center"
sort=
"false"
<EF:EFColumn
ename=
"docId"
cname=
"文件ID"
enable=
"false"
width=
"200"
align=
"center"
sort=
"false"
...
...
src/main/webapp/HG/WD/HGWD003.js
View file @
38fffe2d
...
@@ -48,6 +48,10 @@ $(function () {
...
@@ -48,6 +48,10 @@ $(function () {
IPLATUI
.
EFGrid
=
{
IPLATUI
.
EFGrid
=
{
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageSize
:
500
,
pageSizes
:
[
20
,
50
,
100
,
250
,
500
],
},
loadComplete
:
function
(
grid
)
{
loadComplete
:
function
(
grid
)
{
}
}
}
}
...
...
src/main/webapp/HG/WD/HGWD003.jsp
View file @
38fffe2d
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
<EF:EFInput
cname=
"用户姓名"
ename=
"userName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"用户姓名"
ename=
"userName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
title=
"已授权用户结果集"
id=
"result"
>
<EF:EFRegion
title=
"已授权用户结果集"
id=
"result"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
showCount=
"true"
height=
"73vh"
>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"orgCname"
cname=
"部门名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"orgCname"
cname=
"部门名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"userId"
cname=
"用户账号"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"userId"
cname=
"用户账号"
enable=
"false"
width=
"100"
align=
"center"
/>
...
...
src/main/webapp/HG/WD/HGWD003A.js
View file @
38fffe2d
...
@@ -4,8 +4,8 @@ $(function () {
...
@@ -4,8 +4,8 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
50
,
100
,
15
0
],
pageSizes
:
[
20
,
50
,
100
,
250
,
50
0
],
},
},
loadComplete
:
function
(
grid
)
{
loadComplete
:
function
(
grid
)
{
}
}
...
...
src/main/webapp/HG/WD/HGWD003A.jsp
View file @
38fffe2d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"记录集"
fitHeight=
"true"
>
<EF:EFRegion
id=
"result"
title=
"记录集"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
height=
"69vh"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
showCount=
"true"
height=
"69vh"
>
<EF:EFColumn
ename=
"userId"
cname=
"用户ID"
hidden=
"true"
primaryKey=
"true"
/>
<EF:EFColumn
ename=
"userId"
cname=
"用户ID"
hidden=
"true"
primaryKey=
"true"
/>
<EF:EFColumn
ename=
"depName"
cname=
"部门名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"depName"
cname=
"部门名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"loginName"
cname=
"用户账号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"loginName"
cname=
"用户账号"
enable=
"false"
width=
"120"
align=
"center"
/>
...
...
src/main/webapp/HG/WD/HGWD003B.js
View file @
38fffe2d
...
@@ -4,8 +4,8 @@ $(function () {
...
@@ -4,8 +4,8 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
50
,
100
,
15
0
],
pageSizes
:
[
20
,
50
,
100
,
250
,
50
0
],
},
},
loadComplete
:
function
(
grid
)
{
loadComplete
:
function
(
grid
)
{
}
}
...
...
src/main/webapp/HG/WD/HGWD003B.jsp
View file @
38fffe2d
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"记录集"
fitHeight=
"true"
>
<EF:EFRegion
id=
"result"
title=
"记录集"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
height=
"69vh"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
showCount=
"true"
height=
"69vh"
>
<EF:EFColumn
ename=
"fileId"
cname=
"目录ID"
hidden=
"true"
primaryKey=
"true"
/>
<EF:EFColumn
ename=
"fileId"
cname=
"目录ID"
hidden=
"true"
primaryKey=
"true"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"180"
align=
"left"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"180"
align=
"left"
/>
...
...
src/main/webapp/HG/WD/HGWD004.js
View file @
38fffe2d
...
@@ -6,15 +6,14 @@ $(function () {
...
@@ -6,15 +6,14 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
},
},
columns
:
[
columns
:
[{
{
field
:
"changeStartCode"
,
field
:
"changeStartCode"
,
hidden
:
true
,
hidden
:
true
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
let
template
=
item
[
"changeStartCode"
]
let
template
=
item
[
"changeStartCode"
]
if
(
item
[
'changeType'
]
===
"uploadAdd"
||
item
[
'changeType'
]
===
"uploadDelete"
)
{
if
(
item
[
'changeType'
]
===
"uploadAdd"
||
item
[
'changeType'
]
===
"uploadDelete"
)
{
template
=
item
[
'changeEndCode'
];
template
=
item
[
'changeEndCode'
];
}
}
...
@@ -97,4 +96,4 @@ let deleteFunc = function () {
...
@@ -97,4 +96,4 @@ let deleteFunc = function () {
});
});
}
}
});
});
}
}
\ No newline at end of file
src/main/webapp/HG/WD/HGWD004.jsp
View file @
38fffe2d
...
@@ -20,29 +20,17 @@
...
@@ -20,29 +20,17 @@
<EF:EFPage title="回收站">
<EF:EFPage title="回收站">
<EF:EFRegion id="inqu" title="查询条件">
<EF:EFRegion id="inqu" title="查询条件">
<div class="row">
<div class="row">
<EF:EFSelect blockId="inqu_status" row="0" ename="companyCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="companyBox_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
<EF:EFInput blockId="inqu_status" row="0" ename="projName" cname="项目名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="projName" cname="项目名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFDateSpan startCname="删除开始日期" endCname="删除结束日期" blockId="inqu_status" row="0" colWidth="3"
<EF:EFDateSpan startCname="删除开始日期" endCname="删除结束日期" blockId="inqu_status" row="0" colWidth="3"
startName="createdTimeFrom" endName="createdTimeTo" role="date"
startName="createdTimeFrom" endName="createdTimeTo" role="date"
format="yyyy-MM-dd" satrtRatio="4:8" endRatio="4:8"/>
format="yyyy-MM-dd" satrtRatio="4:8" endRatio="4:8"/>
<EF:EFInput blockId="inqu_status" row="0" ename="changeContent" cname="文件名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="changeContent" cname="文件名称" placeholder="模糊查询" colWidth="3"/>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion id="result" title="明细信息">
<EF:EFRegion id="result" title="明细信息" fitHeight="true">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" showCount="true" height="74vh">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFComboColumn ename="companyCode" cname="公司名称"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" readonly="false" width="160" required="false"
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="companyBox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
<EF:EFColumn ename="projName" cname="项目名称" width="160" enable="true" readonly="false" align="left" required="false"/>
<EF:EFColumn ename="projName" cname="项目名称" width="160" enable="true" readonly="false" align="left" required="false"/>
<EF:EFColumn ename="changeContent" cname="文件名称" width="160" enable="true" readonly="true" align="left" required="false"/>
<EF:EFColumn ename="changeContent" cname="文件名称" width="160" enable="true" readonly="true" align="left" required="false"/>
<%--<EF:EFColumn ename="changeStartCode" cname="附件ID" width="160" enable="true" readonly="false" align="center" required="false"/>--%>
<%--<EF:EFColumn ename="changeStartCode" cname="附件ID" width="160" enable="true" readonly="false" align="center" required="false"/>--%>
...
...
src/main/webapp/HG/WD/HGWD009.js
View file @
38fffe2d
...
@@ -3,6 +3,10 @@ $(function () {
...
@@ -3,6 +3,10 @@ $(function () {
IPLATUI
.
EFGrid
=
{
IPLATUI
.
EFGrid
=
{
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageSize
:
500
,
pageSizes
:
[
20
,
50
,
100
,
200
,
500
],
},
loadComplete
:
function
(
grid
)
{
loadComplete
:
function
(
grid
)
{
}
}
}
}
...
...
src/main/webapp/HG/WD/HGWD009.jsp
View file @
38fffe2d
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
title=
"结果集"
id=
"result"
>
<EF:EFRegion
title=
"结果集"
id=
"result"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
showCount=
"true"
height=
"74vh"
>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"orgCname"
cname=
"部门名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"orgCname"
cname=
"部门名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"userId"
cname=
"用户账号"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"userId"
cname=
"用户账号"
enable=
"false"
width=
"100"
align=
"center"
/>
...
...
src/main/webapp/HG/WD/HGWD009A.js
View file @
38fffe2d
...
@@ -4,8 +4,8 @@ $(function () {
...
@@ -4,8 +4,8 @@ $(function () {
"result"
:
{
"result"
:
{
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
exportGrid
:
false
,
// 隐藏右侧自定义导出按钮
pageable
:
{
pageable
:
{
pageSize
:
2
0
,
pageSize
:
50
0
,
pageSizes
:
[
20
,
50
,
100
,
15
0
],
pageSizes
:
[
20
,
50
,
100
,
250
,
50
0
],
},
},
loadComplete
:
function
(
grid
)
{
loadComplete
:
function
(
grid
)
{
}
}
...
...
src/main/webapp/HG/WD/HGWD009A.jsp
View file @
38fffe2d
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"记录集"
fitHeight=
"true"
>
<EF:EFRegion
id=
"result"
title=
"记录集"
fitHeight=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
height=
"69vh"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
showCount=
"true"
height=
"69vh"
>
<EF:EFColumn
ename=
"userId"
cname=
"用户ID"
hidden=
"true"
primaryKey=
"true"
/>
<EF:EFColumn
ename=
"userId"
cname=
"用户ID"
hidden=
"true"
primaryKey=
"true"
/>
<EF:EFColumn
ename=
"depName"
cname=
"部门名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"depName"
cname=
"部门名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"loginName"
cname=
"用户账号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"loginName"
cname=
"用户账号"
enable=
"false"
width=
"120"
align=
"center"
/>
...
...
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