Commit 94fa005a by Heechul Kim

Merge branch 'master' of https://git.iorchard.co.kr/jijisa/porch

parents ce3bd422 7bbba345
...@@ -173,9 +173,7 @@ export default { ...@@ -173,9 +173,7 @@ export default {
} }
} }
const url = API_URL + '/account/refresh' const url = API_URL + '/account/refresh'
console.log(url)
this.$http.post(url, {}, headers).then(response => { this.$http.post(url, {}, headers).then(response => {
console.log(response.body.token)
// this.$cookie.set('token', response.body.token) // this.$cookie.set('token', response.body.token)
this.$store.commit('setToken', response.body.token) this.$store.commit('setToken', response.body.token)
}, response => { }, response => {
......
...@@ -88,7 +88,6 @@ export default { ...@@ -88,7 +88,6 @@ export default {
this.$router.push('/section') this.$router.push('/section')
}, response => { }, response => {
console.log(response.body)
Toast.create.negative({ Toast.create.negative({
html: '로그인 실패: ' + response.body.error, html: '로그인 실패: ' + response.body.error,
timeout: 5000 timeout: 5000
......
...@@ -105,7 +105,6 @@ export default { ...@@ -105,7 +105,6 @@ export default {
desc: this.form.desc desc: this.form.desc
} }
if (!payload.repo) { if (!payload.repo) {
console.log(payload)
return return
} }
const token = this.$store.state.token const token = this.$store.state.token
...@@ -118,7 +117,6 @@ export default { ...@@ -118,7 +117,6 @@ export default {
this.$http.post(url, payload, headers).then(response => { this.$http.post(url, payload, headers).then(response => {
this.$router.push('/app') this.$router.push('/app')
}, response => { }, response => {
console.log(response.status)
Toast.create.negative('애플리케이션 정보 수신 실패') Toast.create.negative('애플리케이션 정보 수신 실패')
this.$refs.name.focus() this.$refs.name.focus()
}) })
......
...@@ -230,7 +230,6 @@ export default { ...@@ -230,7 +230,6 @@ export default {
preseed: '' preseed: ''
} }
if (!payload.os) { if (!payload.os) {
console.log(payload)
return return
} }
const token = this.$store.state.token const token = this.$store.state.token
......
...@@ -170,7 +170,6 @@ export default { ...@@ -170,7 +170,6 @@ export default {
} }
} }
let url = API_URL + `/machine/${this.machine}/console/close` let url = API_URL + `/machine/${this.machine}/console/close`
console.log(url)
this.$http.post(url, {}, headers).then(response => { this.$http.post(url, {}, headers).then(response => {
}, response => { }, response => {
}) })
...@@ -183,7 +182,6 @@ export default { ...@@ -183,7 +182,6 @@ export default {
} }
} }
let url = API_URL + `/machine/${row.name}/console` let url = API_URL + `/machine/${row.name}/console`
console.log(url)
this.$http.get(url, headers).then(response => { this.$http.get(url, headers).then(response => {
this.machine = row.name this.machine = row.name
this.consoleUrl = response.body this.consoleUrl = response.body
......
...@@ -220,7 +220,6 @@ export default { ...@@ -220,7 +220,6 @@ export default {
} }
} }
let url = API_URL + `/machine/${this.machine}/console/close` let url = API_URL + `/machine/${this.machine}/console/close`
console.log(url)
this.$http.post(url, {}, headers).then(response => { this.$http.post(url, {}, headers).then(response => {
}, response => { }, response => {
}) })
...@@ -233,7 +232,6 @@ export default { ...@@ -233,7 +232,6 @@ export default {
} }
} }
let url = API_URL + `/machine/${row.name}/console` let url = API_URL + `/machine/${row.name}/console`
console.log(url)
this.$http.get(url, headers).then(response => { this.$http.get(url, headers).then(response => {
this.machine = row.name this.machine = row.name
this.consoleUrl = response.body this.consoleUrl = response.body
......
...@@ -135,12 +135,10 @@ export default { ...@@ -135,12 +135,10 @@ export default {
} }
const url = API_URL + '/machine/os' const url = API_URL + '/machine/os'
this.$http.post(url, this.form, headers).then(response => { this.$http.post(url, this.form, headers).then(response => {
console.log(response.body) this.$router.push('/log')
}, response => { }, response => {
console.log(response.statusText) Toast.create.negative('서버 OS 배포 실패')
// Toast.create.negative('서버 OS 배포 실패')
}) })
this.$router.push('/log')
}, },
toggle: function () { toggle: function () {
let selected = [] let selected = []
......
...@@ -167,7 +167,6 @@ export default { ...@@ -167,7 +167,6 @@ export default {
else { else {
this.sameAsBefore = 0 this.sameAsBefore = 0
} }
console.log(this.sameAsBefore)
if (this.sameAsBefore === 30) { if (this.sameAsBefore === 30) {
clearInterval(this.intervalLogObj) clearInterval(this.intervalLogObj)
} }
...@@ -190,7 +189,6 @@ export default { ...@@ -190,7 +189,6 @@ export default {
Toast.create.negative('서버 애플리케이션 배포 실패') Toast.create.negative('서버 애플리케이션 배포 실패')
return return
}) })
// this.intervalLogObj = setInterval(this.getLog, 5 * 1000)
}, },
toggle: function () { toggle: function () {
let selected = [] let selected = []
...@@ -275,7 +273,6 @@ export default { ...@@ -275,7 +273,6 @@ export default {
this.$http.get(url, headers).then(response => { this.$http.get(url, headers).then(response => {
let self = this let self = this
let result = response.body let result = response.body
console.log(result)
result.forEach(function (element) { result.forEach(function (element) {
self.sections[element.section] = [] self.sections[element.section] = []
}) })
......
...@@ -115,7 +115,6 @@ export default { ...@@ -115,7 +115,6 @@ export default {
} }
} }
this.$http.post(url, payload, headers).then(response => { this.$http.post(url, payload, headers).then(response => {
console.log(response.status)
this.$router.push('/section') this.$router.push('/section')
}, response => { }, response => {
Toast.create.negative('그룹 생성 실패') Toast.create.negative('그룹 생성 실패')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment