|
@@ -149,9 +149,10 @@
|
|
|
this.diagList=[]
|
|
|
},
|
|
|
focuInput() {
|
|
|
- this.$refs['diagList'].style.display='none'
|
|
|
- this.$refs['indexList'].style.display='none'
|
|
|
-
|
|
|
+ if(this.$refs){
|
|
|
+ this.$refs['diagList'].style.display='none';
|
|
|
+ this.$refs['indexList'].style.display='none';
|
|
|
+ }
|
|
|
},
|
|
|
searchIndex() {
|
|
|
const param = {
|
|
@@ -219,7 +220,7 @@
|
|
|
setTimeout(() => {
|
|
|
//返回带搜索条件的首页
|
|
|
this.$router.push({
|
|
|
- path:'ChronicAndIndexRelation',
|
|
|
+ name:'ChronicAndIndexRelation',
|
|
|
params: Object.assign({}, this.$route.params, {currentPage: 1})
|
|
|
})
|
|
|
}, 1000);
|