old mode 100644
new mode 100755
| | |
| | | <el-button size="medium" icon="el-icon-position" type="text" v-if="!!scope.row.gbId" |
| | | @click="removeFromGB(scope.row)">移出国标 |
| | | </el-button> |
| | | <el-button size="medium" icon="el-icon-cloudy" type="text" @click="queryCloudRecords(scope.row)">云端录像 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | this.getDeviceListLoading = true; |
| | | this.$axios({ |
| | | method: 'get', |
| | | url: `./api/push/list`, |
| | | url: `/api/push/list`, |
| | | params: { |
| | | page: that.currentPage, |
| | | count: that.count, |
| | |
| | | this.getListLoading = true; |
| | | this.$axios({ |
| | | method: 'get', |
| | | url: './api/push/getPlayUrl', |
| | | url: '/api/push/getPlayUrl', |
| | | params: { |
| | | app: row.app, |
| | | stream: row.stream, |
| | |
| | | let that = this; |
| | | that.$axios({ |
| | | method: "post", |
| | | url: "./api/push/stop", |
| | | url: "/api/push/stop", |
| | | params: { |
| | | app: row.app, |
| | | streamId: row.stream |
| | |
| | | let that = this; |
| | | that.$axios({ |
| | | method: "delete", |
| | | url: "./api/push/remove_form_gb", |
| | | url: "/api/push/remove_form_gb", |
| | | data: row |
| | | }).then((res) => { |
| | | if (res.data.code === 0) { |
| | |
| | | }).catch(function (error) { |
| | | console.error(error); |
| | | }); |
| | | }, |
| | | queryCloudRecords: function (row) { |
| | | |
| | | this.$router.push(`/cloudRecordDetail/${row.app}/${row.stream}`) |
| | | }, |
| | | importChannel: function () { |
| | | this.$refs.importChannel.openDialog(() => { |
| | |
| | | let that = this; |
| | | that.$axios({ |
| | | method: "delete", |
| | | url: "./api/push/batchStop", |
| | | url: "/api/push/batchStop", |
| | | data: { |
| | | gbStreams: this.multipleSelection |
| | | } |