bfg-common 1.4.230 → 1.4.231
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
<template #modalBody="{ selectedStep }">
|
|
14
14
|
<atoms-loader v-show="!vmSettings" id="loader" />
|
|
15
15
|
<div v-if="vmSettings" class="vm-context">
|
|
16
|
+
<!-- TODO refactoring-->
|
|
16
17
|
<templates-inventory-vm-configure-scheduled-tasks-modals-common-new-task-form
|
|
17
18
|
v-show="selectedStep.id === dynamicSteps.scheduledTasks"
|
|
18
19
|
v-model="newTaskForm"
|
|
@@ -180,11 +181,6 @@ const title = computed<string>(() => {
|
|
|
180
181
|
return result
|
|
181
182
|
})
|
|
182
183
|
|
|
183
|
-
// const { id, type } = useRoute().params
|
|
184
|
-
// const selectedVirtualMachine = computed<string>(() => {
|
|
185
|
-
// return $store.getters['inventory/getNodeByTypeAndId'](type, id)?.name || ''
|
|
186
|
-
// })
|
|
187
|
-
|
|
188
184
|
const dynamicSteps = ref<I_DynamicSteps>(
|
|
189
185
|
getDynamicSteps(props.isScheduledTasks)
|
|
190
186
|
)
|
|
@@ -86,10 +86,7 @@ export const stepsFunc = (
|
|
|
86
86
|
},
|
|
87
87
|
]
|
|
88
88
|
|
|
89
|
-
console.log(isScheduledTasks, 111111);
|
|
90
|
-
|
|
91
89
|
if (!isScheduledTasks) {
|
|
92
|
-
console.log(2222222);
|
|
93
90
|
result.shift()
|
|
94
91
|
result[0].status = UI_E_WIZARD_STATUS.SELECTED
|
|
95
92
|
result = result.map((item) => {
|
|
@@ -98,15 +95,9 @@ export const stepsFunc = (
|
|
|
98
95
|
})
|
|
99
96
|
}
|
|
100
97
|
|
|
101
|
-
console.log(result, 33333333);
|
|
102
|
-
|
|
103
98
|
return result
|
|
104
99
|
}
|
|
105
100
|
|
|
106
|
-
// export const stepsSchemeInitial = [
|
|
107
|
-
// [0, 1, 2, 3, 4], // Procurator
|
|
108
|
-
// ]
|
|
109
|
-
|
|
110
101
|
export const stepsSchemeInitial = (isScheduledTasks: boolean): number[][] => {
|
|
111
102
|
const resultWithOutScheduledTasks = [0, 1, 2, 3, 4]
|
|
112
103
|
const resultWithScheduledTasks = [0, 1, 2, 3, 4, 5]
|