...
|
...
|
@@ -61,7 +61,7 @@ |
|
|
</el-col>
|
|
|
<el-col :span="24" class="content-wrapper">
|
|
|
<transition name="fade" mode="out-in">
|
|
|
<router-view></router-view>
|
|
|
<router-view :key="$route.path +$route.query.t"></router-view>
|
|
|
</transition>
|
|
|
</el-col>
|
|
|
</div>
|
...
|
...
|
@@ -73,12 +73,19 @@ |
|
|
<script>
|
|
|
import rt from '../routes'
|
|
|
export default {
|
|
|
|
|
|
provide() {
|
|
|
return {
|
|
|
reload: this.reload
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
sysName:'易通快速通关申报管理系统',
|
|
|
collapsed:false,
|
|
|
sysUserName: '',
|
|
|
sysUserAvatar: '',
|
|
|
isRouterAlive: true,
|
|
|
form: {
|
|
|
name: '',
|
|
|
region: '',
|
...
|
...
|
@@ -92,6 +99,16 @@ |
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
reload() {
|
|
|
this.$nextTick(function () {
|
|
|
this.$router.push({
|
|
|
path: this.$router.path,
|
|
|
query:{
|
|
|
t: new Date().getTime()
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
onSubmit() {
|
|
|
console.log('submit!');
|
|
|
},
|
...
|
...
|
@@ -102,7 +119,7 @@ |
|
|
console.log('handleclose');
|
|
|
},
|
|
|
handleselect: function (a, b) {
|
|
|
console.log('handleselect!');
|
|
|
this.reload()
|
|
|
},
|
|
|
//退出登录
|
|
|
logout: function () {
|
...
|
...
|
|