| | |
| | | that.phone = Cookies.get('phone'); |
| | | that.passwd = Cookies.get('passwd'); |
| | | } |
| | | that.phone = "admin"; |
| | | that.passwd = "123456"; |
| | | }, |
| | | methods: { |
| | | onSubmit(name) { |
| | |
| | | _userLogin() { |
| | | var that = this; |
| | | that.isLoading = true; |
| | | that.phone = "admin"; |
| | | that.passwd = "123456"; |
| | | that.AxiosHttp("post", 'login/login', { |
| | | userID: that.phone, |
| | | userPass: that.passwd, |
| | |
| | | if (json.status == 0) { |
| | | var _userGuid = json.data.tbBillList.guid; |
| | | var _userAccount = json.data.tbBillList.account; |
| | | var _userName = json.data.tbBillList.userName; |
| | | Cookies.set('loginGuid', _userGuid); |
| | | Cookies.set('loginAccount', _userAccount); |
| | | Cookies.set('loginName', _userName); |
| | | window.location.href = ("/H5/Default.aspx?userGuid=" + _userGuid + "&userAccount=" + _userAccount); |
| | | } |
| | | else { |