设备维修

This commit is contained in:
2022-07-01 09:54:17 +08:00
parent a59f5168fb
commit 91f376cb59
10 changed files with 169 additions and 103 deletions

View File

@@ -7,6 +7,7 @@
label="设备"
v-model="val1"
@handleChange="handleChange1"
:seaShow="false"
></search-box>
</div>
<div class="grid-wraper">
@@ -66,6 +67,15 @@ export default {
disabled2: false
}
},
beforeRouteLeave (to, from, next) {
if (to.path === '/home' || to.path === '/login') {
this.$store.dispatch('setKeepAlive', [])
}
next()
},
activated () {
this._queryMaintenance(this.val1)
},
methods: {
handleChange1 (e, type) {
if (type) {