|
|
@@ -122,7 +122,7 @@ import BreadcrumbBack from '@/components/BreadcrumbBack.vue';
|
|
|
import {
|
|
|
queryViewSender,
|
|
|
deleteWorkPlanDept,
|
|
|
- cancelWorkPlan,
|
|
|
+ newCancelWorkPlan,
|
|
|
queryWorkPlanDetail,
|
|
|
type SaveWorkPlanRequest,
|
|
|
} from '@/api/safety-system-construction-work-plan';
|
|
|
@@ -287,7 +287,7 @@ import BreadcrumbBack from '@/components/BreadcrumbBack.vue';
|
|
|
// 作废
|
|
|
const handleViewInvalid = async (id: number) => {
|
|
|
try {
|
|
|
- await cancelWorkPlan(id);
|
|
|
+ await newCancelWorkPlan(id);
|
|
|
ElMessage.success('作废成功');
|
|
|
getTableData();
|
|
|
} catch (e) {
|