From 795fa953f456ea886be77f8bb345c50a0fbea590 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 19 十二月 2023 15:44:28 +0800 Subject: [PATCH] modified: src/page/index/sidebar/index.vue modified: src/page/index/sidebar/sidebarItem.vue modified: src/page/login/index.vue modified: src/views/basic/company/index.vue modified: src/views/basic/crew/index.vue modified: src/views/basic/customizeparamtemplatetype/index.vue modified: src/views/basic/division/index.vue modified: src/views/basic/factory/index.vue modified: src/views/basic/location/index.vue modified: src/views/basic/param/index.vue modified: src/views/basic/part/index.vue modified: src/views/basic/post/index.vue modified: src/views/basic/shift/index.vue modified: src/views/basic/staff/index.vue modified: src/views/basic/template/index.vue modified: src/views/basic/warehouse/index.vue modified: src/views/basic/workstation/index.vue modified: src/views/plan/customerorder/index.vue modified: src/views/technology/routing/routing-form.vue --- src/page/login/index.vue | 58 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/page/login/index.vue b/src/page/login/index.vue index eaeeb30..0705f9d 100644 --- a/src/page/login/index.vue +++ b/src/page/login/index.vue @@ -74,35 +74,35 @@ created() { this.getSysTitle() }, - mounted() { - const _that = this - $.ajax({ - type: 'get', - url: 'http://127.0.0.1:15211/LocalUnique', - /* headers: { - 'Content-Type': 'text/xml;charset=utf-8' - }, */ - // data: requireData, - success: function(response) { - const resultData = JSON.parse( - response - .replace(/\r/g, '') - .replace(/\n/g, '') - .replace(/\s*/g, '') - ) - const username = resultData[0].ID - const password = resultData[0].Unique - _that.$store - .dispatch('LoginByMSL', { username: username, password: password }) - .then(() => { - _that.$router.push({ path: _that.tagWel.value }) - }) - }, - error: function(XMLHttpRequest, textStatus, errorThrown) { - console.error('璁块棶椹笂鑱婂嚭閿�') - } - }) - }, + // mounted() { + // const _that = this + // $.ajax({ + // type: 'get', + // url: 'http://127.0.0.1:15211/LocalUnique', + // /* headers: { + // 'Content-Type': 'text/xml;charset=utf-8' + // }, */ + // // data: requireData, + // success: function(response) { + // const resultData = JSON.parse( + // response + // .replace(/\r/g, '') + // .replace(/\n/g, '') + // .replace(/\s*/g, '') + // ) + // const username = resultData[0].ID + // const password = resultData[0].Unique + // _that.$store + // .dispatch('LoginByMSL', { username: username, password: password }) + // .then(() => { + // _that.$router.push({ path: _that.tagWel.value }) + // }) + // }, + // error: function(XMLHttpRequest, textStatus, errorThrown) { + // console.error('璁块棶椹笂鑱婂嚭閿�') + // } + // }) + // }, computed: { ...mapGetters(['website', 'tagWel']) }, -- Gitblit v1.9.3