| | |
| | | props: ['recordFile', 'mediaServerId', 'dateFiles', 'mediaServerPath'], |
| | | data() { |
| | | return { |
| | | basePath: `${this.mediaServerPath}/record`, |
| | | basePath: `${this.mediaServerPath}`, |
| | | dateFilesObj: [], |
| | | detailFiles: [], |
| | | chooseDate: null, |
| | |
| | | let that = this; |
| | | that.$axios({ |
| | | method: 'get', |
| | | url:`/record_proxy/${that.mediaServerId}/api/record/file/list`, |
| | | url:`./record_proxy/${that.mediaServerId}/api/record/file/list`, |
| | | params: { |
| | | app: that.recordFile.app, |
| | | stream: that.recordFile.stream, |
| | |
| | | let that = this; |
| | | this.$axios({ |
| | | method: 'delete', |
| | | url:`/record_proxy/${that.mediaServerId}/api/record/delete`, |
| | | url:`./record_proxy/${that.mediaServerId}/api/record/delete`, |
| | | params: { |
| | | page: that.currentPage, |
| | | count: that.count |
| | |
| | | that.dateFilesObj = {}; |
| | | this.$axios({ |
| | | method: 'get', |
| | | url:`/record_proxy/${that.mediaServerId}/api/record/date/list`, |
| | | url:`./record_proxy/${that.mediaServerId}/api/record/date/list`, |
| | | params: { |
| | | app: that.recordFile.app, |
| | | stream: that.recordFile.stream |
| | |
| | | let that = this; |
| | | this.$axios({ |
| | | method: 'get', |
| | | url:`/record_proxy/${that.mediaServerId}/api/record/file/download/task/add`, |
| | | url:`./record_proxy/${that.mediaServerId}/api/record/file/download/task/add`, |
| | | params: { |
| | | app: that.recordFile.app, |
| | | stream: that.recordFile.stream, |
| | |
| | | let that = this; |
| | | this.$axios({ |
| | | method: 'get', |
| | | url:`/record_proxy/${that.mediaServerId}/api/record/file/download/task/list`, |
| | | url:`./record_proxy/${that.mediaServerId}/api/record/file/download/task/list`, |
| | | params: { |
| | | isEnd: isEnd, |
| | | } |