From 5cc7ee2ac85f93e9e9df4b268d4fb8bd532bb080 Mon Sep 17 00:00:00 2001 From: hailin <1356886193@qq.com> Date: 星期二, 18 七月 2023 11:10:01 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/yuanchu_code/lims-front-end --- src/api/standardLibrary.js | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/src/api/standardLibrary.js b/src/api/standardLibrary.js index 0072507..0c7344e 100644 --- a/src/api/standardLibrary.js +++ b/src/api/standardLibrary.js @@ -8,10 +8,44 @@ }) } -// 娣诲姞鏍囧噯 +// 娣诲姞绫诲瀷 export function addStandards() { return request({ url: '/standards/add', method: 'get' }) } + +// 鏍规嵁鏍囧噯鏌ヨ鎵�鏈夊瀷鍙� 鍙傛暟IdOrNameOfSerialNumber锛� standardsId +export function getSerialNumberList(params) { + return request({ + url: '/serial-number/list', + method: 'get', + params + }) +} + +// 娣诲姞鍨嬪彿 +export function addSerialNumber() { + return request({ + url: '/serial-number/add', + method: 'get' + }) +} + +// 鏍规嵁鍨嬪彿鏌ヨ鎵�鏈変骇鍝佽鏍� 鍙傛暟serialNumberId锛� specificationsName +export function getSpecificationsList(params) { + return request({ + url: '/specifications/list', + method: 'get', + params + }) +} + +// 娣诲姞浜у搧瑙勬牸 +export function addSpecifications() { + return request({ + url: '/specifications/add', + method: 'get' + }) +} -- Gitblit v1.9.3