8.10提交代码 糖组检测

This commit is contained in:
zoujiandong
2023-08-10 16:17:27 +08:00
parent 34e177d957
commit 833def112c
33 changed files with 688 additions and 190 deletions
+10
View File
@@ -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
+10
View File
@@ -798,6 +798,16 @@ class API extends HTTP {
}
})
}
//药品清单
getMedinceList(params) {
return this.request({
url: `${this.baseUrl}/basic/product`,
method: 'GET',
data: {
...params
}
})
}
}
export { API }