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
abc35f63
Commit
abc35f63
authored
Mar 12, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
5625a325
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
xgg-admin/app/base/controller/impl/invoice/invoiceCtl.js
+14
-0
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
+1
-0
No files found.
xgg-admin/app/base/controller/impl/invoice/invoiceCtl.js
View file @
abc35f63
...
@@ -7,11 +7,25 @@ class InvoiceCtl extends CtlBase {
...
@@ -7,11 +7,25 @@ class InvoiceCtl extends CtlBase {
}
}
/**
/**
* 业务进度字典
* @param {*} pobj
*/
async
processDics
(
pobj
)
{
try
{
return
await
this
.
invoiceSve
.
processDics
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResultFail
(
500
,
`接口错误 错误信息
${
error
}
`
);
}
}
/**
* 查询明细(平台)
* 查询明细(平台)
* @param {*} pobj
* @param {*} pobj
*/
*/
async
invoicePage
(
pobj
)
{
async
invoicePage
(
pobj
)
{
try
{
try
{
this
.
doTimeCondition
(
pobj
,
[
"createTimeBegin"
,
"createTimeEnd"
]);
return
await
this
.
invoiceSve
.
invoicePage
(
pobj
);
return
await
this
.
invoiceSve
.
invoicePage
(
pobj
);
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
...
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
View file @
abc35f63
...
@@ -18,6 +18,7 @@ class InvoiceService extends ServiceBase {
...
@@ -18,6 +18,7 @@ class InvoiceService extends ServiceBase {
async
invoicePage
(
params
)
{
async
invoicePage
(
params
)
{
params
.
currentPage
=
Number
(
params
.
currentPage
||
1
);
params
.
currentPage
=
Number
(
params
.
currentPage
||
1
);
params
.
pageSize
=
Number
(
params
.
pageSize
||
10
);
params
.
pageSize
=
Number
(
params
.
pageSize
||
10
);
var
rs
=
await
this
.
callms
(
"invoice"
,
"invoicePage"
,
params
);
var
rs
=
await
this
.
callms
(
"invoice"
,
"invoicePage"
,
params
);
return
rs
;
return
rs
;
}
}
...
...
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