From 749768b9d076d02fb151ad94fff6a7ce45dff55d Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期四, 05 十二月 2024 11:30:31 +0800 Subject: [PATCH] 修改UI定义表单传值 --- Source/plt-web/plt-web-ui/src/api/base/actions.js | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/api/base/actions.js b/Source/plt-web/plt-web-ui/src/api/base/actions.js index 9f4c25c..2e9931f 100644 --- a/Source/plt-web/plt-web-ui/src/api/base/actions.js +++ b/Source/plt-web/plt-web-ui/src/api/base/actions.js @@ -32,3 +32,28 @@ data }) } + +// 閾炬帴绫诲瀷鏂板 +export const linkAddSave = (data,url,method) => { + return request({ + url: url || "/api/uiDataController/linkAddSave", + method: method || 'post', + data + }) +} +// 閾炬帴绫诲瀷淇敼 +export const linkEditSave = (data,url,method) => { + return request({ + url: url || '/api/uiDataController/linkEditSave', + method: method || 'put', + data + }) +} +// 閾炬帴绫诲瀷鍒犻櫎 +export const linkDeleteData = (data,url,method) => { + return request({ + url:url || '/api/uiDataController/linkDeleteData', + method: method || 'delete', + data + }) +} -- Gitblit v1.9.3