|
@@ -646,13 +646,13 @@ export default {
|
|
},
|
|
},
|
|
getMenuEventType() {
|
|
getMenuEventType() {
|
|
let that = this
|
|
let that = this
|
|
- getMenuEventType().then(res => {
|
|
|
|
|
|
+ // getMenuEventType().then(res => {
|
|
that.websockSid.userId = Cookies.get('userId')
|
|
that.websockSid.userId = Cookies.get('userId')
|
|
- that.websockSid.eventTypeDl = res.data.eventTypeDl
|
|
|
|
- that.websockSid.eventType = res.data.eventType
|
|
|
|
|
|
+ that.websockSid.eventTypeDl = Cookies.get("eventDlType").split(',')
|
|
|
|
+ that.websockSid.eventType = Cookies.get("eventXlType").split(',')
|
|
that.initWebSocket(that.websockSid.userId, that.websockSid.eventTypeDl, that.websockSid.eventType)
|
|
that.initWebSocket(that.websockSid.userId, that.websockSid.eventTypeDl, that.websockSid.eventType)
|
|
console.log(that.websockSid)
|
|
console.log(that.websockSid)
|
|
- })
|
|
|
|
|
|
+ // })
|
|
},
|
|
},
|
|
// searchEvent(pageSize,pageNum,eventSearch) {
|
|
// searchEvent(pageSize,pageNum,eventSearch) {
|
|
// this.pageSize = pageSize;
|
|
// this.pageSize = pageSize;
|