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
7e56c969
Commit
7e56c969
authored
Sep 29, 2022
by
houyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
施工许可证表单提交
parent
1a0dc223
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
22 deletions
+31
-22
Jfzm_view.jsp
WebRoot/WEB-INF/pages/jfzm/Jfzm_view.jsp
+31
-22
No files found.
WebRoot/WEB-INF/pages/jfzm/Jfzm_view.jsp
View file @
7e56c969
...
...
@@ -353,28 +353,32 @@
height
:
790
,
scale
:
1
}).
then
(
img
=>
{
console
.
log
(
img
);
$
.
ajax
({
url
:
"fujiantongbu.action"
,
type
:
'post'
,
dataType
:
'json'
,
async
:
false
,
data
:{
xxylb
:
'${rfxm.xxylbbh}'
,
file
:
img
},
error
:
function
(){
$
.
messager
.
alert
(
'错误'
,
'同步施工许可证失败!'
);
},
success
:
function
(
data
){
if
(
data
.
result
){
$
.
messager
.
alert
(
'提示'
,
'同步施工许可证成功!'
);
search_dxjl
();
}
else
{
$
.
messager
.
alert
(
'错误'
,
'同步施工许可证失败!'
);
}
}
});
$
(
'#sgxkz_img'
).
val
(
img
);
$
(
"#myform1"
).
submit
();
//var params = $('#myform1').serialize();
//console.log(params);
<%--
$
.
ajax
({
--%>
<%--
url
:
"fujiantongbu.action"
,
--%>
<%--
type
:
'post'
,
--%>
<%--
dataType
:
'json'
,
--%>
<%--
async
:
false
,
--%>
<%--
data
:{
--%>
<%--
"struts.token.name"
:
'token'
,
--%>
<%--
xxylb
:
'${rfxm.xxylbbh}'
,
--%>
<%--
file
:
img
--%>
<%--
},
--%>
<%--
error
:
function
(){
--%>
<%--
$
.
messager
.
alert
(
'错误'
,
'同步施工许可证失败!'
);
--%>
<%--
},
--%>
<%--
success
:
function
(
data
){
--%>
<%--
if
(
data
.
result
){
--%>
<%--
$
.
messager
.
alert
(
'提示'
,
'同步施工许可证成功!'
);
--%>
<%--
search_dxjl
();
--%>
<%--
}
else
{
--%>
<%--
$
.
messager
.
alert
(
'错误'
,
'同步施工许可证失败!'
);
--%>
<%--
}
--%>
<%--
}
--%>
<%--
});
--%>
})
}
</script>
...
...
@@ -452,5 +456,10 @@
</td>
</tr>
</table>
<form
name=
"myform1"
id=
"myform1"
method=
"post"
enctype=
"multipart/form-data"
action=
"fujiantongbu.action"
>
<s:token
/>
<input
type=
"hidden"
name=
"xmxxb.xxylb"
value=
"${rfxm.xxylbbh}"
>
<input
type=
"hidden"
name=
"file"
value=
""
id=
"sgxkz_img"
>
</form>
</body>
</html>
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