diff --git a/src/views/ebiz/institutionalPerform/InstitutionalManpower/index.vue b/src/views/ebiz/institutionalPerform/InstitutionalManpower/index.vue index 8d97a9212..8c00cfa2b 100644 --- a/src/views/ebiz/institutionalPerform/InstitutionalManpower/index.vue +++ b/src/views/ebiz/institutionalPerform/InstitutionalManpower/index.vue @@ -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() } }