From b1a2f47275decbfc29aa989ad111e2607aa4205d Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 21 七月 2026 10:32:11 +0800
Subject: [PATCH] 删除排班点击确认触发表单必填校验

---
 src/api/performance/class.js |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/src/api/performance/class.js b/src/api/performance/class.js
index b61e395..64501b9 100644
--- a/src/api/performance/class.js
+++ b/src/api/performance/class.js
@@ -1,4 +1,23 @@
+// 鐝鐩稿叧鎺ュ彛
+
 import request from "@/utils/request";
+
+// 缁╂晥绠$悊-鐝-缂栬緫鎵规敞鍐呭
+export function editAnnotationText(data) {
+  return request({
+    url: "/performanceShift/editAnnotationText",
+    method: "post",
+    data: data,
+  });
+}
+
+// 缁╂晥绠$悊-鐝-鍒犻櫎鎵规敞鍐呭
+export function delAnnotationText(id) {
+  return request({
+    url: "/performanceShift/delAnnotationText/"+id,
+    method: "delete",
+  });
+}
 
 // 缁╂晥绠$悊-鐝-鍒嗛〉鏌ヨ
 export function page(query) {
@@ -69,6 +88,7 @@
     url: "/performanceShift/export",
     method: "get",
     params: query,
+    responseType:'blob'
   });
 }
 
@@ -98,3 +118,12 @@
     params: query,
   });
 }
+
+// 鍒犻櫎鎺掔彮鏁版嵁
+export function delShift(data) {
+  return request({
+    url: "/performanceShift/delShift",
+    method: "delete",
+    data: data,
+  });
+}

--
Gitblit v1.9.3