From 613d038fb99a99e9b3cf1c520ebb3fc698c3150f Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Tue, 13 Aug 2024 17:23:07 +0800 Subject: [PATCH] del old timing order --- .../end_billing_modal/end_billing_modal.vue | 194 ----------- src/components/timing_order/timing_order.vue | 185 ---------- src/js/api.js | 1 - src/pages.json | 12 - src/pages/order_list/order_list.vue | 12 +- src/pages/order_search/order_search.vue | 4 - src/subpackage/device/js/device_api.js | 1 - .../order/components/order_list/header.vue | 16 +- src/subpackage/order/js/api.js | 1 - .../order/pages/order_list/order_list.vue | 53 --- .../order/pages/order_manage/order_manage.vue | 8 +- src/subpackage/order/pages/timing/detail.vue | 379 --------------------- 12 files changed, 18 insertions(+), 848 deletions(-) delete mode 100644 src/components/end_billing_modal/end_billing_modal.vue delete mode 100644 src/components/timing_order/timing_order.vue delete mode 100644 src/subpackage/order/pages/order_list/order_list.vue delete mode 100644 src/subpackage/order/pages/timing/detail.vue diff --git a/src/components/end_billing_modal/end_billing_modal.vue b/src/components/end_billing_modal/end_billing_modal.vue deleted file mode 100644 index 40e3efd..0000000 --- a/src/components/end_billing_modal/end_billing_modal.vue +++ /dev/null @@ -1,194 +0,0 @@ - - - - - diff --git a/src/components/timing_order/timing_order.vue b/src/components/timing_order/timing_order.vue deleted file mode 100644 index 1d6743f..0000000 --- a/src/components/timing_order/timing_order.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - - - diff --git a/src/js/api.js b/src/js/api.js index 11ed9c4..550179d 100644 --- a/src/js/api.js +++ b/src/js/api.js @@ -30,7 +30,6 @@ export const API = { // reservationOrder: `${ORIGIN}/admin/stadium/order/list`, // 预约订单 reservationOrder:`${ORIGIN}/admin/assistant/stadiumOrder/list`, //k-订单管理-预约订单列表 PM:2021/4/19 - timeOrder:`${ORIGIN}/admin/assistant/timeOrder/list`, //k-订单管理-计时订单列表 PM:2021/4/19 membershipOrder: `${ORIGIN}/admin/member_card/order/list`, // 会员卡订单 diff --git a/src/pages.json b/src/pages.json index 3e6665c..5dcf150 100644 --- a/src/pages.json +++ b/src/pages.json @@ -480,12 +480,6 @@ "root": "subpackage/order", "pages": [ { - "path": "pages/order_list/order_list", - "style" : { - "navigationBarTitleText": "订单" - } - }, - { "path": "pages/timekeeping/order_search", "style" : { "navigationBarTitleText": "订单搜索" @@ -640,12 +634,6 @@ "style" : { "navigationBarTitleText": "租球机订单详情" } - }, - { - "path": "pages/timing/detail", - "style" : { - "navigationBarTitleText": "计时订单详情" - } } ] }, diff --git a/src/pages/order_list/order_list.vue b/src/pages/order_list/order_list.vue index 658e3d6..cb0cc79 100644 --- a/src/pages/order_list/order_list.vue +++ b/src/pages/order_list/order_list.vue @@ -50,7 +50,6 @@ - @@ -127,7 +126,6 @@ import reservation_order from '../../components/reservation_order/reservation_order'; import integral_order from '../../components/integral_order/integral_order'; import membership_order from '../../components/membership_order/membership_order'; - import timing_order from '../../components/timing_order/timing_order.vue'; import organize_order from '../../components/organize_order/organize_order.vue'; // 20210910 新增订单模块 import value_card from '../../components/order_list/value_card/value_card.vue'; // 储值卡管理 (20220725 由储值卡订单直接改接口) @@ -157,7 +155,6 @@ 'reservation-order': reservation_order, 'membership-order': membership_order, 'integral-order': integral_order, - 'timing-order': timing_order, 'organize-order': organize_order, 'spectacular-monent': spectacular_monent, 'value-card': value_card, @@ -180,7 +177,7 @@ let { orderType } = this; return ( orderType == 3 || orderType == 4 || - orderType == 1 || orderType == 10 || + orderType == 10 || orderType == 18 || orderType == 12 || orderType == 18 || orderType == 12 || orderType == 15 || orderType == 16 || @@ -444,7 +441,6 @@ if(type == 3)return API.reservationOrder; if(type == 4)return API.membershipOrder; if(type == 5)return API.integralOrder; - if(type == 1)return API.timeOrder; if(type == 10)return API.organizeOrderList; // 约玩订单 if(type == 12)return API.venueCourseOrderList; // 课程订单 if(type == 18)return API.userValueCardList; // 储值卡订单 @@ -488,7 +484,7 @@ delete _obj['status']; _obj['order_status_in'] = +curTabID === -1 ? '0,1,2,3' : curTabID + '' } - // 预约订单:0是场次订单,1是人次订单,空字符全部; 计时订单:场时/人时[1/2] + // 预约订单:0是场次订单,1是人次订单,空字符全部; if(orderType == 3)_obj['order_type'] = appointOrderType; // 助手约玩订单修改, 按后端荣升0430重写接口重新定制字段.后续后端家兴0507重新接手该接口的修改(涉及约玩订单列表及订单详情) @@ -549,8 +545,6 @@ return '会员卡订单'; case 5: return '积分商城订单'; - case 1: - return '计时订单'; case 10: return '约玩订单'; case 12: @@ -596,8 +590,6 @@ return [ {id: '', name: '全部'}, {id: 1, name: '使用中'}, {id: 0, name: '已失效'},]; case 5: // 积分tab return [ {id: '', name: '全部'}, {id: 1, name: '待发货'}, {id: 2, name: '已发货'}, {id: 3, name: '已完成'}, ]; - case 1: // 计时tab 全部/计费中/已完成/已退款 [空字符/0/1/4] - return [ {id: '', name: '全部'}, {id: 0, name: '计费中'}, {id: 1, name: '已完成'}, {id: 4, name: '已退款'}, ]; case 10: // 约玩tab 全部/计费中/已完成/已退款 [空字符/0/1/4] return [ {id: '', name: '全部'}, {id: 1, name: '已付款'}, {id: 2, name: '已完成'}, {id: 4, name: '已退款'}, ]; case 12: // 约玩tab 全部/计费中/已完成/已退款 [空字符/0/1/4] diff --git a/src/pages/order_search/order_search.vue b/src/pages/order_search/order_search.vue index 24efa3f..55704f9 100644 --- a/src/pages/order_search/order_search.vue +++ b/src/pages/order_search/order_search.vue @@ -17,7 +17,6 @@ - @@ -44,7 +43,6 @@ import reservation_order from '../../components/reservation_order/reservation_order'; import integral_order from '../../components/integral_order/integral_order'; import membership_order from '../../components/membership_order/membership_order'; -import timing_order from '../../components/timing_order/timing_order.vue' import organize_order from '../../components/organize_order/organize_order.vue' // 20210910 新增订单模块 import value_card from '../../components/order_list/value_card/value_card.vue'; @@ -71,7 +69,6 @@ export default { 'reservation-order': reservation_order, 'membership-order': membership_order, 'integral-order': integral_order, - 'timing-order': timing_order, 'organize-order': organize_order, // 'spectacular-monent': spectacular_monent, @@ -137,7 +134,6 @@ export default { if(type == 3)return API.reservationOrder; if(type == 4)return API.membershipOrder; if(type == 5)return API.integralOrder; - if(type == 1)return API.timeOrder; if(type == 10)return API.organizeOrderList; // if(type == 12)return API.venueCourseOrderList; // 课程订单 diff --git a/src/subpackage/device/js/device_api.js b/src/subpackage/device/js/device_api.js index 910232d..b6ef2e5 100644 --- a/src/subpackage/device/js/device_api.js +++ b/src/subpackage/device/js/device_api.js @@ -35,7 +35,6 @@ export const DEVICE_API = { checkIccard:`${ORIGIN}/admin/assistant/checkIccard`, //k-订单管理-校验ic卡 storeHouseList:`${ORIGIN}/admin/assistant/storeHouse/list`, //k-仓库列表 iccardList:`${ORIGIN}/admin/assistant/iccard/list`, //k-ic卡列表 - timeOrderDetail:`${ORIGIN}/admin/assistant/timeOrder/detail`, //k-订单管理-计时订单详情 timeOrderEnd:`${ORIGIN}/admin/assistant/timeOrder/end`, //k-订单管理-订单计时结束 timeOrderComplete:`${ORIGIN}/admin/assistant/timeOrder/complete`, //【20220208】k-订单管理-计时订单完结 diff --git a/src/subpackage/order/components/order_list/header.vue b/src/subpackage/order/components/order_list/header.vue index 25e7248..cf0884f 100644 --- a/src/subpackage/order/components/order_list/header.vue +++ b/src/subpackage/order/components/order_list/header.vue @@ -37,10 +37,18 @@ export default { 'period-modal': periodModal }, props: { - startTime: String, - endTime: String, - successCount: Number, - refundCount: Number, + startTime: { + default: '' + }, + endTime: { + default: '' + }, + successCount: { + default: 0 + }, + refundCount: { + default: 0 + }, }, data(){ return { diff --git a/src/subpackage/order/js/api.js b/src/subpackage/order/js/api.js index 9d67f1b..69aac1c 100644 --- a/src/subpackage/order/js/api.js +++ b/src/subpackage/order/js/api.js @@ -47,7 +47,6 @@ export const ORDER_API = { // 20240614 tid1523 统一退款 venueCourseOrderRefund:`${ORIGIN}/admin/venueCourse/orderRefund`, // 课程订单-退款 userValueCardRefundFixed:`${ORIGIN}/admin/userValueCard/refundFixed`, // 储值卡订单-退款 - timeOrderDetail:`${ORIGIN}/admin/assistant/timeOrder/detail`, //k-订单管理-计时订单详情 orderRefund:`${ORIGIN}/admin/stadium/order/refund`, // A订单管理-场馆预订订单-订单退款 (零售订单、场地、次卡) userMonthlyCardRefundFixed:`${ORIGIN}/admin/userMonthlyCard/refundFixed`, // 年月卡订单-订单退款 } diff --git a/src/subpackage/order/pages/order_list/order_list.vue b/src/subpackage/order/pages/order_list/order_list.vue deleted file mode 100644 index 5478a41..0000000 --- a/src/subpackage/order/pages/order_list/order_list.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/subpackage/order/pages/order_manage/order_manage.vue b/src/subpackage/order/pages/order_manage/order_manage.vue index daff7d9..1383b28 100644 --- a/src/subpackage/order/pages/order_manage/order_manage.vue +++ b/src/subpackage/order/pages/order_manage/order_manage.vue @@ -48,7 +48,7 @@ export default { util.routeTo(getTabRoutePath() + `?order_type=${ele.orderType}`,'nT'); }, isFinish(key){ - let _endKeyArr = [ 1, 2, 3, 4, 5, 7, 9, 10, 14, 16, 15, 13, 6, 8, 11, 12, 18, 19, 22, 23]; + let _endKeyArr = [ 1, 2, 4, 5, 7, 9, 10, 14, 16, 15, 13, 6, 8, 11, 12, 18, 19, 22, 23]; return _endKeyArr.includes(key); } } @@ -67,7 +67,8 @@ function getTabList(){ tabArr: [ { id: 1, name: '订场订单', key: 1, iconName: 'order_14', orderType: 3 }, { id: 2, name: '次卡订单', key: 2, iconName: 'order_2', orderType: 3 }, - { id: 3, name: '计时订单', key: 3, iconName: 'order_6', orderType: 1 }, + { id: 11, name: '散客计时订单', key: 22, iconName: 'order_22', orderType: 2 }, + { id: 12, name: '场地计时订单', key: 23, iconName: 'order_23', orderType: 1 }, { id: 4, name: '储值卡订单', key: 4, iconName: 'order_1', orderType: 21 }, { id: 10, name: '年月卡订单', key: 19, iconName: 'order_19', orderType: 20 }, { id: 5, name: '课程订单', key: 5, iconName: 'order_8', orderType: 12 }, @@ -76,8 +77,7 @@ function getTabList(){ { id: 8, name: '商城订单', key: 8, iconName: 'order_4', orderType: 2 }, { id: 9, name: '积分兑换订单', key: 9, iconName: 'order_5', orderType: 5 }, { id: 9, name: '零售订单', key: 18, iconName: 'order_18', orderType: 19 }, - { id: 11, name: '散客计时订单', key: 22, iconName: 'order_22', orderType: 2 }, - { id: 12, name: '场地计时订单', key: 23, iconName: 'order_23', orderType: 1 }, + ] } diff --git a/src/subpackage/order/pages/timing/detail.vue b/src/subpackage/order/pages/timing/detail.vue deleted file mode 100644 index da4dddd..0000000 --- a/src/subpackage/order/pages/timing/detail.vue +++ /dev/null @@ -1,379 +0,0 @@ - - - - -