+
@@ -44,6 +78,10 @@ export default {
},
data () {
return {
+ viewmicroservices: 7,
+ viewconsole: 5,
+ consoleview: true,
+ consolemicro: true,
componentKeyreloadservice5:1,
loading: false,
consoleView: 'off',
@@ -58,10 +96,33 @@ export default {
beforeDestroy () {
this.$root.$off('hybrid_refresh_info_deploy_local')
},
-
+ methods: {
+ setnewview(m, c) {
+ if(m == 12){
+ this.viewmicroservices = m
+ this.viewconsole = c
+ this.consoleview = false
+ this.consolemicro = true
+ }
+ if(c == 12){
+ this.viewmicroservices = m
+ this.viewconsole = c
+ this.consoleview = true
+ this.consolemicro = false
+ }
+ if(m == 7 || c == 5){
+ this.viewmicroservices = m
+ this.viewconsole = c
+ this.consoleview = true
+ this.consolemicro = true
+ }
+ }
+ },
created () {
+ this.setnewview(7, 5)
}
+
};