From caeb71b06d19a8ffd854c19e5e4b58f7180cdce8 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 29 四月 2024 18:55:14 +0800 Subject: [PATCH] 纤度检验表的保存接口参数修改 --- src/api/productManage/silkRegisterForm.js | 42 +++++++++++++++++++++++++++++++++++++----- 1 files changed, 37 insertions(+), 5 deletions(-) diff --git a/src/api/productManage/silkRegisterForm.js b/src/api/productManage/silkRegisterForm.js index 7fc71f4..093d698 100644 --- a/src/api/productManage/silkRegisterForm.js +++ b/src/api/productManage/silkRegisterForm.js @@ -1,18 +1,26 @@ import request from "@/common/untils/request.js" - // 绾ゅ害鐧昏鍒楄〃 export function getRegisterList(data) { return request({ - url: "/api-jl/v1/fineness/register?page="+ data.page+"&pageSize="+data.pageSize, + url: "/api-jl/v1/fineness/register?page="+ data.page+"&pageSize="+data.pageSize+"&keyword="+data.keyword, method: "get", data }) } -// 娣诲姞璺熻繘璁板綍 -export function getAddFollowRecord(data) { + +//淇濆瓨绾ゅ害鐧昏 +export function saveRegister(data) { return request({ - url: "/api/followRecord/add", + url: "/api-jl/v1/fineness/register", method: "post", + data + }) +} +// 绾ゅ害鐧昏琛ㄧ殑璇︽儏 +export function getRegisterDetails(data) { + return request({ + url: "/api-jl/v1/fineness/register/"+data.id, + method: "get", data }) } @@ -21,6 +29,22 @@ return request({ url: "/api-jl/v1/fineness/register/"+data.id, method: "delete", + data + }) +} +// 绾ゅ害鐧昏 select鏁版嵁 +export function getDictList(data) { + return request({ + url: "/api-jl/v1/system/dict?dictType="+data.dictType, + method: "get", + data + }) +} +// 绾ゅ害鐧昏琛� 缁勫埆鐨勬暟鎹� +export function getWorkshopManageList(data) { + return request({ + url: "/api-jl/v1/system/getWorkshopManageList", + method: "post", data }) } @@ -40,3 +64,11 @@ method: "get" }) } +// 绾ゅ害鐧昏琛� 鏍规嵁杞﹁締 +export function getCarNumber(data) { + return request({ + url: "/api-jl/v1/system/getCarNumber", + method: "post", + data + }) +} \ No newline at end of file -- Gitblit v1.8.0