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