祁鹏飞 преди 3 месеца
родител
ревизия
2cd5d75334
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/api/modules/dispatch.ts

+ 2 - 0
src/api/modules/dispatch.ts

@@ -25,6 +25,8 @@ const dispatchApi = (axiosInstance: ApiInstance) => ({
   getAgreementDispatch: (data: any) => axiosInstance.post(`ptlAgreementDispatch/getAgreementDispatch`,data),
   //删除调度规则
   deleteAgreementDispatch: (data: any) => axiosInstance.get(`ptlAgreementDispatch/deleteAgreementDispatch?dispatchId=${data}`),
+  //删除调度动作
+  deleteAfterActionById: (id: any) => axiosInstance.delete(`ptlAgreementDispatch/deleteAfterActionById/${id}`),
   //修改调度规则
   updateAgreementDispatch: (data: any) => axiosInstance.post(`ptlAgreementDispatch/updateAgreementDispatch`,data),
   //修改规则名称