Skip to content
Snippets Groups Projects
Commit 67cd9b76 authored by Alexander Kaschta's avatar Alexander Kaschta :owl:
Browse files

UPD: Clear BCD request after submission

parent 58101804
No related branches found
No related tags found
No related merge requests found
Pipeline #422493 passed with warnings
......@@ -400,9 +400,17 @@ export default {
// Clear everything
this.clearOE()
this.clearGroup()
this.clearProtectionRequirements()
this.clearTypeOfSystem()
this.clearLoadBalancer()
this.clearBCDName()
this.clearAccessToInternet()
this.clearAccessFromInternet()
this.clearTypeOfSubnet()
this.clearDHCP()
this.clearLocations()
this.clearServices()
this.clearAdditionalComment()
},
clearOE() {
this.oes = null
......@@ -422,6 +430,44 @@ export default {
},
clearAccessFromInternet() {
this.access_from_internet_value = false
this.access_from_internet_explanation_value = null
},
clearProtectionRequirements() {
this.protection_requirements_select = null
this.protection_requirements_explanation_text = null
},
clearBCDName() {
this.bcd_name = null
},
clearTypeOfSubnet() {
this.types_of_subnets_select = null
this.subnet_size_select = null
this.subnet_size_explanation_text = null
},
clearDHCP() {
this.dhcp_wish_value = false
this.dhcp_own_server_value = false
this.dhcp_pool_wish_value = false
},
clearTypeOfSystem() {
this.types_of_systems_select = null
},
clearLocations() {
this.location_cs_value = false
this.location_cn_value = false
this.location_vm_cluster_unknown_value = false
this.location_vm_cluster_cs = false
this.location_vm_cluster_cn = false
this.location_scc_server_room_cs_value = false
this.location_scc_server_room_cn_value = false
this.location_vpn_wifi_to_vlan_value = false
},
clearServices() {
this.vpn2vlan_value = false
this.wifi2vlan_value = false
},
clearAdditionalComment() {
this.additional_comments_text = null
},
translateOptions(items) {
// Iterate over the list of options
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment