| | |
| | | `https://web.byisf.com:18000/GetPlayUrl?deviceCode=${that.form.serialNumber}&chl=${that.form.channelNumber}` |
| | | ) |
| | | .then((result) => { |
| | | // axios({ |
| | | // method: "post", |
| | | // url: `/api/blade-jfpts/rvideo/rVoids`, |
| | | // params: { |
| | | // url: result.data.data.flv, |
| | | // }, |
| | | // }).then((resdata) => {}); |
| | | axios({ |
| | | method: "post", |
| | | url: `/api/blade-jfpts/rvideo/rVoids`, |
| | | params: { |
| | | url: result.data.data.flv, |
| | | }, |
| | | }).then((resdata) => {}); |
| | | }); |
| | | }); |
| | | if ( |
| | |
| | | .then(function () { |
| | | that.dialogTableVisible = false; |
| | | |
| | | // axios({ |
| | | // method: "post", |
| | | // url: `/api/blade-jfpts/rvideo/stop`, |
| | | // params: { |
| | | // jid: row.id, |
| | | // }, |
| | | // }).then((resdata) => {}); |
| | | axios({ |
| | | method: "post", |
| | | url: `/api/blade-jfpts/rvideo/stop`, |
| | | params: { |
| | | jid: row.id, |
| | | }, |
| | | }).then((resdata) => {}); |
| | | |
| | | that.$router.push({ |
| | | path: "/policeTracking/track", |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-17 15:21:33 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-04-10 17:33:38 |
| | | * @Last Modified time: 2021-04-12 17:28:33 |
| | | */ |
| | | <template> |
| | | <basic-container> |
| | |
| | | @click="getQBdata(3)" |
| | | >全部 |
| | | </el-button> |
| | | <span> |
| | | <Legend :datas="datalistLIU"></Legend> |
| | | </span> |
| | | </template> |
| | | |
| | | <template slot-scope="{ row }" slot="jtype"> |
| | |
| | | |
| | | import Recorder from "js-audio-recorder"; |
| | | |
| | | import Legend from '../../components/liu-legend/Legend' |
| | | |
| | | export default { |
| | | components:{ |
| | | Legend, |
| | | }, |
| | | data() { |
| | | return { |
| | | //legend-liu数据 |
| | | datalistLIU:[ |
| | | { |
| | | color: 'rgb(233, 39, 25)', |
| | | text: '未处理' |
| | | }, |
| | | { |
| | | color: 'rgb(17, 198, 253)', |
| | | text: '处理中' |
| | | }, |
| | | { |
| | | color: 'black', |
| | | text: '已处理' |
| | | } |
| | | ], |
| | | |
| | | showMap: false, |
| | | hls: "", |
| | | videoSource: "", |
| | |
| | | refreshChange() { |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | getStartTime(){ |
| | | if (this.$route.query.startTime != undefined && this.$route.query.startTime != null && this.$route.query.startTime != "" ) { |
| | | return this.$route.query.startTime |
| | | } |
| | | return ''; |
| | | }, |
| | | getEndTime(){ |
| | | if (this.$route.query.endTime != undefined && this.$route.query.endTime != null && this.$route.query.endTime != "" ) { |
| | | return this.$route.query.endTime |
| | | } |
| | | return ''; |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | const { releaseTimeRange } = this.query; |
| | | let values = { |
| | |
| | | .then(function () { |
| | | that.dialogTableVisible = false; |
| | | |
| | | // axios({ |
| | | // method: "post", |
| | | // url: `/api/blade-jfpts/rvideo/stop`, |
| | | // params: { |
| | | // jid: row.id, |
| | | // }, |
| | | // }).then((resdata) => {}); |
| | | axios({ |
| | | method: "post", |
| | | url: `/api/blade-jfpts/rvideo/stop`, |
| | | params: { |
| | | jid: row.id, |
| | | }, |
| | | }).then((resdata) => {}); |
| | | |
| | | that.onLoad(that.page, that.query); |
| | | that.$router.push({ |
| | |
| | | "Content-Type": "application/json;", |
| | | }, |
| | | }); |
| | | |
| | | var wavAxios = axios.create({ |
| | | baseURL: "https://web.byisf.com", |
| | | withCredentials: false, |
| | | }); |
| | | |
| | | var that = this; |
| | | |
| | | newCallAxios |
| | |
| | | var newbolb = new Blob([blob], { type: "audio/pcm" }); |
| | | var fileOfBlob = new File([newbolb], new Date().getTime() + ".pcm"); |
| | | formData.append("file", fileOfBlob); |
| | | |
| | | var wavBlob = that.recorder.getWAVBlob(); |
| | | |
| | | var wavformData = new FormData(); |
| | | var wavform = new File([wavBlob], new Date().getTime() + ".wav"); |
| | | wavformData.append("file", wavform); |
| | | console.log( |
| | | wavBlob, |
| | | wavform, |
| | | wavformData, |
| | | wavformData.entries(), |
| | | 132 |
| | | ); |
| | | |
| | | axios({ |
| | | method: "post", |
| | | url: "/api/blade-jfpts/xlfeedback/xlfeedback/put-objecty", |
| | | data: wavformData, |
| | | params: { |
| | | jid: that.form.id, |
| | | }, |
| | | }).then((resdata) => { |
| | | console.log(resdata); |
| | | }); |
| | | |
| | | newCallAxios |
| | | .post(`/api_control`, blob, { |
| | | params: { |