Browse Source

new MENOU version 1- remove console.log

master
zeus 2 years ago
parent
commit
01222ef58f
  1. 2
      src/components/manageservices/deploy-bootstrap.vue
  2. 2
      src/components/manageservices/hybridlab.vue
  3. 2
      src/components/mynetwork/AdhocView.vue
  4. 6
      src/components/mynetwork/availablemicroservices.vue
  5. 2
      src/components/mynetwork/builderservices.vue
  6. 18
      src/components/mynetwork/customservices.vue

2
src/components/manageservices/deploy-bootstrap.vue

@ -543,7 +543,7 @@ export default {
deploy:this.deploy
})
this.$root.$emit('hybrid_refresh_bootstrap_view')
console.log('ok')
//console.log('ok')
var info = '<h5>The deploy process is started</h5> Please wait for it to finish before trying again! <br><br>See also in "Manage your deployments" table'
this.$swal({
type: 'Info',

2
src/components/manageservices/hybridlab.vue

@ -136,7 +136,7 @@ export default {
var bootstrap = await store.dispatch("pipelineLLO/swarmlabhybridapi",{
lab: this.swarmlabhybridapi
})
console.log(JSON.stringify(bootstrap))
//console.log(JSON.stringify(bootstrap))
if(bootstrap.data.action == 'ok'){
var info='<h5>OK</h5>'
this.$swal({

2
src/components/mynetwork/AdhocView.vue

@ -440,7 +440,7 @@ export default {
})
// from microservices not view icon
this.$root.$on('hybrid_console_not_view', (v) => {
console.log(v)
//console.log(v)
if(v){
this.vieconsoleicon = true
}else if (!v){

6
src/components/mynetwork/availablemicroservices.vue

@ -412,7 +412,7 @@ export default {
dataClass: 'left aligned col-3',
width: '68%',
callback: function(value) {
console.log('---- '+ value)
//console.log('---- '+ value)
if (value) {
var tmp = value.split('-')
var v = `<span class="text-muted">${tmp[1]} </span> <span class="text-muted"></span>`
@ -769,8 +769,8 @@ export default {
var res = await store.dispatch('pipelineLLO/getswarmlabmicroserviceinfo', value.swarmlabname)
var swarmlab1info=res.data.swarmlabinfo
value.git = swarmlab1info
console.log('inf git 0 '+ JSON.stringify(value.swarmlabname))
console.log('inf git 1 '+ JSON.stringify(res))
//console.log('inf git 0 '+ JSON.stringify(value.swarmlabname))
//console.log('inf git 1 '+ JSON.stringify(res))
//console.log('inf '+ JSON.stringify(value))
var log = await store.dispatch("pipelineLLO/checkowner",{
token:this.token,

2
src/components/mynetwork/builderservices.vue

@ -341,7 +341,7 @@ export default {
token:this.token,
service:data.swarmlabname
})
console.log(log)
//console.log(log)
this.swarmlab=data
var service = {
data: data,

18
src/components/mynetwork/customservices.vue

@ -549,7 +549,7 @@ export default {
//console.log('false')
})
this.$root.$on('hybrid_build_micro_service', (service) => {
console.log(service);
//console.log(service);
this.setserviceform2null()
this.menou = true
this.myservicename = {}
@ -601,16 +601,16 @@ export default {
this.selected = i
}
this.customserviceall = service.log.data.data
console.log('customall2 '+ JSON.stringify(this.customservice.myservicename))
console.log('customall1 '+ JSON.stringify(service.log.data.data[cc]))
console.log('customall '+ JSON.stringify(this.customserviceall))
//console.log('customall2 '+ JSON.stringify(this.customservice.myservicename))
//console.log('customall1 '+ JSON.stringify(service.log.data.data[cc]))
//console.log('customall '+ JSON.stringify(this.customserviceall))
}
}
}
this.selected++
var vtmp1 = {"value":this.selected,"text":"Please select an option"}
Vue.set(this.options, this.selected, vtmp1)
console.log('options '+ JSON.stringify(this.options))
//console.log('options '+ JSON.stringify(this.options))
})
@ -675,7 +675,7 @@ export default {
methods: {
async onAction(value) {
console.log(value)
//console.log(value)
var infotxt = ''
var info='<h5></h5>'
if(value == "form_myservicename"){
@ -782,7 +782,7 @@ export default {
// this.$root.$emit('hybrid_refresh_bootstrap_view')
// this.$root.$emit('hybrid_refresh_bootstrap_view')
console.log(this.customservice);
//console.log(this.customservice);
//console.log(log);
if(log.data.action == 'ok'){
var info = "Your upload was successful!"
@ -889,14 +889,14 @@ export default {
this.form_name2 = ''
this.form_port3 = ''
this.form_name3 = ''
console.log('refresh')
//console.log('refresh')
//console.log(data.myservicename)
//console.log(this.form_myservicename)
},
setservice() {
//console.log(this.selected);
var cc = this.selected
console.log('sel '+ JSON.stringify(this.customserviceall[cc]))
//console.log('sel '+ JSON.stringify(this.customserviceall[cc]))
this.customservice.myservicename = this.customserviceall[cc].service

Loading…
Cancel
Save