Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5pc
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
管理员
jfV5pc
Commits
8450c0b4
Commit
8450c0b4
authored
Aug 08, 2018
by
周添尉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改下载乱码
parent
fe6cf87e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
33 deletions
+61
-33
icon.css
...tent/gaowj/ria/jquery/jquery-easyui-1.4.1/themes/icon.css
+9
-14
main.jsp
WebContent/system/pages/frameEasyui/main.jsp
+33
-3
top.jsp
WebContent/system/pages/frameEasyui/top.jsp
+12
-10
sampleLogin.jsp
WebContent/system/pages/login/sampleLogin.jsp
+2
-2
actAction.java
src_system/com/gaowj/uploadfile/actAction.java
+5
-4
No files found.
WebContent/gaowj/ria/jquery/jquery-easyui-1.4.1/themes/icon.css
View file @
8450c0b4
...
...
@@ -298,21 +298,15 @@
.icon-ext-34_40{
background:url('
../../../../
images
/
icons
/(
34
,
40
).
png
') no-repeat left center;
}
.icon-ext-
11_10
{
background:url('
../../../../
images
/
icons
/(
11
,
10
).
png
') no-repeat left center;
.icon-ext-
01_07
{
background:url('
../../../../
images
/
icons
/(
01
,
07
).
png
') no-repeat left center;
}
.icon-ext-
02_25
{
background:url('
../../../../
images
/
icons
/(
02
,
25
).
png
') no-repeat left center;
.icon-ext-
29_22
{
background:url('
../../../../
images
/
icons
/(
29
,
22
).
png
') no-repeat left center;
}
.icon-ext-
04_14
{
background:url('
../../../../
images
/
icons
/(
04
,
14
).
png
') no-repeat left center;
.icon-ext-
26_01
{
background:url('
../../../../
images
/
icons
/(
26
,
01
).
png
') no-repeat left center;
}
.icon-ext-10_34{
background:url('
../../../../
images
/
icons
/(
10
,
34
).
png
') no-repeat left center;
}
.icon-ext-10_36{
background:url('
../../../../
images
/
icons
/(
10
,
36
).
png
') no-repeat left center;
}
.icon-ext-13_12{
background:url('
../../../../
images
/
icons
/(
13
,
12
).
png
'
)
no-repeat
left
center
;
.icon-ext-27_01{
background:url('
../../../../
images
/
icons
/(
27
,
01
).
png
'
)
no-repeat
left
center
;
}
\ No newline at end of file
WebContent/system/pages/frameEasyui/main.jsp
View file @
8450c0b4
...
...
@@ -11,13 +11,13 @@
<html>
<head>
<title>
V5 |
PC
</title>
<title>
V5 |
XXX系统
</title>
<
%
--
富客户端环境引用文件
--
%
>
<
%@
include
file=
"/gaowj/header-simple-1.0.jsp"
%
>
<link
rel=
"shortcut icon"
href=
"images/main/logo.ico"
/>
<link
rel=
"icon"
type=
"image/gif"
href=
"images/main/logo.png"
/>
<link
rel=
"icon"
type=
"image/gif"
href=
"images/main/logo.png"
/>
</head>
<body
class=
"easyui-layout"
data-options=
"fit:true"
>
<body
id=
"cc"
class=
"easyui-layout"
data-options=
"fit:true"
>
<div
id=
"layout_north"
data-options=
"region:'north'"
style=
"height:80px;background:url('${ctx}/images/main/nbjwtop.jpg') no-repeat;"
></div>
<div
id=
"layout_south"
data-options=
"region:'south',split:true"
style=
"height:30px;overflow:hidden;border-top:none;"
>
<div
id=
"foot"
></div>
...
...
@@ -31,6 +31,8 @@
</div>
</div>
<div
id=
"tab-tools"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
style =
"text-decoration:none;"
data-options=
"plain:true,iconCls:'icon-ext-26_01'"
id=
"cc_layout_button"
onclick=
"maxPanel()"
><font
id=
"cc_layout_text"
style=
"color:#ccc;"
>
最大化
</font></a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
style =
"text-decoration:none;"
data-options=
"plain:true,iconCls:'icon-ext-22_27_undo'"
onclick=
"removeAllPanel()"
><font
style=
"color:#ccc;"
>
全部关闭
</font></a>
</div>
...
...
@@ -121,5 +123,33 @@
href
:
'${ctx}/system/pages/frameEasyui/top.jsp'
});
});
var
cc_layout_status
=
'0'
;
function
maxPanel
(){
if
(
cc_layout_status
==
'1'
){
cc_layout_status
=
'0'
;
$
(
"#cc_layout_text"
).
html
(
"最大化"
);
$
(
'#cc_layout_button'
).
linkbutton
({
iconCls
:
'icon-ext-26_01'
});
$
(
'#cc'
).
layout
(
'add'
,{
region
:
'north'
,
height
:
80
});
$
(
'#cc'
).
layout
(
'expand'
,
'west'
);
$
(
'#cc'
).
layout
(
'panel'
,
'north'
).
css
(
"background"
,
"url('${ctx}/images/main/nbjwtop.jpg') no-repeat"
).
css
(
"overflow"
,
"hidden"
);
$
(
'#cc'
).
layout
(
'panel'
,
'north'
).
panel
({
href
:
'${ctx}/system/pages/frameEasyui/top.jsp'
});
}
else
{
cc_layout_status
=
'1'
;
$
(
'#cc_layout_button'
).
linkbutton
({
iconCls
:
'icon-ext-27_01'
});
$
(
'#cc'
).
layout
(
'remove'
,
'north'
);
$
(
'#cc'
).
layout
(
'collapse'
,
'west'
);
$
(
"#cc_layout_text"
).
html
(
"恢复"
);
}
}
</script>
</html>
WebContent/system/pages/frameEasyui/top.jsp
View file @
8450c0b4
...
...
@@ -68,7 +68,7 @@ A:link {
</tr>
</table>
<div id="SendProduct" > </div>
<div id="modifypassDialog">
<div id="modifypassDialog"
style="overflow:auto;"
>
<form id="modifypassForm" method="post">
<table align="center" style="margin-top:10px;">
<tr>
...
...
@@ -148,6 +148,7 @@ A:link {
<script type="text/javascript">
$(function() {
//如果是v5原始版本那就显示换肤功能
var localPath = '<%=localPath %>';
if(localPath=='/jfV5'){
...
...
@@ -161,16 +162,13 @@ $(function() {
$("#personInfo").hide();
$("#modifypassDialog").hide();
function doMain(idx){
function doMain(idx){
if(idx=='quit'){
if(window.confirm('<fmt:message key="common.quit.click" bundle="${p1}"/>?')){
window.top.location = "<%=localPath %>/logout";
//window.top.location = WebContextPath + "/logoutcas.jsp";
return true;
}else{
return false;
}
$.messager.confirm('提示', '<fmt:message key="common.quit.click" bundle="${p1}"/>?', function(r) {
if (r) {
window.top.location = "<%=localPath %>/logout";
}
});
}else{
window.top.location = "<%=localPath %>/login";
}
...
...
@@ -181,6 +179,9 @@ $(function() {
$("#modifypassDialog").show();
$("#modifypassForm")[0].reset();
$("#OLDPASS").textbox("setValue","");
$("#NEWPASS").textbox("setValue","");
$("#AGAINNEWPASS").textbox("setValue","");
$('#modifypassDialog')
.dialog(
{
...
...
@@ -213,6 +214,7 @@ $(function() {
text : '返回',
iconCls : 'icon-back',
handler : function() {
$("#modifypassDialog").hide();
$('#modifypassDialog').dialog('close');
}
} ]
...
...
WebContent/system/pages/login/sampleLogin.jsp
View file @
8450c0b4
...
...
@@ -282,7 +282,7 @@ input[type="checkbox"] {
<input
type=
"button"
id=
"b_login"
class=
"Login_button"
value=
"登 录"
/>
<!-- 找回密码开始 -->
<span
class=
"Login_passwordBack"
>
<a
href=
"#"
>
找回密码
</a></span>
<span
class=
"Login_passwordBack"
style=
"display:none;"
>
<a
href=
"#"
>
找回密码
</a></span>
</div>
<!-- 记住帐户开始 -->
...
...
@@ -296,7 +296,7 @@ input[type="checkbox"] {
<!-- 底部文字开始 -->
<div
class=
"Login_lastword"
>
Powered By © 2014-2018
<a
href=
"http://www.jfbrother.com"
>
<span>
www.jfbrother.com
</span></a>
Powered By © 2014-2018
<a
target=
"_blank"
href=
"http://www.jfbrother.com"
>
<span>
www.jfbrother.com
</span></a>
</div>
</div>
</div>
...
...
src_system/com/gaowj/uploadfile/actAction.java
View file @
8450c0b4
...
...
@@ -345,10 +345,11 @@ public class actAction extends BasicAction {
String
uuid
=
request
.
getParameter
(
"uuid"
);
String
uploadnew
=
request
.
getParameter
(
"uploadnew"
);
String
uploadpath
=
request
.
getParameter
(
"uploadpath"
);
String
downloadFilenameEncode1
=
PropUtil
.
getValue
(
"downloadFilenameEncode1"
,
"quartz_service"
,
"gbk"
);
String
downloadFilenameEncode2
=
PropUtil
.
getValue
(
"downloadFilenameEncode2"
,
"quartz_service"
,
"iso8859-1"
);
super
.
setEncoding1
(
downloadFilenameEncode1
);
super
.
setEncoding2
(
downloadFilenameEncode2
);
// String downloadFilenameEncode1 = PropUtil.getValue("downloadFilenameEncode1", "quartz_service", "gbk");
// String downloadFilenameEncode2 = PropUtil.getValue("downloadFilenameEncode2", "quartz_service", "iso8859-1");
// super.setEncoding1(downloadFilenameEncode1);
// super.setEncoding2(downloadFilenameEncode2);
response
.
setCharacterEncoding
(
"utf-8"
);
if
(
new
File
(
uploadpath
+
"/"
+
uploadnew
).
exists
()==
false
){
db2file
(
uuid
,
uploadpath
,
uploadnew
,
false
);
ret_download
=
super
.
download
();
...
...
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