648540858
2023-09-11 a6fb1cdb74ca11c9dba798e64bf3d61bbfbdf05b
web_src/src/components/CloudRecord.vue
old mode 100644 new mode 100755
@@ -47,19 +47,17 @@
        :total="total">
      </el-pagination>
    </div>
    <cloud-record-detail ref="cloudRecordDetail" v-if="recordDetail" :recordFile="chooseRecord" :mediaServerId="mediaServerId" :mediaServerPath="mediaServerPath" ></cloud-record-detail>
  </div>
</template>
<script>
   import uiHeader from '../layout/UiHeader.vue'
   import cloudRecordDetail from './CloudRecordDetail.vue'
  import MediaServer from './service/MediaServer'
   export default {
      name: 'app',
      components: {
         uiHeader, cloudRecordDetail
      uiHeader
      },
      data() {
         return {
@@ -133,7 +131,7 @@
        let that = this;
        this.$axios({
          method: 'get',
          url:`./record_proxy/${that.mediaServerId}/api/record/list`,
          url:`/record_proxy/${that.mediaServerId}/api/record/list`,
          params: {
            page: that.currentPage,
            count: that.count
@@ -178,14 +176,14 @@
        // }).catch(function (error) {
        //   console.log(error);
        // });
        this.$router.push(`/cloudRecordDetail/${row.app}/${row.stream}`)
      },
      deleteRecord(){
           // TODO
        let that = this;
        this.$axios({
          method: 'delete',
          url:`./record_proxy/api/record/delete`,
          url:`/record_proxy/api/record/delete`,
          params: {
            page: that.currentPage,
            count: that.count