refactor(仪表板): 优化仪表板预览加载提示 #5141

This commit is contained in:
Wangjiahao 2023-05-06 09:42:20 +08:00
parent 7359568d75
commit 664c4a067f
5 changed files with 7 additions and 5 deletions

View File

@ -29,6 +29,6 @@ export function starStatus(panelId) {
return request({ return request({
url: '/api/store/status/' + panelId, url: '/api/store/status/' + panelId,
method: 'post', method: 'post',
loading: true loading: false
}) })
} }

View File

@ -33,6 +33,7 @@ export function queryTargetPanelJumpInfo(requestInfo) {
export function queryPanelJumpInfo(panelId) { export function queryPanelJumpInfo(panelId) {
return request({ return request({
url: '/linkJump/queryPanelJumpInfo/' + panelId, url: '/linkJump/queryPanelJumpInfo/' + panelId,
method: 'get' method: 'get',
loading: false
}) })
} }

View File

@ -21,6 +21,7 @@ export function saveLinkage(requestInfo) {
export function getPanelAllLinkageInfo(panelId) { export function getPanelAllLinkageInfo(panelId) {
return request({ return request({
url: '/linkage/getPanelAllLinkageInfo/' + panelId, url: '/linkage/getPanelAllLinkageInfo/' + panelId,
method: 'get' method: 'get',
loading: false
}) })
} }

View File

@ -97,7 +97,7 @@ export function viewPanelLog(data) {
return request({ return request({
url: 'panel/group/viewLog', url: 'panel/group/viewLog',
method: 'post', method: 'post',
loading: true, loading: false,
data data
}) })
} }

View File

@ -4,6 +4,6 @@ export function queryAll() {
return request({ return request({
url: '/pdf-template/queryAll', url: '/pdf-template/queryAll',
method: 'get', method: 'get',
loading: true loading: false
}) })
} }