|
@@ -124,7 +124,7 @@
|
|
|
api.queryIndexConfigDiseaseNames(param).then((res)=>{
|
|
|
if(res.data.code === '0') {
|
|
|
this.diagList = res.data.data
|
|
|
- this.$refs['diagList'].style.display='block'
|
|
|
+ if(this.diagList.length>0) {this.$refs['diagList'].style.display = 'block'}
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -150,14 +150,14 @@
|
|
|
if(res.data.code === '0') {
|
|
|
console.log('res.data.data', res.data.data)
|
|
|
// this.indexList = res.data.data
|
|
|
- this.indexList =[
|
|
|
- {conceptName : '空腹血糖'},
|
|
|
- {conceptName : '餐后2小时血糖'},
|
|
|
- {conceptName : '随机血糖'},
|
|
|
- {conceptName : '糖化血红蛋白'},
|
|
|
- {conceptName : '血常规'},
|
|
|
- ]
|
|
|
- this.$refs['indexList'].style.display='block'
|
|
|
+ this.indexList =[
|
|
|
+ {conceptName : '空腹血糖'},
|
|
|
+ {conceptName : '餐后2小时血糖'},
|
|
|
+ {conceptName : '随机血糖'},
|
|
|
+ {conceptName : '糖化血红蛋白'},
|
|
|
+ {conceptName : '血常规'},
|
|
|
+ ]
|
|
|
+ if(this.indexList.length > 0){this.$refs['indexList'].style.display='block'}
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -270,8 +270,7 @@
|
|
|
display: none;
|
|
|
background: #fff;
|
|
|
width: 162px;
|
|
|
- height: 80px;
|
|
|
- // max-height: 80px;
|
|
|
+ max-height: 80px;
|
|
|
border: 1px solid gray;
|
|
|
left: 110px;
|
|
|
top: 35px;
|