新功能: 加入消息中心
parent
888a3b73e8
commit
ef2025f157
|
@ -65,5 +65,5 @@ function webSocketSend (message) {
|
|||
this.socket.send(JSON.stringify(message))
|
||||
}
|
||||
export default {
|
||||
initWebSocket, close,webSocketSend
|
||||
initWebSocket, close, webSocketSend
|
||||
}
|
||||
|
|
|
@ -217,7 +217,7 @@ export default {
|
|||
gotoRoute (route) {
|
||||
this.$router.push(route)
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
@ -22,8 +22,6 @@ export function GetSelfReceive (query) {
|
|||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function GetObj (obj) {
|
||||
return request({
|
||||
url: urlPrefix + obj.id + '/',
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { AddObj, GetObj, GetList, UpdateObj, DelObj,GetSelfReceive } from './api'
|
||||
import { AddObj, GetObj, GetList, UpdateObj, DelObj, GetSelfReceive } from './api'
|
||||
import { crudOptions } from './crud'
|
||||
import { d2CrudPlus } from 'd2-crud-plus'
|
||||
export default {
|
||||
|
@ -35,7 +35,7 @@ export default {
|
|||
mixins: [d2CrudPlus.crud],
|
||||
data () {
|
||||
return {
|
||||
tabActivted:"send"
|
||||
tabActivted: 'send'
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
@ -86,7 +86,7 @@ export default {
|
|||
handleFormComponentReady (event, key, form) {
|
||||
// console.log('form component ready:', event, key, form)
|
||||
},
|
||||
onTabClick(obj){
|
||||
onTabClick (obj) {
|
||||
this.doRefresh()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue