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