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
5a6e0cd8
Commit
5a6e0cd8
authored
Mar 13, 2024
by
wasx8023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.下载路径区分开发和正式
parent
f053bca3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
HPZL001A.js
src/main/webapp/HP/ZL/HPZL001A.js
+4
-2
HPZL001A.jsp
src/main/webapp/HP/ZL/HPZL001A.jsp
+8
-0
No files found.
src/main/webapp/HP/ZL/HPZL001A.js
View file @
5a6e0cd8
...
@@ -4,9 +4,11 @@ $(function () {
...
@@ -4,9 +4,11 @@ $(function () {
columns
:
[{
columns
:
[{
field
:
"operator"
,
field
:
"operator"
,
template
:
function
(
item
)
{
template
:
function
(
item
)
{
let
docId
=
item
.
docId
;
let
href
=
IPLATUI
.
CONTEXT_PATH
+
(
"run"
==
projectEnv
?
(
'/docFileDownload/'
+
docId
)
:
(
'/EU/DM/EUDM06.jsp?docId='
+
docId
));
let
template
=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
let
template
=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'href="'
+
IPLATUI
.
CONTEXT_PATH
+
'/EU/DM/EUDM06.jsp?docId='
+
item
.
docId
+
'href="'
+
href
+
'" >附件下载</a>'
;
+
'" >附件下载</a>'
;
return
template
;
return
template
;
}
}
}],
}],
...
...
src/main/webapp/HP/ZL/HPZL001A.jsp
View file @
5a6e0cd8
<%@ page import="com.baosight.iplat4j.core.ProjectInfo" %>
<!DOCTYPE html>
<!DOCTYPE html>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" tagdir="/WEB-INF/tags/EF" %>
<%@ taglib prefix="EF" tagdir="/WEB-INF/tags/EF" %>
<%
String projectEnv = ProjectInfo.getProjectEnv().toLowerCase();
%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<script type="text/javascript">
let projectEnv = "${projectEnv}";
</script>
<EF:EFPage title="附件清单">
<EF:EFPage title="附件清单">
<EF:EFRegion id="inqu" title="查询区域" type="query">
<EF:EFRegion id="inqu" title="查询区域" type="query">
<EF:EFInput cname="质量巡检单ID" ename="checkId" blockId="inqu_status" row="0" type="hidden"/>
<EF:EFInput cname="质量巡检单ID" ename="checkId" blockId="inqu_status" row="0" type="hidden"/>
...
...
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