fei.wang
2025-04-18 11f6acee504c77a8919a4e0ddfe3e70a746e3522
src/views/login/login.vue
@@ -85,7 +85,7 @@
        </div>
        <div style="width: 20%;position: absolute;bottom:20px;left: 40%;z-index: 9999;color:rgb(255, 255, 255)">
            版本V2.0.3 更新时间2025.04.15
            {{version}}
        </div>
        <canvas ref="canvas"
@@ -151,6 +151,7 @@
export default {
    data() {
        return {
            version:'',
            passwordType: 'password',
            paSrc: require("@/assets/images/login_pass_active.png"),
            imgs: [
@@ -203,13 +204,8 @@
        }
    },
    mounted() {
        console.log(2333333333);
        console.log();
        console.log(typeof window.initTAC === 'function');
        getSystemOne().then(response => {
            console.log(response);
            this.version = response.data[0].version
            this.loginmethod = response.data[0].loginmethod
            if (response.data[0].loginmethod == '2' || response.data[0].loginmethod == '1') {
                this.loginway = 'duanxin'
@@ -371,16 +367,11 @@
        this.loading = true
                    this.$store.dispatch('user/login', this.loginForm)
                        .then((res) => {
                            console.log(11111111111);
                            console.log(res);
                            if (res.usermsg == "false") {
                                this.lock = true
                                this.$message.error('软件授权注册码过期或者错误请联系管理员');
                                this.loading = false
                            } else {
                                console.log(this.otherQuery);
                                const params = { name: res.username, loginfs: '账号密码登录' };
                                addLoginLog(params).then(response => {
@@ -420,9 +411,6 @@
                // this.loginForm=params
                this.$store.dispatch('user/login', params)
                    .then((res) => {
                        console.log(11111111111);
                    console.log(res);
                        if (res.usermsg == "false") {
                            this.lock = true
                            this.$message.error('软件授权注册码过期或者错误请联系管理员');
@@ -431,8 +419,6 @@
                            // return false
                            // this.lock=true
                        } else {
                            console.log(this.otherQuery);
                            const params = { name: res.username, loginfs: '验证码登录' };
                            addLoginLog(params).then(response => {