Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zxtb_to_ssfwpt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Bugzilla
Bugzilla
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
卢世豪
zxtb_to_ssfwpt
Commits
c08a35de
Commit
c08a35de
authored
May 18, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更正index
parent
123e3ed2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
26 deletions
+58
-26
index.html
jsp/amend/index.html
+58
-26
No files found.
jsp/amend/index.html
View file @
c08a35de
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
</select>
</select>
</div>
</div>
</div> -->
</div> -->
<div
style=
"padding-top: 15px;"
>
<div
style=
"padding-top: 15px;"
>
<!-- <span>申报日期起止:</span>
<!-- <span>申报日期起止:</span>
...
@@ -72,6 +71,9 @@
...
@@ -72,6 +71,9 @@
</form>
</form>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
</div>
</div>
</div>
<script
src=
"/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"/static/tools/js/bootstrap.js?v=1.1"
></script>
<script
src=
"/static/tools/js/bootstrap.js?v=1.1"
></script>
...
@@ -81,14 +83,44 @@
...
@@ -81,14 +83,44 @@
<script
src=
"/static/biz/amend_grid.js?v=1.0"
></script>
<script
src=
"/static/biz/amend_grid.js?v=1.0"
></script>
<script>
<script>
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
var
companyInfo
=
$
{
json
};
// var companyInfo = ${json};
// if (companyInfo.success) {
// var initpage = initPage(companyInfo.bean);
// } else {
// alertWarning("请求失败!");
// // 弹出错误对话框
// }
// -->
var
initpage
;
$
(
function
(){
//
var
url
=
"http://localhost:7070"
$
.
ajax
({
type
:
"GET"
,
url
:
url
+
"/online_report/declare"
,
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
data
:
{
djxh
:
localStorage
.
getItem
(
"djxh"
)
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
//el表达式变jq
// $("#token").attr("value","");
var
companyInfo
=
data
;
$
(
"#djxh"
).
attr
(
"value"
,
companyInfo
.
djxh
);
if
(
companyInfo
.
success
)
{
if
(
companyInfo
.
success
)
{
var
initpage
=
initPage
(
companyInfo
.
bean
);
initpage
=
initPage
(
companyInfo
.
bean
);
}
else
{
}
else
{
alertWarning
(
"请求失败!"
);
alertWarning
(
"请求失败!"
);
// 弹出错误对话框
// 弹出错误对话框
}
}
// -->
},
error
:
function
(
xhr
){
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
})
</script>
</script>
</body>
</body>
...
...
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