|  | @ -53,7 +53,6 @@ import Cookies from 'js-cookie' | 
		
	
		
			
				|  |  | import debounce from 'lodash/debounce' |  |  | import debounce from 'lodash/debounce' | 
		
	
		
			
				|  |  | import { messages } from '@/i18n' |  |  | import { messages } from '@/i18n' | 
		
	
		
			
				|  |  | import { getUUID } from '@/utils' |  |  | import { getUUID } from '@/utils' | 
		
	
		
			
				|  |  | import { mapActions, MapActions } from 'vuex' |  |  |  | 
		
	
		
			
				|  |  | export default { |  |  | export default { | 
		
	
		
			
				|  |  |   data() { |  |  |   data() { | 
		
	
		
			
				|  |  |     return { |  |  |     return { | 
		
	
	
		
			
				|  | @ -86,7 +85,6 @@ export default { | 
		
	
		
			
				|  |  |     // this.getCaptcha() |  |  |     // this.getCaptcha() | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   methods: { |  |  |   methods: { | 
		
	
		
			
				|  |  |     ...mapActions(['acSetUser']), |  |  |  | 
		
	
		
			
				|  |  |     submitNext() { |  |  |     submitNext() { | 
		
	
		
			
				|  |  |       this.$refs.passWord.focus() |  |  |       this.$refs.passWord.focus() | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
	
		
			
				|  | @ -107,13 +105,9 @@ export default { | 
		
	
		
			
				|  |  |             this.getCaptcha() |  |  |             this.getCaptcha() | 
		
	
		
			
				|  |  |             return this.$message.error(res.msg) |  |  |             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' }) |  |  |           this.$router.push({ name: 'outpatientManagement-call' }) | 
		
	
		
			
				|  |  |         }).catch(() => { }) |  |  |         }).catch(() => { }) | 
		
	
		
			
				|  |  |       }) |  |  |       }) | 
		
	
	
		
			
				|  | 
 |