From df530abb90e478e0587860f57c09d6aa1077218f Mon Sep 17 00:00:00 2001 From: zwq Date: Mon, 18 Nov 2024 10:44:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/groupSchedulingRule.js | 8 +- .../deliveryLog/components/addOrUpdate.vue | 18 +- .../base/inspection/Confirm/add-or-updata.vue | 11 +- .../base/inspection/Confirm/index.vue | 199 +++++++++--------- .../Confirm/WaitingListUnplanned--edit.vue | 8 +- .../equipment/base/maintain/Confirm/index.vue | 23 +- .../group/base/schedulingRuleConfig/index.vue | 8 +- .../orderManage/components/orderSplit.vue | 4 +- 8 files changed, 145 insertions(+), 134 deletions(-) diff --git a/src/api/base/groupSchedulingRule.js b/src/api/base/groupSchedulingRule.js index d93d02fc..9beec6cf 100644 --- a/src/api/base/groupSchedulingRule.js +++ b/src/api/base/groupSchedulingRule.js @@ -8,7 +8,13 @@ export function createGroupRule(data) { data: data }) } - +// 作废排班规则 +export function disableGroupRule(id) { + return request({ + url: '/base/group-scheduling-rule/disable?id=' + id, + method: 'post', + }) +} // 更新排班规则基础信息 export function updateGroupRule(data) { return request({ diff --git a/src/views/delivery/deliveryLog/components/addOrUpdate.vue b/src/views/delivery/deliveryLog/components/addOrUpdate.vue index 15c43943..1026062f 100644 --- a/src/views/delivery/deliveryLog/components/addOrUpdate.vue +++ b/src/views/delivery/deliveryLog/components/addOrUpdate.vue @@ -38,15 +38,8 @@ - - - - - + + @@ -75,7 +68,6 @@