feat : asset process 二级页面 详细视图
This commit is contained in:
@@ -138,21 +138,6 @@ export default {
|
||||
obj: {
|
||||
immediate: true,
|
||||
handler (n) {
|
||||
// if ((this.from === fromRoute.asset) && n) {
|
||||
// const assetSub = { prop: 'assetSubTab', name: this.$t('overall.assetSubTab'), active: false }
|
||||
// if (n.childrenNum) {
|
||||
// if (!this.tabs.asset.panel.find(item => item.prop === assetSub.prop)) {
|
||||
// this.tabs.asset.panel.push(assetSub)
|
||||
// this.tabs.asset.alertMessage.push(assetSub)
|
||||
// this.tabs.asset.endpoint.push(assetSub)
|
||||
// this.tabs.asset.log.push(assetSub)
|
||||
// }
|
||||
// } else if (this.tabs.asset.panel.find(item => item.prop === assetSub.prop)) {
|
||||
// this.tabs.asset.panel = this.tabs.asset.panel.filter(item => item.prop !== assetSub.prop)
|
||||
// this.tabs.asset.alertMessage = this.tabs.asset.alertMessage.filter(item => item.prop !== assetSub.prop)
|
||||
// this.tabs.asset.endpoint = this.tabs.asset.endpoint.filter(item => item.prop !== assetSub.prop)
|
||||
// this.tabs.asset.log = this.tabs.asset.log.filter(item => item.prop !== assetSub.prop)
|
||||
// }
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -191,37 +176,6 @@ export default {
|
||||
{ prop: 'endpointTab', name: this.$t('asset.endpoint') },
|
||||
{ prop: 'log', name: this.$t('dashboard.panel.chartForm.typeVal.log.label') }
|
||||
]
|
||||
// panel: [
|
||||
// { prop: 'panelTab', name: this.$t('overall.dashboard'), active: true },
|
||||
// { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: false },
|
||||
// { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: false },
|
||||
// { prop: 'log', name: this.$t('dashboard.panel.chartForm.typeVal.log.label'), active: false }
|
||||
// ],
|
||||
// alertMessage: [
|
||||
// { prop: 'panelTab', name: this.$t('overall.dashboard'), active: false },
|
||||
// { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: true },
|
||||
// { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: false },
|
||||
// { prop: 'log', name: this.$t('dashboard.panel.chartForm.typeVal.log.label'), active: false }
|
||||
// ],
|
||||
// endpoint: [
|
||||
// { prop: 'panelTab', name: this.$t('overall.dashboard'), active: false },
|
||||
// { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: false },
|
||||
// { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: true },
|
||||
// { prop: 'log', name: this.$t('dashboard.panel.chartForm.typeVal.log.label'), active: false }
|
||||
// ],
|
||||
// log: [
|
||||
// { prop: 'panelTab', name: this.$t('overall.dashboard'), active: false },
|
||||
// { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: false },
|
||||
// { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: false },
|
||||
// { prop: 'log', name: this.$t('dashboard.panel.chartForm.typeVal.log.label'), active: true }
|
||||
// ],
|
||||
// alertMessageSub: [
|
||||
// { prop: 'panelTab', name: this.$t('overall.dashboard'), active: false },
|
||||
// { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: false },
|
||||
// { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: false },
|
||||
// { prop: 'log', name: this.$t('dashboard.panel.chartForm.typeVal.log.label'), active: false },
|
||||
// { prop: 'assetSubTab', name: this.$t('overall.assetSubTab'), active: true },
|
||||
// ]
|
||||
},
|
||||
module: {
|
||||
moduleTabTitle: [
|
||||
|
||||
Reference in New Issue
Block a user