648540858
2024-04-30 fa8ff09b426ac3fab3e3e715ffff15e60c20779c
web_src/src/components/PushVideoList.vue
old mode 100644 new mode 100755
@@ -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
          }