From ca3497f9f0f6ceae5cb32779fe41084e649a8eec Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 10 四月 2024 11:37:21 +0800 Subject: [PATCH] 产品登记 --- src/api/productManage/productRegisterForm.js | 66 +++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) diff --git a/src/api/productManage/productRegisterForm.js b/src/api/productManage/productRegisterForm.js new file mode 100644 index 0000000..95b4d92 --- /dev/null +++ b/src/api/productManage/productRegisterForm.js @@ -0,0 +1,66 @@ +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+"&keyword="+data.keyword, + method: "get", + data + }) +} + +//淇濆瓨绾ゅ害鐧昏 +export function saveRegister(data) { + return request({ + 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 + }) +} +// 鍒犻櫎绾ゅ害鐧昏鍒楄〃 +export function getDeleteRegister(data) { + 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: "get", + data + }) +} +// 鏇存柊璺熻繘璁板綍 +export function getUpdateFollowRecord(data) { + return request({ + url: "/api/followRecord/update", + method: "put", + data + }) +} + +// 鑱旂郴鏂瑰紡鍒楄〃 +export function getContactInfoList() { + return request({ + url: "/api/contactInformation/list", + method: "get" + }) +} -- Gitblit v1.8.0