|
@@ -21,7 +21,12 @@ export default {
|
|
|
},mounted(){
|
|
|
getNeedPost().then(res=>{
|
|
|
if(res.data.code == 200){
|
|
|
- this.reportList = res.data.data
|
|
|
+
|
|
|
+ if(res.data.data.length > 0){
|
|
|
+ this.reportList = res.data.data
|
|
|
+ }else {
|
|
|
+ this.$toast('当前没有待填写报告')
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
},
|