Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
57130180
Commit
57130180
authored
Aug 25, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 订单列表接口调试
parent
dd7cf70f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
order.js
src/common/api/order.js
+5
-1
index.vue
src/pages/mine/order/index.vue
+1
-1
No files found.
src/common/api/order.js
View file @
57130180
...
...
@@ -14,7 +14,10 @@ let orderApiFun = function(vm){
* 工单数量查询接口
*/
let
listOrderCount
=
async
(
params
=
{})
=>
await
vm
.
$u
.
get
(
prefix
+
vm
.
vuex_token
+
'/wokerOrder/queryOrdersCount/V2'
,
params
);
/**
* 订单管理工单数量查询接口
*/
let
manageOrderCount
=
async
(
params
=
{})
=>
await
vm
.
$u
.
get
(
prefix
+
vm
.
vuex_token
+
'/wokerOrder/countOrderByTimeRange'
,
params
);
/**
* 工单列表接口
*/
...
...
@@ -206,6 +209,7 @@ let orderApiFun = function(vm){
const
orderApi
=
{
listByRecommendOrder
,
listOrderCount
,
manageOrderCount
listOrder
,
workerCalendar
,
workerAppointment
,
...
...
src/pages/mine/order/index.vue
View file @
57130180
...
...
@@ -109,7 +109,7 @@ export default {
methods
:
{
// 获取订单数量
getOrderCount
()
{
this
.
$u
.
api
.
list
OrderCount
(
this
.
currentParam
).
then
((
res
)
=>
{
this
.
$u
.
api
.
manage
OrderCount
(
this
.
currentParam
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
)
{
this
.
info
=
res
.
data
||
{}
...
...
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