|
@@ -16,8 +16,14 @@ $(function(){
|
|
|
getList(paramType)//获取条目列表
|
|
|
|
|
|
})
|
|
|
-const filterBoxWidth = $('.filterBox').width()
|
|
|
-$('.patientNumInp').css('width', filterBoxWidth-83-15 +'px')
|
|
|
+function setInpWidth(){
|
|
|
+ const winWidth = $(window).width()
|
|
|
+ $('.patientNumInp').css('width', winWidth-152-15 +'px')
|
|
|
+}
|
|
|
+setInpWidth()
|
|
|
+$(window).resize(function(){
|
|
|
+ setInpWidth()
|
|
|
+})
|
|
|
function getList(type){
|
|
|
if(!type){
|
|
|
post(api.getEntryByHospital,{}).then(res =>{
|