Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
njzsb
Project
Project
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
徐州
njzsb
Commits
c0aeeb81
Commit
c0aeeb81
authored
Aug 24, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增人防用章
parent
c773dd84
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
44 deletions
+23
-44
Rfxm_Sfxx_Detail.jsp
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_Detail.jsp
+16
-38
Rfxm_Sfxx_View.jsp
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_View.jsp
+3
-6
struts-rfxm.xml
src/com/jshx/rfxm/conf/struts-rfxm.xml
+4
-0
RfxmAction.java
src/com/jshx/rfxm/web/RfxmAction.java
+0
-0
No files found.
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_Detail.jsp
View file @
c0aeeb81
...
@@ -56,45 +56,23 @@
...
@@ -56,45 +56,23 @@
<%--
下载缴费信息附件
--%>
<%--
下载缴费信息附件
--%>
function
opendoc
(
id
)
function
opendoc
(
id
)
{
{
console
.
log
(
id
);
console
.
log
(
$
(
"#id"
).
val
());
window
.
location
.
href
=
"${ctx}/jsp/rfxm/downloadFile.action?ids="
+
id
;
window
.
location
.
href
=
"${ctx}/jsp/rfxm/downloadFile.action?ids="
+
id
;
}
}
<%--
生成缴费通知书
--%>
<%--
人防用章
--%>
function
generateNotice
(
flag
){
function
generateNotice
(
id
){
$
.
ajax
({
$
.
messager
.
confirm
(
"提示"
,
"确认要人防用章?"
,
function
(
result
)
{
url
:
"${ctx}/jsp/rfxm/produceNotice.action"
,
$
.
ajax
({
type
:
'post'
,
url
:
"${ctx}/jsp/rfxm/rfyz.action"
,
dataType
:
'json'
,
type
:
'post'
,
async
:
false
,
dataType
:
'json'
,
data
:
{
ids
:
$
(
"#ids"
).
val
(),
flag
:
flag
},
data
:{
error
:
function
()
{
ids
:
id
$
.
messager
.
alert
(
'错误'
,
'提交出错!'
);
},
},
async
:
false
success
:
function
(
data
)
{
});
if
(
data
.
result
)
{
$
.
messager
.
alert
(
"提示"
,
"操作成功"
)
$
(
"#yzjg"
).
html
(
'验证成功!'
);
reloadDate
()
$
.
messager
.
alert
(
'提示'
,
"生成缴款通知书成功"
);
});
abc
=
"1"
;
window
.
location
.
reload
();
// var noticeBtn = "#noticeBtn";
// noticeBtn += flag;
// /*var noticeB = document.getElementById(noticeBtn);
// noticeB.href = "";
// noticeB.innerHTML("
<
i
class
=
\
"edit
\"
style=
\"
opacity: 0.5
\"
>已生成施工前缴款通知书</i>"
);
*
/
// $(noticeBtn).attr('href','');
// $(noticeBtn).html("
<
i
class
=
\
"edit
\"
style=
\"
opacity: 0.5
\"
>已生成施工前缴款通知书</i>"
);
/*var tab = $('#center').tabs('getSelected');
//获得当前选中的tab 的href
var url = $(tab.panel('options')).attr('href');
tab.panel('refresh', url);*/
}
else
{
abc
=
"0"
;
$
(
"#yzjg"
).
html
(
'信息表编号重复!该项目状态:'
+
data
.
message
);
$
.
messager
.
alert
(
'提示'
,
data
.
message
);
}
}
});
}
}
function
produceNotice
(
flag
,
row_id
){
function
produceNotice
(
flag
,
row_id
){
...
@@ -273,7 +251,7 @@
...
@@ -273,7 +251,7 @@
</c:if>
</c:if>
<c:if
test=
"${rfxm.isSbj==1}"
>
<c:if
test=
"${rfxm.isSbj==1}"
>
<a
id=
"noticeBtn0"
href=
"#"
class=
"btn_01"
<a
id=
"noticeBtn0"
href=
"#"
class=
"btn_01"
onclick=
"generateNotice(
0
);"
>
人防费用章(市本级)
<b></b></a>
onclick=
"generateNotice(
'${rfxm.id}'
);"
>
人防费用章(市本级)
<b></b></a>
</c:if>
</c:if>
...
...
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_View.jsp
View file @
c0aeeb81
...
@@ -25,9 +25,6 @@
...
@@ -25,9 +25,6 @@
<%--
下载缴费信息附件
--%>
<%--
下载缴费信息附件
--%>
function
opendoc
(
index
,
id
)
function
opendoc
(
index
,
id
)
{
{
console
.
log
(
id
);
console
.
log
(
"hello"
);
console
.
log
(
$
(
"#id"
).
val
());
window
.
location
.
href
=
"${ctx}/jsp/rfxm/downloadFile.action?ids="
+
id
+
"&downloadIndex="
+
index
;
window
.
location
.
href
=
"${ctx}/jsp/rfxm/downloadFile.action?ids="
+
id
+
"&downloadIndex="
+
index
;
}
}
var
index4Sf
=
1
;
var
index4Sf
=
1
;
...
@@ -400,9 +397,9 @@
...
@@ -400,9 +397,9 @@
<th
width=
"15"
>
附件:
</th>
<th
width=
"15"
>
附件:
</th>
<td
width=
"35%"
>
<td
width=
"35%"
>
<a
class=
'dow-fj'
title=
'点击下载附件'
style=
'cursor:pointer'
onclick=
opendoc(0,'${rfxmsfxx.id}')
>
${rfxmsfxx.showName}
<b></b></a>
<a
class=
'dow-fj'
title=
'点击下载附件'
style=
'cursor:pointer'
onclick=
opendoc(0,'${rfxmsfxx.id}')
>
${rfxmsfxx.showName}
<b></b></a>
<a
class=
'dow-fj'
title=
'点击下载附件'
style=
'cursor:pointer'
onclick=
opendoc(1,'
"+rec.id+"
')
>
${rfxmsfxx.showNameFk}
<b></b></a>
<a
class=
'dow-fj'
title=
'点击下载附件'
style=
'cursor:pointer'
onclick=
opendoc(1,'
${rfxmsfxx.id}
')
>
${rfxmsfxx.showNameFk}
<b></b></a>
<a
class=
'dow-fj'
title=
'点击下载附件'
style=
'cursor:pointer'
onclick=
opendoc(2,'
"+rec.id+"
')
>
${rfxmsfxx.showNameSq}
<b></b></a>
<a
class=
'dow-fj'
title=
'点击下载附件'
style=
'cursor:pointer'
onclick=
opendoc(2,'
${rfxmsfxx.id}
')
>
${rfxmsfxx.showNameSq}
<b></b></a>
<a
class=
'dow-fj'
title=
'点击下载附件'
style=
'cursor:pointer'
onclick=
opendoc(3,'
"+rec.id+"
')
>
${rfxmsfxx.showNameZm}
<b></b></a>
<a
class=
'dow-fj'
title=
'点击下载附件'
style=
'cursor:pointer'
onclick=
opendoc(3,'
${rfxmsfxx.id}
')
>
${rfxmsfxx.showNameZm}
<b></b></a>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
src/com/jshx/rfxm/conf/struts-rfxm.xml
View file @
c0aeeb81
...
@@ -233,5 +233,9 @@
...
@@ -233,5 +233,9 @@
<result
name=
"fail"
>
/invalid.jsp
</result>
<result
name=
"fail"
>
/invalid.jsp
</result>
</action>
</action>
<!-- 人防用章 -->
<action
name=
"rfyz"
class=
"com.jshx.rfxm.web.RfxmAction"
method=
"rfyz"
>
</action>
</package>
</package>
</struts>
</struts>
src/com/jshx/rfxm/web/RfxmAction.java
View file @
c0aeeb81
This diff is collapsed.
Click to expand it.
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