mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 07:06:45 +08:00
返回刷新修改
This commit is contained in:
@@ -90,6 +90,9 @@ export default {
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$route' (to, from) {
|
||||
this.reload()
|
||||
},
|
||||
tableData(value) {
|
||||
if (value.length == 0) {
|
||||
this.items=[]
|
||||
@@ -118,6 +121,12 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
reload () {
|
||||
this.manageLv=this.$route.params.manageLv;
|
||||
this.manageCode=this.$route.params.manageCode
|
||||
|
||||
this.getlComPremDetil()
|
||||
},
|
||||
formatterYear(type, val) {
|
||||
if (type === 'year') {
|
||||
return val + '年'
|
||||
@@ -229,10 +238,7 @@ export default {
|
||||
// setInterval(this.getCurrentDate, 1000 * 60)
|
||||
|
||||
this.dateVal = util.getMonthLastDay()
|
||||
this.manageLv=this.$route.params.manageLv;
|
||||
this.manageCode=this.$route.params.manageCode
|
||||
|
||||
this.getlComPremDetil()
|
||||
this.reload()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user