|
@@ -128,7 +128,6 @@ export default {
|
128
|
128
|
})
|
129
|
129
|
},
|
130
|
130
|
beforeRouteLeave (to, from, next) {
|
131
|
|
- console.log('离开案场')
|
132
|
131
|
this.wsID = ''
|
133
|
132
|
this.ws.close()
|
134
|
133
|
this.updateList([])
|
|
@@ -169,12 +168,11 @@ export default {
|
169
|
168
|
if (!this.businessStatus) {
|
170
|
169
|
this.ws.close()
|
171
|
170
|
}
|
172
|
|
-
|
173
|
171
|
if (this.businessStatus && (this.wsID !== this.CaseId) && this.CaseId) {
|
174
|
172
|
this.ws.close()
|
175
|
173
|
this.initWebSocket()
|
|
174
|
+ this.wsID = this.CaseId
|
176
|
175
|
}
|
177
|
|
- this.wsID = this.CaseId
|
178
|
176
|
},
|
179
|
177
|
refreshList () {
|
180
|
178
|
this.interval = setInterval(() => {
|