|
|
@ -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 |
|
|
|
|
|
|
|