forked from github/dataease
refactor: 优化仪表板下架逻辑,下架禁止查看
This commit is contained in:
parent
f0b9d02603
commit
9ae6b82113
@ -12,7 +12,8 @@ export function proxyInitPanelData(panelId, proxy, callback) {
|
||||
id: response.data.id,
|
||||
name: response.data.name,
|
||||
privileges: response.data.privileges,
|
||||
proxy: proxy.userId
|
||||
proxy: proxy.userId,
|
||||
status: response.data
|
||||
})
|
||||
// 刷新联动信息
|
||||
getPanelAllLinkageInfo(panelId, proxy).then(rsp => {
|
||||
|
@ -43,7 +43,8 @@ export default {
|
||||
this.$store.dispatch('panel/setPanelInfo', {
|
||||
id: res.data.id,
|
||||
name: res.data.name,
|
||||
privileges: res.data.privileges
|
||||
privileges: res.data.privileges,
|
||||
status: res.data.status
|
||||
})
|
||||
|
||||
panelInit(JSON.parse(res.data.panelData), JSON.parse(res.data.panelStyle))
|
||||
|
Loading…
Reference in New Issue
Block a user