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
8cdb15cd
Commit
8cdb15cd
authored
Aug 07, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-06 导入调整
parent
e0275d7a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
5 deletions
+27
-5
DocRouteEnum.java
src/main/java/com/baosight/hggp/common/DocRouteEnum.java
+8
-1
HGSC009A.java
src/main/java/com/baosight/hggp/hg/sc/domain/HGSC009A.java
+1
-0
HGSC009.js
src/main/webapp/HG/SC/HGSC009.js
+17
-0
HGSC097.jsp
src/main/webapp/HG/SC/HGSC097.jsp
+1
-4
No files found.
src/main/java/com/baosight/hggp/common/DocRouteEnum.java
View file @
8cdb15cd
package
com
.
baosight
.
hggp
.
common
;
import
com.baosight.hggp.hg.cw.domain.HGCW003
;
import
com.baosight.hggp.hg.pz.domain.HGPZ005
;
import
com.baosight.hggp.hg.sc.domain.HGSC004A
;
import
com.baosight.hggp.hg.sc.domain.HGSC009
;
import
com.baosight.hggp.hg.sj.domain.HGSJ003
;
/**
* @author:songx
...
...
@@ -10,7 +14,10 @@ import com.baosight.hggp.hg.sc.domain.HGSC004A;
public
enum
DocRouteEnum
{
HGSC004A
(
"route_001"
,
"HGSC004A"
,
"importData"
,
HGSC004A
.
class
),
// HPSC006("route_002", "HPSC006", "importData", HPSC006.class),
HGSC009
(
"route_002"
,
"HGSC009"
,
"importData"
,
HGSC009
.
class
),
HGPZ005
(
"route_003"
,
"HGPZ005"
,
"importData"
,
HGPZ005
.
class
),
HGCW003
(
"route_004"
,
"HGCW003"
,
"importData"
,
HGCW003
.
class
),
HGSJ003
(
"route_005"
,
"HGSJ003"
,
"importData"
,
HGSJ003
.
class
),
;
private
String
id
;
private
String
serviceNme
;
...
...
src/main/java/com/baosight/hggp/hg/sc/domain/HGSC009A.java
View file @
8cdb15cd
package
com
.
baosight
.
hggp
.
hg
.
sc
.
domain
;
import
com.baosight.hggp.common.ExcelAnno
;
import
com.baosight.iplat4j.core.util.NumberUtils
;
import
java.math.BigDecimal
;
import
com.baosight.iplat4j.core.ei.EiColumn
;
...
...
src/main/webapp/HG/SC/HGSC009.js
View file @
8cdb15cd
...
...
@@ -174,7 +174,24 @@ $(function () {
};
$
(
"#IMPORT"
).
on
(
"click"
,
function
(
e
)
{
let
materialId
=
$
(
"#inqu_status-0-materialId"
).
val
()
JSColorbox
.
open
({
href
:
"HGSC097?methodName=initLoad&inqu_status-0-id=route_002"
,
title
:
"<div style='text-align: center;'>导入</div>"
,
width
:
"60%"
,
height
:
"50%"
,
callbackName
:
function
()
{
// 刷新列表
resultGrid
.
dataSource
.
page
(
1
);
// 关闭弹窗
JSColorbox
.
close
();
}
});
});
grush
.
openImportBox
();
IPLATUI
.
EFUpload
=
{
fileUpload
:
{
showFileList
:
false
,
...
...
src/main/webapp/HG/SC/HGSC097.jsp
View file @
8cdb15cd
...
...
@@ -8,7 +8,6 @@
<EF:EFPage
title=
"导入"
>
<EF:EFRegion
id=
"upload"
title=
"文件导入区"
>
<EF:EFInput
ename=
"inqu_status-0-id"
cname=
"服务Id"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-parentProdCode"
cname=
"父Id"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-projCode"
cname=
"项目代码"
type=
"hidden"
/>
...
...
@@ -17,9 +16,7 @@
<EF:EFInput
ename=
"inqu_status-0-productionOrderNo"
cname=
"生产订单号"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-materialId"
cname=
"上级ID"
type=
"hidden"
/>
<EF:EFInput
ename=
"inqu_status-0-lv"
cname=
"级别"
type=
"hidden"
/>
<EF:EFInput
cname=
"上传文件"
blockId=
"inqu_status"
ename=
"file"
row=
"0"
type=
"file"
/>
<
%
--
<
button
id=
"btn_upload"
type=
"submit"
>
提交
</button>
--%>
<
%
--
<
EF:EFButton
cname=
"提交"
ename=
"btn_upload"
></EF:EFButton>
--%>
<EF:EFInput
cname=
"导入文件"
blockId=
"inqu_status"
ename=
"file"
row=
"0"
type=
"file"
width=
"100%"
/>
<div
class=
"row"
>
<EF:EFButton
ename=
"cancel"
cname=
"取消"
type=
"button"
class=
"btn-align-right"
/>
<EF:EFButton
ename=
"btn_upload"
cname=
"确认"
type=
"button"
class=
"btn-align-right"
/>
...
...
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