Don't display cloud migration questions until an answer is selected
This commit is contained in:
parent
653c22e0a1
commit
f53e656475
@ -37,6 +37,9 @@ export default {
|
|||||||
const monthlySpend = this.estimated_monthly_spend || 0
|
const monthlySpend = this.estimated_monthly_spend || 0
|
||||||
return monthlySpend * 12
|
return monthlySpend * 12
|
||||||
},
|
},
|
||||||
|
jediMigrationOptionSelected: function () {
|
||||||
|
return this.jedi_migration !== ''
|
||||||
|
},
|
||||||
isJediMigration: function () {
|
isJediMigration: function () {
|
||||||
return this.jedi_migration === 'yes'
|
return this.jedi_migration === 'yes'
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
) }}
|
) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<details-of-use inline-template v-bind:initial-data='{{ f.data }}'>
|
<details-of-use inline-template v-bind:initial-data='{{ f.data|tojson }}'>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<p>We’d like to know a little about how you plan to use JEDI Cloud services to process your request. Please answer the following questions to the best of your ability. Note that the CCPO does not directly help with migrating systems to JEDI Cloud. These questions are for learning about your cloud readiness and financial usage of the JEDI Cloud; your estimates will not be used for any department level reporting.</p>
|
<p>We’d like to know a little about how you plan to use JEDI Cloud services to process your request. Please answer the following questions to the best of your ability. Note that the CCPO does not directly help with migrating systems to JEDI Cloud. These questions are for learning about your cloud readiness and financial usage of the JEDI Cloud; your estimates will not be used for any department level reporting.</p>
|
||||||
@ -30,6 +30,7 @@
|
|||||||
<h2>Cloud Readiness</h2>
|
<h2>Cloud Readiness</h2>
|
||||||
{{ TextInput(f.num_software_systems, validation='integer') }}
|
{{ TextInput(f.num_software_systems, validation='integer') }}
|
||||||
{{ OptionsInput(f.jedi_migration) }}
|
{{ OptionsInput(f.jedi_migration) }}
|
||||||
|
<template v-if="jediMigrationOptionSelected">
|
||||||
<template v-if='isJediMigration' v-cloak>
|
<template v-if='isJediMigration' v-cloak>
|
||||||
{{ OptionsInput(f.rationalization_software_systems) }}
|
{{ OptionsInput(f.rationalization_software_systems) }}
|
||||||
{{ OptionsInput(f.technical_support_team) }}
|
{{ OptionsInput(f.technical_support_team) }}
|
||||||
@ -37,8 +38,11 @@
|
|||||||
{{ OptionsInput(f.engineering_assessment) }}
|
{{ OptionsInput(f.engineering_assessment) }}
|
||||||
{{ OptionsInput(f.data_transfers) }}
|
{{ OptionsInput(f.data_transfers) }}
|
||||||
{{ OptionsInput(f.expected_completion_date) }}
|
{{ OptionsInput(f.expected_completion_date) }}
|
||||||
|
</template>
|
||||||
|
<template v-else-if='!isJediMigration' v-cloak>
|
||||||
{{ OptionsInput(f.cloud_native) }}
|
{{ OptionsInput(f.cloud_native) }}
|
||||||
</template>
|
</template>
|
||||||
|
</template>
|
||||||
|
|
||||||
<h2>Financial Usage</h2>
|
<h2>Financial Usage</h2>
|
||||||
{{ TextInput(f.estimated_monthly_spend, validation='dollars') }}
|
{{ TextInput(f.estimated_monthly_spend, validation='dollars') }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user