| | |
| | | <!-- <button type="default" class="buts">点击进入</button> --> |
| | | </u-popup> |
| | | <!-- <u-button @click="">打开</u-button> |
| | | <u-button @click="ccc">打开</u-button> --> |
| | | <!--<u-button @click="aaa(0)">播放</u-button> |
| | | <u-button @click="bbb(0)">暂停</u-button> |
| | | <u-button @click="ccc">打开</u-button> |
| | | <u-button @click="aaa(1)">播放</u-button> |
| | | <u-button @click="ddd(1)">结束</u-button> --> |
| | | <!--<u-button @click="bbb(0)">暂停</u-button> |
| | | <u-button @click="ddd(0)">结束</u-button> |
| | | <u-button @click="eee(0)">销毁</u-button> |
| | | <u-button @click="aaa(1)">播放1</u-button> |
| | |
| | | computed: { |
| | | firstlogin() { |
| | | return this.$store.state.firstlogin; |
| | | }, |
| | | changeTaksState() { |
| | | return this.$store.state.changeTaksState; |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | }, |
| | | immediate: true |
| | | }, |
| | | changeTaksState() { |
| | | // 加载服务按钮数据 |
| | | this.getNum(); |
| | | }, |
| | | showOnceLogin() { |
| | | if (!this.showOnceLogin) { |
| | | console.log("窗口已关闭") |
| | |
| | | state.gotuGrabOrders = !state.gotuGrabOrders; |
| | | }, |
| | | controlAudio(state, data) { |
| | | // console.log(data,"开始的语音") |
| | | state.Audio[data.method](data.key); |
| | | }, |
| | | ...websocket.mutations, |
| | |
| | | }; |
| | | } else if (type == "taks") { |
| | | // 角色辖区 |
| | | // $store.state.Jurisdiction; |
| | | $store.commit("changeTaksMsg"); //任务状态更新 |
| | | //语音提醒 |
| | | $store.commit("controlAudio", { |
| | | key: 'keke', |
| | | method: '$pause' |
| | | }) |
| | | if (state.UserData.jurisdiction == value.xqid) { |
| | | console.log("开始推送") |
| | | // $store.state.Jurisdiction; |
| | | $store.commit("changeTaksMsg"); //任务状态更新 |
| | | //语音提醒 |
| | | // console.log($store) |
| | | $store.commit("controlAudio", { |
| | | key: 'keke', |
| | | method: '$play' |
| | | }) |
| | | // "1415621013200236545" |
| | | } |
| | | } |
| | | }, |
| | | //本地建造数据传递 |