Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agent-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
agent-platform
Commits
8fbfcda5
Commit
8fbfcda5
authored
Apr 29, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
98b35b8a
75c2488a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
9 deletions
+21
-9
base-manager-ui/admin/.env.development
base-manager-ui/admin/.env.development
+4
-2
base-manager-ui/admin/src/pages/login/Login.vue
base-manager-ui/admin/src/pages/login/Login.vue
+11
-6
base-manager-ui/admin/src/router/guards.js
base-manager-ui/admin/src/router/guards.js
+1
-1
base-manager-ui/admin/src/router/index.js
base-manager-ui/admin/src/router/index.js
+5
-0
No files found.
base-manager-ui/admin/.env.development
View file @
8fbfcda5
#开发环境
NODE_ENV = "development"
VUE_APP_API_BASE_URL=http://192.168.0.98:11078
VUE_APP_API_IMG_URL=http://192.168.0.98:11078/
VUE_APP_API_BASE_URL=http://192.168.0.252:11089
VUE_APP_API_IMG_URL=http://192.168.0.252:11089/
# VUE_APP_API_BASE_URL=http://192.168.0.98:11078
# VUE_APP_API_IMG_URL=http://192.168.0.98:11078/
#VUE_APP_API_BASE_URL=http://10.12.185.213:11071
\ No newline at end of file
base-manager-ui/admin/src/pages/login/Login.vue
View file @
8fbfcda5
...
...
@@ -7,7 +7,7 @@
</div>
<div
class=
"desc"
>
智慧政务先行者
</div>
</div>
<div
class=
"login"
>
<
!--
<
div
class=
"login"
>
<a-form
@
submit=
"onSubmit"
:form=
"form"
>
<a-tabs
size=
"large"
...
...
@@ -69,10 +69,7 @@
</a-form-item>
</a-tab-pane>
</a-tabs>
<div>
<!--
<a-checkbox
:checked=
"true"
>
自动登录
</a-checkbox>
-->
<!--
<a
style=
"float: right"
>
忘记密码
</a>
-->
</div>
<div></div>
<a-form-item>
<a-button
:loading=
"logging"
...
...
@@ -84,7 +81,7 @@
>
</a-form-item>
</a-form>
</div>
</div>
-->
</common-layout>
</
template
>
...
...
@@ -107,6 +104,14 @@ export default {
form
:
this
.
$form
.
createForm
(
this
),
};
},
created
()
{
if
(
this
.
$route
.
query
.
loginName
)
{
const
userName
=
this
.
$route
.
query
.
loginName
;
// this.form.password = 'admin';
const
password
=
"
xhxADMIN8@a
"
;
login
(
userName
,
password
).
then
(
this
.
afterLogin
);
}
},
computed
:
{
systemName
()
{
return
this
.
$store
.
state
.
setting
.
systemName
;
...
...
base-manager-ui/admin/src/router/guards.js
View file @
8fbfcda5
...
...
@@ -35,7 +35,7 @@ const loginGuard = (to, from, next) => {
next
();
}
else
{
// 再次判断防止死循环
if
(
to
.
path
===
"
/jump
"
)
{
if
(
to
.
path
===
"
/jump
"
||
to
.
path
===
"
/login
"
)
{
next
();
}
else
{
location
.
href
=
process
.
env
.
VUE_APP_API_portal_URL
;
...
...
base-manager-ui/admin/src/router/index.js
View file @
8fbfcda5
...
...
@@ -13,6 +13,11 @@ VueRouter.prototype.push = function push(location) {
};
const
routes
=
[
{
path
:
"
/login
"
,
name
:
"
跳转页面
"
,
component
:
()
=>
import
(
"
@/pages/login/Login
"
),
},
{
path
:
"
/jump
"
,
name
:
"
跳转页面
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment