From b186f5b20c4f83773f51786da0cd3e85130540c2 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 22 五月 2026 16:32:01 +0800
Subject: [PATCH] feat(审批模板): 增强审批流程编辑器功能,新增只读模式——为 TemplateFlowEditor 添加了只读属性,以在流程不可编辑时防止进行修改。——更新审批模板表单部分,使其能够根据 flowEditable 状态条件性地显示可编辑选项。——优化了用户反馈机制,通过动态消息显示审批流程是否可进行修改。

---
 src/api/personnelManagement/class.js |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/src/api/personnelManagement/class.js b/src/api/personnelManagement/class.js
index cdba456..b254c4a 100644
--- a/src/api/personnelManagement/class.js
+++ b/src/api/personnelManagement/class.js
@@ -5,7 +5,7 @@
 // 缁╂晥绠$悊-鐝-鍒嗛〉鏌ヨ
 export function page(query) {
   return request({
-    url: "/performanceShift/page",
+    url: "/personalShift/page",
     method: "get",
     params: query,
   });
@@ -14,7 +14,7 @@
 // 缁╂晥绠$悊-鐝-骞翠唤鍒嗛〉鏌ヨ
 export function pageYear(query) {
   return request({
-    url: "/performanceShift/pageYear",
+    url: "/personalShift/pageYear",
     method: "get",
     params: query,
   });
@@ -23,7 +23,7 @@
 // 缁╂晥绠$悊-鐝-鎺掔彮
 export function add(data) {
   return request({
-    url: "/performanceShift/add",
+    url: "/personalShift/add",
     method: "post",
     data: data,
   });
@@ -68,9 +68,10 @@
 // 缁╂晥绠$悊-鐝-瀵煎嚭
 export function exportFile(query) {
   return request({
-    url: "/performanceShift/export",
+    url: "/personalShift/export",
     method: "get",
     params: query,
+    responseType: "blob",
   });
 }
 
@@ -86,7 +87,7 @@
 // 缁╂晥绠$悊-鐝-鐝鐘舵�佷慨鏀�
 export function update(data) {
   return request({
-    url: "/performanceShift/update",
+    url: "/personalShift/update",
     method: "post",
     data: data,
   });
@@ -105,4 +106,13 @@
     url: '/system/user/userListNoPage',
     method: 'get'
   })
-}
\ No newline at end of file
+}
+
+// 鏌ヨ鍦ㄨ亴鍛樺伐鍙拌处
+export function staffOnJobListPage(query) {
+    return request({
+        url: '/staff/staffOnJob/listPage',
+        method: 'get',
+        params: query,
+    })
+}

--
Gitblit v1.9.3