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
f843c170
Commit
f843c170
authored
Apr 11, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-04-11 企业管理log docId去空格优化
parent
98fb7153
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
iPlatV7-index.js
src/main/resources/META-INF/resources/iPlatV7-index.js
+2
-2
HPPZ009.js
src/main/webapp/HP/PZ/HPPZ009.js
+3
-3
No files found.
src/main/resources/META-INF/resources/iPlatV7-index.js
View file @
f843c170
...
...
@@ -2451,8 +2451,8 @@ $(function () {
onSuccess
:
function
(
ei
)
{
//返回结果集
if
(
ei
.
blocks
.
result
!==
undefined
){
let
results
=
ei
.
getBlock
(
"result"
).
getMappedRows
();
if
(
results
.
length
>
0
&&
results
[
0
].
docIdPc
.
length
>
0
){
let
src
=
downloadHref
(
results
[
0
].
docIdPc
,
results
[
0
].
projectEnv
)
if
(
results
.
length
>
0
&&
results
[
0
].
docIdPc
.
trim
().
length
>
0
){
let
src
=
downloadHref
(
results
[
0
].
docIdPc
.
trim
()
,
results
[
0
].
projectEnv
)
let
img
=
`<img src="
${
src
}
" style='width:200px;height:55px;background-image: none;'/>`
;
$
(
"#sidebar .sidebar-content .side-header"
).
html
(
img
);
//$("#sidebar .sidebar-content .side-header").attr("src",downloadHref(results[0].docIdPc,results[0].projectEnv));
...
...
src/main/webapp/HP/PZ/HPPZ009.js
View file @
f843c170
...
...
@@ -12,11 +12,11 @@ $(function () {
template
:
function
(
item
)
{
let
docId
=
item
.
docIdPc
;
let
template
=
''
;
if
(
docId
!=
null
&&
docId
.
length
>
0
){
if
(
docId
!=
null
&&
docId
.
trim
().
length
>
0
){
let
src
=
downloadHref
(
docId
);
template
=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;background-color: #e7e7e7" '
+
'href="'
+
src
+
'" target="_blank">'
+
'<img src="'
+
src
+
'" style="width:200px;height:50px;background-image: none;" alt="
APP
端log"/></a>'
;
'<img src="'
+
src
+
'" style="width:200px;height:50px;background-image: none;" alt="
PC
端log"/></a>'
;
}
return
template
;
}
...
...
@@ -27,7 +27,7 @@ $(function () {
template
:
function
(
item
)
{
let
docId
=
item
.
docIdApp
;
let
template
=
''
;
if
(
docId
!=
null
&&
docId
.
length
>
0
){
if
(
docId
!=
null
&&
docId
.
trim
().
length
>
0
){
let
src
=
downloadHref
(
docId
);
template
=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;background-color: #e7e7e7" '
+
'href="'
+
src
+
'" target="_blank">'
+
...
...
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