From 86a701ce885871d2468ec31eb13be5595673a01b Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期四, 28 三月 2024 10:24:13 +0800
Subject: [PATCH] Merge branch 'master' into dev/abl支持
---
web_src/src/components/PushVideoList.vue | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/web_src/src/components/PushVideoList.vue b/web_src/src/components/PushVideoList.vue
old mode 100644
new mode 100755
index 5ca7194..e69f56d
--- a/web_src/src/components/PushVideoList.vue
+++ b/web_src/src/components/PushVideoList.vue
@@ -89,6 +89,8 @@
<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>
@@ -171,7 +173,7 @@
this.getDeviceListLoading = true;
this.$axios({
method: 'get',
- url: `./api/push/list`,
+ url: `/api/push/list`,
params: {
page: that.currentPage,
count: that.count,
@@ -197,7 +199,7 @@
this.getListLoading = true;
this.$axios({
method: 'get',
- url: './api/push/getPlayUrl',
+ url: '/api/push/getPlayUrl',
params: {
app: row.app,
stream: row.stream,
@@ -223,7 +225,7 @@
let that = this;
that.$axios({
method: "post",
- url: "./api/push/stop",
+ url: "/api/push/stop",
params: {
app: row.app,
streamId: row.stream
@@ -247,7 +249,7 @@
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) {
@@ -256,6 +258,10 @@
}).catch(function (error) {
console.error(error);
});
+ },
+ queryCloudRecords: function (row) {
+
+ this.$router.push(`/cloudRecordDetail/${row.app}/${row.stream}`)
},
importChannel: function () {
this.$refs.importChannel.openDialog(() => {
@@ -274,7 +280,7 @@
let that = this;
that.$axios({
method: "delete",
- url: "./api/push/batchStop",
+ url: "/api/push/batchStop",
data: {
gbStreams: this.multipleSelection
}
--
Gitblit v1.8.0