CN-700 界面刷新保持状态-下钻table等:queryCondition,type,panelName,thirdMenu,fourthMenu
This commit is contained in:
@@ -45,8 +45,8 @@ const panel = {
|
||||
//networkOverviewBeforeTab: null, // 点击表格的值时使用,记录点击当前tab表格的值之前点击的表格值所属的tab
|
||||
// queryCondition: '', // 数据查询的条件
|
||||
networkOverviewTabList: [], // 存储tab列表的一些状态:如是否选中
|
||||
tabOperationType: 0, // 操作类型:2-二级菜单;3-三级菜单;4-四级菜单;5-切换tab;6-切换metric;7-操作Customize
|
||||
tabOperationBeforeType: 0, // 记录上次的操作类型
|
||||
//tabOperationType: 0, // 操作类型:2-二级菜单;3-三级菜单;4-四级菜单;5-切换tab;6-切换metric;7-操作Customize
|
||||
//tabOperationBeforeType: 0, // 记录上次的操作类型
|
||||
npmThirdLevelMenuScore: null, // npm overview 第三级菜单的panel分数
|
||||
npmLocationCountry: '', // npm location的查询条件--国家
|
||||
npmLocationSide: 'server' // npm location的查询条件--方向
|
||||
@@ -121,15 +121,15 @@ const panel = {
|
||||
setNetworkOverviewTabList (state, networkOverviewTabList) {
|
||||
state.networkOverviewTabList = networkOverviewTabList
|
||||
},
|
||||
setTabOperationType (state, tabOperationType) {
|
||||
state.tabOperationType = tabOperationType
|
||||
},
|
||||
//setTabOperationType (state, tabOperationType) {
|
||||
//state.tabOperationType = tabOperationType
|
||||
//},
|
||||
//setNetworkOverviewBeforeTab (state, networkOverviewBeforeTab) {
|
||||
//state.networkOverviewBeforeTab = networkOverviewBeforeTab
|
||||
//},
|
||||
setTabOperationBeforeType (state, tabOperationBeforeType) {
|
||||
state.tabOperationBeforeType = tabOperationBeforeType
|
||||
},
|
||||
//setTabOperationBeforeType (state, tabOperationBeforeType) {
|
||||
//state.tabOperationBeforeType = tabOperationBeforeType
|
||||
//},
|
||||
setNpmLocationCountry (state, country) {
|
||||
state.npmLocationCountry = country
|
||||
},
|
||||
@@ -204,15 +204,15 @@ const panel = {
|
||||
getNetworkOverviewTabList (state) {
|
||||
return state.networkOverviewTabList
|
||||
},
|
||||
getTabOperationType (state) {
|
||||
return state.tabOperationType
|
||||
},
|
||||
//getTabOperationType (state) {
|
||||
//return state.tabOperationType
|
||||
//},
|
||||
//getNetworkOverviewBeforeTab (state) {
|
||||
//return state.networkOverviewBeforeTab
|
||||
//},
|
||||
getTabOperationBeforeType (state) {
|
||||
return state.tabOperationBeforeType
|
||||
},
|
||||
//getTabOperationBeforeType (state) {
|
||||
//return state.tabOperationBeforeType
|
||||
//},
|
||||
getNpmLocationCountry (state) {
|
||||
return state.npmLocationCountry
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user