Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
7dd5f72a
Commit
7dd5f72a
authored
Dec 09, 2019
by
赵庆
Browse files
Options
Browse Files
Download
Plain Diff
sss
parents
af21a010
79b19fda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
laowubao/app/base/api/impl/operator/xbgApi.js
+18
-2
No files found.
laowubao/app/base/api/impl/operator/xbgApi.js
View file @
7dd5f72a
...
...
@@ -6,7 +6,8 @@ class XbgApi extends apiBase {
constructor
()
{
super
();
this
.
restClient
=
system
.
getObject
(
"util.restClient"
);
this
.
url
=
"http://192.168.193.136:3000/api/xbgApi/"
;
this
.
url
=
"https://bpohhr.gongsibao.com/api/xbgApi/"
;
this
.
testCompanyIds
=
[
492
];
}
async
test
(
pobj
,
query
)
{
...
...
@@ -14,9 +15,19 @@ class XbgApi extends apiBase {
hello
:
"ok"
});
}
async
setCompanyIds
(
qobj
)
{
// qobj.id
// 查ecmpanyIds
qobj
.
ecompany_id
=
this
.
testCompanyIds
;
}
//合同模板
async
etemplateList
(
qobj
)
{
this
.
setCompanyIds
(
qobj
);
var
params
=
qobj
||
{};
if
(
!
params
.
ecompany_id
)
{
return
system
.
getResult
(
"参数ecompany_id为空"
)
}
try
{
var
params
=
qobj
||
{};
var
rs
=
await
this
.
restClient
.
execPost
(
params
,
this
.
url
+
"etemplateList"
);
...
...
@@ -29,6 +40,7 @@ class XbgApi extends apiBase {
//已签合同
async
acontractList
(
qobj
)
{
this
.
setCompanyIds
(
qobj
);
var
params
=
qobj
||
{};
if
(
!
params
.
ecompany_id
)
{
return
system
.
getResult
(
"参数ecompany_id为空"
)
...
...
@@ -44,7 +56,8 @@ class XbgApi extends apiBase {
//纳税人人员
async
ratepayingListToPe
(
qobj
)
{
var
params
=
qobj
||
{};
git
this
.
setCompanyIds
(
qobj
);
var
params
=
qobj
||
{};
if
(
!
params
.
ecompany_id
)
{
return
system
.
getResult
(
"参数ecompany_id为空"
)
}
...
...
@@ -59,6 +72,7 @@ class XbgApi extends apiBase {
//纳税人按月
async
ratepayingListToMonth
(
qobj
)
{
this
.
setCompanyIds
(
qobj
);
var
params
=
qobj
||
{};
if
(
!
params
.
ecompany_id
)
{
return
system
.
getResult
(
"参数ecompany_id为空"
)
...
...
@@ -74,6 +88,7 @@ class XbgApi extends apiBase {
//纳税人个人详情
async
ratepayingListToOne
(
qobj
)
{
this
.
setCompanyIds
(
qobj
);
var
params
=
qobj
||
{};
if
(
!
params
.
ecompany_id
)
{
return
system
.
getResult
(
"参数ecompany_id为空"
)
...
...
@@ -89,6 +104,7 @@ class XbgApi extends apiBase {
//数据概览
async
dataOverview
(
qobj
)
{
this
.
setCompanyIds
(
qobj
);
var
params
=
qobj
||
{};
if
(
!
params
.
ecompany_id
)
{
return
system
.
getResult
(
"参数ecompany_id为空"
)
...
...
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