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 {
}
}
const url = API_URL + '/account/refresh'
console.log(url)
this.$http.post(url, {}, headers).then(response => {
console.log(response.body.token)
// this.$cookie.set('token', response.body.token)
this.$store.commit('setToken', response.body.token)
}, response => {
......
......@@ -88,7 +88,6 @@ export default {
this.$router.push('/section')
}, response => {
console.log(response.body)
Toast.create.negative({
html: '로그인 실패: ' + response.body.error,
timeout: 5000
......
......@@ -105,7 +105,6 @@ export default {
desc: this.form.desc
}
if (!payload.repo) {
console.log(payload)
return
}
const token = this.$store.state.token
......@@ -118,7 +117,6 @@ export default {
this.$http.post(url, payload, headers).then(response => {
this.$router.push('/app')
}, response => {
console.log(response.status)
Toast.create.negative('애플리케이션 정보 수신 실패')
this.$refs.name.focus()
})
......
......@@ -230,7 +230,6 @@ export default {
preseed: ''
}
if (!payload.os) {
console.log(payload)
return
}
const token = this.$store.state.token
......
......@@ -170,7 +170,6 @@ export default {
}
}
let url = API_URL + `/machine/${this.machine}/console/close`
console.log(url)
this.$http.post(url, {}, headers).then(response => {
}, response => {
})
......@@ -183,7 +182,6 @@ export default {
}
}
let url = API_URL + `/machine/${row.name}/console`
console.log(url)
this.$http.get(url, headers).then(response => {
this.machine = row.name
this.consoleUrl = response.body
......
......@@ -220,7 +220,6 @@ export default {
}
}
let url = API_URL + `/machine/${this.machine}/console/close`
console.log(url)
this.$http.post(url, {}, headers).then(response => {
}, response => {
})
......@@ -233,7 +232,6 @@ export default {
}
}
let url = API_URL + `/machine/${row.name}/console`
console.log(url)
this.$http.get(url, headers).then(response => {
this.machine = row.name
this.consoleUrl = response.body
......
......@@ -135,12 +135,10 @@ export default {
}
const url = API_URL + '/machine/os'
this.$http.post(url, this.form, headers).then(response => {
console.log(response.body)
this.$router.push('/log')
}, response => {
console.log(response.statusText)
// Toast.create.negative('서버 OS 배포 실패')
Toast.create.negative('서버 OS 배포 실패')
})
this.$router.push('/log')
},
toggle: function () {
let selected = []
......
......@@ -167,7 +167,6 @@ export default {
else {
this.sameAsBefore = 0
}
console.log(this.sameAsBefore)
if (this.sameAsBefore === 30) {
clearInterval(this.intervalLogObj)
}
......@@ -190,7 +189,6 @@ export default {
Toast.create.negative('서버 애플리케이션 배포 실패')
return
})
// this.intervalLogObj = setInterval(this.getLog, 5 * 1000)
},
toggle: function () {
let selected = []
......@@ -275,7 +273,6 @@ export default {
this.$http.get(url, headers).then(response => {
let self = this
let result = response.body
console.log(result)
result.forEach(function (element) {
self.sections[element.section] = []
})
......
......@@ -115,7 +115,6 @@ export default {
}
}
this.$http.post(url, payload, headers).then(response => {
console.log(response.status)
this.$router.push('/section')
}, response => {
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