diff --git a/jiuyi2/api/video.js b/jiuyi2/api/video.js index 778dda36..36a5caee 100644 --- a/jiuyi2/api/video.js +++ b/jiuyi2/api/video.js @@ -600,6 +600,20 @@ const video = { method: 'POST', }) }, + + /** + * 推流历史 + * @param {Object} param + */ + getVideoPushList(param) { + return util.request({ + url: `/video/videoPushRecord/listById`, + load: true, + query: param.query, + data: param.data, + method: 'GET', + }) + }, } export default video \ No newline at end of file diff --git a/jiuyi2/pages.json b/jiuyi2/pages.json index 34a9cb3a..cfa9e251 100644 --- a/jiuyi2/pages.json +++ b/jiuyi2/pages.json @@ -472,7 +472,8 @@ "path": "pages/index/dataCenter/pushHistory", "style": { "navigationBarTitleText": "历史推流", - "navigationBarBackgroundColor": "#fff" + "navigationBarBackgroundColor": "#fff", + "enablePullDownRefresh": true } }, { diff --git a/jiuyi2/pages/index/dataCenter/pushHistory.vue b/jiuyi2/pages/index/dataCenter/pushHistory.vue index 9679ba36..d7c8beda 100644 --- a/jiuyi2/pages/index/dataCenter/pushHistory.vue +++ b/jiuyi2/pages/index/dataCenter/pushHistory.vue @@ -1,13 +1,97 @@ diff --git a/jiuyi2/pages/index/integralLog.vue b/jiuyi2/pages/index/integralLog.vue index 742539cb..e99b9a3c 100644 --- a/jiuyi2/pages/index/integralLog.vue +++ b/jiuyi2/pages/index/integralLog.vue @@ -47,7 +47,7 @@ // 刷新列表 function refreshList() { - scrollLog.homePageSize = 1 + scrollLog.s = 1 getList() }