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
a1d0c5a6
Commit
a1d0c5a6
authored
Jan 29, 2022
by
彭令令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并开发分支代码
parent
26b581d0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
2090 additions
and
1889 deletions
+2090
-1889
index.html
jsp/declare/index.html
+91
-100
cancellation_grid.js
static/biz/cancellation_grid.js
+458
-401
declare_cxs_grid.js
static/biz/declare_cxs_grid.js
+424
-422
declare_grid.js
static/biz/declare_grid.js
+551
-494
overdue_grid.js
static/biz/overdue_grid.js
+512
-456
config.js
static/config.js
+34
-5
config_dev.js
static/config_dev.js
+1
-0
config_production.js
static/config_production.js
+1
-1
config_test.js
static/config_test.js
+18
-10
No files found.
jsp/declare/index.html
View file @
a1d0c5a6
...
@@ -29,22 +29,18 @@
...
@@ -29,22 +29,18 @@
</script>
</script>
<body>
<body>
<div>
<div>
<div
style=
"background-color:#FFFFFF;"
>
<div
style=
"background-color:#FFFFFF;"
>
<div
style=
"padding: 25px;"
>
<div
style=
"padding: 25px;"
>
<div
class=
"div-border"
style=
"padding-bottom: 20px;height: 60px;"
>
<div
class=
"div-border"
style=
"padding-bottom: 20px;height: 60px;"
>
<img
style=
"float:left;display:block"
src=
"../../static/tools/images/zxtb.png"
>
<img
style=
"float:left;display:block"
src=
"../../static/tools/images/zxtb.png"
>
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
class=
"span-title"
>
按期应申报
</span>
class=
"span-title"
>
按期应申报
</span>
</div>
</div>
<div>
<div>
<div
class=
"div-float"
style=
"padding-bottom: 8px; width: 100%;position :relative"
>
<div
class=
"div-float"
style=
"padding-bottom: 8px; width: 100%;position :relative"
>
<span>
申报月份:
</span>
<span>
申报月份:
</span>
<input
readonly
id=
"getInputValue"
name=
"birth_date"
style=
"width: 10%; display: inline;min-width: 150px"
<input
readonly
id=
"getInputValue"
name=
"birth_date"
style=
"width: 10%; display: inline;min-width: 150px"
type=
"text"
class=
"Wdate checkId-input check-items-birthday form-control"
>
type=
"text"
class=
"Wdate checkId-input check-items-birthday form-control"
>
<input
id=
"reset"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10%;margin-right: 10px;height: 32px;margin-top: 5px;position:absolute;right: 120px;"
type=
"button"
value=
"重置申报清册"
/>
<input
id=
"reset"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10%;margin-right: 10px;height: 32px;margin-top: 5px;position:absolute;right: 120px;"
type=
"button"
value=
"重置申报清册"
/>
</div>
</div>
</div>
</div>
</br>
</br>
...
@@ -60,17 +56,14 @@
...
@@ -60,17 +56,14 @@
<div
class=
"reminder"
><span
class=
"span-font-size"
>
请点此处
“
<label
for=
"reset"
id=
"reset1"
<div
class=
"reminder"
><span
class=
"span-font-size"
>
请点此处
“
<label
for=
"reset"
id=
"reset1"
class=
"label_declare"
>
重置申报清册
</label>
”
对该户清册进行重新生成。
</span>
class=
"label_declare"
>
重置申报清册
</label>
”
对该户清册进行重新生成。
</span>
</div>
</div>
<div
class=
"reminder"
><span
<div
class=
"reminder"
><span
class=
"span-font-size"
>
2、点击页眉
“申报缴税”
即会触发下属首个菜单
“按期应申报”
,无需再点击
“按期应申报”
,
</span>
class=
"span-font-size"
>
2、点击页眉
“申报缴税”
即会触发下属首个菜单
“按期应申报”
,无需再点击
“按期应申报”
,
</span>
</div>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如发现清册重复,也请点击前述链接
“重置申报清册”
。
</span>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如发现清册重复,也请点击前述链接
“重置申报清册”
。
</span>
</div>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
无上述1、2情况请勿点击重置。
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
无上述1、2情况请勿点击重置。
</span></div>
<div
class=
"reminder"
><span
<div
class=
"reminder"
><span
class=
"span-font-size"
>
3、仅当操作期间申报状态有变化时点
“刷新”
,切换月份、刚进入本页面、申报完成后本页面已显示
“已申报”
等情形无需刷新。
</span>
class=
"span-font-size"
>
3、仅当操作期间申报状态有变化时点
“刷新”
,切换月份、刚进入本页面、申报完成后本页面已显示
“已申报”
等情形无需刷新。
</span>
</div>
</div>
<div
class=
"reminder"
><span
<div
class=
"reminder"
><span
class=
"span-font-size"
>
4、如发现
“刷新”
后的申报日期和状态不是最新情况,通常是因为
“刷新”
按钮所查数据同步延时所致,
</span>
class=
"span-font-size"
>
4、如发现
“刷新”
后的申报日期和状态不是最新情况,通常是因为
“刷新”
按钮所查数据同步延时所致,
</span>
</div>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如遇此情况,等几秒钟再
“刷新”
或退出后稍后重进申报清册查看。
</span>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如遇此情况,等几秒钟再
“刷新”
或退出后稍后重进申报清册查看。
</span>
</div>
</div>
...
@@ -80,7 +73,7 @@
...
@@ -80,7 +73,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
...
@@ -102,10 +95,7 @@
...
@@ -102,10 +95,7 @@
<div
class=
"myModal-body-div"
style=
"clear:both;padding-top: 10px;"
>
<div
class=
"myModal-body-div"
style=
"clear:both;padding-top: 10px;"
>
<div
style=
"line-height: 40px;margin: 10px;font-size: 14px;"
>
<div
style=
"line-height: 40px;margin: 10px;font-size: 14px;"
>
<div
id=
"ybName"
></div>
<div
id=
"ybName"
></div>
<button
class=
"btn btn-primary ybDeclaration1"
id=
"ybDeclaration"
<button
class=
"btn btn-primary ybDeclaration1"
id=
"ybDeclaration"
onmouseover=
"this.className='btn ybDeclaration'"
onmouseout=
"this.className='btn btn-primary ybDeclaration1'"
onclick=
"initpage.declarationMethod('Y')"
>
一表集成
</button>
onmouseover=
"this.className='btn ybDeclaration'"
onmouseout=
"this.className='btn btn-primary ybDeclaration1'"
onclick=
"initpage.declarationMethod('Y')"
>
一表集成
</button>
</div>
</div>
</div>
</div>
<img
class=
"img-ybjc-modal"
onclick=
"initpage.closeModal()"
src=
"../../static/tools/images/close.png"
>
<img
class=
"img-ybjc-modal"
onclick=
"initpage.closeModal()"
src=
"../../static/tools/images/close.png"
>
...
@@ -121,7 +111,9 @@
...
@@ -121,7 +111,9 @@
<script
src=
"../../static/tools/js/minScroll.js?v=1.1"
></script>
<script
src=
"../../static/tools/js/minScroll.js?v=1.1"
></script>
<script
src=
"../../static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
<script
src=
"../../static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
<script
src=
"../../static/biz/declare_grid.js?v=1.0"
></script>
<script>
document
.
write
(
"<script type='text/javascript' src='../../static/biz/declare_grid.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<script>
<script>
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
// var companyInfo = ${json};
// var companyInfo = ${json};
...
@@ -141,7 +133,6 @@
...
@@ -141,7 +133,6 @@
// alertWarning("请求失败!");
// alertWarning("请求失败!");
// // 弹出错误对话框
// // 弹出错误对话框
// }
// }
</script>
</script>
</html>
</html>
\ No newline at end of file
static/biz/cancellation_grid.js
View file @
a1d0c5a6
This diff is collapsed.
Click to expand it.
static/biz/declare_cxs_grid.js
View file @
a1d0c5a6
...
@@ -5,7 +5,7 @@ var yearBblxDm = ['10414', '10420'];
...
@@ -5,7 +5,7 @@ var yearBblxDm = ['10414', '10420'];
var
token
=
""
;
var
token
=
""
;
var
yhsSyxx
=
{};
var
yhsSyxx
=
{};
var
prefix
=
""
;
var
prefix
=
""
;
$
(
function
()
{
$
(
function
()
{
if
(
config
.
environmental
==
'test'
)
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
}
else
if
(
config
.
environmental
==
'production'
)
{
...
@@ -29,7 +29,7 @@ function getInitTable() {
...
@@ -29,7 +29,7 @@ function getInitTable() {
pzzlDm
:
getUrlParam
(
"pzzlDm"
),
pzzlDm
:
getUrlParam
(
"pzzlDm"
),
value
:
getUrlParam
(
"value"
)
value
:
getUrlParam
(
"value"
)
},
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading
();
hideLoading
();
var
companyInfo
=
data
;
var
companyInfo
=
data
;
if
(
companyInfo
.
returnCode
==
'00'
)
{
if
(
companyInfo
.
returnCode
==
'00'
)
{
...
@@ -59,18 +59,18 @@ function getInitTable() {
...
@@ -59,18 +59,18 @@ function getInitTable() {
initpage
=
initPage
(
companyInfo
.
content
);
initpage
=
initPage
(
companyInfo
.
content
);
// 弹出错误对话框
// 弹出错误对话框
}
}
$
(
"#getInputValue"
).
on
(
"focus"
,
function
()
{
$
(
"#getInputValue"
).
on
(
"focus"
,
function
()
{
WdatePicker
({
WdatePicker
({
isShowClear
:
false
,
isShowClear
:
false
,
dateFmt
:
'yyyy-MM'
,
dateFmt
:
'yyyy-MM'
,
onpicking
:
function
(
dp
)
{
onpicking
:
function
(
dp
)
{
initpage
.
changeDate
(
this
,
dp
);
initpage
.
changeDate
(
this
,
dp
);
}
}
});
});
});
});
},
},
error
:
function
(
xhr
)
{
error
:
function
(
xhr
)
{
hideLoading
();
hideLoading
();
//jsonp 方式此方法不被触发
//jsonp 方式此方法不被触发
console
.
log
(
"=======error======================"
)
console
.
log
(
"=======error======================"
)
...
@@ -99,7 +99,7 @@ function initPage(companyInfo) {
...
@@ -99,7 +99,7 @@ function initPage(companyInfo) {
/**
/**
* 展示税种申报信息
* 展示税种申报信息
*/
*/
var
showTax
=
function
(
taxInfo
)
{
var
showTax
=
function
(
taxInfo
)
{
if
(
taxInfo
.
length
>
0
)
{
if
(
taxInfo
.
length
>
0
)
{
for
(
var
i
=
0
;
i
<
taxInfo
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
taxInfo
.
length
;
i
++
)
{
if
(
taxInfo
[
i
].
sbrq
)
{
if
(
taxInfo
[
i
].
sbrq
)
{
...
@@ -154,7 +154,7 @@ function initPage(companyInfo) {
...
@@ -154,7 +154,7 @@ function initPage(companyInfo) {
* @param {*} ddt
* @param {*} ddt
* @param {*} buttonHtml
* @param {*} buttonHtml
*/
*/
var
getTableDeclaration
=
function
(
id
,
order
,
headerList
,
ddt
,
buttonHtml
,
promptStatement
)
{
var
getTableDeclaration
=
function
(
id
,
order
,
headerList
,
ddt
,
buttonHtml
,
promptStatement
)
{
var
tableObj
=
{
var
tableObj
=
{
id
:
id
,
//tabel父元素的id
id
:
id
,
//tabel父元素的id
autoHeight
:
ddt
.
length
>
0
?
10
:
""
,
autoHeight
:
ddt
.
length
>
0
?
10
:
""
,
...
@@ -172,7 +172,7 @@ function initPage(companyInfo) {
...
@@ -172,7 +172,7 @@ function initPage(companyInfo) {
pageSize
:
ddt
.
length
pageSize
:
ddt
.
length
},
},
jsonReady
:
ddt
,
jsonReady
:
ddt
,
callback
:
function
(
data
,
node
)
{
callback
:
function
(
data
,
node
)
{
data
.
operateType
=
'3'
;
data
.
operateType
=
'3'
;
data
.
sbbz
=
'3'
;
data
.
sbbz
=
'3'
;
data
.
value
=
config
.
value
;
data
.
value
=
config
.
value
;
...
@@ -205,8 +205,8 @@ function initPage(companyInfo) {
...
@@ -205,8 +205,8 @@ function initPage(companyInfo) {
"zsDjxh"
:
data
.
zsDjxh
,
"zsDjxh"
:
data
.
zsDjxh
,
"stateType"
:
"add"
,
"stateType"
:
"add"
,
"sycjType"
:
"yhs"
,
"sycjType"
:
"yhs"
,
"sourceFlag"
:
"kjsb"
,
"sourceFlag"
:
"kjsb"
,
"Authorization"
:
data
.
value
"Authorization"
:
data
.
value
}
}
if
(
JSON
.
stringify
(
yhsSyxx
)
!=
'{}'
)
{
if
(
JSON
.
stringify
(
yhsSyxx
)
!=
'{}'
)
{
openCollectYHS
.
stateType
=
"edit"
;
openCollectYHS
.
stateType
=
"edit"
;
...
@@ -225,14 +225,16 @@ function initPage(companyInfo) {
...
@@ -225,14 +225,16 @@ function initPage(companyInfo) {
}
}
var
urlList
=
{
var
urlList
=
{
openTable
:
"/"
+
url
+
"/yhs/openTable"
,
openTable
:
"/"
+
url
+
"/yhs/openTable"
,
saveSbbInfo
:
"/"
+
url
+
"/yhs/saveSbbInfo "
saveSbbInfo
:
"/"
+
url
+
"/yhs/saveSbbInfo"
,
getTxss
:
"/"
+
url
+
"/tsxx/tsxxGet"
,
saveTxss
:
"/"
+
url
+
"/tsxx/tsxxSave"
,
}
}
window
.
mlistener
.
selectRowData
=
openCollectYHS
;
window
.
mlistener
.
selectRowData
=
openCollectYHS
;
window
.
mlistener
.
urlList
=
urlList
;
window
.
mlistener
.
urlList
=
urlList
;
window
.
open
(
prefix
+
config
.
collectPage
,
'_blank'
);
window
.
open
(
prefix
+
config
.
collectPage
,
'_blank'
);
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
getTaxDeclaration
(
sbqDate
,
'N'
);
getTaxDeclaration
(
sbqDate
,
'N'
);
},
1000
);
},
1000
);
}
}
...
@@ -244,7 +246,7 @@ function initPage(companyInfo) {
...
@@ -244,7 +246,7 @@ function initPage(companyInfo) {
data
.
nssbq
=
nowdate
;
data
.
nssbq
=
nowdate
;
data
.
checkTime
=
false
;
data
.
checkTime
=
false
;
if
(
data
.
pzzlDm
===
'11602'
)
{
if
(
data
.
pzzlDm
===
'11602'
)
{
var
List
=
companyInfo
.
taxInfos
.
filter
(
function
(
item
)
{
var
List
=
companyInfo
.
taxInfos
.
filter
(
function
(
item
)
{
return
item
.
pzzlDm
==
'10101'
||
item
.
pzzlDm
==
'10102'
return
item
.
pzzlDm
==
'10101'
||
item
.
pzzlDm
==
'10102'
})
})
if
(
List
.
length
===
0
)
{
if
(
List
.
length
===
0
)
{
...
@@ -277,7 +279,7 @@ function initPage(companyInfo) {
...
@@ -277,7 +279,7 @@ function initPage(companyInfo) {
if
(
companyInfo
)
{
if
(
companyInfo
)
{
url
=
companyInfo
.
config
.
url
;
url
=
companyInfo
.
config
.
url
;
}
}
var
getTaxDeclaration
=
function
(
date
,
type
)
{
var
getTaxDeclaration
=
function
(
date
,
type
)
{
// TODO 开始加载等待动画
// TODO 开始加载等待动画
showLoading
();
showLoading
();
var
param
=
{
var
param
=
{
...
@@ -292,7 +294,7 @@ function initPage(companyInfo) {
...
@@ -292,7 +294,7 @@ function initPage(companyInfo) {
data
:
param
,
data
:
param
,
type
:
"POST"
,
type
:
"POST"
,
dataType
:
"JSON"
,
dataType
:
"JSON"
,
}).
done
(
function
(
data
)
{
}).
done
(
function
(
data
)
{
hideLoading
();
hideLoading
();
if
(
data
.
returnCode
)
{
if
(
data
.
returnCode
)
{
if
(
data
.
returnCode
!=
'00'
)
{
if
(
data
.
returnCode
!=
'00'
)
{
...
@@ -318,11 +320,11 @@ function initPage(companyInfo) {
...
@@ -318,11 +320,11 @@ function initPage(companyInfo) {
alertWarning
(
data
.
returnMessage
);
alertWarning
(
data
.
returnMessage
);
}
}
}
}
}).
always
(
function
(
data
)
{
}).
always
(
function
(
data
)
{
hideLoading
();
hideLoading
();
});
});
};
};
var
resetInventory
=
function
(
date
)
{
var
resetInventory
=
function
(
date
)
{
// TODO 开始加载等待动画
// TODO 开始加载等待动画
showLoading
();
showLoading
();
console
.
log
(
'companyInfo'
,
companyInfo
);
console
.
log
(
'companyInfo'
,
companyInfo
);
...
@@ -339,30 +341,30 @@ function initPage(companyInfo) {
...
@@ -339,30 +341,30 @@ function initPage(companyInfo) {
data
:
param
,
data
:
param
,
type
:
"POST"
,
type
:
"POST"
,
dataType
:
"JSON"
,
dataType
:
"JSON"
,
}).
done
(
function
(
data
)
{
}).
done
(
function
(
data
)
{
hideLoading
();
hideLoading
();
if
(
!
data
.
success
)
{
if
(
!
data
.
success
)
{
myAlert
(
"提示"
,
data
.
returnMessage
,
"确定"
)
myAlert
(
"提示"
,
data
.
returnMessage
,
"确定"
)
return
return
}
}
getTaxDeclaration
(
date
,
'Y'
)
getTaxDeclaration
(
date
,
'Y'
)
}).
always
(
function
(
data
)
{
}).
always
(
function
(
data
)
{
hideLoading
();
hideLoading
();
});
});
};
};
/**
/**
* 隐藏modal
* 隐藏modal
*/
*/
var
closeModal
=
function
()
{
var
closeModal
=
function
()
{
$
(
'#ybName'
).
html
(
""
);
$
(
'#ybName'
).
html
(
""
);
$
(
'#dName'
).
html
(
""
);
$
(
'#dName'
).
html
(
""
);
$
(
'#myMask'
).
hide
();
$
(
'#myMask'
).
hide
();
$
(
'#myModal'
).
hide
();
$
(
'#myModal'
).
hide
();
}
}
var
drawGrid
=
function
(
bean
)
{
var
drawGrid
=
function
(
bean
)
{
//两个表合成一个表
//两个表合成一个表
$
.
each
(
bean
.
financialInfos
,
function
(
i
,
item
)
{
$
.
each
(
bean
.
financialInfos
,
function
(
i
,
item
)
{
bean
.
taxInfos
.
push
(
item
);
bean
.
taxInfos
.
push
(
item
);
});
});
if
(
bean
.
taxInfos
.
length
==
0
)
{
if
(
bean
.
taxInfos
.
length
==
0
)
{
...
@@ -379,23 +381,23 @@ function initPage(companyInfo) {
...
@@ -379,23 +381,23 @@ function initPage(companyInfo) {
* @param {*} obj
* @param {*} obj
* @param {*} dp
* @param {*} dp
*/
*/
var
changeDate
=
function
(
obj
,
dp
)
{
var
changeDate
=
function
(
obj
,
dp
)
{
date
=
dp
.
cal
.
getNewDateStr
();
date
=
dp
.
cal
.
getNewDateStr
();
nowdate
=
date
;
// 给缓存时间赋值
nowdate
=
date
;
// 给缓存时间赋值
// 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理
// 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理
sbqDate
=
date
sbqDate
=
date
setTimeout
(
function
()
{
setTimeout
(
function
()
{
getTaxDeclaration
(
date
,
'N'
);
getTaxDeclaration
(
date
,
'N'
);
},
50
);
},
50
);
};
};
var
refresh
=
function
()
{
var
refresh
=
function
()
{
myConfirm
(
"消息"
,
"您确定需要重置申报清册吗?点击确定继续"
,
"确定"
,
"取消"
,
function
()
{
myConfirm
(
"消息"
,
"您确定需要重置申报清册吗?点击确定继续"
,
"确定"
,
"取消"
,
function
()
{
resetInventory
(
nowdate
,
"Y"
);
resetInventory
(
nowdate
,
"Y"
);
});
});
};
};
//申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法
//申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法
var
declarationMethod
=
function
(
statu
)
{
var
declarationMethod
=
function
(
statu
)
{
submitData
.
ybjcState
=
statu
;
submitData
.
ybjcState
=
statu
;
submitData
.
value
=
config
.
value
;
submitData
.
value
=
config
.
value
;
//需要判断在线还是税表的开关
//需要判断在线还是税表的开关
...
@@ -415,8 +417,8 @@ function initPage(companyInfo) {
...
@@ -415,8 +417,8 @@ function initPage(companyInfo) {
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
window
.
open
(
prefix
+
config
.
yearTaxTable
,
'_blank'
);
}
}
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
Object
.
defineProperty
(
mlistener
,
'returnSelectRowData'
,
{
set
:
function
(
val
)
{
set
:
function
(
val
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
getTaxDeclaration
(
sbqDate
,
'N'
);
getTaxDeclaration
(
sbqDate
,
'N'
);
},
1000
);
},
1000
);
}
}
...
@@ -440,7 +442,7 @@ function initPage(companyInfo) {
...
@@ -440,7 +442,7 @@ function initPage(companyInfo) {
* @param {} params
* @param {} params
*/
*/
$
(
"#reset,#reset1"
).
on
(
"click"
,
refresh
);
$
(
"#reset,#reset1"
).
on
(
"click"
,
refresh
);
$
(
"#goRecord"
).
click
(
function
()
{
$
(
"#goRecord"
).
click
(
function
()
{
//TODO 调用备案接口
//TODO 调用备案接口
});
});
// 格式化后台返回的时间
// 格式化后台返回的时间
...
@@ -450,7 +452,7 @@ function initPage(companyInfo) {
...
@@ -450,7 +452,7 @@ function initPage(companyInfo) {
drawGrid
(
companyInfo
);
drawGrid
(
companyInfo
);
}
}
//页面出现滚动条,监听滚动条变化将高赋值给模态框
//页面出现滚动条,监听滚动条变化将高赋值给模态框
window
.
onscroll
=
function
()
{
window
.
onscroll
=
function
()
{
$
(
"#myModal"
).
css
(
"top"
,
$
(
document
).
scrollTop
()
+
235
);
$
(
"#myModal"
).
css
(
"top"
,
$
(
document
).
scrollTop
()
+
235
);
}
}
return
{
return
{
...
...
static/biz/declare_grid.js
View file @
a1d0c5a6
This diff is collapsed.
Click to expand it.
static/biz/overdue_grid.js
View file @
a1d0c5a6
This diff is collapsed.
Click to expand it.
static/config.js
View file @
a1d0c5a6
/*
* @Author: your name
* @Date: 2021-12-20 15:36:50
* @LastEditTime: 2021-12-20 15:38:55
* @LastEditors: your name
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \onlineReport\static\config.js
*/
/**
/**
* @Author ygy
* @Author ygy
* @Description //TODO 获取地址栏参数
* @Description //TODO 获取地址栏参数
...
@@ -12,4 +20,25 @@ function getUrlParam(name) {
...
@@ -12,4 +20,25 @@ function getUrlParam(name) {
return
null
;
return
null
;
}
}
// 公共配置
// 公共配置
eval
(
unescape
(
"var%20config%20%3D%20%7B%0A%20%20%20%20environmental%3A%22production%22%2C//production%20%u751F%u4EA7%20%20test%20%u6D4B%u8BD5%0A%20%20%20%20webUrl%3A%22/web/onlineReport/jsp/%22%2C%20//%20%u9884%u751F%u4EA7%u73AF%u5883%u89E3%u5F00%0A%20%20%20%20url%3A%22%22%2C//%20%u5F00%u53D1%u73AF%u5883%u914D%u7F6E%u8DE8%u57DF%u8BBE%u7F6E%20%20//%20%u5F00%u53D1%u73AF%u5883%0A%20%20%20%20value%3A%27%27%2C//%u52A0%u5BC6token%0A%09%20%20nsrsbq%3A%27%27%2C%0A%20%20%20%20spreadUrl%3A%22http%3A//sbjs.tjsat.gov.cn%22%2C//%20%u5C40%u7AEF%u751F%u4EA7%20%u503C%u4E3A%u7A7A%20%20%u5176%u4F59%u5168%u90E8%u6307%u5411%u5728%u7EBF%u7684%u57DF%u540D%0A%20%20%20%20ssfwptPage%3A%22/taxservicedesk/index.html%23/taxTableList%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u6708%u5B63%u62A5%0A%20%20%20%20yearTaxTable%3A%22/taxservicedesk/index.html%23/yearTaxTable%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u5E74%u62A5%0A%20%20%20%20zhsbPage%3A%22/taxservicedesk/index.html%23/syntheticalReport%22%2C//%20%u6D89%u7A0E%20%u7EFC%u5408%u7533%u62A5%u9875%u9762%0A%20%20%20%20taxFormComponent%3A%22/web/taxFormComponent/index.html%3Fparam%3D%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%0A%20%20%20%20ccxwsTaxTable%3A%22/web/tax-plugin/index.html%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u7533%u62A5%20%u8DF3%u8F6C%u9875%u9762%0A%20%20%20%20collectPage%3A%22/propertybehaviortax/index.html%23/buttonFrame%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u91C7%u96C6%20%u8DF3%u8F6C%u586B%u62A5%u9875%u9762%0A%7D"
))
var
config
=
{
environmental
:
"test"
,
//production生产,test测试,dev开发 注:environmental为dev时,ssfwptPage/yearTaxTable/zhsbPage使用配置文件地址
webUrl
:
"/web/onlineReport/jsp/"
,
// 预生产环境解开
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
value
:
''
,
//加密token
nsrsbq
:
''
,
spreadUrl
:
"http://sbjs.tjsat.gov.cn"
,
// 局端生产 值为空 其余全部指向在线的域名
ssfwptPage
:
"/taxservicedesk/index.html#/taxTableList"
,
// 涉税服务平台填报页面地址 月季报
yearTaxTable
:
"/taxservicedesk/index.html#/yearTaxTable"
,
// 涉税服务平台填报页面地址 年报
zhsbPage
:
"/taxservicedesk/index.html#/syntheticalReport"
,
// 涉税 综合申报页面
taxFormComponent
:
"/web/taxFormComponent/index.html?param="
,
// 涉税服务平台填报页面地址
ccxwsTaxTable
:
"/web/tax-plugin/index.html"
,
//财产行为税 申报 跳转页面
collectPage
:
"/propertybehaviortax/index.html#/buttonFrame"
,
//财产行为税 采集 跳转填报页面
tableBridge
:
"/tableDisplayBusiness/index.html#/taxRelated"
,
//税表2.0 税种开表展示页面
}
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
config
.
ccxwsTaxTable
=
"http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
config
.
ccxwsTaxTable
=
"/web/tax-plugin/index.html"
;
}
static/config_dev.js
View file @
a1d0c5a6
...
@@ -25,6 +25,7 @@ var config = {
...
@@ -25,6 +25,7 @@ var config = {
taxFormComponent
:
"/web/taxFormComponent/index.html?param="
,
// 涉税服务平台填报页面地址
taxFormComponent
:
"/web/taxFormComponent/index.html?param="
,
// 涉税服务平台填报页面地址
ccxwsTaxTable
:
"/web/tax-plugin/index.html"
,
//财产行为税 申报 跳转页面
ccxwsTaxTable
:
"/web/tax-plugin/index.html"
,
//财产行为税 申报 跳转页面
collectPage
:
"/propertybehaviortax/index.html#/buttonFrame"
,
//财产行为税 采集 跳转填报页面
collectPage
:
"/propertybehaviortax/index.html#/buttonFrame"
,
//财产行为税 采集 跳转填报页面
tableBridge
:
"/tableDisplayBusiness/index.html#/taxRelated"
,
//税表2.0 税种开表展示页面
}
}
if
(
config
.
environmental
==
'test'
)
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
prefix
=
"/web"
;
...
...
static/config_production.js
View file @
a1d0c5a6
...
@@ -12,7 +12,7 @@ function getUrlParam(name) {
...
@@ -12,7 +12,7 @@ function getUrlParam(name) {
return
null
;
return
null
;
}
}
// 公共配置
// 公共配置
eval
(
unescape
(
"var%20config%20%3D%20%7B%0A%20%20%20%20environmental%3A%22production%22%2C//production%20%u751F%u4EA7%20%20test%20%u6D4B%u8BD5%0A%20%20%20%20webUrl%3A%22/web/onlineReport/jsp/%22%2C%20//%20%u9884%u751F%u4EA7%u73AF%u5883%u89E3%u5F00%0A%20%20%20%20url%3A%22%22%2C//%20%u5F00%u53D1%u73AF%u5883%u914D%u7F6E%u8DE8%u57DF%u8BBE%u7F6E%20%20//%20%u5F00%u53D1%u73AF%u5883%0A%20%20%20%20value%3A%27%27%2C//%u52A0%u5BC6token%0A%09%20%20nsrsbq%3A%27%27%2C%0A%20%20%20%20spreadUrl%3A%22http%3A//sbjs.tjsat.gov.cn%22%2C//%20%u5C40%u7AEF%u751F%u4EA7%20%u503C%u4E3A%u7A7A%20%20%u5176%u4F59%u5168%u90E8%u6307%u5411%u5728%u7EBF%u7684%u57DF%u540D%0A%20%20%20%20ssfwptPage%3A%22/taxservicedesk/index.html%23/taxTableList%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u6708%u5B63%u62A5%0A%20%20%20%20yearTaxTable%3A%22/taxservicedesk/index.html%23/yearTaxTable%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u5E74%u62A5%0A%20%20%20%20zhsbPage%3A%22/taxservicedesk/index.html%23/syntheticalReport%22%2C//%20%u6D89%u7A0E%20%u7EFC%u5408%u7533%u62A5%u9875%u9762%0A%20%20%20%20taxFormComponent%3A%22/web/taxFormComponent/index.html%3Fparam%3D%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%0A%20%20%20%20ccxwsTaxTable%3A%22/web/tax-plugin/index.html%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u7533%u62A5%20%u8DF3%u8F6C%u9875%u9762%0A%20%20%20%20collectPage%3A%22/propertybehaviortax/index.html%23/buttonFrame%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u91C7%u96C6%20%u8DF3%u8F6C%u586B%u62A5%u9875%u9762%0A%7D"
))
eval
(
unescape
(
"var%20config%20%3D%20%7B%0A%20%20%20%20environmental%3A%22production%22%2C//production%20%u751F%u4EA7%20%20test%20%u6D4B%u8BD5%0A%20%20%20%20webUrl%3A%22/web/onlineReport/jsp/%22%2C%20//%20%u9884%u751F%u4EA7%u73AF%u5883%u89E3%u5F00%0A%20%20%20%20url%3A%22%22%2C//%20%u5F00%u53D1%u73AF%u5883%u914D%u7F6E%u8DE8%u57DF%u8BBE%u7F6E%20%20//%20%u5F00%u53D1%u73AF%u5883%0A%20%20%20%20value%3A%27%27%2C//%u52A0%u5BC6token%0A%09%20%20nsrsbq%3A%27%27%2C%0A%20%20%20%20spreadUrl%3A%22http%3A//sbjs.tjsat.gov.cn%22%2C//%20%u5C40%u7AEF%u751F%u4EA7%20%u503C%u4E3A%u7A7A%20%20%u5176%u4F59%u5168%u90E8%u6307%u5411%u5728%u7EBF%u7684%u57DF%u540D%0A%20%20%20%20ssfwptPage%3A%22/taxservicedesk/index.html%23/taxTableList%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u6708%u5B63%u62A5%0A%20%20%20%20yearTaxTable%3A%22/taxservicedesk/index.html%23/yearTaxTable%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u5E74%u62A5%0A%20%20%20%20zhsbPage%3A%22/taxservicedesk/index.html%23/syntheticalReport%22%2C//%20%u6D89%u7A0E%20%u7EFC%u5408%u7533%u62A5%u9875%u9762%0A%20%20%20%20taxFormComponent%3A%22/web/taxFormComponent/index.html%3Fparam%3D%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%0A%20%20%20%20ccxwsTaxTable%3A%22/web/tax-plugin/index.html%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u7533%u62A5%20%u8DF3%u8F6C%u9875%u9762%0A%20%20%20%20collectPage%3A%22/propertybehaviortax/index.html%23/buttonFrame%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u91C7%u96C6%20%u8DF3%u8F6C%u586B%u62A5%u9875%u9762%0A%
20%20%20%20tableBridge%3A%20%22/tableDisplayBusiness/index.html%23/taxRelated%22%2C%20//%u7A0E%u88682.0%20%u7A0E%u79CD%u5F00%u8868%u5C55%u793A%u9875%u9762%20%0A%
7D"
))
if
(
config
.
environmental
==
'test'
)
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
prefix
=
"/web"
;
config
.
ccxwsTaxTable
=
"http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html"
;
config
.
ccxwsTaxTable
=
"http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html"
;
...
...
static/config_test.js
View file @
a1d0c5a6
/*
* @Author: your name
* @Date: 2021-12-20 15:36:50
* @LastEditTime: 2022-01-24 10:28:40
* @LastEditors: your name
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \onlineReport\static\config_test.js
*/
/**
/**
* @Author ygy
* @Author ygy
* @Description //TODO 获取地址栏参数
* @Description //TODO 获取地址栏参数
...
@@ -12,7 +20,7 @@ function getUrlParam(name) {
...
@@ -12,7 +20,7 @@ function getUrlParam(name) {
return
null
;
return
null
;
}
}
// 公共配置
// 公共配置
eval
(
unescape
(
"var%20config%20%3D%20%7B%0A%20%20%20%20environmental%3A%2
2test%22%2C//production%20%u751F%u4EA7%20%20test%20%u6D4B%u8BD5%0A%20%20%20%20webUrl%3A%22/web/onlineReport/jsp/%22%2C%20//%20%u9884%u751F%u4EA7%u73AF%u5883%u89E3%u5F00%0A%20%20%20%20url%3A%22%22%2C//%20%u5F00%u53D1%u73AF%u5883%u914D%u7F6E%u8DE8%u57DF%u8BBE%u7F6E%20%20//%20%u5F00%u53D1%u73AF%u5883%0A%20%20%20%20value%3A%27%27%2C//%u52A0%u5BC6token%0A%09%20%20nsrsbq%3A%27%27%2C%0A%20%20%20%20spreadUrl%3A%22http%3A//sbjs.tjsat.gov.cn%22%2C//%20%u5C40%u7AEF%u751F%u4EA7%20%u503C%u4E3A%u7A7A%20%20%u5176%u4F59%u5168%u90E8%u6307%u5411%u5728%u7EBF%u7684%u57DF%u540D%0A%20%20%20%20ssfwptPage%3A%22/taxservicedesk/index.html%23/taxTableList%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u6708%u5B63%u62A5%0A%20%20%20%20yearTaxTable%3A%22/taxservicedesk/index.html%23/yearTaxTable%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u5E74%u62A5%0A%20%20%20%20zhsbPage%3A%22/taxservicedesk/index.html%23/syntheticalReport%22%2C//%20%u6D89%u7A0E%20%u7EFC%u5408%u7533%u62A5%u9875%u9762%0A%20%20%20%20taxFormComponent%3A%22/web/taxFormComponent/index.html%3Fparam%3D%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%0A%20%20%20%20ccxwsTaxTable%3A%22/web/tax-plugin/index.html%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u7533%u62A5%20%u8DF3%u8F6C%u9875%u9762%0A%20%20%20%20collectPage%3A%22/propertybehaviortax/index.html%23/buttonFrame%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u91C7%u96C6%20%u8DF3%u8F6C%u586B%u62A5%u9875%u9762
%0A%7D"
))
eval
(
unescape
(
"var%20config%20%3D%20%7B%0A%20%20%20%20environmental%3A%2
0%22test%22%2C%20//production%u751F%u4EA7%uFF0Ctest%u6D4B%u8BD5%uFF0Cdev%u5F00%u53D1%20%u6CE8%uFF1Aenvironmental%u4E3Adev%u65F6%uFF0CssfwptPage/yearTaxTable/zhsbPage%u4F7F%u7528%u914D%u7F6E%u6587%u4EF6%u5730%u5740%0A%20%20%20%20webUrl%3A%20%22/web/onlineReport/jsp/%22%2C%20//%20%u9884%u751F%u4EA7%u73AF%u5883%u89E3%u5F00%0A%20%20%20%20url%3A%20%22%22%2C%20//%20%u5F00%u53D1%u73AF%u5883%u914D%u7F6E%u8DE8%u57DF%u8BBE%u7F6E%20%20//%20%u5F00%u53D1%u73AF%u5883%0A%20%20%20%20value%3A%20%27%27%2C%20//%u52A0%u5BC6token%0A%20%20%20%20nsrsbq%3A%20%27%27%2C%0A%20%20%20%20spreadUrl%3A%20%22http%3A//sbjs.tjsat.gov.cn%22%2C%20//%20%u5C40%u7AEF%u751F%u4EA7%20%u503C%u4E3A%u7A7A%20%20%u5176%u4F59%u5168%u90E8%u6307%u5411%u5728%u7EBF%u7684%u57DF%u540D%0A%20%20%20%20ssfwptPage%3A%20%22/taxservicedesk/index.html%23/taxTableList%22%2C%20//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u6708%u5B63%u62A5%0A%20%20%20%20yearTaxTable%3A%20%22/taxservicedesk/index.html%23/yearTaxTable%22%2C%20//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u5E74%u62A5%0A%20%20%20%20zhsbPage%3A%20%22/taxservicedesk/index.html%23/syntheticalReport%22%2C%20//%20%u6D89%u7A0E%20%u7EFC%u5408%u7533%u62A5%u9875%u9762%0A%20%20%20%20taxFormComponent%3A%20%22/web/taxFormComponent/index.html%3Fparam%3D%22%2C%20//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%0A%20%20%20%20ccxwsTaxTable%3A%20%22/web/tax-plugin/index.html%22%2C%20//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u7533%u62A5%20%u8DF3%u8F6C%u9875%u9762%0A%20%20%20%20collectPage%3A%20%22/propertybehaviortax/index.html%23/buttonFrame%22%2C%20//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u91C7%u96C6%20%u8DF3%u8F6C%u586B%u62A5%u9875%u9762%0A%20%20%20%20tableBridge%3A%20%22/tableDisplayBusiness/index.html%23/taxRelated%22%2C%20//%u7A0E%u88682.0%20%u7A0E%u79CD%u5F00%u8868%u5C55%u793A%u9875%u9762%20
%0A%7D"
))
if
(
config
.
environmental
==
'test'
)
{
if
(
config
.
environmental
==
'test'
)
{
prefix
=
"/web"
;
prefix
=
"/web"
;
config
.
ccxwsTaxTable
=
"http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html"
;
config
.
ccxwsTaxTable
=
"http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html"
;
...
...
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