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 @@