|
@@ -706,3 +706,44 @@ export function getRestStockByManyCabinet(query) {
|
|
|
params: query
|
|
|
})
|
|
|
}
|
|
|
+/*******************************柜锁配置********************************/
|
|
|
+
|
|
|
+// 柜锁配置-列表
|
|
|
+export function laboratoryLockGatewayList(query) {
|
|
|
+ return request({
|
|
|
+ url: '/laboratory/lockGateway/list',
|
|
|
+ method: 'get',
|
|
|
+ params: query
|
|
|
+ })
|
|
|
+}
|
|
|
+// 柜锁配置-详情
|
|
|
+export function laboratoryLockGatewayId(id) {
|
|
|
+ return request({
|
|
|
+ url: '/laboratory/lockGateway/'+id,
|
|
|
+ method: 'get',
|
|
|
+ })
|
|
|
+}
|
|
|
+// 柜锁配置-新增
|
|
|
+export function laboratoryLockGatewayAdd(data) {
|
|
|
+ return request({
|
|
|
+ url: '/laboratory/lockGateway',
|
|
|
+ method: 'post',
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+}
|
|
|
+//柜锁配置-修改
|
|
|
+export function laboratoryLockGatewayPut(data) {
|
|
|
+ return request({
|
|
|
+ url: '/laboratory/lockGateway',
|
|
|
+ method: 'put',
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+}
|
|
|
+//柜锁配置-删除
|
|
|
+export function laboratoryLockGatewayDelGateway(data) {
|
|
|
+ return request({
|
|
|
+ url: '/laboratory/lockGateway/delGateway',
|
|
|
+ method: 'put',
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+}
|