8.10提交代码 糖组检测
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
function debounce(fn, delay){
|
||||
let timer = null;
|
||||
return function(){
|
||||
clearTimeout(timer);
|
||||
timer = setTimeout(()=> {
|
||||
fn.apply(this, arguments);
|
||||
}, delay)
|
||||
}
|
||||
}
|
||||
export default debounce
|
||||
@@ -798,6 +798,16 @@ class API extends HTTP {
|
||||
}
|
||||
})
|
||||
}
|
||||
//药品清单
|
||||
getMedinceList(params) {
|
||||
return this.request({
|
||||
url: `${this.baseUrl}/basic/product`,
|
||||
method: 'GET',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export { API }
|
||||
|
||||
Reference in New Issue
Block a user