feat(系统管理-日志管理): 移动端查看仪表板日志

This commit is contained in:
fit2cloud-chenyw 2022-08-18 17:35:15 +08:00
parent fa2aa77511
commit facdf54410
2 changed files with 14 additions and 1 deletions

View File

@ -70,4 +70,13 @@ export function starStatus(panelId) {
})
}
export function viewPanelLog(data) {
return request({
url: 'panel/group/viewLog',
method: 'post',
loading: true,
data
})
}

View File

@ -46,7 +46,7 @@
<script>
import {addRecent, getToken} from '@/common/utils'
import {linkInfo, switchLink, star, unstar, starStatus} from '@/api/panel'
import {linkInfo, switchLink, star, unstar, starStatus, viewPanelLog} from '@/api/panel'
const DETAIL_PAGE_PATH = '/pages/tabBar/home/detail'
// import htmlParser from '@/common/html-parser.js'
@ -188,6 +188,10 @@
uni.hideLoading()
}
}, 1000);
const param = {panelId: this.banner.id, mobile: true}
viewPanelLog(param).then(res => {
})
},
caclViewHeight() {