From a6842851a844e63a8766d63c5410a8e2f27a7d45 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 20 八月 2024 11:56:30 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/api/platform/check-template.js | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/api/platform/check-template.js b/src/api/platform/check-template.js index 620fd8f..e8f4fdb 100644 --- a/src/api/platform/check-template.js +++ b/src/api/platform/check-template.js @@ -5,7 +5,7 @@ return request({ url: '/check/template/list', method: 'get', - data: query + params: query }) } @@ -26,6 +26,14 @@ }) } +// 澶嶅埗鑰冩牳妯℃澘 +export function copyCheckTemplate(data) { + return request({ + url: '/check/template/copy', + method: 'post', + data: data + }) +} // 淇敼鑰冩牳妯℃澘 export function updateCheckTemplate(data) { return request({ @@ -34,7 +42,14 @@ data: data }) } - +// 淇敼鑰冩牳妯℃澘鏉冮噸 +export function updateWeight(data) { + return request({ + url: '/check/template/weight', + method: 'put', + data: data + }) +} // 鍒犻櫎鑰冩牳妯℃澘 export function delCheckTemplate(id) { return request({ -- Gitblit v1.8.0