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
5eb8c66a
Commit
5eb8c66a
authored
May 18, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改amend_grid.js
parent
9f7c6640
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
50 deletions
+79
-50
amend_grid.js
static/biz/amend_grid.js
+79
-50
No files found.
static/biz/amend_grid.js
View file @
5eb8c66a
...
@@ -112,9 +112,34 @@ function initPage(companyInfo) {
...
@@ -112,9 +112,34 @@ function initPage(companyInfo) {
}
}
}
}
}
}
var
form
=
$
(
"#changeForm_amend"
);
// var form = $("#changeForm_amend");
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
data
));
// form.find("#changeForm_data").val(JSON.stringify(data));
form
.
submit
();
// form.submit();
$
.
ajax
({
type
:
"POST"
,
url
:
url
+
"/online_report/amend/toGzPzzl"
,
dataType
:
"json"
,
// 请求方式为jsonp
data
:
{
data
:
JSON
.
stringify
(
data
)
},
success
:
function
(
data
)
{
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
data
));
console
.
log
(
"请求成功"
,
data
)
// if (data.url == "edit.jsp") {
// window.open("/jsp/declare/edit.html");
// }else if (data.url == "yearReport.jsp") {
// window.open("/jsp/declare/yearReport.html");
// }else if (data.url == "yearReportGLB.jsp") {
// window.open("/jsp/declare/yearReportGLB.html");
// }
},
error
:
function
(
xhr
){
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
})
}
//点击按钮后的回调函数
}
//点击按钮后的回调函数
};
};
var
object
=
tool
.
tableCreate
(
tableObj
);
var
object
=
tool
.
tableCreate
(
tableObj
);
...
@@ -187,11 +212,15 @@ function initPage(companyInfo) {
...
@@ -187,11 +212,15 @@ function initPage(companyInfo) {
* @author ygy
* @author ygy
* @date 2018/12/16 21:10
* @date 2018/12/16 21:10
*/
*/
//地址
//http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070
var
url
=
"http://localhost:7070"
;
var
getTaxAmendData
=
function
(
param
)
{
var
getTaxAmendData
=
function
(
param
)
{
// TODO 开始加载等待动画
// TODO 开始加载等待动画
showLoading
();
showLoading
();
$
.
ajax
({
$
.
ajax
({
url
:
"/online_report/amend/getPzzlList"
,
// 查询接口
url
:
url
+
"/online_report/amend/getPzzlList"
,
// 查询接口
data
:
param
,
data
:
param
,
type
:
"POST"
,
type
:
"POST"
,
dataType
:
"JSON"
dataType
:
"JSON"
...
...
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