From 02aa50f23d4858798a951bef1cfe2bc23031a4b1 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 26 四月 2024 16:11:46 +0800 Subject: [PATCH] 合同导入新增金额规则 --- src/api/platform/check-template.js | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/api/platform/check-template.js b/src/api/platform/check-template.js index c937b15..95daedf 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({ @@ -43,10 +51,10 @@ }) } -// 鑾峰彇杩愮淮鍗曚綅涓嬫媺鍒楄〃 +// 鑾峰彇涓嬫媺鍒楄〃 export function templateSelect() { return request({ - url: '/check/template/list', + url: '/check/template/pullList', method: 'get' }) } -- Gitblit v1.8.0