feat: loading和部分nodata处理;地图功能

This commit is contained in:
chenjinsong
2022-08-21 22:11:53 +08:00
parent c4cf810011
commit ab19220e0d
17 changed files with 257 additions and 162 deletions

View File

@@ -47,7 +47,9 @@ const panel = {
queryCondition: '', // 数据查询的条件
networkOverviewTabList: [], // 存储tab列表的一些状态如是否选中
tabOperationType: 0, // 操作类型:2-二级菜单3-三级菜单4-四级菜单5-切换tab6-切换metric7-操作Customize
tabOperationBeforeType: 0// 记录上次的操作类型
tabOperationBeforeType: 0, // 记录上次的操作类型
npmLocationCountry: '', // npm location的查询条件--国家
npmLocationSide: 'server' // npm location的查询条件--方向
},
mutations: {
setShowRightBox (state, flag) {
@@ -127,6 +129,12 @@ const panel = {
},
setTabOperationBeforeType (state, tabOperationBeforeType) {
state.tabOperationBeforeType = tabOperationBeforeType
},
setNpmLocationCountry (state, country) {
state.npmLocationCountry = country
},
setNpmLocationSide (state, side) {
state.npmLocationSide = side
}
},
getters: {
@@ -201,6 +209,12 @@ const panel = {
},
getTabOperationBeforeType (state) {
return state.tabOperationBeforeType
},
getNpmLocationCountry (state) {
return state.npmLocationCountry
},
getNpmLocationSide (state) {
return state.npmLocationSide
}
},
actions: {