From 65279e7ed6201fad4b39eeda607ff051f40c908f Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期三, 27 九月 2023 18:09:17 +0800
Subject: [PATCH] 羚羊
---
platform_web/.env.development | 8 +++++++-
platform_web/src/views/business/clientManger.vue | 2 +-
platform_web/.env.lingyang | 2 +-
platform_web/src/views/login.vue | 7 ++++---
4 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/platform_web/.env.development b/platform_web/.env.development
index 28993ab..f452be4 100644
--- a/platform_web/.env.development
+++ b/platform_web/.env.development
@@ -23,4 +23,10 @@
#鍒樼纾婃湰鍦�
# VUE_APP_BASE_URL = 'http://192.168.0.18:10021/'
-VUE_APP_BASE_URL = 'https://dmtest.ahapp.net/doumeeplant_api/'
\ No newline at end of file
+VUE_APP_BASE_URL = 'https://dmtest.ahapp.net/doumeeplant_api/'
+
+# # 鎺ュ彛鍓嶇紑
+# VUE_APP_API_PREFIX = '/doumeeplant/'
+
+# #姝e紡鐜
+VUE_APP_BASE_URL = 'https://lingyang.mes.show:1801/doumeeplant/'
\ No newline at end of file
diff --git a/platform_web/.env.lingyang b/platform_web/.env.lingyang
index 14e332c..fce2351 100644
--- a/platform_web/.env.lingyang
+++ b/platform_web/.env.lingyang
@@ -14,4 +14,4 @@
VUE_APP_API_PREFIX = '/doumeeplant/'
#姝e紡鐜
-VITE_BASE_URL = 'https://127.0.0.1/doumeeplant'
+VUE_APP_BASE_URL = 'https://127.0.0.1/doumeeplant'
diff --git a/platform_web/src/views/business/clientManger.vue b/platform_web/src/views/business/clientManger.vue
index b42e29b..8543327 100644
--- a/platform_web/src/views/business/clientManger.vue
+++ b/platform_web/src/views/business/clientManger.vue
@@ -1,6 +1,6 @@
<template>
<!-- :permissions="['business:appliancechange:query']" -->
- <TableLayout :permissions="['business:companyext:query']">
+ <TableLayout :permissions="['ext:companyext:query']">
<!-- 鎼滅储琛ㄥ崟 -->
<el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" label-suffix="锛�" inline>
<el-form-item label="瀹㈡埛鍚嶇О" prop="name">
diff --git a/platform_web/src/views/login.vue b/platform_web/src/views/login.vue
index 596213f..ef2708b 100644
--- a/platform_web/src/views/login.vue
+++ b/platform_web/src/views/login.vue
@@ -46,7 +46,6 @@
loading: false,
username: '',
password: '',
- companyId: 8,
// 楠岃瘉鐮�
captcha: {
loading: false,
@@ -78,11 +77,13 @@
username: this.username.trim(),
password: this.password,
code: this.captcha.value.trim(),
- companyId: this.companyId,
uuid: this.captcha.uuid
})
.then(() => {
- window.location.href = process.env.VUE_APP_CONTEXT_PATH
+ console.log(process.env.VUE_APP_CONTEXT_PATH);
+ // b7121c39-e109-472f-bb89-722b91289437
+ // window.location.href = process.env.VUE_APP_CONTEXT_PATH
+ window.location.reload()
})
.catch(e => {
this.refreshCaptcha()
--
Gitblit v1.9.3