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 deploy:this.deploy
}) })
this.$root.$emit('hybrid_refresh_bootstrap_view') 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' 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({ this.$swal({
type: 'Info', type: 'Info',

2
src/components/manageservices/hybridlab.vue

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

2
src/components/mynetwork/AdhocView.vue

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

6
src/components/mynetwork/availablemicroservices.vue

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

2
src/components/mynetwork/builderservices.vue

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

18
src/components/mynetwork/customservices.vue

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

Loading…
Cancel
Save