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
4899c891
Commit
4899c891
authored
Jan 25, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.上传文件ID为空时直接返回
parent
ef7b3d4e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+4
-2
HPSC002A.js
src/main/webapp/HP/SC/HPSC002A.js
+3
-0
HPZL001.js
src/main/webapp/HP/ZL/HPZL001.js
+3
-0
No files found.
src/main/webapp/HP/SC/HPSC002.js
View file @
4899c891
...
@@ -247,6 +247,9 @@ $(function () {
...
@@ -247,6 +247,9 @@ $(function () {
let
$iframe
=
uploadFileWindow
.
element
.
children
(
"iframe"
);
let
$iframe
=
uploadFileWindow
.
element
.
children
(
"iframe"
);
let
iframejQuery
=
$iframe
[
0
].
contentWindow
.
$
;
// 子窗口中的jQuery对象
let
iframejQuery
=
$iframe
[
0
].
contentWindow
.
$
;
// 子窗口中的jQuery对象
let
uploadFile
=
iframejQuery
(
"#fileDocId"
).
val
();
let
uploadFile
=
iframejQuery
(
"#fileDocId"
).
val
();
if
(
isBlank
(
uploadFile
))
{
return
;
}
let
inEiInfo
=
new
EiInfo
();
let
inEiInfo
=
new
EiInfo
();
inEiInfo
.
set
(
"result-0-id"
,
rowId
);
inEiInfo
.
set
(
"result-0-id"
,
rowId
);
inEiInfo
.
set
(
"result-0-filePath1"
,
uploadFile
);
inEiInfo
.
set
(
"result-0-filePath1"
,
uploadFile
);
...
@@ -344,4 +347,4 @@ function check(id, auditStatus) {
...
@@ -344,4 +347,4 @@ function check(id, auditStatus) {
async
:
false
async
:
false
}
}
);
);
}
}
\ No newline at end of file
src/main/webapp/HP/SC/HPSC002A.js
View file @
4899c891
...
@@ -22,6 +22,9 @@ $(function () {
...
@@ -22,6 +22,9 @@ $(function () {
let
$iframe
=
uploadFileWindow
.
element
.
children
(
"iframe"
);
let
$iframe
=
uploadFileWindow
.
element
.
children
(
"iframe"
);
let
iframejQuery
=
$iframe
[
0
].
contentWindow
.
$
;
// 子窗口中的jQuery对象
let
iframejQuery
=
$iframe
[
0
].
contentWindow
.
$
;
// 子窗口中的jQuery对象
let
uploadFile
=
iframejQuery
(
"#fileDocId"
).
val
();
let
uploadFile
=
iframejQuery
(
"#fileDocId"
).
val
();
if
(
isBlank
(
uploadFile
))
{
return
;
}
let
inEiInfo
=
new
EiInfo
();
let
inEiInfo
=
new
EiInfo
();
inEiInfo
.
set
(
"result-0-matId"
,
$
(
"#inqu_status-0-matId"
).
val
());
inEiInfo
.
set
(
"result-0-matId"
,
$
(
"#inqu_status-0-matId"
).
val
());
inEiInfo
.
set
(
"result-0-docId"
,
uploadFile
);
inEiInfo
.
set
(
"result-0-docId"
,
uploadFile
);
...
...
src/main/webapp/HP/ZL/HPZL001.js
View file @
4899c891
...
@@ -51,6 +51,9 @@ $(function() {
...
@@ -51,6 +51,9 @@ $(function() {
let
$iframe
=
uploadFileWindow
.
element
.
children
(
"iframe"
);
let
$iframe
=
uploadFileWindow
.
element
.
children
(
"iframe"
);
let
iframejQuery
=
$iframe
[
0
].
contentWindow
.
$
;
// 子窗口中的jQuery对象
let
iframejQuery
=
$iframe
[
0
].
contentWindow
.
$
;
// 子窗口中的jQuery对象
let
uploadFile
=
iframejQuery
(
"#fileDocId"
).
val
();
let
uploadFile
=
iframejQuery
(
"#fileDocId"
).
val
();
if
(
isBlank
(
uploadFile
))
{
return
;
}
let
inEiInfo
=
new
EiInfo
();
let
inEiInfo
=
new
EiInfo
();
inEiInfo
.
set
(
"result-0-id"
,
rowId
);
inEiInfo
.
set
(
"result-0-id"
,
rowId
);
inEiInfo
.
set
(
"result-0-affix"
,
uploadFile
);
inEiInfo
.
set
(
"result-0-affix"
,
uploadFile
);
...
...
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