NEZ-3480 fix: 列表页面 二级页面打开 切换tab错误
This commit is contained in:
@@ -296,7 +296,7 @@ export default {
|
|||||||
sameLabels: ['instance', 'module', 'project', 'asset', 'endpoint', 'datacenter'],
|
sameLabels: ['instance', 'module', 'project', 'asset', 'endpoint', 'datacenter'],
|
||||||
legend: [],
|
legend: [],
|
||||||
searchTime: [],
|
searchTime: [],
|
||||||
searchTimeHeader: [bus.timeFormate(new Date(bus.computeTimezone(new Date().getTime())).setHours(new Date(bus.computeTimezone(new Date().getTime())).getHours() - 24 * 7)), bus.timeFormate(new Date(bus.computeTimezone(new Date().getTime()))), '7d'],
|
searchTimeHeader: [bus.timeFormate(new Date(bus.computeTimezone(new Date().getTime())).setHours(new Date(bus.computeTimezone(new Date().getTime())).getHours() - 1)), bus.timeFormate(new Date(bus.computeTimezone(new Date().getTime()))), '1h'],
|
||||||
searchTimeSelect: bus.getTimezontDateRange(),
|
searchTimeSelect: bus.getTimezontDateRange(),
|
||||||
currentMsg: {},
|
currentMsg: {},
|
||||||
chartUnit: 5,
|
chartUnit: 5,
|
||||||
@@ -311,9 +311,9 @@ export default {
|
|||||||
isError: false,
|
isError: false,
|
||||||
errorContent: '',
|
errorContent: '',
|
||||||
chartInfo: {},
|
chartInfo: {},
|
||||||
defaultPick: 10,
|
defaultPick: 4,
|
||||||
defaultPickType: 'date',
|
defaultPickType: 'hour',
|
||||||
defaultPickVal: 7
|
defaultPickVal: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
|||||||
@@ -287,9 +287,9 @@ export default {
|
|||||||
},
|
},
|
||||||
showBottomBox (targetTab, row) {
|
showBottomBox (targetTab, row) {
|
||||||
this.sign = row.id
|
this.sign = row.id
|
||||||
if (!this.bottomBox.showSubList) {
|
// if (!this.bottomBox.showSubList) {
|
||||||
this.bottomBox.targetTab = targetTab
|
this.bottomBox.targetTab = targetTab
|
||||||
}
|
// }
|
||||||
this.bottomBox.object = JSON.parse(JSON.stringify(row))
|
this.bottomBox.object = JSON.parse(JSON.stringify(row))
|
||||||
this.bottomBox.showSubList = true
|
this.bottomBox.showSubList = true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user