修改已知问题
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
<script>
|
||||
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||
import { mapGetters } from 'vuex'
|
||||
import store from '@/store/'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
@@ -94,7 +95,7 @@
|
||||
title: this.$t('cutoffTime'),
|
||||
dataIndex: 'taskAffirmDueDate',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
@@ -109,6 +110,23 @@
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
created() {
|
||||
if (store.getters.userInfo) {
|
||||
this.$socketPublic.dispatch('webSocketInit')//初始化ws
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$socketPublic.state.msg': {
|
||||
//处理接收到的消息
|
||||
handler: function(res) {
|
||||
let that = this
|
||||
let data = JSON.parse(res.data)
|
||||
if (data.msgId) {
|
||||
this.queryProcess()
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
onSelectChange() {
|
||||
|
||||
Reference in New Issue
Block a user