From 3c6bdb6f439ff7af04765259fd6a91b6d201d095 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 19 六月 2025 17:12:25 +0800 Subject: [PATCH] 工单,数据中心用户查看数据的权限,合同考核每日,以及导出每日和按月 --- src/api/platform/check-template.js | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/api/platform/check-template.js b/src/api/platform/check-template.js index c937b15..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({ @@ -43,10 +58,10 @@ }) } -// 鑾峰彇杩愮淮鍗曚綅涓嬫媺鍒楄〃 +// 鑾峰彇涓嬫媺鍒楄〃 export function templateSelect() { return request({ - url: '/check/template/list', + url: '/check/template/pullList', method: 'get' }) } -- Gitblit v1.8.0