From 47cf5518f0f61dbf8066c2273b9f77c2cd7b1751 Mon Sep 17 00:00:00 2001
From: YLouie <929705085@qq.com>
Date: 星期五, 19 九月 2025 17:56:03 +0800
Subject: [PATCH] 销售订单plm同步
---
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 5ba369d..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.log('璁块棶椹笂鑱婂嚭閿�')
- }
- })
- },
+ // 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