19 changed files with 455 additions and 74 deletions
@ -1,7 +1,40 @@ |
|||
const state = { |
|||
socket: null, // websocket实例
|
|||
connected: false, // 是否处于连接状态
|
|||
lockSocket: false, // 是否正在连接状态
|
|||
lockSocket: false, // 是否正在连接状态
|
|||
notificationData: [], // 系统通知消息
|
|||
ringData: [], |
|||
remindData: [], |
|||
// remindData: [{
|
|||
// "id": "62132e19370c1e05f9a6ac3c",
|
|||
// "time": "1645424153",
|
|||
// "fromDomain": "Queue",
|
|||
// "from": "tall_message_1",
|
|||
// "data": "{\"type\": \"Remind\", \"data\": {\"projectId\":\"1496414578836512768\", \"roleId\":\"1496414579394355200\", \"taskId\":\"1496414580841390080\", \"pluginId\":\"1496414581055299584\"}}",
|
|||
// "authMessage": "null"
|
|||
// }, {
|
|||
// "id": "62132e19370c1e05f9a6ac3c",
|
|||
// "time": "1645424153",
|
|||
// "fromDomain": "Queue",
|
|||
// "from": "tall_message_1",
|
|||
// "data": "{\"type\": \"Remind\", \"data\": {\"projectId\":\"1496414578836512768\", \"roleId\":\"1496414579482435584\", \"taskId\":\"1496414581852217344\", \"taskType\":0, \"pluginId\":\"1496414582036766720\"}}",
|
|||
// "authMessage": "null"
|
|||
// }, {
|
|||
// "id": "62132e19370c1e05f9a6ac3c",
|
|||
// "time": "1645424153",
|
|||
// "fromDomain": "Queue",
|
|||
// "from": "tall_message_1",
|
|||
// "data": "{\"type\": \"Remind\", \"data\": {\"projectId\":\"1496414578836512768\", \"roleId\":\"1496414579482435584\", \"taskId\":\"1496414582330368068\", \"taskType\":1, \"pluginId\":\"1496414582934347776\"}}",
|
|||
// "authMessage": "null"
|
|||
// }, {
|
|||
// "id": "62132e19370c1e05f9a6ac3c",
|
|||
// "time": "1645424153",
|
|||
// "fromDomain": "Queue",
|
|||
// "from": "tall_message_1",
|
|||
// "data": "{\"type\": \"Remind\", \"data\": {\"projectId\":\"1496414578836512768\", \"roleId\":\"1496414579482435584\", \"taskId\":\"1496414583173423178\", \"taskType\":1, \"pluginId\":\"1496414586478534656\"}}",
|
|||
// "authMessage": "null"
|
|||
// }], // 小红点
|
|||
currLocationTaskId: '', // 前需要定位到的任务id
|
|||
}; |
|||
|
|||
export default state; |
|||
|
|||
Loading…
Reference in new issue