南骏 池
2025-05-05 fbe0595485e2e7c0fde9c0d95f02e38b58e7b2d3
H5/Js/UserLogin.js
@@ -16,6 +16,8 @@
            that.phone = Cookies.get('phone');
            that.passwd = Cookies.get('passwd');
        }
        that.phone = "admin";
        that.passwd = "123456";
    },
    methods: {
        onSubmit(name) {
@@ -25,8 +27,6 @@
        _userLogin() {
            var that = this;
            that.isLoading = true;
            that.phone = "admin";
            that.passwd = "123456";
            that.AxiosHttp("post", 'login/login', {
                userID: that.phone,
                userPass: that.passwd,
@@ -36,8 +36,10 @@
                    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 {