Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5portal
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
管理员
jfV5portal
Commits
87f43308
Commit
87f43308
authored
Aug 30, 2018
by
罗绍泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
办事大厅修改
parent
f1c3eea2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
11 deletions
+25
-11
office.js
WebContent/jfcas04/js/office.js
+17
-3
office.jsp
WebContent/jfcas04/office.jsp
+8
-8
No files found.
WebContent/jfcas04/js/office.js
View file @
87f43308
$
(
function
(){
document
.
domain
=
"jfbrother.com"
;
//去掉尾部的一个div
$
(
'.index_footer'
).
next
().
remove
();
...
...
@@ -25,7 +25,7 @@ $(function(){
init_officeDetail_container_minHeight
();
//初始化iframe高度
initIframe
();
//
initIframe();
})
function
initIframe
()
{
...
...
@@ -80,6 +80,20 @@ function init_office_module_bottom(){
//模块的切换
function
init_office_change_moddle
(){
$
(
'.office_bg_content>div>div'
).
on
(
'click'
,
function
(){
var
src
=
$
(
this
).
attr
(
'src'
);
var
iframeId
=
$
(
this
).
attr
(
'iframeId'
);
if
(
src
){
if
(
!
$
(
"#"
+
iframeId
).
attr
(
"src"
)){
$
(
"#"
+
iframeId
).
attr
(
"src"
,
src
);
document
.
getElementById
(
iframeId
).
onload
=
function
()
{
this
.
contentWindow
.
onbeforeunload
=
function
()
{
document
.
getElementById
(
iframeId
).
setAttribute
(
'height'
,
'auto'
);
};
this
.
setAttribute
(
'height'
,
$
(
this
.
contentWindow
.
document
.
body
).
outerHeight
(
true
));
};
}
}
var
index
=
$
(
'.office_bg_content>div>div'
).
index
(
$
(
this
));
$
(
'.office_module'
).
hide
();
$
(
'.office_module'
).
eq
(
index
).
show
();
...
...
@@ -103,7 +117,7 @@ function init_office_apply_lump(){
var
$create_content
=
$
(
'<div></div>'
);
$create_content
.
bind
(
'click'
,
function
(){
var
processInfo
=
$
(
this
).
data
(
'processInfo'
);
window
.
open
(
$
(
"#procAppUrl"
).
val
()
+
'
/processView_detail?
procId='
+
processInfo
.
UUID
);
window
.
open
(
$
(
"#procAppUrl"
).
val
()
+
'
?redirectUrl=processView_detail%3f
procId='
+
processInfo
.
UUID
);
// $("#proc_iframe_loading").show();
// $("#proc_iframe").hide();
// var processInfo=$(this).data('processInfo');
...
...
WebContent/jfcas04/office.jsp
View file @
87f43308
...
...
@@ -23,25 +23,25 @@ String procApp=com.gaowj.business.util.PropUtil.getValue("lcyq_app_url", "quartz
<div
class=
"row office_bg"
>
<div
class=
"office_bg_content col-md-12"
>
<div
class=
"col-md-3"
>
<div
class=
"office_bg_content_click"
>
<div
class=
"office_bg_content_click"
>
<img
src=
"${ctx}/custom/images/office_apply.png"
width=
"100"
height=
"100"
/>
<div>
我要申请
</div>
</div>
</div>
<div
class=
"col-md-3"
>
<div
class=
""
>
<div
class=
""
src=
"<%=procApp %>?redirectUrl=processView_approval"
iframeId=
"approval"
>
<img
src=
"${ctx}/custom/images/office_examine.png"
width=
"100"
height=
"100"
/>
<div>
我要审批
</div>
</div>
</div>
<div
class=
"col-md-3"
>
<div
class=
""
>
<div
class=
""
src=
"<%=procApp %>?redirectUrl=processView_progressRate"
iframeId=
"progressRate"
>
<img
src=
"${ctx}/custom/images/office_progress.png"
width=
"100"
height=
"100"
/>
<div>
进度查询
</div>
</div>
</div>
<div
class=
"col-md-3"
>
<div
class=
""
>
<div
class=
""
src=
"<%=procApp %>?redirectUrl=processView_progressHistory"
iframeId=
"progressHistory"
>
<img
src=
"${ctx}/custom/images/office_history.png"
width=
"100"
height=
"100"
/>
<div>
历史查询
</div>
</div>
...
...
@@ -61,21 +61,21 @@ String procApp=com.gaowj.business.util.PropUtil.getValue("lcyq_app_url", "quartz
<!-- 审批模块 -->
<div
class=
"office_module row"
style=
"display:none"
>
<iframe
id=
"approval"
style=
"width:100%"
src=
"<%=procApp %>/processView_approval"
></iframe>
<iframe
id=
"approval"
style=
"width:100%"
></iframe>
</div>
<!-- 进度查询模块 -->
<div
class=
"office_module row"
style=
"display:none"
>
<iframe
id=
"progressRate"
style=
"width:100%"
src=
"<%=procApp %>/processView_progressRate"
></iframe>
<iframe
id=
"progressRate"
style=
"width:100%"
></iframe>
</div>
<!-- 历史查询模块 -->
<div
class=
"office_module row"
style=
"display:none"
>
<iframe
id=
"progressHistory"
style=
"width:100%"
src=
"<%=procApp %>/processView_progressHistory"
></iframe>
<iframe
id=
"progressHistory"
style=
"width:100%"
></iframe>
</div>
<!--主容器结尾-->
</div>
<input
type=
"text"
id=
"procAppUrl"
value=
"<%=procApp%>"
>
<input
type=
"text"
id=
"procAppUrl"
value=
"<%=procApp%>"
style=
"display:none;"
>
<!-- 内容部分2 -->
<div
class=
"container-fluid"
id=
"process_content2"
style=
"display:none;"
>
...
...
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