From 725f07f7b46edef47c656bad40d1b92c30a0570c Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期四, 11 四月 2024 10:45:15 +0800
Subject: [PATCH] 工单报备文件

---
 src/api/platform/check-template.js |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/api/platform/check-template.js b/src/api/platform/check-template.js
index c4da329..620fd8f 100644
--- a/src/api/platform/check-template.js
+++ b/src/api/platform/check-template.js
@@ -3,8 +3,8 @@
 // 鏌ヨ鑰冩牳妯℃澘鍒楄〃
 export function listCheckTemplate(query) {
   return request({
-    url: '/check-template/page',
-    method: 'post',
+    url: '/check/template/list',
+    method: 'get',
     data: query
   })
 }
@@ -12,7 +12,7 @@
 // 鏌ヨ鑰冩牳妯℃澘璇︾粏
 export function getCheckTemplate(id) {
   return request({
-    url: '/check-template/' + id,
+    url: '/check/template/' + id,
     method: 'get'
   })
 }
@@ -20,7 +20,7 @@
 // 鏂板鑰冩牳妯℃澘
 export function addCheckTemplate(data) {
   return request({
-    url: '/check-template',
+    url: '/check/template',
     method: 'post',
     data: data
   })
@@ -29,7 +29,7 @@
 // 淇敼鑰冩牳妯℃澘
 export function updateCheckTemplate(data) {
   return request({
-    url: '/check-template',
+    url: '/check/template',
     method: 'put',
     data: data
   })
@@ -38,15 +38,15 @@
 // 鍒犻櫎鑰冩牳妯℃澘
 export function delCheckTemplate(id) {
   return request({
-    url: '/check-template/' + id,
+    url: '/check/template/' + id,
     method: 'delete'
   })
 }
 
-// 鑾峰彇杩愮淮鍗曚綅涓嬫媺鍒楄〃
+// 鑾峰彇涓嬫媺鍒楄〃
 export function templateSelect() {
   return request({
-    url: '/check-template/list',
+    url: '/check/template/pullList',
     method: 'get'
   })
 }

--
Gitblit v1.8.0