Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
5bbc55b7
Commit
5bbc55b7
authored
Mar 25, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.前端页面增加辅机页面号输入框
parent
0af99b0d
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
9 additions
and
6 deletions
+9
-6
HPPZ015A.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ015A.xml
+0
-0
ServiceHPSC002A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
+1
-2
HPSC002B.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC002B.xml
+0
-0
HPSC005A.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC005A.xml
+0
-0
HPSC005B.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC005B.xml
+0
-0
HPZL001.xml
src/main/java/com/baosight/hpjx/hp/zl/sql/HPZL001.xml
+0
-0
SqlMapDaoLogProxy.java
...sight/iplat4j/core/data/ibatis/dao/SqlMapDaoLogProxy.java
+2
-2
foot.jsp
...n/resources/META-INF/resources/WEB-INF/fragments/foot.jsp
+1
-0
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+1
-1
HPSC002A.js
src/main/webapp/HP/SC/HPSC002A.js
+1
-0
jsUtils.js
src/main/webapp/common/js/jsUtils.js
+3
-1
No files found.
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ015A.xml
View file @
5bbc55b7
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
View file @
5bbc55b7
...
...
@@ -53,9 +53,8 @@ public class ServiceHPSC002A extends ServiceEPBase {
if
(
CollectionUtils
.
isNotEmpty
(
dbSc002s
)
||
CollectionUtils
.
isNotEmpty
(
HPSC006
))
{
inInfo
.
set
(
"inqu_status-0-bizType"
,
queryMap
.
get
(
"bizType"
));
inInfo
.
set
(
"inqu_status-0-matId"
,
queryMap
.
get
(
"id"
));
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC002A
().
eiMetadata
);
}
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC002A
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC002B.xml
View file @
5bbc55b7
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC005A.xml
View file @
5bbc55b7
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC005B.xml
View file @
5bbc55b7
src/main/java/com/baosight/hpjx/hp/zl/sql/HPZL001.xml
View file @
5bbc55b7
src/main/java/com/baosight/iplat4j/core/data/ibatis/dao/SqlMapDaoLogProxy.java
View file @
5bbc55b7
...
...
@@ -201,7 +201,7 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
*/
private
void
setDataAuth
(
String
name
,
Object
parameters
)
{
// 需要过滤部分sql name,否则会形成死循环
String
[]
serviceFilter
=
{
"HPXSUser"
,
"HPXSOrg"
,
"HPPZ010.query"
};
String
[]
serviceFilter
=
{
"HPXSUser"
,
"HPXSOrg"
,
"HPPZ0
09.query"
,
"HPPZ0
10.query"
};
if
(
StringUtils
.
startsWithAny
(
name
,
serviceFilter
))
{
return
;
}
...
...
@@ -261,7 +261,7 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
}
String
depAuth
=
dbPz010
.
getDepAuth
();
// 看全部
if
(
AuthTypeEnum
.
ALL
.
getCode
().
equals
(
customAuth
))
{
if
(
AuthTypeEnum
.
ONLY_COMPANY
.
getCode
().
equals
(
customAuth
))
{
return
Arrays
.
asList
(
AuthTypeEnum
.
ALL
.
getCode
());
}
else
if
(
AuthTypeEnum
.
ONLY_FACTORY
.
getCode
().
equals
(
customAuth
))
{
// 查询当前部门所在的厂及子集
...
...
src/main/resources/META-INF/resources/WEB-INF/fragments/foot.jsp
View file @
5bbc55b7
...
...
@@ -23,3 +23,4 @@
</script>
<script src="${ctx}/common/js/common.js"></script>
<script src="${ctx}/common/js/jsUtils.js"></script>
<EF:EFInput cname="parentFormEname" ename="efParentFormEname" type="hidden"/>
src/main/webapp/HP/SC/HPSC002.js
View file @
5bbc55b7
...
...
@@ -684,7 +684,7 @@ function openUploadFile(id) {
*/
function
showUploadFile
(
id
)
{
JSColorbox
.
open
({
href
:
"HPSC002A?methodName=initLoad&
efParentFormEname=HPSC002&
inqu_status-0-bizType=WL&inqu_status-0-id="
+
id
,
href
:
"HPSC002A?methodName=initLoad&inqu_status-0-bizType=WL&inqu_status-0-id="
+
id
,
title
:
"<div style='text-align: center;'>附件清单</div>"
,
width
:
"80%"
,
height
:
"80%"
,
...
...
src/main/webapp/HP/SC/HPSC002A.js
View file @
5bbc55b7
...
...
@@ -38,6 +38,7 @@ $(window).load(function () {
* 查询
*/
var
query
=
function
(
e
)
{
console
.
log
(
__eiInfo
);
resultGrid
.
dataSource
.
page
(
1
);
}
...
...
src/main/webapp/common/js/jsUtils.js
View file @
5bbc55b7
...
...
@@ -190,8 +190,10 @@
href
=
replacePos
(
href
,
(
inx
+
1
),
"?"
);
}
}
else
{
}
// 当前页面号
let
efFormEname
=
__eiInfo
.
extAttr
[
EiConstant
.
EF_FORM_ENAME
];
href
=
href
+
(
href
.
indexOf
(
"?"
)
==
-
1
?
'?'
:
'&'
)
+
"efParentFormEname="
+
efFormEname
;
parameter
[
"href"
]
=
href
;
popWindow
=
divhtml
.
data
(
"kendoWindow"
);
popWindow
.
setOptions
({
...
...
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