forked from Inspur/skyline
云主机列表,开关机操作原生api支持
This commit is contained in:
parent
e54021c22e
commit
004b12286e
|
@ -1743,7 +1743,7 @@ export default {
|
|||
if ($this.refreshTimeout !== null) {
|
||||
clearTimeout($this.refreshTimeout);
|
||||
}
|
||||
let url = `api/nova/v2.1/servers-inspur/detail`;
|
||||
let url = `api/nova/v2.1/servers/detail`;
|
||||
let roleType = Vue.roleType + '';
|
||||
let queryString = Object.keys(params).map(key => {
|
||||
return `${key}=${params[key]}`
|
||||
|
|
|
@ -34,7 +34,7 @@ module.exports = function() {
|
|||
self.$sequence({
|
||||
type: 'post',
|
||||
data: body,
|
||||
url: 'api/nova/v2.1/servers-inspur/{id}/action',
|
||||
url: 'api/nova/v2.1/servers/{id}/action',
|
||||
params: selectRows,
|
||||
confirmMsg: Vue.t('calcStorLang.openInstConfirm'),
|
||||
log: {
|
||||
|
@ -77,7 +77,7 @@ module.exports = function() {
|
|||
self.$sequence({
|
||||
type: 'post',
|
||||
data: body,
|
||||
url: 'api/nova/v2.1/servers-inspur/{id}/action',
|
||||
url: 'api/nova/v2.1/servers/{id}/action',
|
||||
params: selectRows,
|
||||
confirmMsg: Vue.t('calcStorLang.closeInstConfirm'),
|
||||
log: {
|
||||
|
|
Loading…
Reference in New Issue