| 
					
				 | 
			
			
				@@ -346,10 +346,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.websitList = res.data.promotionQuestionnaireQrcodes 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.status = res.data.status 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        res.data.items.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          item.answer = JSON.parse(item.answer) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          item.answer.forEach(it => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.activeItems = res.data.items.map(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          item.answer = item.answer.map(it => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (item.type == 3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               item.inputValue = it.option_value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else if (item.type == 4 || item.type == 5) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -359,10 +358,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               console.log(it.option_value, img) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               item.inputValue = img 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              return { ...it } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return { ...item } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.activeItems = res.data.items 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        console.log(this.activeItems) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         getActiveDetail({ id: res.data.promotionQuestionnaireId }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.activeDetailData = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           console.log(this.activeDetailData) 
			 |