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
e9b61b4d
Commit
e9b61b4d
authored
Jan 27, 2021
by
刘明珠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
居民A年报开表路由添加
parent
de5e176b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
96 additions
and
51 deletions
+96
-51
amend_grid.js
static/biz/amend_grid.js
+7
-1
cancellation_grid.js
static/biz/cancellation_grid.js
+14
-2
declare_grid.js
static/biz/declare_grid.js
+33
-22
overdue_grid.js
static/biz/overdue_grid.js
+24
-12
config.js
static/config.js
+18
-14
No files found.
static/biz/amend_grid.js
View file @
e9b61b4d
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
* @author ygy
* @author ygy
* @date 2018/12/16 20:09
* @date 2018/12/16 20:09
*/
*/
var
yearBblxDm
=
[
'10414'
,
'10420'
];
function
initPage
(
companyInfo
)
{
function
initPage
(
companyInfo
)
{
getIEVersion
();
getIEVersion
();
localStorage
.
setItem
(
"cancellation"
,
null
);
localStorage
.
setItem
(
"cancellation"
,
null
);
...
@@ -101,7 +102,12 @@ function initPage(companyInfo) {
...
@@ -101,7 +102,12 @@ function initPage(companyInfo) {
data
.
fillingFlag
=
"corrections"
// 填报标记
data
.
fillingFlag
=
"corrections"
// 填报标记
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
data
;
window
.
mlistener
.
selectRowData
=
data
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
))
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
...
static/biz/cancellation_grid.js
View file @
e9b61b4d
var
initpage
;
var
initpage
;
var
yearBblxDm
=
[
'10414'
,
'10420'
];
$
(
function
()
{
$
(
function
()
{
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
...
@@ -208,7 +210,12 @@ function initPage(companyInfo) {
...
@@ -208,7 +210,12 @@ function initPage(companyInfo) {
data
.
fillingFlag
=
"cancellation"
// 填报标记
data
.
fillingFlag
=
"cancellation"
// 填报标记
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
data
;
window
.
mlistener
.
selectRowData
=
data
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
))
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -363,7 +370,12 @@ function initPage(companyInfo) {
...
@@ -363,7 +370,12 @@ function initPage(companyInfo) {
submitData
.
fillingFlag
=
"inventory"
// 填报标记
submitData
.
fillingFlag
=
"inventory"
// 填报标记
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
mlistener
.
selectRowData
=
submitData
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
))
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
...
static/biz/declare_grid.js
View file @
e9b61b4d
var
initpage
;
var
initpage
;
var
sbqDate
=
''
var
sbqDate
=
''
;
var
yearBblxDm
=
[
'10414'
,
'10420'
];
$
(
function
()
{
$
(
function
()
{
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
...
@@ -24,14 +26,13 @@ function getInitTable() {
...
@@ -24,14 +26,13 @@ function getInitTable() {
hideLoading
();
hideLoading
();
//el表达式变jqa
//el表达式变jqa
// $("#token").attr("value","");
// $("#token").attr("value","");
if
(
data
.
success
)
{
// if (data.success) {
if
(
data
.
bean
.
url
==
"error.jsp"
)
{
// if (data.bean.url == "error.jsp") {
myAlert
(
"提示"
,
data
.
bean
.
errorInfo
,
"确定"
)
// myAlert("提示", data.bean.errorInfo, "确定")
// window.location.href = "/jsp/error/index.html?falg="+param;
// // window.location.href = "/jsp/error/index.html?falg="+param;
return
// return
}
// }
}
// }
var
companyInfo
=
data
;
var
companyInfo
=
data
;
if
(
companyInfo
.
success
)
{
if
(
companyInfo
.
success
)
{
config
.
value
=
companyInfo
.
bean
.
value
config
.
value
=
companyInfo
.
bean
.
value
...
@@ -170,7 +171,12 @@ function initPage(companyInfo) {
...
@@ -170,7 +171,12 @@ function initPage(companyInfo) {
data
.
fillingFlag
=
"normal"
// 填报标记
data
.
fillingFlag
=
"normal"
// 填报标记
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
data
;
window
.
mlistener
.
selectRowData
=
data
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
))
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -257,7 +263,7 @@ function initPage(companyInfo) {
...
@@ -257,7 +263,7 @@ function initPage(companyInfo) {
drawGrid
(
data
.
bean
);
drawGrid
(
data
.
bean
);
companyInfo
=
data
.
bean
;
companyInfo
=
data
.
bean
;
config
.
value
=
companyInfo
.
value
;
config
.
value
=
companyInfo
.
value
;
if
(
type
==
'Y'
)
{
if
(
type
==
'Y'
)
{
myAlert
(
"提示"
,
"重置清册成功"
,
"确定"
)
myAlert
(
"提示"
,
"重置清册成功"
,
"确定"
)
}
}
}
else
{
}
else
{
...
@@ -327,7 +333,12 @@ function initPage(companyInfo) {
...
@@ -327,7 +333,12 @@ function initPage(companyInfo) {
submitData
.
fillingFlag
=
"normal"
// 填报标记
submitData
.
fillingFlag
=
"normal"
// 填报标记
submitData
.
saveUserId
=
"zxtb"
;
// 用户id
submitData
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
mlistener
.
selectRowData
=
submitData
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
))
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
...
static/biz/overdue_grid.js
View file @
e9b61b4d
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
*
*
* @param {*} companyInfo
* @param {*} companyInfo
*/
*/
var
yearBblxDm
=
[
'10414'
,
'10420'
];
function
initPage
(
companyInfo
)
{
function
initPage
(
companyInfo
)
{
getIEVersion
();
getIEVersion
();
localStorage
.
setItem
(
"cancellation"
,
null
);
localStorage
.
setItem
(
"cancellation"
,
null
);
...
@@ -149,7 +150,12 @@ function initPage(companyInfo) {
...
@@ -149,7 +150,12 @@ function initPage(companyInfo) {
data
.
fillingFlag
=
"overdue"
// 填报标记
data
.
fillingFlag
=
"overdue"
// 填报标记
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
data
;
window
.
mlistener
.
selectRowData
=
data
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
))
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -275,7 +281,12 @@ function initPage(companyInfo) {
...
@@ -275,7 +281,12 @@ function initPage(companyInfo) {
submitData
.
fillingFlag
=
"overdue"
// 填报标记
submitData
.
fillingFlag
=
"overdue"
// 填报标记
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
window
.
mlistener
.
selectRowData
=
submitData
;
window
.
mlistener
.
selectRowData
=
submitData
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
))
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
else
{
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -307,22 +318,23 @@ function initPage(companyInfo) {
...
@@ -307,22 +318,23 @@ function initPage(companyInfo) {
return
false
return
false
}
}
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
localStorage
.
setItem
(
"data"
,
JSON
.
stringify
(
submitData
));
var
url
=
""
;
if
(
data
.
url
==
"edit.jsp"
)
{
url
=
config
.
spreadUrl
+
"/online_report/declare/toPzzl?falg="
+
falg
}
else
if
(
data
.
url
==
"yearReport.jsp"
)
{
url
=
config
.
spreadUrl
+
"/online_report/declare/yearReport.html?falg="
+
falg
+
'¶ms='
+
encodeURI
(
JSON
.
stringify
(
submitData
));
}
else
if
(
data
.
url
==
"yearReportGLB.jsp"
)
{
url
=
config
.
spreadUrl
+
"/online_report/declare/yearReportGLB.html?falg="
+
falg
+
'¶ms='
+
encodeURI
(
JSON
.
stringify
(
submitData
));
}
else
{
//因为后台不知道返回路径是什么样的就直接改成了else data.url == "error.jsp"
url
=
config
.
spreadUrl
+
"/online_report/error/index.html?falg="
+
falg
+
'¶ms='
+
encodeURI
(
JSON
.
stringify
(
submitData
))
}
submitData
.
flag
=
true
;
submitData
.
flag
=
true
;
submitData
.
encryptKey
=
config
.
value
;
submitData
.
encryptKey
=
config
.
value
;
var
url
=
config
.
spreadUrl
+
"/online_report/declare/toPzzl?falg="
+
falg
var
form
=
$
(
"#changeForm"
);
var
form
=
$
(
"#changeForm"
);
form
.
attr
(
'action'
,
url
);
//通过jquery为action属性赋值
form
.
attr
(
'action'
,
url
);
//通过jquery为action属性赋值
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
form
.
find
(
"#changeForm_data"
).
val
(
JSON
.
stringify
(
submitData
));
form
.
submit
();
form
.
submit
();
/* if (data.url == "edit.jsp") {
window.open(config.webUrl+"declare/edit.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(submitData)));
}else if (data.url == "yearReport.jsp") {
window.open(config.webUrl+"declare/yearReport.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(submitData)));
}else if (data.url == "yearReportGLB.jsp") {
window.open(config.webUrl+"declare/yearReportGLB.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(submitData)));
}else {
window.open(config.webUrl+"error/index.html?falg="+falg+'¶ms=' + encodeURI(JSON.stringify(submitData)));
}*/
},
},
error
:
function
(
xhr
)
{
error
:
function
(
xhr
)
{
hideLoading
()
hideLoading
()
...
...
static/config.js
View file @
e9b61b4d
...
@@ -12,26 +12,30 @@ function getUrlParam(name) {
...
@@ -12,26 +12,30 @@ function getUrlParam(name) {
return
null
;
return
null
;
}
}
// 公共配置 生产环境
// 公共配置 生产环境
/*var config = {
environmental:"test",//production 生产 test 测试
webUrl:"/web/onlineReport/jsp/", // 预生产环境解开
url:"",// 开发环境配置跨域设置 // 开发环境
spreadUrl:"http://sbjs.tjsat.gov.cn",// 局端生产 值为空 其余全部指向在线的域名
ssfwptPage:"/web/taxservicedesk/index.html#/taxTableList",// 涉税服务平台填报页面地址
zhsbPage:"/web/taxservicedesk/index.html#/syntheticalReport",// 涉税 综合申报页面
taxFormComponent:"/web/taxFormComponent/index.html?param=",// 涉税服务平台填报页面地址
value:'',//加密token
nsrsbq:'',
}*/
//公共配置 本地环境,测试环境
var
config
=
{
var
config
=
{
environmental
:
"test"
,
//production 生产 test 测试
environmental
:
"test"
,
//production 生产 test 测试
webUrl
:
"/web/onlineReport/jsp/"
,
// 预生产环境解开
webUrl
:
"/web/onlineReport/jsp/"
,
// 预生产环境解开
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
spreadUrl
:
"http://sbjs.tjsat.gov.cn"
,
// 局端生产 值为空 其余全部指向在线的域名
ssfwptPage
:
"/web/taxservicedesk/index.html#/taxTableList"
,
// 涉税服务平台填报页面地址
zhsbPage
:
"/web/taxservicedesk/index.html#/syntheticalReport"
,
// 涉税 综合申报页面
taxFormComponent
:
"/web/taxFormComponent/index.html?param="
,
// 涉税服务平台填报页面地址
value
:
''
,
//加密token
value
:
''
,
//加密token
nsrsbq
:
''
,
nsrsbq
:
''
,
spreadUrl
:
"http://sbjs.tjsat.gov.cn"
,
// 局端生产 值为空 其余全部指向在线的域名
ssfwptPage
:
"http://192.168.106.203:8094/#/taxTableList"
,
// 涉税服务平台填报页面地址
yearTaxTable
:
"http://192.168.106.203:8094/#/yearTaxTable"
,
// 涉税服务平台填报页面地址
zhsbPage
:
"http://192.168.106.203:8094/#/syntheticalReport"
,
// 涉税 综合申报页面
taxFormComponent
:
"/web/taxFormComponent/index.html?param="
,
// 涉税服务平台填报页面地址
}
}
//公共配置 本地环境,测试环境
/*var config = {
environmental:"test",//production 生产 test 测试
webUrl:"http://localhost:80/web/onlineReport/jsp/", // 开发环境
url:"",// 开发环境配置跨域设置 // 开发环境
spreadUrl:"sbjs.tjsat.gov.cn:18001",// 注册地址
ssfwptPage:"/web/taxservicedesk/index.html#/taxTableList",// 涉税服务平台填报页面地址
value:'',//加密token
}*/
// if(config.environmental=="production" && getUrlParam("djxh")){
// if(config.environmental=="production" && getUrlParam("djxh")){
// window.open(config.webUrl + "/error/newError.html",'_self')
// window.open(config.webUrl + "/error/newError.html",'_self')
...
...
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