|
@@ -317,11 +317,17 @@
|
|
showDiagList: false,
|
|
showDiagList: false,
|
|
searchIndex: -1,
|
|
searchIndex: -1,
|
|
searchFiled: '',
|
|
searchFiled: '',
|
|
- searchResultList: []
|
|
|
|
|
|
+ searchResultList: [],
|
|
|
|
+ loading: undefined
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created(){
|
|
created(){
|
|
- console.time('aaaaaaa')
|
|
|
|
|
|
+ this.loading = this.$loading({
|
|
|
|
+ lock: true,
|
|
|
|
+ text: 'Loading',
|
|
|
|
+ spinner: 'el-icon-loading',
|
|
|
|
+ background: 'rgba(0, 0, 0, 0.7)'
|
|
|
|
+ });
|
|
const userLoginDTO = JSON.parse(localStorage.getItem('userLoginDTO'))
|
|
const userLoginDTO = JSON.parse(localStorage.getItem('userLoginDTO'))
|
|
this.modifier = userLoginDTO && userLoginDTO.linkman
|
|
this.modifier = userLoginDTO && userLoginDTO.linkman
|
|
this.getDropList()
|
|
this.getDropList()
|
|
@@ -354,8 +360,7 @@
|
|
}else {
|
|
}else {
|
|
this.$refs.textarea&&this.$refs.textarea.resizeTextarea()
|
|
this.$refs.textarea&&this.$refs.textarea.resizeTextarea()
|
|
}
|
|
}
|
|
-
|
|
|
|
- console.timeEnd('aaaaaaa')
|
|
|
|
|
|
+ this.loading.close()
|
|
})
|
|
})
|
|
|
|
|
|
},
|
|
},
|