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
68aff400
Commit
68aff400
authored
Mar 22, 2022
by
zqm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.优化2.0令牌名称
parent
c3fd3255
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
373 additions
and
369 deletions
+373
-369
amend_grid.js
static/biz/amend_grid.js
+361
-357
cancellation_grid.js
static/biz/cancellation_grid.js
+3
-3
declare_grid.js
static/biz/declare_grid.js
+4
-4
overdue_grid.js
static/biz/overdue_grid.js
+5
-5
No files found.
static/biz/amend_grid.js
View file @
68aff400
This diff is collapsed.
Click to expand it.
static/biz/cancellation_grid.js
View file @
68aff400
...
...
@@ -30,8 +30,8 @@ function getInitTable() {
hideLoading
();
//el表达式变jq
// $("#token").attr("value","");
var
Authorization
=
xhr
.
getResponseHeader
(
"Authoriza
tion"
)
sessionStorage
.
setItem
(
"
Authorization"
,
Authorization
);
var
authorization_sbzj2
=
xhr
.
getResponseHeader
(
"Encryp
tion"
)
sessionStorage
.
setItem
(
"
authorization_sbzj2"
,
authorization_sbzj2
);
var
companyInfo
=
data
;
$
(
"#djxh"
).
attr
(
"value"
,
companyInfo
.
djxh
);
if
(
companyInfo
.
returnCode
==
"00"
)
{
...
...
@@ -355,7 +355,7 @@ function initPage(companyInfo) {
data
:
param
,
type
:
"POST"
,
dataType
:
"JSON"
,
headers
:
{
'
Authorization'
:
sessionStorage
.
getItem
(
"Authorization
"
)
},
headers
:
{
'
Encryption'
:
sessionStorage
.
getItem
(
"authorization_sbzj2
"
)
},
}).
done
(
function
(
data
)
{
if
(
data
.
success
)
{
companyInfo
=
data
.
content
;
...
...
static/biz/declare_grid.js
View file @
68aff400
...
...
@@ -28,8 +28,8 @@ function getInitTable() {
},
success
:
function
(
data
,
status
,
xhr
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading
();
var
Authorization
=
xhr
.
getResponseHeader
(
"Authoriza
tion"
)
sessionStorage
.
setItem
(
"
Authorization"
,
Authorization
);
var
authorization_sbzj2
=
xhr
.
getResponseHeader
(
"Encryp
tion"
)
sessionStorage
.
setItem
(
"
authorization_sbzj2"
,
authorization_sbzj2
);
var
companyInfo
=
data
;
if
(
companyInfo
.
success
)
{
tool
.
hjDialog
(
companyInfo
.
bean
.
djxh
)
...
...
@@ -94,7 +94,7 @@ function getJjkjTag(djxh, nsrsbq) {
type
:
"post"
,
url
:
config
.
url
+
"/online/zxtb/get_yffyjjkcbz"
,
dataType
:
"json"
,
// 请求方式为jsonp
headers
:
{
'
Authorization'
:
sessionStorage
.
getItem
(
"Authorization
"
)
},
headers
:
{
'
Encryption'
:
sessionStorage
.
getItem
(
"authorization_sbzj2
"
)
},
// async: false
data
:
{
djxh
:
djxh
,
...
...
@@ -337,7 +337,7 @@ function initPage(companyInfo) {
data
:
param
,
type
:
"POST"
,
dataType
:
"JSON"
,
headers
:
{
'
Authorization'
:
sessionStorage
.
getItem
(
"Authorization
"
)
},
headers
:
{
'
Encryption'
:
sessionStorage
.
getItem
(
"authorization_sbzj2
"
)
},
}).
done
(
function
(
data
)
{
if
(
data
.
success
)
{
if
(
data
.
bean
.
url
==
"error.jsp"
)
{
...
...
static/biz/overdue_grid.js
View file @
68aff400
...
...
@@ -38,8 +38,8 @@ function getInitTable() {
hideLoading
();
//el表达式变jq
// $("#token").attr("value","");
var
Authorization
=
xhr
.
getResponseHeader
(
"Authoriza
tion"
)
sessionStorage
.
setItem
(
"
Authorization"
,
Authorization
);
var
authorization_sbzj2
=
xhr
.
getResponseHeader
(
"Encryp
tion"
)
sessionStorage
.
setItem
(
"
authorization_sbzj2"
,
authorization_sbzj2
);
var
companyInfo
=
data
;
$
(
"#djxh"
).
attr
(
"value"
,
companyInfo
.
djxh
);
if
(
companyInfo
.
success
)
{
...
...
@@ -361,7 +361,7 @@ function initPage(companyInfo) {
data
:
param
,
type
:
"POST"
,
dataType
:
"JSON"
,
headers
:
{
'
Authorization'
:
sessionStorage
.
getItem
(
"Authorization
"
)
},
headers
:
{
'
Encryption'
:
sessionStorage
.
getItem
(
"authorization_sbzj2
"
)
},
}).
done
(
function
(
data
)
{
if
(
data
.
success
)
{
drawGrid
(
data
.
bean
);
...
...
@@ -532,12 +532,12 @@ function initPage(companyInfo) {
var
changeDate
=
function
(
obj
,
dp
)
{
date
=
dp
.
cal
.
getNewDateStr
();
nowDate
=
date
;
getTaxOverdue
(
date
,
"N"
,
"1"
);
getTaxOverdue
(
date
,
"N"
,
"1"
);
};
var
refresh
=
function
()
{
myConfirm
(
"消息"
,
"您确定需要重置申报清册吗?点击确定继续"
,
"确定"
,
"取消"
,
function
()
{
getTaxOverdue
(
nowDate
,
"Y"
,
"1"
);
getTaxOverdue
(
nowDate
,
"Y"
,
"1"
);
});
};
/**
...
...
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