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
a1eb3493
Commit
a1eb3493
authored
Jun 10, 2021
by
刘明珠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并分支,逾期、清算集成财行税
parent
b4099c78
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
468 additions
and
462 deletions
+468
-462
cancellation_grid.js
static/biz/cancellation_grid.js
+10
-3
declare_grid.js
static/biz/declare_grid.js
+423
-437
overdue_grid.js
static/biz/overdue_grid.js
+10
-4
config.js
static/config.js
+25
-18
No files found.
static/biz/cancellation_grid.js
View file @
a1eb3493
var
zjhm
=
''
;
var
zjhm
=
''
;
var
initpage
;
var
initpage
;
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
ccxwsBblxDm
=
[
'12101'
]
$
(
function
()
{
$
(
function
()
{
...
@@ -218,12 +219,18 @@ function initPage(companyInfo) {
...
@@ -218,12 +219,18 @@ function initPage(companyInfo) {
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
saveUserId
=
"zxtb"
;
// 用户id
data
.
zjhm
=
zjhm
data
.
zjhm
=
zjhm
window
.
mlistener
.
selectRowData
=
data
;
window
.
mlistener
.
selectRowData
=
data
;
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
==
-
1
)
{
// 财产行为税
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
if
(
ccxwsBblxDm
.
indexOf
(
data
.
bblxDm
)
!=
-
1
)
{
}
else
{
// 测试环境start
var
openUrl
=
config
.
ccxwsTaxTable
+
'?djxh='
+
data
.
djxh
+
'&zsDjxh='
+
data
.
zsDjxh
+
'&nsrsbh='
+
data
.
nsrsbh
+
'&nsrmc='
+
data
.
nsrmc
+
'&operateType=cancellation'
+
'&lybz=online'
+
'&token='
+
data
.
token
//测试环境
// var openUrl = config.ccxwsTaxTable +'?lybz=online' +'&operateType=cancellation'+'&sblx=js' + '&token=' + data.token //正式环境
window
.
open
(
openUrl
,
'_blank'
);
}
else
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
!=
-
1
){
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
else
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
...
static/biz/declare_grid.js
View file @
a1eb3493
This diff is collapsed.
Click to expand it.
static/biz/overdue_grid.js
View file @
a1eb3493
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
var
initpage
;
var
initpage
;
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
yearBblxDm
=
[
'10414'
,
'10420'
];
var
ccxwsBblxDm
=
[
'12101'
]
$
(
function
()
{
$
(
function
()
{
showLoading
();
showLoading
();
getInitTable
();
getInitTable
();
...
@@ -222,12 +222,18 @@ function initPage(companyInfo) {
...
@@ -222,12 +222,18 @@ 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
)
==
-
1
)
{
// 财产行为税
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
if
(
ccxwsBblxDm
.
indexOf
(
data
.
bblxDm
)
!=
-
1
)
{
}
else
{
// 测试环境start
var
openUrl
=
config
.
ccxwsTaxTable
+
'?djxh='
+
data
.
djxh
+
'&zsDjxh='
+
data
.
zsDjxh
+
'&nsrsbh='
+
data
.
nsrsbh
+
'&nsrmc='
+
data
.
nsrmc
+
'&operateType=overdue'
+
'&lybz=online'
+
'&token='
+
data
.
token
//测试环境
// var openUrl = config.ccxwsTaxTable +'?lybz=online' +'&operateType=overdue' + '&sblx=yq' + '&token=' + data.token //正式环境
window
.
open
(
openUrl
,
'_blank'
);
}
else
if
(
yearBblxDm
.
indexOf
(
data
.
bblxDm
)
!=
-
1
){
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
saveUserId
=
"zxtb_singleReport"
;
// 用户id
data
.
userId
=
"zxtb"
;
// userId
data
.
userId
=
"zxtb"
;
// userId
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
config
.
yearTaxTable
,
'_blank'
);
}
else
{
window
.
open
(
config
.
ssfwptPage
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
...
...
static/config.js
View file @
a1eb3493
...
@@ -5,33 +5,40 @@
...
@@ -5,33 +5,40 @@
* @Param
* @Param
* @return
* @return
**/
**/
function
getUrlParam
(
name
)
{
function
getUrlParam
(
name
)
{
var
reg
=
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
);
var
reg
=
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
if
(
r
!=
null
)
return
decodeURIComponent
(
r
[
2
]);
if
(
r
!=
null
)
return
decodeURIComponent
(
r
[
2
]);
return
null
;
return
null
;
}
}
// 公共配置 生产环境
// 公共配置 生产环境
var
config
=
{
var
config
=
{
environmental
:
"test"
,
//production 生产 test 测试
environmental
:
"test"
,
//production 生产 test 测试
webUrl
:
"/web/online
/online
Report/jsp/"
,
// 预生产环境解开
webUrl
:
"/web/onlineReport/jsp/"
,
// 预生产环境解开
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
value
:
''
,
//加密token
nsrsbq
:
''
,
spreadUrl
:
""
,
// 局端生产 值为空 其余全部指向在线的域名
spreadUrl
:
""
,
// 局端生产 值为空 其余全部指向在线的域名
ssfwptPage
:
"/web/online/taxservicedesk/index.html#/taxTableList"
,
// 涉税服务平台填报页面地址
ssfwptPage
:
"/web/online/taxservicedesk/index.html#/taxTableList"
,
// 涉税服务平台填报页面地址 月季报
zhsbPage
:
"/web/online/taxservicedesk/index.html#/syntheticalReport"
,
// 涉税 综合申报页面
yearTaxTable
:
"/web/online/taxservicedesk/index.html#/yearTaxTable"
,
// 涉税服务平台填报页面地址 年报
zhsbPage
:
"/web/online/taxservicedesk/index.html#/syntheticalReport"
,
// 涉税 综合申报页面
taxFormComponent
:
"/web/taxFormComponent/index.html?param="
,
// 涉税服务平台填报页面地址
taxFormComponent
:
"/web/taxFormComponent/index.html?param="
,
// 涉税服务平台填报页面地址
value
:
''
,
//加密token
ccxwsTaxTable
:
"/web/tax-plugin/index.html"
,
//财产行为税跳转页面
nsrsbq
:
''
,
}
}
//公共配置 本地环境,测试环境
//公共配置 本地环境,测试环境
/*var config = {
// var config = {
environmental:"test",//production 生产 test 测试
// environmental: "test", //production 生产 test 测试
webUrl:"http://localhost:80/web/online/onlineReport/jsp/", // 开发环境
// webUrl: "/web/onlineReport/jsp/", // 预生产环境解开
url:"",// 开发环境配置跨域设置 // 开发环境
// url: "", // 开发环境配置跨域设置 // 开发环境
spreadUrl:"sbjs.tjsat.gov.cn:18001",// 注册地址
// value: '', //加密token
ssfwptPage:"/web/taxservicedesk/index.html#/taxTableList",// 涉税服务平台填报页面地址
// nsrsbq: '',
value:'',//加密token
// spreadUrl: "http://sbjs.tjsat.gov.cn", // 局端生产 值为空 其余全部指向在线的域名
}*/
// ssfwptPage: "/web/#/taxTableList", // 涉税服务平台填报页面地址 月季报
// yearTaxTable: "/web/#/yearTaxTable", // 涉税服务平台填报页面地址 年报
// zhsbPage: "/web/#/syntheticalReport", // 涉税 综合申报页面
// taxFormComponent: "/web/taxFormComponent/index.html?param=", // 涉税服务平台填报页面地址
// ccxwsTaxTable:"http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html",//财产行为税跳转页面
// }
// 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