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/basicData/customerFile.js |   84 +++++++++++------------------------------
 1 files changed, 23 insertions(+), 61 deletions(-)

diff --git a/src/api/basicData/customerFile.js b/src/api/basicData/customerFile.js
index 8685664..6602ddc 100644
--- a/src/api/basicData/customerFile.js
+++ b/src/api/basicData/customerFile.js
@@ -1,57 +1,5 @@
-// 瀹㈡埛妗f椤甸潰鎺ュ彛
 import request from '@/utils/request'
 
-// 鍒嗛〉鏌ヨ
-export function listCustomer(query) {
-    return request({
-        url: '/basic/customer/list',
-        method: 'get',
-        params: query
-    })
-}
-// 鏌ヨ瀹㈡埛妗f璇︾粏
-export function getCustomer(id) {
-    return request({
-        url: '/basic/customer/' + id,
-        method: 'get'
-    })
-}
-// 鏂板瀹㈡埛妗f
-export function addCustomer(data) {
-    return request({
-        url: '/basic/customer/addCustomer',
-        method: 'post',
-        data: data
-    })
-}
-// 淇敼瀹㈡埛妗f
-export function updateCustomer(data) {
-    return request({
-        url: '/basic/customer/updateCustomer',
-        method: 'post',
-        data: data
-    })
-}
-// 瀵煎嚭瀹㈡埛妗f
-export function exportCustomer(query) {
-    return request({
-        url: '/basic/customer/export',
-        method: 'get',
-        params: query,
-        responseType: 'blob'
-    })
-}
-// 鍒犻櫎瀹㈡埛妗f
-export function delCustomer(ids) {
-    return request({
-        url: '/basic/customer/delCustomer',
-        method: 'delete',
-        data: ids
-    })
-}
-
-
-// 鏂板瀹㈡埛璺熻繘
 export function addCustomerFollow(data) {
     return request({
         url: '/basic/customer-follow/add',
@@ -60,18 +8,32 @@
     })
 }
 
-// 淇敼瀹㈡埛璺熻繘
 export function updateCustomerFollow(data) {
-  return request({
-    url: '/basic/customer-follow/edit',
-    method: 'put',
-    data: data,
-  })
+    return request({
+        url: '/basic/customer-follow/edit',
+        method: 'put',
+        data: data,
+    })
 }
-// 鍒犻櫎瀹㈡埛璺熻繘
+
 export function delCustomerFollow(id) {
     return request({
-        url: '/basic/customer-follow/'+id,
+        url: '/basic/customer-follow/' + id,
         method: 'delete',
     })
-}
\ No newline at end of file
+}
+
+export function addReturnVisit(data) {
+    return request({
+        url: '/basic/customer-follow/return-visit',
+        method: 'post',
+        data: data
+    })
+}
+
+export function getReturnVisit(id) {
+    return request({
+        url: '/basic/customer-follow/return-visit/' + id,
+        method: 'get'
+    })
+}

--
Gitblit v1.9.3