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
6191f7aa
Commit
6191f7aa
authored
Jul 06, 2020
by
于广洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口错误提示信息全部去returnMessage里面取
parent
83296cf8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
amend_grid.js
static/biz/amend_grid.js
+2
-1
cancellation_grid.js
static/biz/cancellation_grid.js
+2
-1
declare_grid.js
static/biz/declare_grid.js
+2
-1
overdue_grid.js
static/biz/overdue_grid.js
+2
-1
No files found.
static/biz/amend_grid.js
View file @
6191f7aa
...
...
@@ -152,6 +152,7 @@ function initPage(companyInfo) {
},
error
:
function
(
xhr
){
hideLoading
()
alertWarning
(
data
.
returnMessage
);
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
...
...
@@ -259,7 +260,7 @@ function initPage(companyInfo) {
pagingDataFun
(
sourceData
,
1
,
initPagingNum
);
taxAmendGrid
(
sourceData
);
}
else
{
alertWarning
(
data
.
errmsg
);
alertWarning
(
data
.
returnMessage
);
}
}).
always
(
function
(
data
)
{
hideLoading
();
...
...
static/biz/cancellation_grid.js
View file @
6191f7aa
...
...
@@ -210,7 +210,7 @@ function initPage(companyInfo) {
companyInfo
=
data
.
bean
;
drawGrid
(
data
.
bean
);
}
else
{
alertWarning
(
data
.
errmsg
);
alertWarning
(
data
.
returnMessage
);
}
}).
always
(
function
(
data
)
{
hideLoading
();
...
...
@@ -303,6 +303,7 @@ function initPage(companyInfo) {
},
error
:
function
(
xhr
){
hideLoading
()
alertWarning
(
data
.
returnMessage
);
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
...
...
static/biz/declare_grid.js
View file @
6191f7aa
...
...
@@ -173,7 +173,7 @@ function initPage(companyInfo) {
drawGrid
(
data
.
bean
);
companyInfo
=
data
.
bean
;
}
else
{
alertWarning
(
data
.
errmsg
);
alertWarning
(
data
.
returnMessage
);
}
}).
always
(
function
(
data
)
{
hideLoading
();
...
...
@@ -269,6 +269,7 @@ function initPage(companyInfo) {
},
error
:
function
(
xhr
){
//jsonp 方式此方法不被触发
alertWarning
(
data
.
returnMessage
);
hideLoading
()
console
.
log
(
"=======error======================"
)
}
...
...
static/biz/overdue_grid.js
View file @
6191f7aa
...
...
@@ -208,7 +208,7 @@ function initPage(companyInfo) {
drawGrid
(
data
.
bean
);
companyInfo
=
data
.
bean
;
}
alertWarning
(
data
.
errmsg
);
alertWarning
(
data
.
returnMessage
);
}).
always
(
function
(
data
)
{
hideLoading
();
});
...
...
@@ -273,6 +273,7 @@ function initPage(companyInfo) {
},
error
:
function
(
xhr
){
hideLoading
()
alertWarning
(
data
.
returnMessage
);
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
}
...
...
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