|  |  | @ -53,7 +53,6 @@ import Cookies from 'js-cookie' | 
			
		
	
		
			
				
					|  |  |  | import debounce from 'lodash/debounce' | 
			
		
	
		
			
				
					|  |  |  | import { messages } from '@/i18n' | 
			
		
	
		
			
				
					|  |  |  | import { getUUID } from '@/utils' | 
			
		
	
		
			
				
					|  |  |  | import { mapActions, MapActions } from 'vuex' | 
			
		
	
		
			
				
					|  |  |  | export default { | 
			
		
	
		
			
				
					|  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |     return { | 
			
		
	
	
		
			
				
					|  |  | @ -86,7 +85,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     // this.getCaptcha() | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  |     ...mapActions(['acSetUser']), | 
			
		
	
		
			
				
					|  |  |  |     submitNext() { | 
			
		
	
		
			
				
					|  |  |  |       this.$refs.passWord.focus() | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  | @ -107,13 +105,9 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |             this.getCaptcha() | 
			
		
	
		
			
				
					|  |  |  |             return this.$message.error(res.msg) | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |           if (!res.data.currentUser) { | 
			
		
	
		
			
				
					|  |  |  |             return | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |           this.acSetUser(res.data.currentUser) | 
			
		
	
		
			
				
					|  |  |  |           const employeeId = this.$store.state.currentUser.employeeId | 
			
		
	
		
			
				
					|  |  |  |           Cookies.set('xa-token' + employeeId, res.data.token) | 
			
		
	
		
			
				
					|  |  |  |           // window.localStorage.setItem('qg-userData', JSON.stringify(res.data.currentUser)) | 
			
		
	
		
			
				
					|  |  |  |           // Cookies.set('xa-token', res.data.token) | 
			
		
	
		
			
				
					|  |  |  |           window.sessionStorage.setItem('xa-token', res.data.token) | 
			
		
	
		
			
				
					|  |  |  |           window.sessionStorage.setItem('qg-userData', JSON.stringify(res.data.currentUser)) | 
			
		
	
		
			
				
					|  |  |  |           this.$router.push({ name: 'outpatientManagement-call' }) | 
			
		
	
		
			
				
					|  |  |  |         }).catch(() => { }) | 
			
		
	
		
			
				
					|  |  |  |       }) | 
			
		
	
	
		
			
				
					|  |  | 
 |