Change Script on Dropdown Value

Here is how I was able to resolve the issue.

def runAction(self, event):
	dropDown = self.getSibling("Dropdown").props.value
	if dropDown == 7: 
		
		viewPath= "Page/Refrigeration/ChillReport7"
	elif dropDown == '7A':
		viewPath= "Page/Refrigeration/ChillReport7A"
	else: 
		viewPath = "Page/Refrigeration/ChillReport"
	
	system.perspective.openPopup(id="ChillReport", view = viewPath)