Commit 57130180 authored by Facius's avatar Facius

feat: 订单列表接口调试

parent dd7cf70f
...@@ -14,7 +14,10 @@ let orderApiFun = function(vm){ ...@@ -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 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){ ...@@ -206,6 +209,7 @@ let orderApiFun = function(vm){
const orderApi = { const orderApi = {
listByRecommendOrder, listByRecommendOrder,
listOrderCount, listOrderCount,
manageOrderCount
listOrder, listOrder,
workerCalendar, workerCalendar,
workerAppointment, workerAppointment,
......
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
methods: { methods: {
// 获取订单数量 // 获取订单数量
getOrderCount() { getOrderCount() {
this.$u.api.listOrderCount(this.currentParam).then((res) => { this.$u.api.manageOrderCount(this.currentParam).then((res) => {
if (res.code == 200) { if (res.code == 200) {
if (res.data) { if (res.data) {
this.info = res.data || {} this.info = res.data || {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment