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
d12af459
Commit
d12af459
authored
Jun 11, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
税种列表接口
parent
11a896c7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
32 deletions
+21
-32
index.html
index.html
+9
-26
index.html
jsp/cancellation/index.html
+6
-2
index.html
jsp/declare/index.html
+0
-2
index.html
jsp/overdue/index.html
+6
-2
No files found.
index.html
View file @
d12af459
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
<ul>
<ul>
<li>
<li>
<lable>
测试纳税人登记序号:
</lable><input
type=
"text"
name=
"djxh"
id=
"form_djxh_overdue"
/></li>
<lable>
测试纳税人登记序号:
</lable><input
type=
"text"
name=
"djxh"
id=
"form_djxh_overdue"
/></li>
<li><label>
纳税人识别号
</label><input
type=
"text"
name=
"pzzlDm"
id=
"form_pzzlDm_overdue"
/></li>
<li><label>
申报期:
</label><input
type=
"text"
name=
"sbq"
id=
"form_sbq"
/></li>
<li><label>
申报期:
</label><input
type=
"text"
name=
"sbq"
id=
"form_sbq"
/></li>
</ul>
</ul>
</form>
</form>
...
@@ -43,6 +44,7 @@
...
@@ -43,6 +44,7 @@
<ul>
<ul>
<li>
<li>
<lable>
测试纳税人登记序号:
</lable><input
type=
"text"
name=
"djxh"
id=
"form_djxh_cancellation"
/></li>
<lable>
测试纳税人登记序号:
</lable><input
type=
"text"
name=
"djxh"
id=
"form_djxh_cancellation"
/></li>
<li><label>
纳税人识别号
</label><input
type=
"text"
name=
"pzzlDm"
id=
"form_pzzlDm_cancellation"
/></li>
<li><label>
申报期:
</label><input
type=
"text"
name=
"sbq"
id=
"form_sbq"
/></li>
<li><label>
申报期:
</label><input
type=
"text"
name=
"sbq"
id=
"form_sbq"
/></li>
</ul>
</ul>
</form>
</form>
...
@@ -72,8 +74,8 @@
...
@@ -72,8 +74,8 @@
// localStorage.setItem("url", "http://localhost:7070");
// localStorage.setItem("url", "http://localhost:7070");
// localStorage.setItem("url", "http://sbjs.tjsat.gov.cn:18090");
// localStorage.setItem("url", "http://sbjs.tjsat.gov.cn:18090");
//涉税
//涉税
localStorage
.
setItem
(
"url"
,
"http://192.168.101.154:8091"
);
//
localStorage.setItem("url", "http://192.168.101.154:8091");
// localStorage.setItem("url", "http://192.168.101.201
:8091");
localStorage
.
setItem
(
"url"
,
"http://192.168.101.146
:8091"
);
var
url
=
localStorage
.
getItem
(
"url"
);
var
url
=
localStorage
.
getItem
(
"url"
);
$
(
function
(){
$
(
function
(){
//按期申报
//按期申报
...
@@ -84,44 +86,25 @@
...
@@ -84,44 +86,25 @@
//更正申报
//更正申报
var
btnObj2
=
$
(
"#amendBtn"
);
var
btnObj2
=
$
(
"#amendBtn"
);
var
djxhNumber2
=
$
(
"#form_djxh_amend"
);
var
djxhNumber2
=
$
(
"#form_djxh_amend"
);
var
sbh2
=
$
(
"form_pzzlDm_amend"
);
var
sbh2
=
$
(
"
#
form_pzzlDm_amend"
);
declareFun
(
btnObj2
,
djxhNumber2
,
sbh2
,
"amend"
);
declareFun
(
btnObj2
,
djxhNumber2
,
sbh2
,
"amend"
);
//逾期申报
//逾期申报
var
btnObj3
=
$
(
"#overdueBtn"
);
var
btnObj3
=
$
(
"#overdueBtn"
);
var
djxhNumber3
=
$
(
"#form_djxh_overdue"
);
var
djxhNumber3
=
$
(
"#form_djxh_overdue"
);
declareFun
(
btnObj3
,
djxhNumber3
,
"overdue"
);
var
sbh3
=
$
(
"#form_pzzlDm_overdue"
);
declareFun
(
btnObj3
,
djxhNumber3
,
sbh3
,
"overdue"
);
//清册注销
//清册注销
var
btnObj4
=
$
(
"#cancellationBtn"
);
var
btnObj4
=
$
(
"#cancellationBtn"
);
var
djxhNumber4
=
$
(
"#form_djxh_cancellation"
);
var
djxhNumber4
=
$
(
"#form_djxh_cancellation"
);
declareFun
(
btnObj4
,
djxhNumber4
,
"cancellation"
);
var
sbh4
=
$
(
"#form_pzzlDm_cancellation"
);
// $("#delcareBtn").click(function(){
declareFun
(
btnObj4
,
djxhNumber4
,
sbh4
,
"cancellation"
);
// $.ajax({
// type: "GET",
// url: url+"/online_report/declare",
// dataType: "json", // 请求方式为jsonp
// data: {
// djxh: $("#form_djxh").val()
// },
// success: function (data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
// if (data.success) {
// localStorage.setItem("djxh",$("#form_djxh").val());
// window.location.href = "/jsp/declare/index.html";
// }
// },
// error: function(xhr){
// //jsonp 方式此方法不被触发
// console.log("=======error======================",xhr)
// }
// })
// });
//四个按钮请求的公共方法
//四个按钮请求的公共方法
function
declareFun
(
btnObj
,
djxhNumber
,
sbh
,
param
)
{
function
declareFun
(
btnObj
,
djxhNumber
,
sbh
,
param
)
{
btnObj
.
click
(
function
(){
btnObj
.
click
(
function
(){
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
// url: url+"/online_report/" + param,
url
:
url
+
"/ssfwpt/"
+
param
+
'/index'
,
url
:
url
+
"/ssfwpt/"
+
param
+
'/index'
,
dataType
:
"json"
,
// 请求方式为jsonp
dataType
:
"json"
,
// 请求方式为jsonp
data
:
{
data
:
{
...
...
jsp/cancellation/index.html
View file @
d12af459
...
@@ -76,11 +76,15 @@
...
@@ -76,11 +76,15 @@
var
url
=
localStorage
.
getItem
(
"url"
);
var
url
=
localStorage
.
getItem
(
"url"
);
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
url
:
url
+
"/
online_report/cancellation
"
,
url
:
url
+
"/
ssfwpt/cancellation/index
"
,
dataType
:
"json"
,
// 请求方式为jsonp
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
// async: false,
data
:
{
data
:
{
djxh
:
localStorage
.
getItem
(
"djxh"
)
djxh
:
localStorage
.
getItem
(
"djxh"
),
nsrsbh
:
localStorage
.
getItem
(
"nsrsbh"
),
token
:
''
,
sbsq
:
''
,
pzzlDm
:
''
},
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
//el表达式变jq
//el表达式变jq
...
...
jsp/declare/index.html
View file @
d12af459
...
@@ -114,12 +114,10 @@
...
@@ -114,12 +114,10 @@
var
url
=
localStorage
.
getItem
(
"url"
);
var
url
=
localStorage
.
getItem
(
"url"
);
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
// url: url + "/online_report/declare",
url
:
url
+
"/ssfwpt/declare/index"
,
url
:
url
+
"/ssfwpt/declare/index"
,
dataType
:
"json"
,
// 请求方式为jsonp
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
// async: false,
data
:
{
data
:
{
// djxh: localStorage.getItem("djxh"),
djxh
:
localStorage
.
getItem
(
"djxh"
),
djxh
:
localStorage
.
getItem
(
"djxh"
),
nsrsbh
:
localStorage
.
getItem
(
"nsrsbh"
),
nsrsbh
:
localStorage
.
getItem
(
"nsrsbh"
),
token
:
''
,
token
:
''
,
...
...
jsp/overdue/index.html
View file @
d12af459
...
@@ -119,11 +119,15 @@
...
@@ -119,11 +119,15 @@
var
url
=
localStorage
.
getItem
(
"url"
);
var
url
=
localStorage
.
getItem
(
"url"
);
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
url
:
url
+
"/
online_report/overdue
"
,
url
:
url
+
"/
ssfwpt/overdue/index
"
,
dataType
:
"json"
,
// 请求方式为jsonp
dataType
:
"json"
,
// 请求方式为jsonp
// async: false,
// async: false,
data
:
{
data
:
{
djxh
:
localStorage
.
getItem
(
"djxh"
)
djxh
:
localStorage
.
getItem
(
"djxh"
),
nsrsbh
:
localStorage
.
getItem
(
"nsrsbh"
),
token
:
''
,
sbsq
:
''
,
pzzlDm
:
''
},
},
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
success
:
function
(
data
)
{
//客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
//el表达式变jq
//el表达式变jq
...
...
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