Commit 18176b9c authored by Facius's avatar Facius

feat:订单管理订单那列表接口调试

parent a972c2ba
......@@ -22,6 +22,10 @@ let orderApiFun = function(vm){
* 工单列表接口
*/
let listOrder = async (params = {}) => await vm.$u.get('/wxh-worker-rest/rest/order/revision/' + vm.vuex_token + '/list', params);
/**
* 订单管理工单列表接口
*/
let manageOrderList = async (params = {}) => await vm.$u.get('/wxh-worker-rest/rest/order/revision/listOrderByTimeRange', params);
/**
* 获取师傅的预约日历
......@@ -211,6 +215,7 @@ let orderApiFun = function(vm){
listOrderCount,
manageOrderCount,
listOrder,
manageOrderList,
workerCalendar,
workerAppointment,
maintainWorkerCheckin,
......
......@@ -79,7 +79,7 @@ export default {
},
computed: {
cellType() {
return this.orderType == 'yijiedan' ? '' : this.orderType
return this.orderType == 'finish' ? 'finish' : ''
},
noMore() {
return this.orderList.length == 0 && this.loaded
......@@ -124,7 +124,7 @@ export default {
...this.timeParam,
}
var self = this
self.$u.api.listOrder(param).then((res) => {
self.$u.api.manageOrderList(param).then((res) => {
if (res.code == 200) {
if (self.pageNumber == 1) {
self.orderList = []
......
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